Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mglaman opened this issue Oct 21, 2021 · 2 comments
Open

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

mglaman opened this issue Oct 21, 2021 · 2 comments

Comments

@mglaman
Copy link
Contributor

mglaman commented Oct 21, 2021

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
Copy link
Member

AFAIK this is already reported by PHPStan.

@ondrejmirtes
Copy link
Member

Oh I haven't realized it's reported only on PHP 8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants