phpstan-deprecation-rules icon indicating copy to clipboard operation
phpstan-deprecation-rules copied to clipboard

Defining case-insensitive constants is deprecated as of PHP 7.3.0.

Open mglaman opened this issue 2 years ago • 2 comments

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.

mglaman avatar Oct 21 '21 19:10 mglaman