lint/dead-code/no-dead-php-version-check
In the dead-code set. Safe fix.
What it does
Remove PHP_VERSION_ID / version_compare() checks that are always true for the configured PHP version.
Configuration
[lint.rules]
"dead-code/no-dead-php-version-check" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
RemovePhpVersionIdCheck(rector)