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()
andaddMessage()
utility methods to thePHPCompatibility_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. 👏