magento/php-compatibility-fork
A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility. This is a fork of phpcompatibility/php-compatibility
v0.1.0
3.7M downloads/mo
#1789 most downloaded on Packagist
magento/PHPCompatibilityFork
What this package is like to depend on
Last release 3 years ago
no release in 18 months
Too new to tell
only 1 dated releases
Nearly every release is documented
notes for 1 of 1 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
1 releases · first in 2023
0 releases in the last 12 months
see the full history below
Release timeline
1 releases · Nov 2023 to Nov 2023Releases
latest 1-
v0.1.029 Nov 2023Release notes
Open source →Description
This release adds several improvements to the ongoing work in the original repository to support PHP8.0, PHP8.1, PHP8.2 and PHP8.3. See PHPCompatibility/PHPCompatibility 10.0.0 milestone for details on new features and bug fixes this release contains.
Improvements
- Added sniff
PHPCompatibility.ParameterValues.RemovedMbStringEncodingsthat reports usage of the QPrint, Base64, Uuencode, and HTML-ENTITIES ‘text encodings’ with MBString functions as deprecated. See PHP 8.2 Deprecated Features. - Added sniff
PHPCompatibility.Classes.RemovedDynamicPropertiesthat reports usage of dynamic properties in classes as deprecated. See PHP 8.2 Deprecated Features. - Enhanced sniff
PHPCompatibility.FunctionDeclarations.ForbiddenFinalPrivateMethodsto be fixable. - Replaced objectionable terms with more inclusive ones.
Shout-out
Thanks to all PHPCompatibility/PHPCompatibility Contributors for their valuable effort that has been put into PHPCompatibility.
- Added sniff