-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Hello!
MediaWiki-CodeSniffer 24.0.0 is now available for use in your MediaWiki extensions and other projects. This release features new sniffs, an upstream update, and other bug fixes.
The 19.x branch for PHP 5.5 codebases also saw another release, 19.2.0, which just disabled the problematic Generic.PHP.DeprecatedFunctions sniff.
Here's the changelog for 24.0.0:
* Whitelist @after and @before phpunit annotations (Umherirrender) * Update PHP_CodeSniffer to 3.4.0 (Kunal Mehta) * Enable new Generic.VersionControl.GitMergeConflict sniff (Kunal Mehta) * Copyedit comments (Max Semenik) * Exclude methods in anonymous classes from the nested_functions sniff (mainframe98) * Disallow use of @access (Umherirrender) * Add $wgLang and $wgOut to ExtendClassUsageSniff (Umherirrender) * Enable Generic.WhiteSpace.IncrementDecrementSpacing (Umherirrender) * Enable Generic.Formatting.SpaceAfterNot with spacing 0 (Umherirrender) * Require mbstring since it is needed for FunctionAnnotationsSniff (Mark A. Hershberger) * Enable Generic.CodeAnalysis.EmptyPHPStatement (Umherirrender) * Fix UnusedUseStatementSniff to find more unused statements (Umherirrender) * Remove ForLoopWithTestFunctionCall (Tim Starling) * Add a sniff to replace !! with a cast to boolean (mainframe98) * Adjust warning text for PhpunitAnnotations.NotClassTrait sniff (Umherirrender) * Expand ExtendClassUsageSniff to check for config globals (Umherirrende r) * Also exclude anonymous classes in AssignmentInReturnSniff (mainframe98 ) * Replace sniff for forbidden globals by deprecated globals (Umherirrender)
Special shout out to mainframe98 as our newest contributor!
Thanks, - -- Legoktm
wikitech-l@lists.wikimedia.org