lint/php-8.0/no-version-compare-operator-alias
In the lint-recommended preset and every stricter one. In Rector’s rector/php80 set. Safe fix. Runs only when [php] version is 8.0 or later.
What it does
Streamline the operator argument of the version_compare() function
Configuration
[lint.rules]
"php-8.0/no-version-compare-operator-alias" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
VersionCompareFuncCallArgument(rector)