Those checks:
- are a subset of insight checks, limited to single PHP files analysis
- may not always be applicable (eg
exit is valid in a CLI script, not elsewhere)
- may imply not 100% reliable guessing techniques (eg query binding vs concat, flush loops, etc.)
A config mechanism and/or the ability to enable/disable particular checks (e.g. via annotations) is required before using the full ruleset.
Critical
Security
Major
Bugrisk
Performance
Architecture
Readability
Minor
Bugrisk
Performance
Architecture
Deadcode
Readability
Info
Bugrisk
Codestyle
Those checks:
exitis valid in a CLI script, not elsewhere)A config mechanism and/or the ability to enable/disable particular checks (e.g. via annotations) is required before using the full ruleset.
Critical
Security
Major
Bugrisk
Performance
Architecture
Readability
Minor
Bugrisk
Performance
Architecture
Deadcode
Readability
Info
Bugrisk
Codestyle