php file too big for analysis?
Hi.
Using PhpStorm, I've noticed that all of a sudden my methods are being highlighted as "Method 'xyz' not found in". This was fine before. Searching this forum and Google I found no conclusive answer or solution. The code itself works fine.
When I delete 1 "switch() {}" block with 20 lines of code, the methods are recognized again. When restoring that block and deleting an other switch block of more lines, the same happens. The entire file is 3465 lines long, 182kb. The file has some require_once lines, but removing those does nothing.
Any ideas or suggestions?
Please sign in to leave a comment.
We have this issue: https://youtrack.jetbrains.com/issue/WI-31569
It happens when there's a lot of lines of code located in the same scope (say, within a single pair of { and }).
Unfortunately, there's no ETA on when it's going to be fixed.