-
Notifications
You must be signed in to change notification settings - Fork 38
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
Report Curly Braces on indices/offsets? #59
Comments
I agree this would be a good addition. In PHP 8.0, this becomes a fatal error: |
+1 |
1 similar comment
+1 |
Here are the relevant PHP manual links for this. |
Adds checks for Array and string offset access syntax with curly braces. Allows phpdd to detect this and issue the appropriate deprecation or removal warning. Curly brace syntax was: - Deprecated in PHP 7.4. - Removed in PHP 8.0.
+1 |
"Deprecated: Array and string offset access syntax with curly braces is deprecated"
Can a check for this be added (or does it already exist and I'm failing to do something to enable it)?
The text was updated successfully, but these errors were encountered: