PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Ambiguous Array Index Analyze, All, Simple, Level 2, Semantics, ChangedBehavior 8 1 Minor 10 %
No Spread For Hash All, Analyze, ChangedBehavior 1 1 Minor 0 %
Weak Type With Array All, Analyze, ChangedBehavior 22 7 Minor 0 %
Abstract Or Implements All, Analyze, LintButWontExec, ChangedBehavior 3 3 Major 24 %
Avoid Optional Properties All, Analyze, ChangedBehavior 2 2 Major 84 %
Could Be Abstract Class All, Analyze, ClassReview, ChangedBehavior 1 1 Minor 65 %
Class Could Be Final All, Analyze, ClassReview, ChangedBehavior 9 9 Minor 96 %
Method Could Be Static All, Analyze, ClassReview, ChangedBehavior 13 5 Minor 92 %
Could Inject Parameter All, Analyze, ClassReview, ChangedBehavior 3 2 Minor 0 %
Don't Unset Properties All, Analyze, Top10, php-cs-fixable, CI-checks, ChangedBehavior, CE 1 1 Major 42 %
Empty Classes Analyze, All, Simple, ChangedBehavior 2 2 Minor 60 %
Implicit Nullable Type All, Analyze, ClassReview, ChangedBehavior 1 1 Minor 0 %
Mismatch Properties Typehints All, Analyze, LintButWontExec, ClassReview, ChangedBehavior 2 1 Minor 0 %
New Object Then Immediate Call All, Analyze, ClassReview 2 2 Minor 0 %
Property Could Be Local All, Analyze, ClassReview, ChangedBehavior 1 1 Minor 76 %
Same Name For Property And Method All, Analyze, ClassReview, Semantics, ChangedBehavior 4 2 Minor 0 %
Property Used In One Method Only All, Analyze, ChangedBehavior 5 3 Minor 84 %
Scalar Or Object Property All, Analyze 1 1 Minor 32 %
Should Use Local Class Analyze, ClearPHP, All, Simple, ChangedBehavior 11 4 Minor 95 %
Undefined Classes Analyze, All, Stubs, Undefined 3 3 Major 91 %
Unfinished Object All, Analyze, ClassReview, ChangedBehavior 1 1 Major 0 %
Unresolved Classes Analyze, All, Stubs, ChangedBehavior 2 2 Major 76 %
Unused Class Constant All, Analyze, ClassReview, Unused, ChangedBehavior 11 1 Minor 0 %
Unused Public Methods All, Analyze, ChangedBehavior 12 5 Minor 0 %
Wrong Typed Property Default All, Analyze, LintButWontExec, ClassReview, CI-checks, CE 1 1 Minor 0 %
Constant Used Only Once All, Analyze, ChangedBehavior 7 3 Minor 0 %
Converted Exceptions All, Analyze, ChangedBehavior 3 3 Minor 0 %
Throw Raw Exceptions All, Analyze, Suggestions, ChangedBehavior 2 1 Minor 0 %
Uncaught Exceptions Analyze, All, ChangedBehavior 7 4 Minor 84 %
Unthrown Exception Analyze, Dead code, ClearPHP, All, Simple, ChangedBehavior 1 1 Minor 45 %
Use Named Boolean In Argument Definition All, Analyze, ChangedBehavior 1 1 Minor 84 %
Empty Function Analyze, All, Simple, ChangedBehavior 1 1 Minor 74 %
Hardcoded Passwords Analyze, OneFile, Security, All, Simple, Level 3, ChangedBehavior 1 1 Major 70 %
Mismatched Typehint All, Analyze, Typechecks, ChangedBehavior 1 1 Major 66 %
No Boolean As Default All, Analyze 1 1 Minor 84 %
No Return Used All, Analyze, Suggestions, Level 4, ChangedBehavior 2 1 Minor 69 %
Unused Parameter Analyze, All, Simple, Unused 2 2 Major 90 %
Unused Returned Value All, Analyze, OneFile, Dead code, Simple, Unused 2 1 Minor 41 %
Uses Default Values Analyze, All, Simple, CI-checks, ChangedBehavior, CE 12 4 Minor 98 %
Wrong Type Returned All, Analyze, ClassReview, CI-checks, LintButWontExec, ChangedBehavior, CE 20 8 Minor 0 %
Useless Interfaces Analyze, ClearPHP, All, Simple, ClassReview, Typechecks, ChangedBehavior 1 1 Minor 59 %
Unresolved Use Analyze, ClearPHP, All, Simple, ChangedBehavior 3 3 Major 69 %
Pre-increment Analyze, Performances, All, Simple, Level 4, CI-checks, ChangedBehavior, CE 1 1 Minor 74 %
Assumptions All, Analyze, ChangedBehavior 6 3 Minor 0 %
Use random_int() Analyze, Security, All, CompatibilityPHP71, Simple, Level 2, CI-checks, ChangedBehavior, CE 3 1 Major 59 %
No Null For Native PHP Functions All, Analyze, CompatibilityPHP81, Deprecated, ChangedBehavior 2 1 Minor 0 %
Wrong Type For Native PHP Function All, Analyze, CI-checks, ChangedBehavior, CE 1 1 Minor 0 %
Comparison Is Always The Same All, Analyze, ChangedBehavior 2 1 Minor 0 %
Don't Change The Blind Var All, Analyze, ChangedBehavior 1 1 Minor 73 %
Indices Are Int Or String Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE 6 2 Major 20 %
No Choice Analyze, All, Simple, Level 2, Top10, CI-checks, Rector, ChangedBehavior, CE 2 1 Major 42 %
No Null For Index All, Analyze, ChangedBehavior 9 1 Minor 0 %
Variable Is Not A Condition All, Analyze, ChangedBehavior 1 1 Minor 93 %
Non Integer Nor String As Index All, Analyze, ChangedBehavior 3 1 Minor 0 %
Should Chain Exception Analyze, All, Simple, CI-checks, ChangedBehavior, CE 3 3 Minor 39 %
Preprocessable Analyze, All, Rector, ChangedBehavior 2 2 Minor 85 %
Unsupported Types With Operators All, Analyze, CompatibilityPHP80, ChangedBehavior, CE 3 1 Minor 0 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, ChangedBehavior, CE 2 1 Minor 63 %
Useless Parenthesis Analyze, All, Simple, CI-checks, ChangedBehavior, CE 1 1 Minor 81 %
Useless Short Ternary All, Analyze, ChangedBehavior 1 1 Minor 0 %
Missing Some Returntype All, Typehints, Analyze, CI-checks, ChangedBehavior, CE 3 2 Minor 0 %
StandaloneType True False Null All, Appcontent, Analyze, ChangedBehavior 7 2 Minor 0 %
Wrong Type With Default All, Analyze, LintButWontExec, ClassReview, ChangedBehavior 1 1 Minor 0 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4, ChangedBehavior, CE 36 5 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple, Unused, ChangedBehavior 3 3 Minor 87 %