*(Forwarded as received)*
Hello!
With MediaWiki core now requiring PHP 7.0 or HHVM as the minimum
version, CodeSniffer will now also require the same, and targets those
versions as the minimum for the code it will be checking starting with
version 20.0.0.
19.0.0 contains new sniffs and bug fixes, and is the last version to
support PHP 5.5 and 5.6. I will have libraryupgrader upgrade all
repositories directly to 20.0.0. If you want to continue to support
older PHP versions in your project, upgrade your project to use 19.0.0
directly. libraryupgrader will skip projects using that version, since
it means you explicitly want to support older PHP versions.
Here's the changelog for 19.0.0:
* Add break and continue to ParenthesesAroundKeywordSniff (Umherirrender
)
* Check if the default of null is in the type list of @param
(Umherirrender)
* Do not enforce name for traits with phpunit annotations (Umherirrender
)
* Don't allow 'iterable' type hint (Kunal Mehta)
* Prevent usage of nullable and void type hints (Kunal Mehta)
* Prohibit PHP's vanilla execution (Max Semenik)
* Reorganize PHP 7.0 compatibility sniffs into a category (Kunal Mehta)
And for 20.0.0:
* Require PHP 7 or HHVM to run (Kunal Mehta)
* Document why we still need to keep ScalarTypeHintUsageSniff (Kunal
Mehta)
* Drop PHP7UnicodeSyntaxSniff sniff (Kunal Mehta)
- -- Legoktm