phpstan-deprecation-rules
phpstan-deprecation-rules copied to clipboard
Defining case-insensitive constants is deprecated as of PHP 7.3.0.
Follow up from https://github.com/phpstan/phpstan-src/pull/589.
It'd be great to have a rule that caught usage of deprecated case-insensitive constants when analyzing with PHP 7.3 and 7.4.