Defining case-insensitive constants is deprecated as of PHP 7.3.0.
mglaman opened this issue · 2 comments
mglaman commented
Follow up from phpstan/phpstan-src#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.
ondrejmirtes commented
AFAIK this is already reported by PHPStan.
ondrejmirtes commented
Oh I haven't realized it's reported only on PHP 8.