PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Ambiguous Array Index Analyze, All, Simple, Level 2, Semantics, ChangedBehavior 50 13 Minor 10 %
Append And Assign Arrays All, Internal, Analyze, ChangedBehavior 3 2 Minor 0 %
Null Or Boolean Arrays All, Analyze 78 9 Minor 0 %
Too Many Array Dimensions All, Analyze 10 2 Minor 0 %
Weak Type With Array All, Analyze, ChangedBehavior 517 69 Minor 0 %
Abstract Or Implements All, Analyze, LintButWontExec, ChangedBehavior 56 56 Major 24 %
Ambiguous Static All, Analyze, Semantics, ChangedBehavior 317 95 Minor 66 %
Ambiguous Visibilities All, Analyze, Semantics, ChangedBehavior 165 97 Minor 70 %
Avoid option arrays in constructors All, Analyze, ClassReview, ChangedBehavior 2 2 Minor 0 %
Avoid Optional Properties All, Analyze, ChangedBehavior 92 29 Major 84 %
Cant Instantiate Non Class All, Analyze, ClassReview 5 2 Minor 0 %
Could Be Abstract Class All, Analyze, ClassReview, ChangedBehavior 5 5 Minor 65 %
Class Could Be Final All, Analyze, ClassReview, ChangedBehavior 218 218 Minor 96 %
Method Could Be Static All, Analyze, ClassReview, ChangedBehavior 181 75 Minor 92 %
Could Inject Parameter All, Analyze, ClassReview, ChangedBehavior 77 32 Minor 0 %
Dependant Abstract Classes All, Analyze, ClassReview, ChangedBehavior 2 2 Minor 0 %
Different Argument Counts All, Analyze, ClassReview, ChangedBehavior 3 3 Minor 0 %
No Direct Call To Magic Method Analyze, All, Level 2, CI-checks, CE 3 2 Major 43 %
Don't Send $this In Constructor All, Analyze, ChangedBehavior 4 4 Minor 41 %
Don't Unset Properties All, Analyze, Top10, php-cs-fixable, CI-checks, ChangedBehavior, CE 3 1 Major 42 %
Empty Classes Analyze, All, Simple, ChangedBehavior 2 2 Minor 60 %
Implicit Nullable Type All, Analyze, ClassReview, ChangedBehavior 11 8 Minor 0 %
Incompatible Signature Methods With Covariance All, Analyze, ChangedBehavior 4 4 Critical 0 %
Inherited Property Type Must Match All, Analyze, LintButWontExec, ClassReview, ChangedBehavior 2 2 Minor 0 %
Instantiating Abstract Class Analyze, All, Simple 9 2 Major 13 %
Assign Default To Properties Analyze, ClearPHP, All, Simple, Level 2, ChangedBehavior 44 21 Minor 71 %
Method Signature Must Be Compatible All, Analyze, LintButWontExec, ChangedBehavior 3 3 Critical 53 %
Mismatch Properties Typehints All, Analyze, LintButWontExec, ClassReview, ChangedBehavior 23 9 Minor 0 %
New Object Then Immediate Call All, Analyze, ClassReview 84 49 Minor 0 %
No Public Access Analyze, All, ChangedBehavior 28 4 Minor 61 %
Non Nullable Getters All, Analyze, ClassReview, ChangedBehavior 1 1 Minor 0 %
Forgotten Visibility Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE 5 5 Minor 42 %
Parent First All, Analyze, Suggestions, ChangedBehavior 8 8 Minor 56 %
Property Could Be Local All, Analyze, ClassReview, ChangedBehavior 107 43 Minor 76 %
Same Name For Property And Method All, Analyze, ClassReview, Semantics, ChangedBehavior 193 27 Minor 0 %
Never Used Properties Analyze, All, Simple, Unused, ChangedBehavior 8 4 Minor 71 %
Property Used In One Method Only All, Analyze, ChangedBehavior 131 54 Minor 84 %
Scalar Or Object Property All, Analyze 6 3 Minor 32 %
Could Use self Analyze, All, Simple, Suggestions, Level 3, ClassReview, ChangedBehavior 4 4 Minor 63 %
Should Use Local Class Analyze, ClearPHP, All, Simple, ChangedBehavior 229 81 Minor 95 %
Static Methods Called From Object Analyze, All, Simple, CI-checks, ChangedBehavior, CE 1 1 Minor 50 %
Wrong Access Style to Property All, Analyze, Level 2, ClassReview, CI-checks, CE 2 2 Critical 37 %
Undefined Classes Analyze, All, Stubs, Undefined 2515 194 Major 91 %
Undefined Class Constants Analyze, All, CI-checks, Stubs, LintButWontExec, Undefined, ChangedBehavior, CE 8 1 Major 62 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, CompatibilityPHP82, Undefined, ChangedBehavior, CE 20 11 Major 61 %
Undefined static:: Or self:: Analyze, All, Simple, Undefined, ChangedBehavior 1 1 Minor 35 %
Unfinished Object All, Analyze, ClassReview, ChangedBehavior 50 25 Major 0 %
Unresolved Classes Analyze, All, Stubs, ChangedBehavior 8 7 Major 76 %
Unresolved Instanceof Analyze, Dead code, ClearPHP, All, Simple, Top10, ChangedBehavior 4 3 Major 48 %
Unused Classes Dead code, All, Simple, Analyze, Unused, ChangedBehavior 12 12 Major 67 %
Unused Class Constant All, Analyze, ClassReview, Unused, ChangedBehavior 30 5 Minor 0 %
Unused Public Methods All, Analyze, ChangedBehavior 796 170 Minor 0 %
Use ::Class Operator All, Analyze, Performances, Simple, CI-checks, ChangedBehavior, CE 24 14 Minor 71 %
Use Instanceof Analyze, All, Simple, CI-checks, ChangedBehavior, CE 13 9 Major 63 %
Used Once Property All, Analyze, ChangedBehavior 2 2 Minor 74 %
Useless Abstract Class Analyze, All, Simple, ChangedBehavior 3 3 Minor 33 %
Useless Constructor Analyze, All, Simple, Level 3, ChangedBehavior 2 2 Minor 41 %
Weak Typing All, Analyze, ChangedBehavior 9 6 Minor 47 %
Wrong Typed Property Default All, Analyze, LintButWontExec, ClassReview, CI-checks, CE 17 11 Minor 0 %
Use const Analyze, Coding Conventions, All, Top10, CI-checks, CE 21 2 Minor 54 %
Constant Used Only Once All, Analyze, ChangedBehavior 40 7 Minor 0 %
Multiple Constant Definition Analyze, All, Simple, CI-checks, ChangedBehavior, CE 4 2 Minor 41 %
Undefined Constants Analyze, All, Simple, CompatibilityPHP72, CI-checks, Stubs, Undefined, ChangedBehavior, CE 15 4 Minor 71 %
Catch With Undefined Variable All, Analyze, Undefined, ChangedBehavior 3 1 Minor 0 %
Converted Exceptions All, Analyze, ChangedBehavior 2 1 Minor 0 %
Overwritten Exceptions Analyze, All, Simple, Suggestions, Level 4, CI-checks, ChangedBehavior, CE 1 1 Minor 22 %
Throw Functioncall Analyze, All, Simple, Level 1, CI-checks, ChangedBehavior, CE 2 2 Major 4 %
Throw Raw Exceptions All, Analyze, Suggestions, ChangedBehavior 119 43 Minor 0 %
Uncaught Exceptions Analyze, All, ChangedBehavior 164 69 Minor 84 %
Unthrown Exception Analyze, Dead code, ClearPHP, All, Simple, ChangedBehavior 4 4 Minor 45 %
Useless Try All, Analyze, ChangedBehavior 88 15 Minor 0 %
Missing Include All, Analyze, ChangedBehavior 23 19 Critical 65 %
Native Alias Functions Usage Analyze, ClearPHP, OneFile, All, Simple, Level 1, CI-checks, ChangedBehavior, CE 5 5 Minor 20 %
Use Named Boolean In Argument Definition All, Analyze, ChangedBehavior 113 52 Minor 84 %
Callback Function Needs Return All, Analyze, CI-checks, CE 5 3 Major 42 %
Could Make A Function All, Analyze, Suggestions, ChangedBehavior 531 100 Minor 66 %
Don't Collect Void All, Analyze, ChangedBehavior 47 26 Minor 0 %
Empty Function Analyze, All, Simple, ChangedBehavior 16 10 Minor 74 %
Hardcoded Passwords Analyze, OneFile, Security, All, Simple, Level 3, ChangedBehavior 20 17 Major 70 %
Insufficient Typehint All, Analyze, Typechecks, ChangedBehavior 1 1 Major 43 %
Method Is Not An If All, Analyze 101 43 Minor 0 %
Mismatched Default Arguments All, Analyze, Typechecks, ChangedBehavior 114 26 Minor 80 %
Mismatched Typehint All, Analyze, Typechecks, ChangedBehavior 3 3 Major 66 %
Modified Typed Parameter All, Analyze, ClassReview, ChangedBehavior 4 4 Minor 0 %
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 82 42 Minor 92 %
No Boolean As Default All, Analyze 114 52 Minor 84 %
No Default For Referenced Parameter All, Analyze, ChangedBehavior 4 3 Minor 0 %
No Return Used All, Analyze, Suggestions, Level 4, ChangedBehavior 52 28 Minor 69 %
Retyped Reference All, Analyze, Typehints, ChangedBehavior 2 1 Major 0 %
Too Many Local Variables All, Analyze 15 12 Minor 64 %
Undefined Functions Analyze, All, CI-checks, Stubs, Undefined, CE 33 6 Major 68 %
Unused Parameter Analyze, All, Simple, Unused 81 28 Major 90 %
Unused Returned Value All, Analyze, OneFile, Dead code, Simple, Unused 160 49 Minor 41 %
Useless Argument All, Analyze, ChangedBehavior 2 2 Minor 0 %
Useless Referenced Argument All, Analyze, ChangedBehavior 9 7 Minor 58 %
Useless Return Analyze, OneFile, All, Simple, Level 4 3 2 Minor 30 %
Uses Default Values Analyze, All, Simple, CI-checks, ChangedBehavior, CE 2421 199 Minor 98 %
Wrong Argument Type All, Analyze, Typechecks, ChangedBehavior 211 80 Minor 0 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks, Stubs, ChangedBehavior, CE 141 40 Major 81 %
Wrong Type Returned All, Analyze, ClassReview, CI-checks, LintButWontExec, ChangedBehavior, CE 419 99 Minor 0 %
Wrong Type With Call All, Analyze, Typechecks, CI-checks, ChangedBehavior, CE 932 146 Minor 0 %
Forgotten Interface All, Analyze, ChangedBehavior 17 17 Minor 48 %
Undefined Interfaces Analyze, All, CI-checks, LintButWontExec, Undefined, ChangedBehavior, CE 5 3 Major 72 %
Useless Interfaces Analyze, ClearPHP, All, Simple, ClassReview, Typechecks, ChangedBehavior 1 1 Minor 59 %
Hidden Use Expression Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE 4 2 Minor 23 %
Multiple Alias Definitions Analyze, All, Simple, CI-checks, ChangedBehavior, CE 26 25 Minor 44 %
Should Make Alias Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE 7 4 Minor 46 %
Unresolved Use Analyze, ClearPHP, All, Simple, ChangedBehavior 6 6 Major 69 %
Use With Fully Qualified Name Analyze, Coding Conventions, PHP recommendations, All, Simple, ChangedBehavior 2 2 Minor 18 %
No array_merge() In Loops Analyze, Performances, ClearPHP, All, Simple, Level 2, Top10, CI-checks, ChangedBehavior, CE 7 5 Major 57 %
Logical To in_array All, Analyze, Level 2, ChangedBehavior 14 6 Minor 67 %
Memoize MagicCall All, Analyze, ClassReview, ChangedBehavior 1 1 Minor 0 %
Pre-increment Analyze, Performances, All, Simple, Level 4, CI-checks, ChangedBehavior, CE 24 12 Minor 74 %
strpos() Too Much All, Analyze, CI-checks, ChangedBehavior, CE 13 9 Minor 49 %
array_key_exists() Works On Arrays All, CompatibilityPHP74, Analyze, ChangedBehavior, CE 11 5 Minor 0 %
Assumptions All, Analyze, ChangedBehavior 13 10 Minor 0 %
Avoid mb_dectect_encoding() All, Analyze, ChangedBehavior 3 2 Minor 0 %
Use random_int() Analyze, Security, All, CompatibilityPHP71, Simple, Level 2, CI-checks, ChangedBehavior, CE 14 9 Major 59 %
Concat And Addition All, Analyze, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, CompatibilityPHP73, CompatibilityPHP54, CompatibilityPHP74, CompatibilityPHP80, CompatibilityPHP55, CompatibilityPHP56, Top10, CI-checks, ChangedBehavior, CE 1 1 Minor 0 %
Don't Pollute Global Space All, Analyze 114 18 Minor 0 %
False To Array Conversion All, LintButWontExec, CompatibilityPHP81, CompatibilityPHP82, Analyze, ChangedBehavior 133 15 Minor 0 %
Incompilable Files Analyze, Appinfo, ClearPHP, All, Simple, CE 3 3 Critical 24 %
Wrong Parameter Type Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE 123 38 Major 76 %
Use === null Analyze, OneFile, All, RadwellCodes, Simple, php-cs-fixable, CI-checks, ChangedBehavior, CE 109 48 Minor 53 %
PHP Native Interfaces and Return Type All, Analyze, LintButWontExec, CompatibilityPHP81, Deprecated, ChangedBehavior 7 2 Minor 0 %
Logical Should Use Symbolic Operators Analyze, OneFile, ClearPHP, All, Simple, Suggestions, Level 2, Top10, php-cs-fixable, CI-checks, CE 12 1 Minor 43 %
Possible Missing Subpattern All, Analyze, Top10, CI-checks, ChangedBehavior, CE 2 2 Minor 45 %
PHP Native Class Type Compatibility All, Analyze, CompatibilityPHP81, ChangedBehavior 21 5 Major 0 %
No Class In Global All, Analyze, CI-checks, ChangedBehavior, CE 80 16 Minor 77 %
No Null For Native PHP Functions All, Analyze, CompatibilityPHP81, Deprecated, ChangedBehavior 168 42 Minor 0 %
Scalar Are Not Arrays All, Analyze, CompatibilityPHP74, CI-checks, ChangedBehavior, CE 358 4 Minor 0 %
Should Use Coalesce Analyze, All, Simple, Suggestions, Level 3, CI-checks, ChangedBehavior, CE 122 41 Major 71 %
Too Many Native Calls All, Analyze, ChangedBehavior 3 2 Minor 49 %
Use PHP Object API Analyze, ClearPHP, All, Simple, CI-checks, ChangedBehavior, CE 2 1 Minor 27 %
Use Pathinfo Analyze, All, Simple, Level 3, CI-checks, ChangedBehavior, CE 1 1 Minor 11 %
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 158 48 Minor 0 %
Don't Echo Error All, Analyze, Security, Simple, Level 1, CI-checks, ChangedBehavior, CE 9 7 Critical 35 %
Should Use Prepared Statement Analyze, Security, All, Simple, CI-checks, ChangedBehavior, CE 4 3 Major 28 %
Altering Foreach Without Reference Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE 3 3 Major 56 %
Comparison Is Always The Same All, Analyze, ChangedBehavior 74 29 Minor 0 %
Assign And Compare All, Analyze, CI-checks, CE 3 3 Minor 18 %
Bail Out Early All, Analyze, OneFile, Simple, Level 4, ChangedBehavior 87 54 Minor 64 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks, ChangedBehavior, CE 73 29 Minor 77 %
Buried Assignation Analyze, All, ChangedBehavior 62 24 Minor 84 %
Cast To Boolean Analyze, OneFile, All, Simple, Level 1, ChangedBehavior 24 16 Minor 56 %
Catch Overwrite Variable Analyze, ClearPHP, All, Simple, ChangedBehavior 1 1 Minor 25 %
Check All Types All, Analyze, ChangedBehavior 87 32 Major 69 %
Check Division By Zero All, Analyze, ChangedBehavior 2 2 Minor 0 %
Check JSON All, Analyze, CI-checks, CE 24 12 Major 65 %
Common Alternatives Analyze, All, Simple, ChangedBehavior 38 20 Major 80 %
Concat Empty String All, Analyze, OneFile 1 1 Minor 0 %
Could Use __DIR__ Analyze, All, Simple, Suggestions, Level 3, php-cs-fixable, CI-checks, ChangedBehavior, CE 2 2 Major 56 %
Could Use Short Assignation Analyze, OneFile, Performances, All, Simple, CI-checks, Rector, ChangedBehavior, CE 7 5 Minor 63 %
Dangling Array References PHP recommendations, Analyze, ClearPHP, All, Simple, Level 1, Top10, CI-checks, ChangedBehavior, CE 2 2 Major 46 %
__DIR__ Then Slash All, Analyze, Level 3, CI-checks, ChangedBehavior, CE 1 1 Major 14 %
Don't Change The Blind Var All, Analyze, ChangedBehavior 44 26 Minor 73 %
Don't Mix ++ All, Analyze, ChangedBehavior 1 1 Minor 56 %
Don't Read And Write In One Expression All, Analyze, CompatibilityPHP73, CompatibilityPHP74, ChangedBehavior, CE 1 1 Critical 38 %
Double Checks All, Analyze, ChangedBehavior 12 9 Minor 0 %
Double Instructions Analyze, All, Simple, ChangedBehavior 11 4 Minor 57 %
Drop Else After Return All, Analyze, OneFile, Simple, Suggestions, Level 4, CI-checks, ChangedBehavior, CE 56 27 Minor 70 %
Echo With Concat Performances, Analyze, All, Simple, Suggestions, ChangedBehavior 70 13 Minor 60 %
Else If Versus Elseif Analyze, All, Simple, php-cs-fixable, Rector, CI-checks, CE 14 9 Minor 66 %
Empty Blocks Analyze, All, Simple, CI-checks, ChangedBehavior, CE 1 1 Minor 51 %
Empty Try Catch Analyze, All, Level 3 13 13 Minor 49 %
Eval() Usage Analyze, Appinfo, Performances, OneFile, ClearPHP, All, Simple, Security, PHP recommendations, ChangedBehavior, CE 2 1 Major 39 %
eval() Without Try Analyze, All, Simple, Level 3, Security, CI-checks, ChangedBehavior, CE 2 1 Critical 36 %
Exit() Usage Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks, ChangedBehavior, CE 20 16 Major 61 %
Overwritten Source And Value All, Analyze, OneFile, ChangedBehavior 2 2 Minor 0 %
Htmlentities Calls Analyze, All, Simple, CI-checks, ChangedBehavior, CE 15 3 Major 40 %
Htmlentities Using Default Flag All, Analyze, Simple, CI-checks, ChangedBehavior 15 3 Minor 0 %
Identical Case In Switch All, Analyze, ChangedBehavior 6 3 Minor 0 %
Identical Variables In Foreach All, Analyze, OneFile, ChangedBehavior 1 1 Minor 0 %
If With Same Conditions Analyze, All, Simple, CI-checks, ChangedBehavior, CE 1 1 Major 47 %
Iffectations Analyze, All, ChangedBehavior 34 18 Minor 80 %
Implied If Analyze, ClearPHP, All, Simple, CI-checks, Rector, ChangedBehavior, CE 45 21 Major 33 %
Implode() Arguments Order All, Analyze, CI-checks, ChangedBehavior, CE 1 1 Minor 0 %
Indices Are Int Or String Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE 14 5 Major 20 %
Infinite Recursion All, Analyze, ChangedBehavior 1 1 Major 0 %
list() May Omit Variables Analyze, All, Simple, Suggestions, Level 3, CI-checks, CE 3 2 Minor 37 %
Lone Blocks Analyze, All, Simple, Level 4, CI-checks, ChangedBehavior, CE 9 1 Minor 15 %
Long Arguments All, Analyze, ChangedBehavior 6 5 Minor 68 %
Max Level Of Nesting All, Analyze, ChangedBehavior 33 19 Minor 0 %
Merge If Then All, Analyze, CI-checks, ChangedBehavior, CE 47 26 Minor 0 %
Mismatched Ternary Alternatives All, Analyze, Suggestions, Level 4, ChangedBehavior 15 10 Major 64 %
Missing Assignation In Branches All, Analyze, ChangedBehavior 195 53 Minor 0 %
Maybe Missing New All, Analyze, ChangedBehavior 1 1 Critical 57 %
Mixed Concat And Interpolation All, Coding Conventions, Analyze 5 3 Minor 45 %
Modernize Empty With Expression All, Analyze, OneFile, Simple, ChangedBehavior 30 16 Minor 63 %
Multiple Type Variable All, Analyze, Level 4, ChangedBehavior 36 18 Minor 58 %
Multiply By One Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, Rector, CE 1 1 Minor 44 %
Nested Ifthen Analyze, All, RadwellCodes, ChangedBehavior 115 28 Major 84 %
Nested Ternary Analyze, ClearPHP, All, Simple, Level 1, CI-checks, ChangedBehavior, CE 8 6 Major 50 %
Don't Change Incomings Analyze, All, ChangedBehavior 5 2 Minor 44 %
No Direct Usage Analyze, All, Simple, ChangedBehavior 3 3 Major 39 %
No Hardcoded Hash Analyze, Security, All, Simple, ChangedBehavior 12 7 Critical 45 %
No Hardcoded Ip Analyze, ClearPHP, Security, All, Simple, ChangedBehavior 12 4 Minor 25 %
No Hardcoded Path Analyze, ClearPHP, All, Simple, ChangedBehavior 3 3 Major 35 %
No isset() With empty() All, PHP recommendations, Analyze, OneFile, RadwellCodes, Simple, Level 4, CI-checks, ChangedBehavior, CE 7 4 Minor 30 %
No Need For Else All, Analyze, ChangedBehavior 68 34 Minor 74 %
No Null For Index All, Analyze, ChangedBehavior 59 11 Minor 0 %
No Parenthesis For Language Construct Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks, ChangedBehavior, CE 66 13 Minor 62 %
Avoid Substr() One Analyze, Performances, All, CompatibilityPHP71, Simple, Level 2, Suggestions, Top10, CI-checks, ChangedBehavior, CE 21 9 Minor 58 %
Variable Is Not A Condition All, Analyze, ChangedBehavior 285 75 Minor 93 %
Non Integer Nor String As Index All, Analyze, ChangedBehavior 1 1 Minor 0 %
@ Operator Appinfo, ClearPHP, All, Analyze, Performances, CI-checks, ChangedBehavior, CE 12 8 Minor 65 %
include_once() Usage Analyze, Appinfo, All, ChangedBehavior, CE 45 35 Minor 73 %
Several Instructions On The Same Line Analyze, All, ChangedBehavior 2 2 Major 56 %
Overwritten Foreach Var All, Analyze, OneFile, ChangedBehavior 3 3 Major 0 %
Avoid Parenthesis With Language Construct Analyze, All, Simple, CI-checks, ChangedBehavior, CE 64 11 Minor 11 %
Printf Number Of Arguments All, Analyze, CI-checks, CE 1 1 Minor 41 %
Repeated print() Analyze, All, Simple, Suggestions, Level 3, Top10, CI-checks, ChangedBehavior, CE 6 6 Major 50 %
Repeated Regex All, Analyze, Level 1, CI-checks, ChangedBehavior, CE 6 3 Minor 47 %
Return True False Analyze, All, Simple, Level 1, CI-checks, ChangedBehavior, CE 10 6 Major 46 %
Same Conditions In Condition Analyze, All, Simple, CI-checks, ChangedBehavior, CE 3 2 Critical 55 %
Should Use Ternary Operator All, Analyze, OneFile, Simple, CI-checks, ChangedBehavior, CE 87 46 Minor 86 %
Preprocessable Analyze, All, Rector, ChangedBehavior 224 69 Minor 85 %
Should Use Explode Args All, Analyze, CI-checks, ChangedBehavior, CE 2 2 Minor 0 %
Static Inclusions All, Analyze, ChangedBehavior 60 46 Minor 0 %
Static Loop Analyze, All, Simple, Level 4, ChangedBehavior 5 5 Minor 67 %
Strpos()-like Comparison Analyze, PHP recommendations, ClearPHP, All, Simple, Level 2, Top10, CI-checks, ChangedBehavior, CE 64 27 Major 54 %
Suspicious Comparison All, Analyze, Level 3, ChangedBehavior 2 2 Major 39 %
Switch To Switch Analyze, All, RadwellCodes, Simple, ChangedBehavior 5 5 Minor 58 %
Switch Without Default Analyze, ClearPHP, All, Simple, CI-checks, ChangedBehavior, CE 13 5 Major 69 %
Ternary In Concat Analyze, All, Simple, Level 3, CI-checks, ChangedBehavior, CE 2 1 Critical 8 %
Timestamp Difference Analyze, All, Simple, Level 3, CI-checks, ChangedBehavior, CE 10 8 Major 49 %
Unchecked Resources Analyze, ClearPHP, All, Simple, Level 2, CI-checks, ChangedBehavior, CE 4 3 Major 50 %
Unconditional Break In Loop All, Analyze, Level 3, CI-checks, CE 2 2 Major 48 %
Unsupported Types With Operators All, Analyze, CompatibilityPHP80, ChangedBehavior, CE 8 6 Minor 0 %
Use Constant Instead Of Function PHP recommendations, All, Analyze, php-cs-fixable, CI-checks, ChangedBehavior, CE 3 3 Minor 61 %
Use Positive Condition All, Analyze, OneFile, Simple, ChangedBehavior 47 28 Minor 82 %
Use Same Types For Comparisons All, Analyze 4 2 Minor 0 %
Useless Brackets Analyze, All, RadwellCodes, Simple, CI-checks, ChangedBehavior, CE 9 1 Minor 15 %
Useless Type Casting All, PHP recommendations, Analyze, OneFile, RadwellCodes, Simple, Level 4, CI-checks, ChangedBehavior, CE 14 14 Minor 47 %
Useless Check All, Analyze, OneFile, Simple, Level 1, CI-checks, CE 4 4 Minor 35 %
Useless Coalesce All, Analyze, ChangedBehavior 39 12 Minor 0 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, ChangedBehavior, CE 17 14 Minor 63 %
Useless Parenthesis Analyze, All, Simple, CI-checks, ChangedBehavior, CE 29 17 Minor 81 %
Useless Short Ternary All, Analyze, ChangedBehavior 3 3 Minor 0 %
Useless Unset Analyze, OneFile, ClearPHP, All, Simple, Level 2, CI-checks, ChangedBehavior, CE 3 2 Major 42 %
var_dump()... Usage Analyze, ClearPHP, Security, All, CI-checks, ChangedBehavior, CE 15 10 Critical 42 %
Cannot Call Static Trait Method Directly All, Analyze, CompatibilityPHP81, CompatibilityPHP82, ChangedBehavior 7 1 Minor 0 %
Dependant Trait Analyze, All, Level 3, ChangedBehavior 1 1 Minor 28 %
No Real Comparison Analyze, All, Simple, Level 2, Top10, CI-checks, PHP recommendations, ChangedBehavior, CE 3 3 Major 26 %
Should Typecast Analyze, OneFile, All, Simple, CI-checks, Rector, ChangedBehavior, CE 146 43 Minor 49 %
String May Hold A Variable Analyze, All, Simple, ChangedBehavior 28 6 Minor 59 %
Missing Some Returntype All, Typehints, Analyze, CI-checks, ChangedBehavior, CE 12 5 Minor 0 %
StandaloneType True False Null All, Appcontent, Analyze, ChangedBehavior 44 18 Minor 0 %
Wrong Type With Default All, Analyze, LintButWontExec, ClassReview, ChangedBehavior 804 115 Minor 0 %
Assigned Twice All, Analyze, ChangedBehavior 114 28 Minor 79 %
Overwritten Literals Analyze, All, ChangedBehavior 168 30 Major 79 %
Recycled Variables All, Analyze 54 14 Minor 0 %
Undefined Constant Name All, Analyze, Undefined, ChangedBehavior 2 2 Minor 0 %
Undefined Variable All, Analyze, CI-checks, Undefined, CE 100 17 Minor 77 %
Used Once Variables Analyze, OneFile, All, Simple, Top10, ChangedBehavior 1 1 Minor 74 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4, ChangedBehavior, CE 2937 183 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple, Unused, ChangedBehavior 71 29 Minor 87 %