Hello!

MediaWiki-Codesniffer 0.10.0 is now available for use in your MediaWiki
extensions and other projects. This release fixes bugs from 0.9.0 as
well as some new features:

* Add sniff to prevent against using PHP 7's Unicode escape syntax
(Kunal Mehta)
* Add sniff to verify type-casts use the short form (bool, int) (Kunal
Mehta)
* Add sniff for `&$this` that causes warnings in PHP 7.1 (Kunal Mehta)
* Clean up DbrQueryUsageSniff (Umherirrender)
* Ensure all FunctionComment sniff codes are standard (Kunal Mehta)
* Exclude common folders (Umherirrender)
* Fix handling of nested parenthesis in ParenthesesAroundKeywordSniff
(Kunal Mehta)
* IllegalSingleLineCommentSniff: Check return value of strrpos strictly
(Kunal Mehta)
* Improve handling of multi-line class declarations (Kunal Mehta)
* Include sniff warning/error codes in test output (Kunal Mehta)
* Make DisallowEmptyLineFunctionsSniff apply to closures too (Kunal Mehta)
* Use correct notation for UTF-8 (Umherirrender)

I'll be working on submitting patches for extensions again shortly.

Thanks,
-- Legoktm

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to