github PHPCompatibility/PHPCompatibility 7.0.2
7.0.2: PHP 7.0 Sniffs - update 2016-08-03

latest releases: 9.3.5, 9.3.4, 9.3.3...
7 years ago

Fixes + improvements on 7.0.1

See all related issues and PRs in the 7.0.2 milestone.

Added

  • RemovedExtensions sniff: ability to whitelist userland functions for which the function prefix overlaps with a prefix of a deprecated/removed extension. #130. Fixes #123.
    To use this feature, add the functionWhitelist property in your custom ruleset. For more information, see the README.

Changed

  • ✏️ A number of sniffs contained public class properties. Within PHPCS, public properties can be overruled via a custom ruleset. This was not the intention, so the visibility of these properties has been changed to protected. #135
  • 🔧 Composer config: Stable packages are preferred over unstable/dev.
  • ✏️ Ruleset name. #134

Credits

Thanks go out to Juliette Reinders Folmer for her contributions to this version. 👏

Don't miss a new PHPCompatibility release

NewReleases is sending notifications on new releases.