PHP Static analysis for known

Label Recipes Issues Files Severity Frequence
Ambiguous Array Index Analyze, All, Simple, Level 2, Semantics, ChangedBehavior 5 2 Minor 10 %
Append And Assign Arrays Analyze, Internal, All, ChangedBehavior 2 1 Minor 0 %
Multiple Index Definition Analyze, OneFile, All, Simple, Rector, CI-checks, CE 2 2 Minor 33 %
Null Or Boolean Arrays Analyze, All 12 4 Minor 0 %
Too Many Array Dimensions Analyze, All 1 1 Minor 0 %
Weak Type With Array Analyze, All, ChangedBehavior 269 50 Minor 0 %
Abstract Or Implements Analyze, All, LintButWontExec, ChangedBehavior 3 3 Major 24 %
Access Protected Structures Analyze, All, Simple, IsPHP, IsStub, IsExt 6 3 Major 17 %
Ambiguous Static Analyze, All, Semantics 86 50 Minor 66 %
Ambiguous Visibilities Analyze, All, Semantics, ChangedBehavior 44 26 Minor 70 %
Avoid Optional Properties Analyze, All 200 55 Major 84 %
Class, Interface, Enum Or Trait With Identical Names Analyze, All 2 2 Minor 19 %
Clone With Non-Object Analyze, All, LintButWontExec 6 4 Minor 33 %
Could Be Abstract Class Analyze, All, ClassReview 9 9 Minor 65 %
Class Could Be Final Analyze, All, ClassReview 263 260 Minor 96 %
Method Could Be Static Analyze, All, ClassReview 209 88 Minor 92 %
Could Inject Parameter Analyze, All, ClassReview, ChangedBehavior 19 10 Minor 0 %
Dependant Abstract Classes Analyze, All, ClassReview 2 2 Minor 0 %
Different Argument Counts Analyze, All, ClassReview 7 7 Minor 0 %
No Direct Call To Magic Method Analyze, All, Level 2, CI-checks, CE 1 1 Major 43 %
Don't Unset Properties Analyze, All, Top10, php-cs-fixable, CI-checks, CE 1 1 Major 42 %
Empty Classes Analyze, All, Simple 4 4 Minor 60 %
Hidden Nullable Typehint Analyze, All, ClassReview 44 19 Minor 0 %
Incompatible Signature Methods With Covariance Analyze, All 39 28 Critical 0 %
Inherited Property Type Must Match Analyze, All, LintButWontExec, ClassReview 9 9 Minor 0 %
Instantiating Abstract Class Analyze, All, Simple 9 3 Major 13 %
Locally Unused Property Dead code, All, Simple, Unused 57 18 Minor 76 %
Assign Default To Properties Analyze, ClearPHP, All, Simple, Level 2 3 2 Minor 71 %
Make Global A Property Analyze, All, Simple 1 1 Minor 37 %
Method Signature Must Be Compatible Analyze, All, LintButWontExec 7 7 Critical 53 %
Mismatch Properties Typehints Analyze, All, LintButWontExec, ClassReview 10 6 Minor 0 %
Multiple Identical Trait Or Interface Analyze, OneFile, All, Simple, CI-checks, CE, ChangedBehavior 1 1 Minor 0 %
New Object Then Immediate Call Analyze, All, ClassReview 66 36 Minor 0 %
No Public Access Analyze, All 56 24 Minor 61 %
Non Nullable Getters Analyze, All, ClassReview 1 1 Minor 0 %
Forgotten Visibility Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE 1160 233 Minor 42 %
Non Static Methods Called In A Static Analyze, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, All, Simple, CI-checks, CE, IsPHP, IsStub, IsExt 2 1 Minor 20 %
Parent First Analyze, All, Suggestions 7 7 Minor 56 %
Parent Is Not Static Analyze, All, ClassReview 1 1 Major 0 %
Property Could Be Local Analyze, All, ClassReview 20 14 Minor 76 %
Same Name For Property And Method Analyze, All, ClassReview, Semantics 60 6 Minor 0 %
Never Used Properties Analyze, All, Simple, Unused 10 7 Minor 71 %
Property Used In One Method Only Analyze, All 37 26 Minor 84 %
Scalar Or Object Property Analyze, All 3 2 Minor 32 %
Could Use self Analyze, All, Simple, Suggestions, Level 3, ClassReview 62 23 Minor 63 %
Should Use Local Class Analyze, ClearPHP, All, Simple 194 69 Minor 95 %
Static Methods Called From Object Analyze, All, Simple, CI-checks, CE, IsPHP, IsStub, IsExt 1 1 Minor 50 %
$this Belongs To Classes Or Traits Analyze, All, Simple, LintButWontExec, ChangedBehavior 458 176 Major 32 %
Wrong Access Style to Property Analyze, All, Level 2, ClassReview, CI-checks, CE 147 18 Critical 37 %
Undefined Classes Analyze, All, Stubs, Undefined 1285 141 Major 91 %
Undefined Class Constants Analyze, All, LintButWontExec, CI-checks, CE, Stubs, ChangedBehavior, Undefined 6 3 Major 62 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, CE, CompatibilityPHP82, ChangedBehavior, Undefined 804 191 Major 61 %
Undefined static:: Or self:: Analyze, All, Simple, ChangedBehavior, Undefined 5 2 Minor 35 %
Unfinished Object Analyze, All, ClassReview 4 4 Major 0 %
Unreachable Method Analyze, Dead code, All, ClassReview, Unused, ChangedBehavior 4 2 Minor 0 %
Unresolved Catch Dead code, ClearPHP, All, ChangedBehavior 3 3 Major 52 %
Unresolved Classes Analyze, All, Stubs, ChangedBehavior 49 25 Major 76 %
Unresolved Instanceof Analyze, Dead code, ClearPHP, All, Simple, Top10, ChangedBehavior 7 5 Major 48 %
Unused Classes Analyze, Dead code, All, Simple, Unused, ChangedBehavior 21 21 Major 67 %
Unused Methods Dead code, All, Simple, Unused, ChangedBehavior 700 252 Minor 96 %
Unused Private Methods Dead code, OneFile, All, Simple, Unused, ChangedBehavior 1 1 Minor 50 %
Unused Private Properties Dead code, OneFile, All, Simple, Unused 3 3 Minor 51 %
Unused Public Methods Analyze, All, ChangedBehavior 89 42 Minor 0 %
Use ::Class Operator Analyze, Performances, All, Simple, CI-checks, CE, ChangedBehavior 179 32 Minor 71 %
Use Instanceof Analyze, All, Simple, CI-checks, CE, ChangedBehavior 2 2 Major 63 %
Used Once Property Analyze, All, ChangedBehavior 2 2 Minor 74 %
Useless Abstract Class Analyze, All, Simple, ChangedBehavior 6 6 Minor 33 %
Useless Method Analyze, All 2 2 Minor 0 %
Illegal Name For Method Analyze, OneFile, All, Simple 3 3 Major 20 %
Wrong Typed Property Default Analyze, All, LintButWontExec, ClassReview, CI-checks, CE 8 7 Minor 0 %
Use const Analyze, Coding Conventions, All, Top10, CI-checks, CE 8 4 Minor 54 %
Undefined Constants stubs 3 2 Minor 71 %
Unused Constants Dead code, All, Simple, Unused, ChangedBehavior 1 1 Minor 39 %
Could Be A Constant All, Dump 143 55 Minor 0 %
Catch With Undefined Variable Analyze, All, ChangedBehavior, Undefined 2 2 Minor 0 %
Undefined Caught Exceptions Dead code, All, ChangedBehavior 3 3 None 53 %
Caught Exceptions All, Dump, ChangedBehavior 66 32 None 100 %
Converted Exceptions Analyze, All 1 1 Minor 0 %
Could Drop Variable Dead code, All, Suggestions, ChangedBehavior 10 9 Minor 0 %
Throw Raw Exceptions Analyze, All, Suggestions 54 23 Minor 0 %
Uncaught Exceptions Analyze, All, ChangedBehavior 64 28 Minor 84 %
Useless Catch Analyze, All, CI-checks, CE, ChangedBehavior 2 2 Minor 44 %
Useless Try Analyze, All, ChangedBehavior 49 28 Minor 0 %
Missing Include Analyze, All 6 5 Critical 65 %
Native Alias Functions Usage Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, CE, ChangedBehavior 17 10 Minor 20 %
Use Named Boolean In Argument Definition Analyze, All, ChangedBehavior 77 38 Minor 84 %
Callback Function Needs Return Analyze, All, CI-checks, CE 1 1 Major 42 %
Could Make A Function Analyze, All, Suggestions, ChangedBehavior 330 114 Minor 66 %
Deep Definitions Analyze, Appinfo, All, Simple, CE 2 2 Major 13 %
Don't Collect Void Analyze, All, IsPHP, IsStub, IsExt 26 17 Minor 0 %
Empty Function Analyze, All, Simple 7 3 Minor 74 %
Hardcoded Passwords Analyze, Security, OneFile, All, Simple, Level 3 59 15 Major 70 %
Insufficient Typehint Analyze, All, Typechecks 1 1 Major 43 %
Method Is Not An If Analyze, All 74 45 Minor 0 %
Mismatch Parameter Name Analyze, All, CompatibilityPHP80, CE, ChangedBehavior 11 9 Minor 0 %
Mismatched Default Arguments Analyze, All, Typechecks 32 16 Minor 80 %
Mismatched Typehint Analyze, All, Typechecks 47 25 Major 66 %
Modified Typed Parameter Analyze, All, ClassReview 1 1 Minor 0 %
Must Return Methods Analyze, All, Simple, Level 2, LintButWontExec, CI-checks, CE, ChangedBehavior 1 1 Major 34 %
Never Called Parameter Analyze, All, Suggestions, Rector, Unused 38 17 Minor 92 %
No Boolean As Default Analyze, All 80 39 Minor 84 %
No Default For Referenced Parameter Analyze, All 1 1 Minor 0 %
No Return Used Analyze, All, Suggestions, Level 4 14 8 Minor 69 %
Redeclared PHP Functions Analyze, Appinfo, All, Simple, CI-checks, CE 1 1 Minor 26 %
Relay Function Analyze, All 46 29 Major 84 %
Too Many Local Variables Analyze, All 13 10 Minor 64 %
Class-typed References Analyze, All, CI-checks, CE 21 2 Minor 37 %
Undefined Functions stubs 2 1 Major 68 %
Unused Parameter Analyze, All, Simple, Unused 29 23 Major 90 %
Unused Returned Value Analyze, Dead code, OneFile, All, Simple, Unused 207 65 Minor 41 %
Use Constant As Arguments Analyze, All, Simple, CI-checks, CE 2 2 Major 30 %
Useless Argument Analyze, All 64 41 Minor 0 %
Useless Referenced Argument Analyze, All, ChangedBehavior 1 1 Minor 58 %
Useless Return Analyze, OneFile, All, Simple, Level 4 7 6 Minor 30 %
Uses Default Values Analyze, All, Simple, CI-checks, CE, IsPHP, IsStub, IsExt 3364 466 Minor 98 %
Using Deprecated Method Analyze, All, Attributes 106 35 Minor 0 %
Wrong Argument Type Analyze, All, Typechecks 32 24 Minor 0 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks, CE, Stubs, IsPHP, IsStub, IsExt 51 33 Major 81 %
Wrong Type Returned Analyze, All, LintButWontExec, ClassReview, CI-checks, CE 340 70 Minor 0 %
Wrong Type With Call Analyze, All, Typechecks, CI-checks, CE 689 168 Minor 0 %
Already Parents Interface Analyze, All, Suggestions, Level 3, ChangedBehavior 1 1 Minor 26 %
Forgotten Interface Analyze, All, ChangedBehavior 5 5 Minor 48 %
Empty Interfaces Analyze, All, Simple, ChangedBehavior 1 1 Minor 41 %
Repeated Interface Analyze, All, LintButWontExec, ChangedBehavior 1 1 Minor 0 %
Undefined Interfaces Analyze, All, LintButWontExec, CI-checks, CE, ChangedBehavior, Undefined 26 11 Major 72 %
Unused Interfaces Dead code, All, Simple, Suggestions, Level 2, Unused, ChangedBehavior 2 2 Minor 26 %
Useless Interfaces Analyze, ClearPHP, All, Simple, ClassReview, Typechecks, ChangedBehavior 7 7 Minor 59 %
Hidden Use Expression Analyze, OneFile, All, Simple, CI-checks, CE, ChangedBehavior 7 2 Minor 23 %
Multiple Alias Definitions Analyze, All, Simple, CI-checks, CE, ChangedBehavior 3 3 Minor 44 %
Should Make Alias Analyze, OneFile, All, Simple, CI-checks, CE, ChangedBehavior 233 39 Minor 46 %
Unresolved Use Analyze, ClearPHP, All, Simple, ChangedBehavior 11 9 Major 69 %
Unused Use Dead code, ClearPHP, All, Simple, php-cs-fixable, Unused, ChangedBehavior 24 18 Major 60 %
Use With Fully Qualified Name Analyze, Coding Conventions, PHP recommendations, All, Simple, ChangedBehavior 1 1 Minor 18 %
No array_merge() In Loops Analyze, Performances, ClearPHP, All, Simple, Level 2, Top10, CI-checks, CE, ChangedBehavior 4 4 Major 57 %
Logical To in_array Analyze, All, Level 2, ChangedBehavior 5 4 Minor 67 %
Pre-increment Analyze, Performances, All, Simple, Level 4, CI-checks, CE, ChangedBehavior 52 24 Minor 74 %
strpos() Too Much Analyze, All, CI-checks, CE, ChangedBehavior 2 2 Minor 49 %
array_key_exists() Works On Arrays Analyze, All, CompatibilityPHP74, CE, ChangedBehavior 7 5 Minor 0 %
Assumptions Analyze, All, ChangedBehavior 1 1 Minor 0 %
Use random_int() Analyze, Security, CompatibilityPHP71, All, Simple, Level 2, CI-checks, CE, ChangedBehavior 43 28 Major 59 %
Constant Scalar Expression Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, All, ChangedBehavior 161 64 Major 0 %
Deprecated PHP Functions Analyze, All, CI-checks, CE 5 3 Major 23 %
Don't Pollute Global Space Analyze, All 17 9 Minor 0 %
Exit Without Argument Analyze, All, ChangedBehavior 54 33 Minor 0 %
False To Array Conversion Analyze, All, LintButWontExec, CompatibilityPHP81, CompatibilityPHP82 133 16 Minor 0 %
Group Use Declaration Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, All, CE, ChangedBehavior 1 1 Minor 5 %
Include Variables All, Dump 1 1 Minor 0 %
Wrong Parameter Type Analyze, OneFile, All, Simple, CI-checks, CE, ChangedBehavior 46 18 Major 76 %
Is_A() With String Analyze, All, Simple, Rector, CI-checks, CE, ChangedBehavior 4 3 Minor 0 %
Use === null Analyze, OneFile, All, RadwellCodes, Simple, php-cs-fixable, CI-checks, CE, ChangedBehavior 1 1 Minor 53 %
List With Keys Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, Appcontent, CompatibilityPHP53, CompatibilityPHP70, All, CE, ChangedBehavior 2 1 Major 34 %
Logical Should Use Symbolic Operators Analyze, OneFile, ClearPHP, All, Simple, Suggestions, Level 2, Top10, php-cs-fixable, CI-checks, CE 1 1 Minor 43 %
Possible Missing Subpattern Analyze, All, Top10, CI-checks, CE, ChangedBehavior 1 1 Minor 45 %
PHP Native Class Type Compatibility Analyze, All, CompatibilityPHP81, ChangedBehavior 22 5 Major 0 %
No Class In Global Analyze, All, CI-checks, CE, ChangedBehavior 7 5 Minor 77 %
No Null For Native PHP Functions Analyze, All, CompatibilityPHP81, Deprecated, ChangedBehavior 79 37 Minor 0 %
PHP 8.0 Typehints CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, CompatibilityPHP74, ChangedBehavior 15 6 Minor 0 %
Php 8.0 Only TypeHints Appinfo, CompatibilityPHP56, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, CompatibilityPHP74, CE, ChangedBehavior 20 9 Minor 0 %
Scalar Are Not Arrays Analyze, All, CompatibilityPHP74, CI-checks, CE, ChangedBehavior 9 5 Minor 0 %
Should Use Coalesce Analyze, All, Simple, Suggestions, Level 3, CI-checks, CE 9 6 Major 71 %
String Int Comparison All, CompatibilityPHP80, ChangedBehavior 51 29 Minor 0 %
Too Many Native Calls Analyze, All, IsPHP, IsExt 1 1 Minor 49 %
Typed Property Usage Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, CE 161 62 Minor 6 %
Use Nullable Type Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, All, CE 41 10 Major 90 %
Use PHP Object API Analyze, ClearPHP, All, Simple, CI-checks, CE 2 1 Minor 27 %
Avoid Using stdClass Analyze, OneFile, All, Simple, Level 4 3 2 Minor 46 %
Wrong Type For Native PHP Function Analyze, All, CI-checks, CE 97 51 Minor 0 %
Always Anchor Regex Security, All 50 15 Major 65 %
Avoid Those Hash Functions Security, All 39 28 Major 62 %
Check Crypto Key Length Security, All 1 1 Minor 0 %
Safe Curl Options Security, All, ChangedBehavior 3 1 Major 15 %
Direct Injection Security, All, ChangedBehavior 15 7 Major 51 %
Don't Echo Error Analyze, Security, All, Simple, Level 1, CI-checks, CE, ChangedBehavior 2 2 Critical 35 %
Incompatible Types With Incoming Values Security, All, ChangedBehavior 31 26 Minor 0 %
Indirect Injection Security, All, ChangedBehavior 11 10 Critical 42 %
Keep Files Access Restricted Security, All, ChangedBehavior 6 2 Minor 0 %
Mkdir Default Security, All, ChangedBehavior 6 2 Major 37 %
No Net For Xml Load Security, All, ChangedBehavior 11 7 Major 51 %
Avoid sleep()/usleep() Security, All, ChangedBehavior 2 2 Minor 41 %
Safe HTTP Headers Security, All, ChangedBehavior 6 6 Major 5 %
Unserialize Second Arg Security, All 6 4 Critical 50 %
Altering Foreach Without Reference Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE 3 3 Major 56 %
Comparison Is Always The Same Analyze, All, ChangedBehavior 9 8 Minor 0 %
Bail Out Early Analyze, OneFile, All, Simple, Level 4 122 65 Minor 64 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks, CE 94 45 Minor 77 %
Buried Assignation Analyze, All 37 24 Minor 84 %
Check All Types Analyze, All 25 17 Major 69 %
Check Division By Zero Analyze, All, ChangedBehavior 5 3 Minor 0 %
Check JSON Analyze, All, CI-checks, CE 64 40 Major 65 %
Common Alternatives Analyze, All, Simple 74 31 Major 80 %
Concat Empty String Analyze, OneFile, All 8 4 Minor 0 %
Could Be Else Analyze, All 5 5 Minor 49 %
Could Use __DIR__ Analyze, All, Simple, Suggestions, Level 3, php-cs-fixable, CI-checks, CE 51 33 Major 56 %
Could Use Short Assignation Analyze, Performances, OneFile, All, Simple, Rector, CI-checks, CE, ChangedBehavior 2 2 Minor 63 %
Don't Change The Blind Var Analyze, All 28 17 Minor 73 %
Double Assignation Analyze, All 5 4 Major 59 %
Double Checks Analyze, All 2 2 Minor 0 %
Double Instructions Analyze, All, Simple 2 2 Minor 57 %
Drop Else After Return Analyze, OneFile, All, Simple, Suggestions, Level 4, CI-checks, CE 14 12 Minor 70 %
Echo With Concat Analyze, Performances, All, Simple, Suggestions 75 42 Minor 60 %
Else If Versus Elseif Analyze, All, Simple, php-cs-fixable, Rector, CI-checks, CE 93 54 Minor 66 %
Empty Blocks Analyze, All, Simple, CI-checks, CE 21 17 Minor 51 %
Empty Instructions Analyze, Dead code, All, Simple 1 1 Minor 57 %
Empty Loop Analyze, All, ChangedBehavior 1 1 Major 0 %
Empty Try Catch Analyze, All, Level 3 7 4 Minor 49 %
Exit() Usage Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks, CE 59 33 Major 61 %
Switch Fallthrough Inventory, Security, All, Stats 1 1 Minor 39 %
Global Usage Analyze, Appinfo, ClearPHP, All, CE 12 7 Minor 52 %
Htmlentities Calls Analyze, All, Simple, CI-checks, CE 142 63 Major 40 %
Htmlentities Using Default Flag Analyze, All, Simple, CI-checks, ChangedBehavior 146 66 Minor 0 %
Identical Case In Switch Analyze, All, ChangedBehavior 9 2 Minor 0 %
Identical Consecutive Expression Analyze, All 3 3 Minor 59 %
If With Same Conditions Analyze, All, Simple, CI-checks, CE 10 6 Major 47 %
Iffectations Analyze, All 457 155 Minor 80 %
Indices Are Int Or String Analyze, OneFile, All, Simple, CI-checks, CE, ChangedBehavior 4 1 Major 20 %
Infinite Recursion Analyze, All 3 2 Major 0 %
Invalid Cast Analyze, All, LintButWontExec, ChangedBehavior 1 1 Minor 0 %
Long Arguments Analyze, All 65 48 Minor 68 %
Max Level Of Nesting Analyze, All 51 32 Minor 0 %
Merge If Then Analyze, All, CI-checks, CE, ChangedBehavior 279 113 Minor 0 %
Mismatched Ternary Alternatives Analyze, All, Suggestions, Level 4 1 1 Major 64 %
Missing Assignation In Branches Analyze, All, ChangedBehavior 145 79 Minor 0 %
Maybe Missing New Analyze, All, ChangedBehavior 2 1 Critical 57 %
Mixed Concat And Interpolation Analyze, Coding Conventions, All 10 8 Minor 45 %
Modernize Empty With Expression Analyze, OneFile, All, Simple 213 101 Minor 63 %
Multiples Identical Case Analyze, OneFile, ClearPHP, All, Simple, Level 1, Rector, CI-checks, CE 1 1 Minor 29 %
Multiple Type Variable Analyze, All, Level 4 14 11 Minor 58 %
Nested Ifthen Analyze, All, RadwellCodes 396 120 Major 84 %
Don't Change Incomings Analyze, All 9 4 Minor 44 %
No Direct Usage Analyze, All, Simple 2 2 Major 39 %
No Max On Empty Array All, CompatibilityPHP80, ChangedBehavior 2 1 Minor 0 %
No Need For Else Analyze, All 16 13 Minor 74 %
No Null For Index Analyze, All, ChangedBehavior 1 1 Minor 0 %
No Parenthesis For Language Construct Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks, CE, ChangedBehavior 7 5 Minor 62 %
Avoid Substr() One Analyze, Performances, CompatibilityPHP71, All, Simple, Suggestions, Level 2, Top10, CI-checks, CE 28 16 Minor 58 %
Variable Is Not A Condition Analyze, All 160 78 Minor 93 %
Non Integer Nor String As Index Analyze, All, ChangedBehavior 4 1 Minor 0 %
@ Operator Analyze, Appinfo, Performances, ClearPHP, All, CI-checks, CE 76 24 Minor 65 %
Objects Don't Need References Analyze, OneFile, ClearPHP, All, Simple, Level 2, Top10, CI-checks, CE 1 1 Minor 40 %
include_once() Usage Analyze, Appinfo, All, CE 11 9 Minor 73 %
Several Instructions On The Same Line Analyze, All, ChangedBehavior 224 132 Major 56 %
Only Variable Returned By Reference Analyze, All, Simple 1 1 Major 3 %
openssl_random_pseudo_byte() Second Argument All, CompatibilityPHP74, CE 2 2 Minor 0 %
PHP7 Dirname CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, All, Suggestions, php-cs-fixable 22 10 Minor 44 %
Print And Die Analyze, All, Simple, CI-checks, CE 22 14 Minor 32 %
Random Without Try Security, All 3 3 Critical 30 %
Repeated print() Analyze, All, Simple, Suggestions, Level 3, Top10, CI-checks, CE, ChangedBehavior 14 12 Major 50 %
Repeated Regex Analyze, All, Level 1, CI-checks, CE 24 17 Minor 47 %
Return True False Analyze, All, Simple, Level 1, CI-checks, CE 11 10 Major 46 %
Same Conditions In Condition Analyze, All, Simple, CI-checks, CE 13 10 Critical 55 %
Should Chain Exception Analyze, All, Simple, CI-checks, CE 1 1 Minor 39 %
Should Use Ternary Operator Analyze, OneFile, All, Simple, CI-checks, CE 140 82 Minor 86 %
Preprocessable Analyze, All, Rector 87 38 Minor 85 %
Static Inclusions Analyze, All 1 1 Minor 0 %
Static Loop Analyze, All, Simple, Level 4 12 6 Minor 67 %
Strpos()-like Comparison Analyze, PHP recommendations, ClearPHP, All, Simple, Level 2, Top10, CI-checks, CE 13 11 Major 54 %
Suspicious Comparison Analyze, All, Level 3 3 2 Major 39 %
Switch Without Default Analyze, ClearPHP, All, Simple, CI-checks, CE 25 17 Major 69 %
Test Then Cast Analyze, All 1 1 Major 34 %
Timestamp Difference Analyze, All, Simple, Level 3, CI-checks, CE 10 8 Major 49 %
Unchecked Resources Analyze, ClearPHP, All, Simple, Level 2, CI-checks, CE 3 1 Major 50 %
Unconditional Break In Loop Analyze, All, Level 3, CI-checks, CE 12 6 Major 48 %
Unpreprocessed Values Analyze, Performances, OneFile, ClearPHP, All, Simple 1 1 Minor 30 %
Unreachable Code Dead code, OneFile, ClearPHP, All, Simple, Suggestions, Level 3, Unused, ChangedBehavior 9 7 Major 61 %
Unsupported Types With Operators Analyze, All, CompatibilityPHP80, CE 37 25 Minor 0 %
Use Constant Instead Of Function Analyze, PHP recommendations, All, php-cs-fixable, CI-checks, CE 51 33 Minor 61 %
Use Positive Condition Analyze, OneFile, All, Simple 171 107 Minor 82 %
Use Same Types For Comparisons Analyze, All 2 2 Minor 0 %
Use Variable Created Inside Loop Dead code, All 43 24 Minor 0 %
Useless Type Casting Analyze, PHP recommendations, OneFile, All, RadwellCodes, Simple, Level 4, CI-checks, CE 10 7 Minor 47 %
Useless Check Analyze, OneFile, All, Simple, Level 1, CI-checks, CE 2 2 Minor 35 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, CE 10 6 Minor 63 %
Useless Parenthesis Analyze, All, Simple, CI-checks, CE 55 36 Minor 81 %
Useless Switch Analyze, All, Simple 3 3 Major 32 %
Useless Unset Analyze, OneFile, ClearPHP, All, Simple, Level 2, CI-checks, CE 1 1 Major 42 %
var_dump()... Usage Analyze, Security, ClearPHP, All, CI-checks, CE 6 4 Critical 42 %
Dependant Trait Analyze, All, Level 3, ChangedBehavior 4 4 Minor 28 %
Trait Is Not A Type Analyze, All, ClassReview, Typehints 1 1 Minor 0 %
One Variable String Analyze, All, RadwellCodes, Simple, CI-checks, CE 4 3 Minor 33 %
Should Typecast Analyze, OneFile, All, Simple, Rector, CI-checks, CE 15 9 Minor 49 %
String May Hold A Variable Analyze, All, Simple 48 7 Minor 59 %
Missing Some Returntype Analyze, All, Typehints, CI-checks, CE 21 15 Minor 0 %
StandaloneType True False Null Analyze, Appcontent, All, ChangedBehavior 28 7 Minor 0 %
Wrong Type With Default Analyze, All, LintButWontExec, ClassReview 283 57 Minor 0 %
Assigned Twice Analyze, All 182 39 Minor 79 %
Overwritten Literals Analyze, All 201 40 Major 79 %
Recycled Variables Analyze, All 8 3 Minor 0 %
Undefined Constant Name Analyze, All, Undefined 2 1 Minor 0 %
Undefined Variable Analyze, All, CI-checks, CE, Undefined 1098 203 Minor 77 %
Used Once Variables Analyze, OneFile, All, Simple, Top10 23 18 Minor 74 %
Used Once Variables (In Scope) Analyze, OneFile, ClearPHP, All, Simple, Level 4, CE 254 142 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple, Unused 78 46 Minor 87 %