github PHPCompatibility/PHPCompatibility 7.1.0
PHP 7.1 Sniffs

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

All deprecations, new features, etc. for PHP 7.1

See all related issues and PRs in the 7.1.0 milestone.

Added

  • ⭐ New stringToErrorCode(), arrayKeysToLowercase() and addMessage() utility methods to the PHPCompatibility_Sniff class. #291.

Changed

  • 📌 All sniff error messages now have modular error codes allowing for selectively disabling individual checks - and even selectively disabling individual sniff for specific files - without disabling the complete sniff. #291
  • ✏️ Minor changes to some of the error message texts for consistency across sniffs. #291
  • ♻️ Refactored the complex version sniffs to reduce code duplication. #291
  • ♻️ Miscellaneous other refactoring for improved performance and sniff accuracy. #291
  • ☔ The unit tests for the RemovedExtensions sniff now verify that the correct alternative extension is being suggested. #291

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.