wapmorgan/PhpDeprecationDetector

Report Curly Braces on indices/offsets?

Targren opened this issue · 5 comments

"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)?

I agree this would be a good addition. In PHP 8.0, this becomes a fatal error:
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported
So this feature becomes more important now that PHP 7.4 has reached end of life.

+1

+1