PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Ambiguous Visibilities All, Analyze 2 2 Minor 70 %
Avoid Optional Properties All, Analyze 3 2 Major 84 %
Class Could Be Final All, Analyze, ClassReview 45 45 Minor 96 %
Method Could Be Static All, Analyze, ClassReview 3 2 Minor 92 %
Don't Unset Properties All, Analyze, Top10, php-cs-fixable, CI-checks, CE 1 1 Major 42 %
Empty Classes Analyze, All, Simple 13 13 Minor 60 %
Assign Default To Properties Analyze, ClearPHP, All, Simple, Level 2 2 1 Minor 71 %
No Public Access Analyze, All 110 15 Minor 61 %
Non Nullable Getters All, Analyze, ClassReview 1 1 Minor 0 %
Property Could Be Local All, Analyze, ClassReview 2 2 Minor 76 %
Same Name For Property And Method All, Analyze, ClassReview, Semantics 4 1 Minor 0 %
Never Used Properties Analyze, All, Simple, Unused 130 14 Minor 71 %
Property Used In One Method Only All, Analyze 13 3 Minor 84 %
Should Use Local Class Analyze, ClearPHP, All, Simple 8 3 Minor 95 %
Undefined Classes Analyze, All, Stubs, IsPHP, IsStub, IsExt 171 25 Major 91 %
Undefined Class Constants Analyze, All, CI-checks, Stubs, LintButWontExec, IsPHP, IsStub, IsExt, CE 21 10 Major 62 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, ChangedBehavior, CE 1 1 Major 61 %
Unfinished Object All, Analyze, ClassReview 143 16 Major 0 %
Unresolved Classes Analyze, All, Stubs 32 7 Major 76 %
Unresolved Instanceof Analyze, Dead code, ClearPHP, All, Simple, Top10 4 1 Major 48 %
Unused Classes Dead code, All, Simple, Analyze, Unused 5 5 Major 67 %
Unused Class Constant All, Analyze, ClassReview, Unused 48 6 Minor 0 %
Undefined Constants Analyze, All, Simple, CompatibilityPHP72, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE 2 1 Minor 71 %
Throw Raw Exceptions All, Analyze, Suggestions 15 5 Minor 0 %
Uncaught Exceptions Analyze, All 17 6 Minor 84 %
Use Named Boolean In Argument Definition All, Analyze 3 2 Minor 84 %
Mismatched Default Arguments All, Analyze, Typechecks 1 1 Minor 80 %
Modified Typed Parameter All, Analyze, ClassReview 4 1 Minor 0 %
No Boolean As Default All, Analyze 3 2 Minor 84 %
Relay Function Analyze, All 6 1 Major 84 %
Undefined Functions Analyze, All, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE 96 17 Major 68 %
Unused Parameter Analyze, All, Simple, Unused 2 2 Major 90 %
Wrong Type Returned All, Analyze, ClassReview, CI-checks, LintButWontExec, CE 6 5 Minor 0 %
Undefined Interfaces Analyze, All, CI-checks, LintButWontExec, IsPHP, IsStub, IsExt, CE 37 7 Major 72 %
Useless Interfaces Analyze, ClearPHP, All, Simple, ClassReview, Typechecks 2 2 Minor 59 %
Multiple Alias Definitions Analyze, All, Simple, CI-checks, CE 4 4 Minor 44 %
Overload Existing Names All, Analyze, Semantics, IsPHP, IsStub, IsExt 1 1 Minor 0 %
Unresolved Use Analyze, ClearPHP, All, Simple, IsPHP, IsExt 81 28 Major 69 %
PHP Native Interfaces and Return Type All, Analyze, LintButWontExec, CompatibilityPHP81, Deprecated 4 4 Minor 0 %
Adding Zero Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, Rector, CE 1 1 Minor 69 %
Bail Out Early All, Analyze, OneFile, Simple, Level 4 2 1 Minor 64 %
Could Use Short Assignation Analyze, OneFile, Performances, All, Simple, CI-checks, Rector, CE 2 1 Minor 63 %
Dangling Array References PHP recommendations, Analyze, ClearPHP, All, Simple, Level 1, Top10, CI-checks, CE 1 1 Major 46 %
No Choice Analyze, All, Simple, Level 2, Top10, CI-checks, Rector, CE 14 2 Major 42 %
Switch Without Default Analyze, ClearPHP, All, Simple, CI-checks, CE 2 1 Major 69 %
Unsupported Types With Operators All, Analyze, CompatibilityPHP80, CE 6 2 Minor 0 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, CE 14 2 Minor 63 %
Useless Null Coalesce All, Analyze, Typehints 10 1 Minor 0 %
String May Hold A Variable Analyze, All, Simple 2 1 Minor 59 %
Undefined Variable All, Analyze, CI-checks, CE 2 1 Minor 77 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE 2 2 Minor 95 %