PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Weak Type With Array All, Analyze, ChangedBehavior 2 2 Minor 0 %
Abstract Or Implements All, Analyze, LintButWontExec, ChangedBehavior 11 11 Major 24 %
Ambiguous Static All, Analyze, Semantics, ChangedBehavior 2 2 Minor 66 %
Avoid Optional Properties All, Analyze, ChangedBehavior 3 3 Major 84 %
Could Be Abstract Class All, Analyze, ClassReview, ChangedBehavior 3 3 Minor 65 %
Class Could Be Final All, Analyze, ClassReview, ChangedBehavior 29 29 Minor 96 %
Method Could Be Static All, Analyze, ClassReview, ChangedBehavior 16 15 Minor 92 %
Could Inject Parameter All, Analyze, ClassReview, ChangedBehavior 4 4 Minor 0 %
Non Nullable Getters All, Analyze, ClassReview, ChangedBehavior 3 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 2 1 Minor 0 %
Never Used Properties Analyze, All, Simple, Unused, ChangedBehavior 1 1 Minor 71 %
Property Used In One Method Only All, Analyze, ChangedBehavior 13 7 Minor 84 %
Should Use Local Class Analyze, ClearPHP, All, Simple, ChangedBehavior 24 11 Minor 95 %
Undefined Classes Analyze, All, Stubs, Undefined 23 8 Major 91 %
Undefined Class Constants Analyze, All, CI-checks, Stubs, LintButWontExec, Undefined, ChangedBehavior, CE 14 11 Major 62 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, CompatibilityPHP82, Undefined, ChangedBehavior, CE 6 3 Major 61 %
Unfinished Object All, Analyze, ClassReview, ChangedBehavior 15 8 Major 0 %
Unreachable Method All, Analyze, Dead code, ClassReview, Unused, ChangedBehavior 1 1 Minor 0 %
Unresolved Classes Analyze, All, Stubs, ChangedBehavior 3 2 Major 76 %
Unused Classes Dead code, All, Simple, Analyze, Unused, ChangedBehavior 1 1 Major 67 %
Unused Public Methods All, Analyze, ChangedBehavior 46 18 Minor 0 %
Used Once Property All, Analyze, ChangedBehavior 7 4 Minor 74 %
Wrong Typed Property Default All, Analyze, LintButWontExec, ClassReview, CI-checks, CE 3 3 Minor 0 %
Unused Enumeration Case All, Analyze, Dead code, Unused, ChangedBehavior 74 1 Minor 0 %
Converted Exceptions All, Analyze, ChangedBehavior 1 1 Minor 0 %
Uncaught Exceptions Analyze, All, ChangedBehavior 7 4 Minor 84 %
Unthrown Exception Analyze, Dead code, ClearPHP, All, Simple, ChangedBehavior 3 3 Minor 45 %
Empty Function Analyze, All, Simple, ChangedBehavior 8 8 Minor 74 %
No Return Used All, Analyze, Suggestions, Level 4, ChangedBehavior 2 1 Minor 69 %
Undefined Functions Analyze, All, CI-checks, Stubs, Undefined, CE 37 5 Major 68 %
Unknown Parameter Name All, Analyze, CI-checks, ChangedBehavior, CE 6 1 Minor 0 %
Unused Returned Value All, Analyze, OneFile, Dead code, Simple, Unused 3 1 Minor 41 %
Uses Default Values Analyze, All, Simple, CI-checks, ChangedBehavior, CE 9 6 Minor 98 %
Wrong Type Returned All, Analyze, ClassReview, CI-checks, LintButWontExec, ChangedBehavior, CE 15 6 Minor 0 %
Wrong Type With Call All, Analyze, Typechecks, CI-checks, ChangedBehavior, CE 8 2 Minor 0 %
Undefined Interfaces Analyze, All, CI-checks, LintButWontExec, Undefined, ChangedBehavior, CE 15 5 Major 72 %
Useless Interfaces Analyze, ClearPHP, All, Simple, ClassReview, Typechecks, ChangedBehavior 3 3 Minor 59 %
Unresolved Use Analyze, ClearPHP, All, Simple, ChangedBehavior 36 21 Major 69 %
Buried Assignation Analyze, All, ChangedBehavior 1 1 Minor 84 %
Check JSON All, Analyze, CI-checks, CE 2 2 Major 65 %
Iffectations Analyze, All, ChangedBehavior 1 1 Minor 80 %
Indices Are Int Or String Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE 1 1 Major 20 %
Maybe Missing New All, Analyze, ChangedBehavior 12 1 Critical 57 %
No Choice Analyze, All, Simple, Level 2, Top10, CI-checks, Rector, ChangedBehavior, CE 2 2 Major 42 %
Variable Is Not A Condition All, Analyze, ChangedBehavior 2 2 Minor 93 %
Should Chain Exception Analyze, All, Simple, CI-checks, ChangedBehavior, CE 1 1 Minor 39 %
Switch Without Default Analyze, ClearPHP, All, Simple, CI-checks, ChangedBehavior, CE 1 1 Major 69 %
Unsupported Types With Operators All, Analyze, CompatibilityPHP80, ChangedBehavior, CE 1 1 Minor 0 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, ChangedBehavior, CE 2 2 Minor 63 %
Undefined Trait Analyze, All, LintButWontExec, CI-checks, Undefined, ChangedBehavior, CE 5 2 Critical 15 %
StandaloneType True False Null All, Appcontent, Analyze, ChangedBehavior 12 6 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 34 12 Minor 95 %