A class named "FooBar" needs to be in a file that is named "FooBar.php". The rest of the directory structure doesn't matter for now (T173799#3555807).
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Add sniff to ensure the class name matches the filename | mediawiki/tools/codesniffer | master | +61 -0 |
Related Objects
Related Objects
- Mentioned Here
- T173799: Implement a PSR-4 autoloader in MediaWiki core
Event Timeline
Comment Actions
Change 374027 had a related patch set uploaded (by Legoktm; owner: Legoktm):
[mediawiki/tools/codesniffer@master] Add sniff to ensure the class name matches the filename
Comment Actions
Change 374027 merged by jenkins-bot:
[mediawiki/tools/codesniffer@master] Add sniff to ensure the class name matches the filename