Hi,
Thanks to the hard work of a lot of different people, PHP CodeSniffer is now voting on all MediaWiki core patchsets! It checks for basic code style issues automatically so new contributors (and experienced ones!) can fix basic issues without a human needing to point them out.
I added some brief instructions to [1] on how to run it locally, or you can read the jenkins output.
There are still a few code style rules that are disabled, [2] is tracking fixing those issues.
Please file any bugs or feature requests in the MediaWiki-CodeSniffer[3] project on Phabricator.
[1] https://www.mediawiki.org/wiki/Continuous_integration/PHP_CodeSniffer [2] https://phabricator.wikimedia.org/T102609 [3] https://phabricator.wikimedia.org/tag/mediawiki-codesniffer/
-- Legoktm