Problem/Motivation
There are some deprecated functions (will be removed in Drupal 10) on libraries/tests/src/Functional/LibrariesWebTest.php
Steps to reproduce
Open LibrariesWebTest.php with a IDE that recognizes deprecated code (as vscode for e.g.) and you'll be able to see the deprecated functions.
Proposed resolution
Replace the deprecated functions
Remaining tasks
Replace the deprecated functions
Create and send a patch
Review the patch
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3256985-3.patch | 17.22 KB | andregp |
Issue fork libraries-3256985
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
andregp commentedI'm working on a patch for this issue.
Comment #3
andregp commentedFound 3 deprecated functions (verbose(), assertRaw(), assertNoRaw()) on several places and replaced them based on this documentation https://www.drupal.org/node/3197514 https://www.drupal.org/node/3129738
Comment #4
beatrizrodriguesI'll review it.
Comment #5
beatrizrodriguesPatch applies to me. Although, I suggest that the issues' title changes to something more specific, once that not all the deprecation messages are being resolved in that patch. (And the issue summary too.)
Comment #6
Matheus Macario commentedComment #7
Matheus Macario commentedSo, after have done the code review on the #3 patch, i noticed that there are no more deprecated functions as @andregp mentioned before, the 3256985-3.patch fix those problems in the
LibrariesWebTest.phpfile , with that been said i'm changing the status to RTBC.Comment #11
joseph.olstadGreat work, thank you again