Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Dec 5, 2022

version_compare() no longer accepts undocumented operator abbreviations.

Refs:

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.
@wimg wimg merged commit 2741ea0 into develop Dec 5, 2022
@wimg wimg deleted the php-8.1/new-removedversioncompareoperators-sniff branch December 5, 2022 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants