Problem/Motivation
A syslog test module has a non-test class ending in Test, which can trigger a phpunit warning
Steps to reproduce
Run tests on the core/modules/syslog directory
Proposed resolution
Rename the class
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3565581
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:
- 3565581-non-test-class-ending
changes, plain diff MR !14217
Comments
Comment #3
smustgrave commentedSeems fine to me.
Comment #6
catchCommitted/pushed to main and 11.x, thanks!
Comment #10
jonathan1055 commentedIt's good to get this fixed. There is a coding standard issue open for Traits to also follow proper endings, which is ready for agreement
#3521443: Traits should always have the suffix "Trait"
In that issue, there is the three-part rule for suffixes: