:sparkles: PHP 8.1: New `PHPCompatibility.ParameterValues.RemovedVersionCompareOperators` sniff by jrfnl · Pull Request #1418 · PHPCompatibility/PHPCompatibility
Navigation Menu
{{ message }}
PHPCompatibility / PHPCompatibility Public
- Notifications You must be signed in to change notification settings
- Fork 204
Merged
Dec 5, 2022Merged
Conversation
Copy link Copy Markdown
Member
version_compare() no longer accepts undocumented operator abbreviations.
Refs:
- https://github.com/php/php-src/blob/28a1a6be0873a109cb02ba32784bf046b87a02e4/UPGRADING#L148
- php/php-src@2b7eb0e
This new sniff will detect and flag use of these undocumented operator abbreviations.
Includes unit tests.
Includes sniff documentation.
Related to #1299
…eOperators` sniff > version_compare() no longer accepts undocumented operator abbreviations. Refs: * https://github.com/php/php-src/blob/28a1a6be0873a109cb02ba32784bf046b87a02e4/UPGRADING#L148 * php/php-src@2b7eb0e This new sniff will detect and flag use of these undocumented operator abbreviations. Includes unit tests. Includes sniff documentation.
jrfnl
added
Type: enhancement
PR: ready for review
labels
jrfnl
added this to the
10.0.0 milestone
jrfnl
requested a review
from wimg
wimg approved these changes Dec 5, 2022
wimg
merged commit
2741ea0
into
develop
wimg
deleted the
php-8.1/new-removedversioncompareoperators-sniff
branch
jrfnl
removed
the
PR: ready for review
label
jrfnl
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment