PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Null Or Boolean Arrays All, Analyze 2 1 Minor 0 %
Weak Type With Array All, Analyze, ChangedBehavior 50 10 Minor 0 %
Abstract Or Implements All, Analyze, LintButWontExec, ChangedBehavior 27 27 Major 24 %
Ambiguous Static All, Analyze, Semantics, ChangedBehavior 15 7 Minor 66 %
Avoid Optional Properties All, Analyze, ChangedBehavior 13 10 Major 84 %
Could Be Abstract Class All, Analyze, ClassReview, ChangedBehavior 1 1 Minor 65 %
Class Could Be Final All, Analyze, ClassReview, ChangedBehavior 31 31 Minor 96 %
Method Could Be Static All, Analyze, ClassReview, ChangedBehavior 13 7 Minor 92 %
Could Inject Parameter All, Analyze, ClassReview, ChangedBehavior 6 2 Minor 0 %
Implicit Nullable Type All, Analyze, ClassReview, ChangedBehavior 20 9 Minor 0 %
Incompatible Signature Methods With Covariance All, Analyze, ChangedBehavior 14 14 Critical 0 %
Assign Default To Properties Analyze, ClearPHP, All, Simple, Level 2, ChangedBehavior 2 2 Minor 71 %
Method Signature Must Be Compatible All, Analyze, LintButWontExec, ChangedBehavior 15 15 Critical 53 %
Mismatch Properties Typehints All, Analyze, LintButWontExec, ClassReview, ChangedBehavior 3 1 Minor 0 %
New Object Then Immediate Call All, Analyze, ClassReview 4 1 Minor 0 %
Non Nullable Getters All, Analyze, ClassReview, ChangedBehavior 1 1 Minor 0 %
Parent First All, Analyze, Suggestions, ChangedBehavior 1 1 Minor 56 %
Same Name For Property And Method All, Analyze, ClassReview, Semantics, ChangedBehavior 18 4 Minor 0 %
Property Used In One Method Only All, Analyze, ChangedBehavior 7 6 Minor 84 %
Could Use self Analyze, All, Simple, Suggestions, Level 3, ClassReview, ChangedBehavior 1 1 Minor 63 %
Should Use Local Class Analyze, ClearPHP, All, Simple, ChangedBehavior 6 2 Minor 95 %
Undefined Classes Analyze, All, Stubs, Undefined 18 13 Major 91 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, CompatibilityPHP82, Undefined, ChangedBehavior, CE 11 1 Major 61 %
Unfinished Object All, Analyze, ClassReview, ChangedBehavior 12 6 Major 0 %
Unreachable Method All, Analyze, Dead code, ClassReview, Unused, ChangedBehavior 4 2 Minor 0 %
Unused Class Constant All, Analyze, ClassReview, Unused, ChangedBehavior 20 3 Minor 0 %
Unused Public Methods All, Analyze, ChangedBehavior 225 34 Minor 0 %
Useless Constructor Analyze, All, Simple, Level 3, ChangedBehavior 1 1 Minor 41 %
Wrong Typed Property Default All, Analyze, LintButWontExec, ClassReview, CI-checks, CE 2 2 Minor 0 %
Constant Used Only Once All, Analyze, ChangedBehavior 51 5 Minor 0 %
Catch With Undefined Variable All, Analyze, Undefined, ChangedBehavior 4 1 Minor 0 %
Converted Exceptions All, Analyze, ChangedBehavior 4 1 Minor 0 %
Forgotten Thrown All, Analyze, ChangedBehavior 1 1 Minor 20 %
Overwritten Exceptions Analyze, All, Simple, Suggestions, Level 4, CI-checks, ChangedBehavior, CE 3 1 Minor 22 %
Throw Raw Exceptions All, Analyze, Suggestions, ChangedBehavior 8 4 Minor 0 %
Uncaught Exceptions Analyze, All, ChangedBehavior 21 6 Minor 84 %
Use Named Boolean In Argument Definition All, Analyze, ChangedBehavior 12 9 Minor 84 %
Could Make A Function All, Analyze, Suggestions, ChangedBehavior 10 1 Minor 66 %
Empty Function Analyze, All, Simple, ChangedBehavior 23 10 Minor 74 %
Method Is Not An If All, Analyze 3 3 Minor 0 %
Mismatch Type And Default All, Analyze, LintButWontExec, Typechecks, ChangedBehavior 1 1 Critical 8 %
Mismatched Default Arguments All, Analyze, Typechecks, ChangedBehavior 5 2 Minor 80 %
Mismatched Typehint All, Analyze, Typechecks, ChangedBehavior 6 3 Major 66 %
Must Return Methods Analyze, All, Simple, Level 2, LintButWontExec, CI-checks, ChangedBehavior, CE 1 1 Major 34 %
Never Called Parameter All, Analyze, Suggestions, Rector, Unused 4 3 Minor 92 %
No Boolean As Default All, Analyze 9 8 Minor 84 %
No Return Used All, Analyze, Suggestions, Level 4, ChangedBehavior 8 6 Minor 69 %
Type Must Be Returned All, Analyze, LintButWontExec, CI-checks, ChangedBehavior, CE 1 1 Major 22 %
Undefined Functions Analyze, All, CI-checks, Stubs, Undefined, CE 3 3 Major 68 %
Unused Parameter Analyze, All, Simple, Unused 1 1 Major 90 %
Unused Returned Value All, Analyze, OneFile, Dead code, Simple, Unused 19 5 Minor 41 %
Use Constant As Arguments Analyze, All, Simple, CI-checks, ChangedBehavior, CE 1 1 Major 30 %
Uses Default Values Analyze, All, Simple, CI-checks, ChangedBehavior, CE 125 22 Minor 98 %
Methods Without Return All, Analyze 1 1 Minor 95 %
Wrong Type Returned All, Analyze, ClassReview, CI-checks, LintButWontExec, ChangedBehavior, CE 101 24 Minor 0 %
Wrong Type With Call All, Analyze, Typechecks, CI-checks, ChangedBehavior, CE 2 1 Minor 0 %
Unresolved Use Analyze, ClearPHP, All, Simple, ChangedBehavior 1 1 Major 69 %
Logical To in_array All, Analyze, Level 2, ChangedBehavior 3 1 Minor 67 %
Pre-increment Analyze, Performances, All, Simple, Level 4, CI-checks, ChangedBehavior, CE 2 2 Minor 74 %
array_key_exists() Works On Arrays All, CompatibilityPHP74, Analyze, ChangedBehavior, CE 2 1 Minor 0 %
Assumptions All, Analyze, ChangedBehavior 5 2 Minor 0 %
Use === null Analyze, OneFile, All, RadwellCodes, Simple, php-cs-fixable, CI-checks, ChangedBehavior, CE 6 6 Minor 53 %
No Null For Native PHP Functions All, Analyze, CompatibilityPHP81, Deprecated, ChangedBehavior 7 3 Minor 0 %
Scalar Are Not Arrays All, Analyze, CompatibilityPHP74, CI-checks, ChangedBehavior, CE 7 1 Minor 0 %
Avoid Using stdClass All, Analyze, OneFile, Simple, Level 4 1 1 Minor 46 %
Wrong Type For Native PHP Function All, Analyze, CI-checks, ChangedBehavior, CE 14 8 Minor 0 %
Adding Zero Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, Rector, CE 3 3 Minor 69 %
Bail Out Early All, Analyze, OneFile, Simple, Level 4, ChangedBehavior 2 2 Minor 64 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks, ChangedBehavior, CE 21 6 Minor 77 %
Check JSON All, Analyze, CI-checks, CE 6 4 Major 65 %
Could Use Short Assignation Analyze, OneFile, Performances, All, Simple, CI-checks, Rector, ChangedBehavior, CE 5 4 Minor 63 %
Don't Change The Blind Var All, Analyze, ChangedBehavior 2 2 Minor 73 %
Don't Mix ++ All, Analyze, ChangedBehavior 1 1 Minor 56 %
Double Checks All, Analyze, ChangedBehavior 1 1 Minor 0 %
Drop Else After Return All, Analyze, OneFile, Simple, Suggestions, Level 4, CI-checks, ChangedBehavior, CE 1 1 Minor 70 %
Foreach Reference Is Not Modified Analyze, All, Simple, CI-checks, ChangedBehavior, CE 1 1 Minor 24 %
Max Level Of Nesting All, Analyze, ChangedBehavior 1 1 Minor 0 %
Missing Assignation In Branches All, Analyze, ChangedBehavior 1 1 Minor 0 %
Modernize Empty With Expression All, Analyze, OneFile, Simple, ChangedBehavior 10 3 Minor 63 %
Multiple Type Variable All, Analyze, Level 4, ChangedBehavior 1 1 Minor 58 %
Nested Ifthen Analyze, All, RadwellCodes, ChangedBehavior 2 2 Major 84 %
Don't Change Incomings Analyze, All, ChangedBehavior 1 1 Minor 44 %
No Choice Analyze, All, Simple, Level 2, Top10, CI-checks, Rector, ChangedBehavior, CE 6 4 Major 42 %
No Need For Else All, Analyze, ChangedBehavior 1 1 Minor 74 %
Avoid Substr() One Analyze, Performances, All, CompatibilityPHP71, Simple, Level 2, Suggestions, Top10, CI-checks, ChangedBehavior, CE 1 1 Minor 58 %
Variable Is Not A Condition All, Analyze, ChangedBehavior 10 5 Minor 93 %
Should Use Ternary Operator All, Analyze, OneFile, Simple, CI-checks, ChangedBehavior, CE 3 3 Minor 86 %
Preprocessable Analyze, All, Rector, ChangedBehavior 10 6 Minor 85 %
Static Loop Analyze, All, Simple, Level 4, ChangedBehavior 1 1 Minor 67 %
Strpos()-like Comparison Analyze, PHP recommendations, ClearPHP, All, Simple, Level 2, Top10, CI-checks, ChangedBehavior, CE 1 1 Major 54 %
Timestamp Difference Analyze, All, Simple, Level 3, CI-checks, ChangedBehavior, CE 3 2 Major 49 %
Unchecked Resources Analyze, ClearPHP, All, Simple, Level 2, CI-checks, ChangedBehavior, CE 1 1 Major 50 %
Unsupported Types With Operators All, Analyze, CompatibilityPHP80, ChangedBehavior, CE 1 1 Minor 0 %
Use Positive Condition All, Analyze, OneFile, Simple, ChangedBehavior 9 5 Minor 82 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, ChangedBehavior, CE 6 4 Minor 63 %
Useless Null Coalesce All, Analyze, Typehints, ChangedBehavior 2 2 Minor 0 %
Useless Parenthesis Analyze, All, Simple, CI-checks, ChangedBehavior, CE 7 7 Minor 81 %
Should Typecast Analyze, OneFile, All, Simple, CI-checks, Rector, ChangedBehavior, CE 6 3 Minor 49 %
Missing Some Returntype All, Typehints, Analyze, CI-checks, ChangedBehavior, CE 12 3 Minor 0 %
StandaloneType True False Null All, Appcontent, Analyze, ChangedBehavior 24 8 Minor 0 %
Wrong Type With Default All, Analyze, LintButWontExec, ClassReview, ChangedBehavior 20 9 Minor 0 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4, ChangedBehavior, CE 78 12 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple, Unused, ChangedBehavior 2 2 Minor 87 %