-
-
Notifications
You must be signed in to change notification settings - Fork 205
Closed as not planned
Description
Related to #1589
Analysis
Note: the last deprecation (increment operator with non-numeric strings) was merged in a PR targeting PHP 8.5.
Top 2000 Packages
It was impractical to analyze this change as it would require the ability to infer types.
3v4l.org
Increment/decrement operators - warnings on bool, deprecations on some strings, last change only observable in git.master (8.5)
Detection
Based on personal experience dealing with over a hundred legacy codebases, this is a common issue. However, it is impractical to detect this without the ability to infer types.