MediaWiki-CodeSniffer 24.0.0 released

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

MediaWiki-CodeSniffer 24.0.0 released

Kunal Mehta
-----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
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE2MtZ8F27ngU4xIGd8QX4EBsFJpsFAlxamTUACgkQ8QX4EBsF
JpulOA/8DpnvhpG5/ddbgbfE7EIzM+iBHA8X5s7B+/FIdRBdcIFknJZHd/wdOSHi
oitHSMmUxZW06smgfw/YAI+0gJCLdqzytJyJXY4CKVesNl+oQ7S9SH505aEhu60j
+pfti6xwxQfRdSItighxmcLj/9IDAQCYC3rYJCpTOlf9Zwn55ePP6VD+8mmvUKjk
G8OGtjHhSemuVEQIRrqpJo85HZHAMPHrBZ1u0WFunps2YY7WkCio5Y+Xc82Qz6vV
CbSOO/52YVEMFhWSW+Qz/MczquAP5TlM9dur5yDULiX+Ma5PfshLiYuQ2UOI+1lS
AsNZ+e9dZt/gDu39BwyMEBHg4D3SzwSo+0K5N+a+zT+ldt0qDzeEC32t3Bi5Lt/d
GP70JQs7nl/2aox+xJrBz+4SJoI00LogSi2YF02xueh5Gp3I4yjkeS+gRe9leeV2
iDZx0JqSzLJbZDzL03MgenpZPioHn9N8BamXDbD3K2lK8kY8TueefAsx3/W7L55x
P4GNY7wtahrpcco65zrNO0BcRgVwXn+HtreouKzd1P3D4isOUrGbfNIkV0UCPtht
DUxRi49sW4FH7ftHo9AJQLQb11CIEGLT0fffIjxzcv/2kJz7CKBwS4bbskqMZt8H
Ov4IgrXFcWEJZpcC2xKNOYmHZ0aGnQ4kvyoBvR53PfpdxKg6SAk=
=Sf7F
-----END PGP SIGNATURE-----

_______________________________________________
Wikitech-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l