This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | PHP Does Not detect all unused variables | ||
---|---|---|---|
Product: | php | Reporter: | joao_neto <joao_neto> |
Component: | Refactoring | Assignee: | Ondrej Brejla <obrejla> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.1.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
joao_neto
2012-04-16 14:28:24 UTC
Works for me properly in 7.2. In function a(), $test variable is underlined as unused. In function b(), NO variable is underlined, because $test variable which is declared by its first assignment is then used in an unary incrementation. So no "Unused variable" hint occurs in NB 7.2. |