Hi,
MediaWiki-Codesniffer 0.8.0 is now available for use in your MediaWiki extensions and other projects. Here's the full list of changes since the last release (0.8.0-alpha.1):
* Add sniff for cast operator spacing (Sam Wilson) * Allow filtering documentation requirements based on visibility (Kunal Mehta) * Don't require documentation for test cases (Kunal Mehta) * Don't require @return annotations for plain "return;" (Kunal Mehta) * Explicitly check for method structure before using (Sam Wilson) * Fix test result parsing, and correct new errors that were exposed (Sam Wilson) * Prevent abstract functions being marked eligible (Sam Wilson) * PHP_CodeSniffer to 2.9.0 (Paladox)
This release contains a lot of new rules documenting functions and ensuring parameters and return types are specified. It's most likely that existing code will not pass the new rulset without documentation improvements (see MediaWiki Documentation Day email ;)).
If you encounter any bugs or have suggestions on new rules, please reply to this thread or file a bug in the #MediaWiki-Codesniffer Phabricator project.
Thanks, -- Legoktm