Problem/Motivation
In tests, the @dataProvider methods must now be static.
Steps to reproduce
Run tests on Drupal 11.
Proposed resolution
Make them static.
Remaining tasks
Implement.
User interface changes
None.
API changes
None.
Data model changes
None.
Issue fork purge-3565396
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 #3
petar_basic commentedComment #5
liam morlandThis is the correct fix. Tests are passing.
Comment #6
liam morlandThis should be merged before anything else so that tests can be run on the other issues.
Comment #7
dpiLooks like this blocks #3447548: Clean up services, add autowiring, make use of new features, and fix deprecations and #3564459: Drupal 11.3 compatibility: Not supporting attribute discovery in Drupal\purge\Plugin\Purge\Processor\PluginManager
Comment #9
japerryLooks good! Fixed!