PHP Static analysis for composer

Label Recipes Issues Files Severity Frequence
Ambiguous Array Index Analyze, All, Simple, Level 2, Semantics 10 6 Minor 10 %
Append And Assign Arrays Analyze, Internal, All 2 2 Minor 0 %
Null Or Boolean Arrays Analyze, All 122 20 Minor 0 %
Too Many Array Dimensions Analyze, All 12 5 Minor 0 %
Weak Type With Array Analyze, All 972 108 Minor 0 %
Abstract Or Implements Analyze, All, LintButWontExec, ChangedBehavior 49 49 Major 24 %
Accessing Private Analyze, All, Simple 24 15 Major 17 %
Ambiguous Static Analyze, All, Semantics 129 89 Minor 66 %
Ambiguous Visibilities Analyze, All, Semantics 333 112 Minor 70 %
Avoid option arrays in constructors Analyze, All, ClassReview 4 4 Minor 0 %
Avoid Optional Properties Analyze, All 182 53 Major 84 %
Const Visibility Usage Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, All 150 48 Minor 24 %
Could Be Abstract Class Analyze, All, ClassReview 2 2 Minor 65 %
Class Could Be Final Analyze, All, ClassReview 207 207 Minor 96 %
Method Could Be Static Analyze, All, ClassReview 272 113 Minor 92 %
Could Inject Parameter Analyze, All, ClassReview, ChangedBehavior 223 76 Minor 0 %
Dependant Abstract Classes Analyze, All, ClassReview 2 2 Minor 0 %
Different Argument Counts Analyze, All, ClassReview 11 7 Minor 0 %
No Direct Call To Magic Method Analyze, All, Level 2, CI-checks, CE 4 2 Major 43 %
Don't Send $this In Constructor Analyze, All 2 2 Minor 41 %
Empty Classes Analyze, All, Simple 5 5 Minor 60 %
Hidden Nullable Typehint Analyze, All, ClassReview 35 23 Minor 0 %
Incompatible Signature Methods With Covariance Analyze, All 24 13 Critical 0 %
Locally Unused Property Dead code, All, Simple, Unused 5 5 Minor 76 %
Method Signature Must Be Compatible Analyze, All, LintButWontExec 95 36 Critical 53 %
Missing Abstract Method Analyze, All, ClassReview 1 1 Minor 0 %
Multiple Identical Trait Or Interface Analyze, OneFile, All, Simple, CI-checks, CE 13 13 Minor 0 %
New Object Then Immediate Call Analyze, All, ClassReview 111 54 Minor 0 %
No Public Access Analyze, All 4 3 Minor 61 %
Non Nullable Getters Analyze, All, ClassReview 20 9 Minor 0 %
Parent First Analyze, All, Suggestions 11 11 Minor 56 %
Property Could Be Local Analyze, All, ClassReview 167 69 Minor 76 %
Same Name For Property And Method Analyze, All, ClassReview, Semantics 22 9 Minor 0 %
Never Used Properties Analyze, All, Simple, Unused 3 3 Minor 71 %
Property Used In One Method Only Analyze, All 92 50 Minor 84 %
Parent, Static Or Self Outside Class Analyze, All, Simple, ChangedBehavior 6 1 Major 21 %
Could Use self Analyze, All, Simple, Suggestions, Level 3, ClassReview 35 10 Minor 63 %
Should Use Local Class Analyze, ClearPHP, All, Simple 280 113 Minor 95 %
Static Methods Called From Object Analyze, All, Simple, CI-checks, CE, IsPHP, IsStub, IsExt 2 2 Minor 50 %
Too Many Dereferencing Analyze, All 7 6 Minor 0 %
Too Many Injections Analyze, All, Dismell 2 2 Minor 19 %
Undefined Classes Analyze, All, Stubs, Undefined 1153 161 Major 91 %
Undefined Class Constants Analyze, All, LintButWontExec, CI-checks, CE, Stubs, ChangedBehavior, Undefined 357 44 Major 62 %
Undefined Parent Analyze, All, Simple, Undefined 2 2 Minor 45 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, CE, CompatibilityPHP82, ChangedBehavior, Undefined 34 10 Major 61 %
Undefined ::class Analyze, All, CI-checks, CE, Undefined 3 2 Major 36 %
Unfinished Object Analyze, All, ClassReview 69 41 Major 0 %
Unresolved Catch Dead code, ClearPHP, All 9 7 Major 52 %
Unresolved Classes Analyze, All, Stubs 221 62 Major 76 %
Unresolved Instanceof Analyze, Dead code, ClearPHP, All, Simple, Top10 30 13 Major 48 %
Unused Classes Analyze, Dead code, All, Simple, Unused 4 4 Major 67 %
Unused Class Constant Analyze, All, ClassReview, Unused 4 2 Minor 0 %
Unused Methods Dead code, All, Simple, Unused 407 136 Minor 96 %
Unused Private Methods Dead code, OneFile, All, Simple, Unused 1 1 Minor 50 %
Unused Protected Methods Dead code, All, Unused 47 40 Major 68 %
Unused Public Methods Analyze, All, ChangedBehavior 573 135 Minor 0 %
Use ::Class Operator Analyze, Performances, All, Simple, CI-checks, CE 40 11 Minor 71 %
Use Instanceof Analyze, All, Simple, CI-checks, CE 12 4 Major 63 %
Used Once Property Analyze, All 4 4 Minor 74 %
Weak Typing Analyze, All 18 14 Minor 47 %
Undefined Constants stubs 8 5 Minor 71 %
Could Be A Constant All, Dump 116 51 Minor 0 %
Catch With Undefined Variable Analyze, All, ChangedBehavior, Undefined 28 9 Minor 0 %
Undefined Caught Exceptions Dead code, All, ChangedBehavior 5 4 None 53 %
Caught Exceptions All, Dump, ChangedBehavior 145 62 None 100 %
Converted Exceptions Analyze, All 17 14 Minor 0 %
Could Drop Variable Dead code, All, Suggestions 3 3 Minor 0 %
Forgotten Thrown Analyze, All 10 5 Minor 20 %
Throw Raw Exceptions Analyze, All, Suggestions 413 116 Minor 0 %
Try Without Catch All, Dump 2 2 Minor 0 %
Uncaught Exceptions Analyze, All 437 122 Minor 84 %
Useless Try Analyze, All, ChangedBehavior 35 22 Minor 0 %
Missing Include Analyze, All 2 1 Critical 65 %
Use Named Boolean In Argument Definition Analyze, All 251 111 Minor 84 %
Callback Function Needs Return Analyze, All, CI-checks, CE 2 1 Major 42 %
Could Make A Function Analyze, All, Suggestions 555 120 Minor 66 %
Don't Collect Void Analyze, All, IsPHP, IsStub, IsExt 67 32 Minor 0 %
Empty Function Analyze, All, Simple 17 12 Minor 74 %
Hardcoded Passwords Analyze, Security, OneFile, All, Simple, Level 3 5 5 Major 70 %
Insufficient Typehint Analyze, All, Typechecks 23 17 Major 43 %
Method Is Not An If Analyze, All 33 22 Minor 0 %
Mismatched Default Arguments Analyze, All, Typechecks 32 15 Minor 80 %
Mismatched Typehint Analyze, All, Typechecks 373 93 Major 66 %
Modified Typed Parameter Analyze, All, ClassReview 33 20 Minor 0 %
Must Return Methods Analyze, All, Simple, Level 2, LintButWontExec, CI-checks, CE 3 2 Major 34 %
Never Called Parameter Analyze, All, Suggestions, Rector, Unused 48 38 Minor 92 %
No Boolean As Default Analyze, All 180 88 Minor 84 %
No Default For Referenced Parameter Analyze, All 7 6 Minor 0 %
No Return Used Analyze, All, Suggestions, Level 4 16 9 Minor 69 %
Relay Function Analyze, All 103 23 Major 84 %
Too Many Local Variables Analyze, All 54 44 Minor 64 %
Class-typed References Analyze, All, CI-checks, CE 1 1 Minor 37 %
Unbinding Closures All, CompatibilityPHP74, CE 1 1 Minor 0 %
Undefined Functions stubs 86 25 Major 68 %
Unused Parameter Analyze, All, Simple, Unused 79 53 Major 90 %
Unused Returned Value Analyze, Dead code, OneFile, All, Simple, Unused 200 54 Minor 41 %
Useless Argument Analyze, All 298 115 Minor 0 %
Useless Referenced Argument Analyze, All 3 2 Minor 58 %
Useless Type Check Dead code, OneFile, All 3 3 Minor 0 %
Uses Default Values Analyze, All, Simple, CI-checks, CE, IsPHP, IsStub, IsExt 2794 184 Minor 98 %
Using Deprecated Method Analyze, All, Attributes 15 7 Minor 0 %
Wrong Argument Type Analyze, All, Typechecks 101 34 Minor 0 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks, CE, Stubs, IsPHP, IsStub, IsExt 85 52 Major 81 %
Wrong Type Returned Analyze, All, LintButWontExec, ClassReview, CI-checks, CE 478 121 Minor 0 %
Wrong Type With Call Analyze, All, Typechecks, CI-checks, CE 746 116 Minor 0 %
Already Parents Interface Analyze, All, Suggestions, Level 3, IsPHP, IsStub, IsExt 13 13 Minor 26 %
Forgotten Interface Analyze, All, ChangedBehavior 12 12 Minor 48 %
Empty Interfaces Analyze, All, Simple 1 1 Minor 41 %
Interfaces Is Not Implemented Analyze, All, LintButWontExec, ClassReview, CI-checks, CE, IsPHP, IsStub, IsExt 8 8 Minor 0 %
Repeated Interface Analyze, All, LintButWontExec 13 13 Minor 0 %
Undefined Interfaces Analyze, All, LintButWontExec, CI-checks, CE, IsPHP, IsStub, IsExt, Undefined 315 93 Major 72 %
Useless Interfaces Analyze, ClearPHP, All, Simple, ClassReview, Typechecks 2 2 Minor 59 %
Hidden Use Expression Analyze, OneFile, All, Simple, CI-checks, CE 1 1 Minor 23 %
Multiple Alias Definitions Analyze, All, Simple, CI-checks, CE 117 74 Minor 44 %
Should Make Alias Analyze, OneFile, All, Simple, CI-checks, CE 45 8 Minor 46 %
Unresolved Use Analyze, ClearPHP, All, Simple, IsPHP, IsStub, IsExt 451 165 Major 69 %
Unused Use Dead code, ClearPHP, All, Simple, php-cs-fixable, Unused 78 48 Major 60 %
No array_merge() In Loops Analyze, Performances, ClearPHP, All, Simple, Level 2, Top10, CI-checks, CE 24 20 Major 57 %
Logical To in_array Analyze, All, Level 2 33 15 Minor 67 %
Pre-increment Analyze, Performances, All, Simple, Level 4, CI-checks, CE 53 27 Minor 74 %
strpos() Too Much Analyze, All, CI-checks, CE 52 25 Minor 49 %
Use array_slice() Analyze, All, CI-checks, CE 1 1 Minor 0 %
array_key_exists() Works On Arrays Analyze, All, CompatibilityPHP74, CE 3 2 Minor 0 %
Assumptions Analyze, All 90 48 Minor 0 %
Use random_int() Analyze, Security, CompatibilityPHP71, All, Simple, Level 2, CI-checks, CE 7 5 Major 59 %
Constant Scalar Expression Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, All 290 115 Major 0 %
Don't Pollute Global Space Analyze, All 1 1 Minor 0 %
Php/ExitNoArg Analyze, All 1 1 Minor 0 %
False To Array Conversion Analyze, All, LintButWontExec, CompatibilityPHP81, CompatibilityPHP82 63 16 Minor 0 %
Wrong Parameter Type Analyze, OneFile, All, Simple, CI-checks, CE 86 27 Major 76 %
Use === null Analyze, OneFile, All, RadwellCodes, Simple, php-cs-fixable, CI-checks, CE 2 2 Minor 53 %
PHP Native Interfaces and Return Type Analyze, All, LintButWontExec, CompatibilityPHP81, Deprecated 3 2 Minor 0 %
List Short Syntax Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, Internal, CompatibilityPHP53, CompatibilityPHP70, All, CE 60 32 Major 17 %
List With Keys Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, Appcontent, CompatibilityPHP53, CompatibilityPHP70, All, CE, ChangedBehavior 4 4 Major 34 %
PHP Native Class Type Compatibility Analyze, All, CompatibilityPHP81 27 10 Major 0 %
No Class In Global Analyze, All, CI-checks, CE 1 1 Minor 77 %
No Null For Native PHP Functions Analyze, All, CompatibilityPHP81, Deprecated 203 55 Minor 0 %
No Reference For Ternary Analyze, All, CI-checks, CE 1 1 Major 14 %
PHP 8.0 Typehints CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, CompatibilityPHP74 2 1 Minor 0 %
Php7 Relaxed Keyword Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, All, CE 31 14 Major 28 %
PHP 80 Named Parameter Variadic All, CompatibilityPHP80, CE 1 1 Minor 0 %
Php 8.0 Only TypeHints Appinfo, CompatibilityPHP56, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, CompatibilityPHP74, CE 3 2 Minor 0 %
PHP 8.0 Removed Directives All, CompatibilityPHP80, CE, CompatibilityPHP81 1 1 Minor 0 %
Scalar Are Not Arrays Analyze, All, CompatibilityPHP74, CI-checks, CE 72 16 Minor 0 %
Should Use Coalesce Analyze, All, Simple, Suggestions, Level 3, CI-checks, CE 1 1 Major 71 %
String Int Comparison All, CompatibilityPHP80, ChangedBehavior 44 26 Minor 0 %
Too Many Native Calls Analyze, All, IsPHP, IsExt 6 4 Minor 49 %
Use Nullable Type Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, All, CE 598 153 Major 90 %
Use Pathinfo Analyze, All, Simple, Level 3, CI-checks, CE 2 1 Minor 11 %
Avoid Using stdClass Analyze, OneFile, All, Simple, Level 4 16 4 Minor 46 %
Wrong Type For Native PHP Function Analyze, All, CI-checks, CE 326 88 Minor 0 %
Avoid Those Hash Functions Security, All 19 14 Major 62 %
Direct Injection Security, All 5 2 Major 51 %
Indirect Injection Security, All 9 2 Critical 42 %
Keep Files Access Restricted Security, All 4 4 Minor 0 %
Avoid sleep()/usleep() Security, All 12 7 Minor 41 %
No Weak SSL Crypto Security, All 1 1 Minor 0 %
Altering Foreach Without Reference Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE 9 9 Major 56 %
Comparison Is Always The Same Analyze, All, ChangedBehavior 211 70 Minor 0 %
Array Access On Literal Array Analyze, All, Semantics 2 1 Minor 0 %
Array_merge Needs Array Of Arrays Analyze, All 51 25 Minor 0 %
Bail Out Early Analyze, OneFile, All, Simple, Level 4 166 83 Minor 64 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks, CE 61 35 Minor 77 %
Buried Assignation Analyze, All 134 60 Minor 84 %
Cast To Boolean Analyze, OneFile, All, Simple, Level 1 8 5 Minor 56 %
Catch Overwrite Variable Analyze, ClearPHP, All, Simple 5 3 Minor 25 %
Check All Types Analyze, All 25 13 Major 69 %
Check Division By Zero Analyze, All, ChangedBehavior 5 4 Minor 0 %
Check JSON Analyze, All, CI-checks, CE 41 21 Major 65 %
Coalesce And Concat Analyze, All, CI-checks, CE 1 1 Minor 0 %
Coalesce And Ternary Operators Order Analyze, All 1 1 Minor 0 %
Common Alternatives Analyze, All, Simple 33 22 Major 80 %
Could Be Else Analyze, All 8 6 Minor 49 %
Could Use Short Assignation Analyze, Performances, OneFile, All, Simple, Rector, CI-checks, CE 5 4 Minor 63 %
Dangling Array References Analyze, PHP recommendations, ClearPHP, All, Simple, Level 1, Top10, CI-checks, CE 3 2 Major 46 %
Default Then Discard Analyze, All, Readability 3 3 Minor 0 %
__DIR__ Then Slash Analyze, All, Level 3, CI-checks, CE, ChangedBehavior 1 1 Major 14 %
Don't Change The Blind Var Analyze, All 49 33 Minor 73 %
Don't Mix ++ Analyze, All 9 8 Minor 56 %
Don't Read And Write In One Expression Analyze, All, CompatibilityPHP73, CompatibilityPHP74, CE 1 1 Critical 38 %
Double Assignation Analyze, All 6 6 Major 59 %
Double Checks Analyze, All 23 8 Minor 0 %
Double Instructions Analyze, All, Simple 7 6 Minor 57 %
Double Object Assignation Analyze, All, ClassReview 7 3 Minor 0 %
Drop Else After Return Analyze, OneFile, All, Simple, Suggestions, Level 4, CI-checks, CE 6 5 Minor 70 %
Echo With Concat Analyze, Performances, All, Simple, Suggestions 2 2 Minor 60 %
Else If Versus Elseif Analyze, All, Simple, php-cs-fixable, Rector, CI-checks, CE 6 5 Minor 66 %
Empty Blocks Analyze, All, Simple, CI-checks, CE 2 2 Minor 51 %
Empty Loop Analyze, All, ChangedBehavior 1 1 Major 0 %
Empty Try Catch Analyze, All, Level 3 19 13 Minor 49 %
Eval() Usage Analyze, Appinfo, Security, Performances, PHP recommendations, OneFile, ClearPHP, All, Simple, CE 2 2 Major 39 %
eval() Without Try Analyze, Security, All, Simple, Level 3, CI-checks, CE, ChangedBehavior 2 2 Critical 36 %
Exit() Usage Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks, CE 3 3 Major 61 %
Switch Fallthrough Inventory, Security, All, Stats 1 1 Minor 39 %
Global Usage Analyze, Appinfo, ClearPHP, All, CE 2 1 Minor 52 %
Identical Case In Switch Analyze, All 2 1 Minor 0 %
Identical Consecutive Expression Analyze, All 1 1 Minor 59 %
If With Same Conditions Analyze, All, Simple, CI-checks, CE 8 7 Major 47 %
Iffectations Analyze, All 142 59 Minor 80 %
Implode() Arguments Order Analyze, All, CI-checks, CE, ChangedBehavior 3 3 Minor 0 %
Indices Are Int Or String Analyze, OneFile, All, Simple, CI-checks, CE 25 10 Major 20 %
Infinite Recursion Analyze, All 7 6 Major 0 %
Invalid Cast Analyze, All, LintButWontExec 1 1 Minor 0 %
Logical Mistakes Analyze, All, Simple, Level 1, CI-checks, CE 3 3 Critical 32 %
Long Arguments Analyze, All 139 64 Minor 68 %
Max Level Of Nesting Analyze, All 49 37 Minor 0 %
Merge If Then Analyze, All, CI-checks, CE, ChangedBehavior 82 48 Minor 0 %
Mismatched Ternary Alternatives Analyze, All, Suggestions, Level 4 5 5 Major 64 %
Missing Assignation In Command Analyze, All 189 84 Minor 0 %
Maybe Missing New Analyze, All 1 1 Critical 57 %
Missing Parenthesis Analyze, All, Simple, Level 5, CI-checks, CE, ChangedBehavior 1 1 Major 16 %
Mixed Concat And Interpolation Analyze, Coding Conventions, All 6 3 Minor 45 %
Modernize Empty With Expression Analyze, OneFile, All, Simple 18 13 Minor 63 %
Multiple Type Variable Analyze, All, Level 4 6 4 Minor 58 %
Nested Ifthen Analyze, All, RadwellCodes 226 70 Major 84 %
Nested Ternary Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE 11 9 Major 50 %
Don't Change Incomings Analyze, All 4 1 Minor 44 %
No Choice Analyze, All, Simple, Level 2, Top10, Rector, CI-checks, CE, ChangedBehavior 24 15 Major 42 %
No Direct Usage Analyze, All, Simple 2 2 Major 39 %
No Hardcoded Hash Analyze, Security, All, Simple 2 2 Critical 45 %
No Hardcoded Path Analyze, ClearPHP, All, Simple 1 1 Major 35 %
No Max On Empty Array All, CompatibilityPHP80, ChangedBehavior 15 7 Minor 0 %
No Need For Else Analyze, All 12 8 Minor 74 %
No Need For Triple Equal Analyze, All 60 34 Minor 0 %
No Null For Index Analyze, All 17 10 Minor 0 %
No Parenthesis For Language Construct Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks, CE 2 1 Minor 62 %
Avoid Substr() One Analyze, Performances, CompatibilityPHP71, All, Simple, Suggestions, Level 2, Top10, CI-checks, CE 10 8 Minor 58 %
Variable Is Not A Condition Analyze, All 619 119 Minor 93 %
Non Integer Nor String As Index Analyze, All 20 8 Minor 0 %
@ Operator Analyze, Appinfo, Performances, ClearPHP, All, CI-checks, CE 42 17 Minor 65 %
Several Instructions On The Same Line Analyze, All, ChangedBehavior 4 3 Major 56 %
PHP7 Dirname CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, All, Suggestions, php-cs-fixable 16 6 Minor 44 %
Phpinfo Security, OneFile, All, Simple 1 1 Major 16 %
Printf Number Of Arguments Analyze, All, CI-checks, CE 3 2 Minor 41 %
Random Without Try Security, All 2 2 Critical 30 %
Same Conditions In Condition Analyze, All, Simple, CI-checks, CE 7 6 Critical 55 %
Should Chain Exception Analyze, All, Simple, CI-checks, CE 11 8 Minor 39 %
Should Use Ternary Operator Analyze, OneFile, All, Simple, CI-checks, CE 111 57 Minor 86 %
Preprocessable Analyze, All, Rector 132 57 Minor 85 %
Static Loop Analyze, All, Simple, Level 4 10 9 Minor 67 %
Strpos()-like Comparison Analyze, PHP recommendations, ClearPHP, All, Simple, Level 2, Top10, CI-checks, CE 7 7 Major 54 %
Suspicious Comparison Analyze, All, Level 3 11 9 Major 39 %
Switch To Switch Analyze, All, RadwellCodes, Simple 6 5 Minor 58 %
Switch Without Default Analyze, ClearPHP, All, Simple, CI-checks, CE 8 8 Major 69 %
Test Then Cast Analyze, All 1 1 Major 34 %
Timestamp Difference Analyze, All, Simple, Level 3, CI-checks, CE 6 6 Major 49 %
Unchecked Resources Analyze, ClearPHP, All, Simple, Level 2, CI-checks, CE 1 1 Major 50 %
Unconditional Break In Loop Analyze, All, Level 3, CI-checks, CE 14 9 Major 48 %
Unpreprocessed Values Analyze, Performances, OneFile, ClearPHP, All, Simple 3 3 Minor 30 %
Unreachable Code Dead code, OneFile, ClearPHP, All, Simple, Suggestions, Level 3, Unused, ChangedBehavior 120 56 Major 61 %
Unsupported Types With Operators Analyze, All, CompatibilityPHP80, CE 127 61 Minor 0 %
Unused Label Dead code, All, Simple, Unused, ChangedBehavior 1 1 Minor 1 %
Use Constant Instead Of Function Analyze, PHP recommendations, All, php-cs-fixable, CI-checks, CE 2 2 Minor 61 %
Avoid get_class() Analyze, All, Simple, CI-checks, CE 1 1 Minor 32 %
Use Positive Condition Analyze, OneFile, All, Simple 44 30 Minor 82 %
Use Same Types For Comparisons Analyze, All 1 1 Minor 0 %
Use Variable Created Inside Loop Dead code, All 44 22 Minor 0 %
Useless Type Casting Analyze, PHP recommendations, OneFile, All, RadwellCodes, Simple, Level 4, CI-checks, CE 40 22 Minor 47 %
Useless Check Analyze, OneFile, All, Simple, Level 1, CI-checks, CE 2 2 Minor 35 %
Useless Coalesce Analyze, All 28 13 Minor 0 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, CE 23 14 Minor 63 %
Useless Null Coalesce Analyze, All, Typehints 4 3 Minor 0 %
Useless Parenthesis Analyze, All, Simple, CI-checks, CE 61 38 Minor 81 %
Useless Short Ternary Analyze, All, ChangedBehavior 10 6 Minor 0 %
Wrong Precedence In Expression Analyze, All, ChangedBehavior 5 5 Minor 0 %
Dependant Trait Analyze, All, Level 3 2 2 Minor 28 %
No Real Comparison Analyze, PHP recommendations, All, Simple, Level 2, Top10, CI-checks, CE 1 1 Major 26 %
Should Typecast Analyze, OneFile, All, Simple, Rector, CI-checks, CE 5 2 Minor 49 %
String May Hold A Variable Analyze, All, Simple 40 17 Minor 59 %
Missing Some Returntype Analyze, All, Typehints, CI-checks, CE 61 45 Minor 0 %
StandaloneType True False Null Analyze, Appcontent, All 597 153 Minor 0 %
Wrong Type With Default Analyze, All, LintButWontExec, ClassReview 111 57 Minor 0 %
Assigned Twice Analyze, All 243 57 Minor 79 %
Overwritten Literals Analyze, All 287 57 Major 79 %
Recycled Variables Analyze, All 29 11 Minor 0 %
Undefined Variable Analyze, All, CI-checks, CE, Undefined 607 56 Minor 77 %
Used Once Variables Analyze, OneFile, All, Simple, Top10 6 5 Minor 74 %
Used Once Variables (In Scope) Analyze, OneFile, ClearPHP, All, Simple, Level 4, CE 119 73 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple, Unused 7 3 Minor 87 %