PHPCompatibility v7.1.5 Release Notes
Release Date: 2017-07-16 // almost 7 years ago-
โ Added
๐ฑ โญ๏ธ The NewKeywords sniff will now also sniff for yield from which was introduced in PHP 7.0. #477. Fixes #476
๐ฑ ๐ The LGPL-3.0 license. #447๐ Changed
๐ฑ โช The NewExecutionDirectives sniff will now also report on execution directives when used in combination with PHPCS 2.0.0-2.3.3. #451
๐ฑ โช The getMethodParameters() utility method will no longer break when used with PHPCS 1.5.x < 1.5.6. This affected a number of sniffs. #452
๐ฑ โช The inUseScope() utility method will no longer break when used with PHPCS 2.0.0 - 2.2.0. This affected a number of sniffs. #454
๐ โป๏ธ Various (minor) refactoring for improved performance and sniff accuracy. #443, #474
๐ฑ โ๏ธ Renamed a test file for consistency. #453
๐ ๐ง Code style clean up. #429
๐ฑ ๐ง Prevent Composer installing PHPCS 3.x. PHPCS 3.x is not (yet) supported by the PHPCompatibility standard, but will be in the near future. #444
๐ ๐ The code base will now be checked for consistent code style during build testing. #429
๐ฑ ๐ The sniffs are now also tested against HHVM for consistent results. Note: the sniffs do not contain any HHVM specific checks nor is there any intention to add them at this time. #450
๐ฑ ๐ Made it explicit that - at this moment - PHPCS 3.x is not (yet) supported. #444
๐ฑ ๐ Minor improvements to the Readme. #448, #449, #468
๐ฑ ๐ Minor improvements to the Contributing guidelines. #467โ Removed
๐ซ The DefaultTimeZoneRequired sniff. This sniff was checking server settings rather than code. #458. Fixes #457
๐ซ The NewMagicClassConstant sniff as introduced in v 7.1.4 contained two additional checks for not strictly compatibility related issues. One of these was plainly wrong, the other opinionated. Both have been removed. #442. Fixes #436๐ Fixed
๐ฑ ๐ NewClass sniff: was reporting an incorrect introduction version number for a few of the Exception classes. #441. Fixes #440.
๐ฑ ๐ ForbiddenBreakContinueVariableArguments sniff: was incorrectly reporting an error if the break or continue was followed by a PHP closing tag (breaking out of PHP). #462. Fixes #460
๐ฑ ๐ ForbiddenGlobalVariableVariable sniff: was incorrectly reporting an error if the global statement was followed by a PHP closing tag (breaking out of PHP). #463.
๐ฑ ๐ DeprecatedFunctions sniff: was reporting false positives for classes using the same name as a deprecated function. #465. Fixes #464Credits
๐ฑ Thanks go out to Juliette Reinders Folmer and Mark Clements for their contributions to this version. ๐