Page MenuHomePhabricator

Sniff that the class name matches the file name
Closed, ResolvedPublic

Description

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).

Event Timeline

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

https://gerrit.wikimedia.org/r/374027

Change 374027 merged by jenkins-bot:
[mediawiki/tools/codesniffer@master] Add sniff to ensure the class name matches the filename

https://gerrit.wikimedia.org/r/374027

Umherirrender triaged this task as Medium priority.