PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Ambiguous Array Index Analyze, All, Simple, Level 2, Semantics, ChangedBehavior 41 9 Minor 10 %
Append And Assign Arrays All, Internal, Analyze, ChangedBehavior 5 5 Minor 0 %
Multiple Index Definition Analyze, OneFile, All, Simple, CI-checks, Rector, CE 1 1 Minor 33 %
Null Or Boolean Arrays All, Analyze 431 55 Minor 0 %
Too Many Array Dimensions All, Analyze 89 13 Minor 0 %
Weak Type With Array All, Analyze, ChangedBehavior 640 59 Minor 0 %
Abstract Or Implements All, Analyze, LintButWontExec, ChangedBehavior 81 81 Major 24 %
Ambiguous Static All, Analyze, Semantics, ChangedBehavior 427 166 Minor 66 %
Ambiguous Visibilities All, Analyze, Semantics, ChangedBehavior 364 159 Minor 70 %
Avoid option arrays in constructors All, Analyze, ClassReview, ChangedBehavior 1 1 Minor 0 %
Avoid Optional Properties All, Analyze, ChangedBehavior 498 127 Major 84 %
Class, Interface, Enum Or Trait With Identical Names Analyze, All, ChangedBehavior 2 2 Minor 19 %
Clone With Non-Object All, Analyze, LintButWontExec, ChangedBehavior 7 4 Minor 33 %
Could Be Abstract Class All, Analyze, ClassReview, ChangedBehavior 46 45 Minor 65 %
Class Could Be Final All, Analyze, ClassReview, ChangedBehavior 353 343 Minor 96 %
Method Could Be Static All, Analyze, ClassReview, ChangedBehavior 490 159 Minor 92 %
Could Inject Parameter All, Analyze, ClassReview, ChangedBehavior 240 77 Minor 0 %
Cyclic References All, Analyze, ClassReview, ChangedBehavior 10 5 Minor 0 %
Dependant Abstract Classes All, Analyze, ClassReview, ChangedBehavior 6 6 Minor 0 %
Different Argument Counts All, Analyze, ClassReview, ChangedBehavior 14 12 Minor 0 %
No Direct Call To Magic Method Analyze, All, Level 2, CI-checks, CE 48 28 Major 43 %
Don't Send $this In Constructor All, Analyze, ChangedBehavior 5 4 Minor 41 %
Don't Unset Properties All, Analyze, Top10, php-cs-fixable, CI-checks, ChangedBehavior, CE 8 7 Major 42 %
Empty Classes Analyze, All, Simple, ChangedBehavior 82 82 Minor 60 %
Implicit Nullable Type All, Analyze, ClassReview, ChangedBehavior 29 16 Minor 0 %
Incompatible Signature Methods With Covariance All, Analyze, ChangedBehavior 41 28 Critical 0 %
Inherited Property Type Must Match All, Analyze, LintButWontExec, ClassReview, ChangedBehavior 41 33 Minor 0 %
Assign Default To Properties Analyze, ClearPHP, All, Simple, Level 2, ChangedBehavior 40 25 Minor 71 %
Make Global A Property Analyze, All, Simple, ChangedBehavior 278 37 Minor 37 %
Method Signature Must Be Compatible All, Analyze, LintButWontExec, ChangedBehavior 15 13 Critical 53 %
Mismatch Properties Typehints All, Analyze, LintButWontExec, ClassReview, ChangedBehavior 68 28 Minor 0 %
Missing Abstract Method All, Analyze, ClassReview 2 1 Minor 0 %
Multiple Class Declarations Analyze, All, Simple, CI-checks, ChangedBehavior, CE 4 4 Major 29 %
New Object Then Immediate Call All, Analyze, ClassReview 395 95 Minor 0 %
No Public Access Analyze, All, ChangedBehavior 269 53 Minor 61 %
Non Nullable Getters All, Analyze, ClassReview, ChangedBehavior 1 1 Minor 0 %
Forgotten Visibility Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE 1687 121 Minor 42 %
Non Static Methods Called In A Static Analyze, CompatibilityPHP56, All, Simple, CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CI-checks, ChangedBehavior, CE 330 55 Minor 20 %
Old Style Constructor Analyze, OneFile, Appinfo, ClearPHP, All, Simple, CompatibilityPHP80, ChangedBehavior, CE 64 54 Minor 14 %
Var Keyword Analyze, OneFile, ClearPHP, All, Simple, Level 1, ChangedBehavior 430 80 Minor 4 %
Parent First All, Analyze, Suggestions, ChangedBehavior 19 19 Minor 56 %
Parent Is Not Static All, Analyze, ClassReview, ChangedBehavior 2 2 Major 0 %
Property Could Be Local All, Analyze, ClassReview, ChangedBehavior 36 25 Minor 76 %
Same Name For Property And Method All, Analyze, ClassReview, Semantics, ChangedBehavior 15 6 Minor 0 %
Never Used Properties Analyze, All, Simple, Unused, ChangedBehavior 102 63 Minor 71 %
Property Used In One Method Only All, Analyze, ChangedBehavior 210 110 Minor 84 %
Scalar Or Object Property All, Analyze 3 2 Minor 32 %
Could Use self Analyze, All, Simple, Suggestions, Level 3, ClassReview, ChangedBehavior 629 80 Minor 63 %
Should Use Local Class Analyze, ClearPHP, All, Simple, ChangedBehavior 854 171 Minor 95 %
Static Methods Cannot Call Non-Static Methods All, Analyze, ClassReview 7 6 Minor 0 %
Static Methods Called From Object Analyze, All, Simple, CI-checks, ChangedBehavior, CE 49 14 Minor 50 %
Wrong Access Style to Property All, Analyze, Level 2, ClassReview, CI-checks, CE 3 2 Critical 37 %
Undefined Classes Analyze, All, Stubs, Undefined 5603 365 Major 91 %
Undefined Class Constants Analyze, All, CI-checks, Stubs, LintButWontExec, Undefined, ChangedBehavior, CE 1 1 Major 62 %
Undefined Parent Analyze, All, Simple, Undefined 13 13 Minor 45 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, CompatibilityPHP82, Undefined, ChangedBehavior, CE 631 57 Major 61 %
Unfinished Object All, Analyze, ClassReview, ChangedBehavior 447 122 Major 0 %
Unreachable Method All, Analyze, Dead code, ClassReview, Unused, ChangedBehavior 13 9 Minor 0 %
Unresolved Classes Analyze, All, Stubs, ChangedBehavior 69 33 Major 76 %
Unresolved Instanceof Analyze, Dead code, ClearPHP, All, Simple, Top10, ChangedBehavior 3 2 Major 48 %
Unused Classes Dead code, All, Simple, Analyze, Unused, ChangedBehavior 68 68 Major 67 %
Unused Class Constant All, Analyze, ClassReview, Unused, ChangedBehavior 8 4 Minor 0 %
Unused Public Methods All, Analyze, ChangedBehavior 1144 184 Minor 0 %
Use ::Class Operator All, Analyze, Performances, Simple, CI-checks, ChangedBehavior, CE 1186 199 Minor 71 %
Use Instanceof Analyze, All, Simple, CI-checks, ChangedBehavior, CE 66 33 Major 63 %
Used Once Property All, Analyze, ChangedBehavior 26 22 Minor 74 %
Useless Abstract Class Analyze, All, Simple, ChangedBehavior 7 7 Minor 33 %
Useless Method All, Analyze, ChangedBehavior 3 3 Minor 0 %
Weak Typing All, Analyze, ChangedBehavior 7 6 Minor 47 %
Wrong Typed Property Default All, Analyze, LintButWontExec, ClassReview, CI-checks, CE 45 29 Minor 0 %
Use const Analyze, Coding Conventions, All, Top10, CI-checks, CE 581 94 Minor 54 %
Constant Used Only Once All, Analyze, ChangedBehavior 8 4 Minor 0 %
Multiple Constant Definition Analyze, All, Simple, CI-checks, ChangedBehavior, CE 86 48 Minor 41 %
Undefined Constants Analyze, All, Simple, CompatibilityPHP72, CI-checks, Stubs, Undefined, ChangedBehavior, CE 84 26 Minor 71 %
Catch With Undefined Variable All, Analyze, Undefined, ChangedBehavior 1 1 Minor 0 %
Converted Exceptions All, Analyze, ChangedBehavior 2 1 Minor 0 %
Throw Functioncall Analyze, All, Simple, Level 1, CI-checks, ChangedBehavior, CE 4 3 Major 4 %
Throw Raw Exceptions All, Analyze, Suggestions, ChangedBehavior 290 84 Minor 0 %
Uncaught Exceptions Analyze, All, ChangedBehavior 302 88 Minor 84 %
Unthrown Exception Analyze, Dead code, ClearPHP, All, Simple, ChangedBehavior 2 2 Minor 45 %
Useless Try All, Analyze, ChangedBehavior 7 7 Minor 0 %
Missing Include All, Analyze, ChangedBehavior 317 144 Critical 65 %
Native Alias Functions Usage Analyze, ClearPHP, OneFile, All, Simple, Level 1, CI-checks, ChangedBehavior, CE 50 21 Minor 20 %
Use Named Boolean In Argument Definition All, Analyze, ChangedBehavior 495 126 Minor 84 %
Callback Function Needs Return All, Analyze, CI-checks, CE 4 3 Major 42 %
Could Make A Function All, Analyze, Suggestions, ChangedBehavior 1073 205 Minor 66 %
Deep Definitions Analyze, Appinfo, All, Simple, ChangedBehavior, CE 15 6 Major 13 %
Don't Collect Void All, Analyze, ChangedBehavior 128 57 Minor 0 %
Empty Function Analyze, All, Simple, ChangedBehavior 68 27 Minor 74 %
Hardcoded Passwords Analyze, OneFile, Security, All, Simple, Level 3, ChangedBehavior 21 8 Major 70 %
Insufficient Typehint All, Analyze, Typechecks, ChangedBehavior 2 2 Major 43 %
Method Is Not An If All, Analyze 284 115 Minor 0 %
Mismatch Parameter Name All, Analyze, CompatibilityPHP80, ChangedBehavior, CE 6 6 Minor 0 %
Mismatched Default Arguments All, Analyze, Typechecks, ChangedBehavior 122 63 Minor 80 %
Mismatched Typehint All, Analyze, Typechecks, ChangedBehavior 30 13 Major 66 %
Modified Typed Parameter All, Analyze, ClassReview, ChangedBehavior 6 5 Minor 0 %
Never Called Parameter All, Analyze, Suggestions, Rector, Unused 174 91 Minor 92 %
No Boolean As Default All, Analyze 496 126 Minor 84 %
No Literal For Reference All, Analyze, CI-checks, ChangedBehavior, CE 1 1 Minor 0 %
No Referenced Void All, Analyze, CompatibilityPHP81, Deprecated, ChangedBehavior 1 1 Minor 0 %
No Return Used All, Analyze, Suggestions, Level 4, ChangedBehavior 185 83 Minor 69 %
Only Variable For Reference All, Analyze, LintButWontExec, ChangedBehavior 1 1 Critical 20 %
Only Variable Passed By Reference All, Analyze, ChangedBehavior 2751 255 Critical 43 %
Should Use Existing Constants Analyze, All, Simple, ChangedBehavior 1 1 Minor 32 %
Too Many Local Variables All, Analyze 52 32 Minor 64 %
Class-typed References All, Analyze, CI-checks, CE 4 3 Minor 37 %
Undefined Functions Analyze, All, CI-checks, Stubs, Undefined, CE 41 23 Major 68 %
Unused Parameter Analyze, All, Simple, Unused 298 110 Major 90 %
Unused Returned Value All, Analyze, OneFile, Dead code, Simple, Unused 2079 189 Minor 41 %
Use Constant As Arguments Analyze, All, Simple, CI-checks, ChangedBehavior, CE 3 2 Major 30 %
Useless Argument All, Analyze, ChangedBehavior 3 2 Minor 0 %
Useless Referenced Argument All, Analyze, ChangedBehavior 76 54 Minor 58 %
Useless Return Analyze, OneFile, All, Simple, Level 4 1 1 Minor 30 %
Uses Default Values Analyze, All, Simple, CI-checks, ChangedBehavior, CE 6331 333 Minor 98 %
Using Deprecated Method All, Analyze, Attributes 25 13 Minor 0 %
Wrong Argument Type All, Analyze, Typechecks, ChangedBehavior 547 115 Minor 0 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks, Stubs, ChangedBehavior, CE 92 61 Major 81 %
Wrong Type Returned All, Analyze, ClassReview, CI-checks, LintButWontExec, ChangedBehavior, CE 1304 227 Minor 0 %
Wrong Type With Call All, Analyze, Typechecks, CI-checks, ChangedBehavior, CE 4329 265 Minor 0 %
Forgotten Interface All, Analyze, ChangedBehavior 34 34 Minor 48 %
Undefined Interfaces Analyze, All, CI-checks, LintButWontExec, Undefined, ChangedBehavior, CE 8 6 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 1 1 Minor 23 %
Should Make Alias Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE 2 1 Minor 46 %
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 14 11 Major 57 %
Logical To in_array All, Analyze, Level 2, ChangedBehavior 68 26 Minor 67 %
Pre-increment Analyze, Performances, All, Simple, Level 4, CI-checks, ChangedBehavior, CE 172 72 Minor 74 %
strpos() Too Much All, Analyze, CI-checks, ChangedBehavior, CE 7 4 Minor 49 %
Use array_slice() All, Analyze, CI-checks, ChangedBehavior, CE 3 1 Minor 0 %
array_key_exists() Works On Arrays All, CompatibilityPHP74, Analyze, ChangedBehavior, CE 19 7 Minor 0 %
Assumptions All, Analyze, ChangedBehavior 6 6 Minor 0 %
Use random_int() Analyze, Security, All, CompatibilityPHP71, Simple, Level 2, CI-checks, ChangedBehavior, CE 24 19 Major 59 %
Crc32() Might Be Negative All, PHP recommendations, Analyze, ChangedBehavior 1 1 Major 4 %
Deprecated PHP Functions Analyze, All, CI-checks, CE 64 26 Major 23 %
Don't Pollute Global Space All, Analyze 878 296 Minor 0 %
Exit Without Argument All, Analyze, ChangedBehavior 16 12 Minor 0 %
False To Array Conversion All, LintButWontExec, CompatibilityPHP81, CompatibilityPHP82, Analyze, ChangedBehavior 255 27 Minor 0 %
Foreach On Object All, Analyze, ChangedBehavior 1 1 Major 1 %
Incompilable Files Analyze, Appinfo, ClearPHP, All, Simple, CE 43 43 Critical 24 %
Wrong Parameter Type Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE 161 68 Major 76 %
Is_A() With String All, Analyze, Simple, Rector, CI-checks, ChangedBehavior, CE 1 1 Minor 0 %
Use === null Analyze, OneFile, All, RadwellCodes, Simple, php-cs-fixable, CI-checks, ChangedBehavior, CE 93 47 Minor 53 %
Logical Should Use Symbolic Operators Analyze, OneFile, ClearPHP, All, Simple, Suggestions, Level 2, Top10, php-cs-fixable, CI-checks, CE 18 7 Minor 43 %
Possible Missing Subpattern All, Analyze, Top10, CI-checks, ChangedBehavior, CE 3 3 Minor 45 %
No Class In Global All, Analyze, CI-checks, ChangedBehavior, CE 283 254 Minor 77 %
No Null For Native PHP Functions All, Analyze, CompatibilityPHP81, Deprecated, ChangedBehavior 422 104 Minor 0 %
Only Variable Passed By Reference All, Analyze, LintButWontExec, ChangedBehavior 3 1 Minor 0 %
Scalar Are Not Arrays All, Analyze, CompatibilityPHP74, CI-checks, ChangedBehavior, CE 76 13 Minor 0 %
Should Use Coalesce Analyze, All, Simple, Suggestions, Level 3, CI-checks, ChangedBehavior, CE 110 37 Major 71 %
Too Many Native Calls All, Analyze, ChangedBehavior 2 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 4 4 Minor 11 %
Avoid Using stdClass All, Analyze, OneFile, Simple, Level 4 4 3 Minor 46 %
version_compare Operator All, Analyze, CompatibilityPHP81, CompatibilityPHP82, ChangedBehavior 3 1 Minor 0 %
Wrong Type For Native PHP Function All, Analyze, CI-checks, ChangedBehavior, CE 297 108 Minor 0 %
Don't Echo Error All, Analyze, Security, Simple, Level 1, CI-checks, ChangedBehavior, CE 6 4 Critical 35 %
Should Use Prepared Statement Analyze, Security, All, Simple, CI-checks, ChangedBehavior, CE 7 5 Major 28 %
Adding Zero Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, Rector, CE 1 1 Minor 69 %
Altering Foreach Without Reference Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE 16 11 Major 56 %
Comparison Is Always The Same All, Analyze, ChangedBehavior 41 27 Minor 0 %
Bail Out Early All, Analyze, OneFile, Simple, Level 4, ChangedBehavior 297 133 Minor 64 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks, ChangedBehavior, CE 251 94 Minor 77 %
Buried Assignation Analyze, All, ChangedBehavior 185 47 Minor 84 %
Cast To Boolean Analyze, OneFile, All, Simple, Level 1, ChangedBehavior 33 25 Minor 56 %
Casting Ternary All, Analyze, OneFile, CI-checks, ChangedBehavior, CE 1 1 Major 0 %
Check All Types All, Analyze, ChangedBehavior 130 66 Major 69 %
Check Division By Zero All, Analyze, ChangedBehavior 31 16 Minor 0 %
Check JSON All, Analyze, CI-checks, CE 16 14 Major 65 %
Common Alternatives Analyze, All, Simple, ChangedBehavior 115 55 Major 80 %
Concat Empty String All, Analyze, OneFile 3 3 Minor 0 %
Could Be Else All, Analyze, ChangedBehavior 7 7 Minor 49 %
Could Be A Static Variable Analyze, OneFile, All, ClassReview, ChangedBehavior 3 2 Major 23 %
Could Use __DIR__ Analyze, All, Simple, Suggestions, Level 3, php-cs-fixable, CI-checks, ChangedBehavior, CE 7 3 Major 56 %
Could Use Short Assignation Analyze, OneFile, Performances, All, Simple, CI-checks, Rector, ChangedBehavior, CE 18 11 Minor 63 %
Could Use str_repeat() All, Analyze, Level 1, Top10, CI-checks, ChangedBehavior, CE 1 1 Minor 14 %
Don't Change The Blind Var All, Analyze, ChangedBehavior 74 39 Minor 73 %
Don't Mix ++ All, Analyze, ChangedBehavior 7 5 Minor 56 %
Don't Read And Write In One Expression All, Analyze, CompatibilityPHP73, CompatibilityPHP74, ChangedBehavior, CE 8 2 Critical 38 %
Don't Reuse Foreach Source All, Analyze, ChangedBehavior 4 3 Minor 0 %
Double Assignation Analyze, All, ChangedBehavior 1 1 Major 59 %
Double Checks All, Analyze, ChangedBehavior 36 21 Minor 0 %
Double Instructions Analyze, All, Simple, ChangedBehavior 4 3 Minor 57 %
Drop Else After Return All, Analyze, OneFile, Simple, Suggestions, Level 4, CI-checks, ChangedBehavior, CE 277 97 Minor 70 %
Echo With Concat Performances, Analyze, All, Simple, Suggestions, ChangedBehavior 30 15 Minor 60 %
Else If Versus Elseif Analyze, All, Simple, php-cs-fixable, Rector, CI-checks, CE 118 58 Minor 66 %
Empty Blocks Analyze, All, Simple, CI-checks, ChangedBehavior, CE 11 10 Minor 51 %
Empty Instructions Dead code, Analyze, All, Simple, ChangedBehavior 1 1 Minor 57 %
Empty Loop All, Analyze, ChangedBehavior 7 6 Major 0 %
Eval() Usage Analyze, Appinfo, Performances, OneFile, ClearPHP, All, Simple, Security, PHP recommendations, ChangedBehavior, CE 6 5 Major 39 %
eval() Without Try Analyze, All, Simple, Level 3, Security, CI-checks, ChangedBehavior, CE 2 2 Critical 36 %
Exit() Usage Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks, ChangedBehavior, CE 110 47 Major 61 %
Global Usage Analyze, Appinfo, ClearPHP, All, ChangedBehavior, CE 330 44 Minor 52 %
Htmlentities Calls Analyze, All, Simple, CI-checks, ChangedBehavior, CE 37 15 Major 40 %
Htmlentities Using Default Flag All, Analyze, Simple, CI-checks, ChangedBehavior 24 14 Minor 0 %
Identical Case In Switch All, Analyze, ChangedBehavior 47 14 Minor 0 %
Identical Consecutive Expression All, Analyze, ChangedBehavior 5 5 Minor 59 %
If With Same Conditions Analyze, All, Simple, CI-checks, ChangedBehavior, CE 7 5 Major 47 %
Iffectations Analyze, All, ChangedBehavior 122 44 Minor 80 %
Implied If Analyze, ClearPHP, All, Simple, CI-checks, Rector, ChangedBehavior, CE 3 2 Major 33 %
Implode() Arguments Order All, Analyze, CI-checks, ChangedBehavior, CE 6 5 Minor 0 %
Indices Are Int Or String Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE 115 11 Major 20 %
Infinite Recursion All, Analyze, ChangedBehavior 7 6 Major 0 %
Invalid Regex All, Analyze, CI-checks, ChangedBehavior, CE 36 6 Major 37 %
list() May Omit Variables Analyze, All, Simple, Suggestions, Level 3, CI-checks, CE 12 8 Minor 37 %
Lone Blocks Analyze, All, Simple, Level 4, CI-checks, ChangedBehavior, CE 6 2 Minor 15 %
Long Arguments All, Analyze, ChangedBehavior 15 11 Minor 68 %
Max Level Of Nesting All, Analyze, ChangedBehavior 72 46 Minor 0 %
Merge If Then All, Analyze, CI-checks, ChangedBehavior, CE 206 87 Minor 0 %
Mismatched Ternary Alternatives All, Analyze, Suggestions, Level 4, ChangedBehavior 30 21 Major 64 %
Missing Assignation In Branches All, Analyze, ChangedBehavior 426 126 Minor 0 %
Missing Cases In Switch All, Analyze, ChangedBehavior 11 9 Minor 36 %
Maybe Missing New All, Analyze, ChangedBehavior 15 5 Critical 57 %
Mixed Concat And Interpolation All, Coding Conventions, Analyze 20 12 Minor 45 %
Modernize Empty With Expression All, Analyze, OneFile, Simple, ChangedBehavior 96 47 Minor 63 %
Multiples Identical Case Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, Rector, ChangedBehavior, CE 32 15 Minor 29 %
Multiple Type Variable All, Analyze, Level 4, ChangedBehavior 36 14 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 369 96 Major 84 %
Nested Ternary Analyze, ClearPHP, All, Simple, Level 1, CI-checks, ChangedBehavior, CE 8 3 Major 50 %
Don't Change Incomings Analyze, All, ChangedBehavior 26 5 Minor 44 %
No Choice Analyze, All, Simple, Level 2, Top10, CI-checks, Rector, ChangedBehavior, CE 2 2 Major 42 %
No Direct Usage Analyze, All, Simple, ChangedBehavior 8 4 Major 39 %
No Empty Regex All, Analyze, CI-checks, CE 4 1 Critical 22 %
No Hardcoded Hash Analyze, Security, All, Simple, ChangedBehavior 5 4 Critical 45 %
No Hardcoded Path Analyze, ClearPHP, All, Simple, ChangedBehavior 14 5 Major 35 %
No Need For Else All, Analyze, ChangedBehavior 296 101 Minor 74 %
No Null For Index All, Analyze, ChangedBehavior 62 21 Minor 0 %
No Parenthesis For Language Construct Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks, ChangedBehavior, CE 64 38 Minor 62 %
Avoid Substr() One Analyze, Performances, All, CompatibilityPHP71, Simple, Level 2, Suggestions, Top10, CI-checks, ChangedBehavior, CE 39 17 Minor 58 %
Variable Is Not A Condition All, Analyze, ChangedBehavior 903 160 Minor 93 %
Non Integer Nor String As Index All, Analyze, ChangedBehavior 110 9 Minor 0 %
@ Operator Appinfo, ClearPHP, All, Analyze, Performances, CI-checks, ChangedBehavior, CE 185 46 Minor 65 %
Not Equal Is Not !== All, Analyze, CI-checks, ChangedBehavior, CE 2 2 Minor 0 %
Objects Don't Need References Analyze, ClearPHP, OneFile, All, Simple, Level 2, Top10, CI-checks, ChangedBehavior, CE 3 2 Minor 40 %
include_once() Usage Analyze, Appinfo, All, ChangedBehavior, CE 338 154 Minor 73 %
Several Instructions On The Same Line Analyze, All, ChangedBehavior 8 6 Major 56 %
Only Variable Returned By Reference Analyze, All, Simple 10 6 Major 3 %
Overwritten Foreach Var All, Analyze, OneFile, ChangedBehavior 2 2 Major 0 %
Print And Die Analyze, All, Simple, CI-checks, ChangedBehavior, CE 20 14 Minor 32 %
Printf Number Of Arguments All, Analyze, CI-checks, CE 8 7 Minor 41 %
Repeated print() Analyze, All, Simple, Suggestions, Level 3, Top10, CI-checks, ChangedBehavior, CE 4 3 Major 50 %
Repeated Regex All, Analyze, Level 1, CI-checks, ChangedBehavior, CE 107 46 Minor 47 %
Return True False Analyze, All, Simple, Level 1, CI-checks, ChangedBehavior, CE 57 34 Major 46 %
Same Conditions In Condition Analyze, All, Simple, CI-checks, ChangedBehavior, CE 18 16 Critical 55 %
Should Chain Exception Analyze, All, Simple, CI-checks, ChangedBehavior, CE 2 1 Minor 39 %
Should Use Ternary Operator All, Analyze, OneFile, Simple, CI-checks, ChangedBehavior, CE 425 133 Minor 86 %
Preprocessable Analyze, All, Rector, ChangedBehavior 706 199 Minor 85 %
Should Use Explode Args All, Analyze, CI-checks, ChangedBehavior, CE 3 3 Minor 0 %
Sprintf Format Compilation All, Analyze, ChangedBehavior 1 1 Minor 0 %
Static Inclusions All, Analyze, ChangedBehavior 379 173 Minor 0 %
Static Loop Analyze, All, Simple, Level 4, ChangedBehavior 15 12 Minor 67 %
Strpos()-like Comparison Analyze, PHP recommendations, ClearPHP, All, Simple, Level 2, Top10, CI-checks, ChangedBehavior, CE 33 21 Major 54 %
Suspicious Comparison All, Analyze, Level 3, ChangedBehavior 2 2 Major 39 %
Switch To Switch Analyze, All, RadwellCodes, Simple, ChangedBehavior 17 12 Minor 58 %
Switch Without Default Analyze, ClearPHP, All, Simple, CI-checks, ChangedBehavior, CE 119 73 Major 69 %
Test Then Cast All, Analyze, ChangedBehavior 1 1 Major 34 %
Timestamp Difference Analyze, All, Simple, Level 3, CI-checks, ChangedBehavior, CE 17 10 Major 49 %
Unchecked Resources Analyze, ClearPHP, All, Simple, Level 2, CI-checks, ChangedBehavior, CE 12 7 Major 50 %
Unconditional Break In Loop All, Analyze, Level 3, CI-checks, CE 5 4 Major 48 %
Unpreprocessed Values Analyze, OneFile, ClearPHP, All, Simple, Performances, ChangedBehavior 1 1 Minor 30 %
Unset In Foreach Dead code, Analyze, OneFile, All, Simple, ChangedBehavior 1 1 Major 15 %
Unsupported Types With Operators All, Analyze, CompatibilityPHP80, ChangedBehavior, CE 75 36 Minor 0 %
Unused Global Analyze, All, Simple, Unused, ChangedBehavior 4 1 Minor 22 %
Use Constant Instead Of Function PHP recommendations, All, Analyze, php-cs-fixable, CI-checks, ChangedBehavior, CE 13 7 Minor 61 %
Avoid get_class() Analyze, All, Simple, CI-checks, ChangedBehavior, CE 5 2 Minor 32 %
Use Positive Condition All, Analyze, OneFile, Simple, ChangedBehavior 242 105 Minor 82 %
Use Same Types For Comparisons All, Analyze 8 4 Minor 0 %
Useless Brackets Analyze, All, RadwellCodes, Simple, CI-checks, ChangedBehavior, CE 6 2 Minor 15 %
Useless Type Casting All, PHP recommendations, Analyze, OneFile, RadwellCodes, Simple, Level 4, CI-checks, ChangedBehavior, CE 56 32 Minor 47 %
Useless Check All, Analyze, OneFile, Simple, Level 1, CI-checks, CE 8 5 Minor 35 %
Useless Global Analyze, OneFile, All, Simple, Level 2, ChangedBehavior 15 8 Minor 27 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, ChangedBehavior, CE 23 18 Minor 63 %
Useless Parenthesis Analyze, All, Simple, CI-checks, ChangedBehavior, CE 157 56 Minor 81 %
Useless Switch Analyze, All, Simple, ChangedBehavior 2 2 Major 32 %
Useless Unset Analyze, OneFile, ClearPHP, All, Simple, Level 2, CI-checks, ChangedBehavior, CE 5 3 Major 42 %
var_dump()... Usage Analyze, ClearPHP, Security, All, CI-checks, ChangedBehavior, CE 14 8 Critical 42 %
While(List() = Each()) Analyze, Performances, OneFile, All, Simple, Suggestions, Level 2, CI-checks, ChangedBehavior, CE 8 5 Minor 14 %
preg_replace With Option e Analyze, CompatibilityPHP70, Security, CompatibilityPHP71, All, Simple, CompatibilityPHP72, CI-checks, ChangedBehavior, CE 32 5 Major 8 %
No Real Comparison Analyze, All, Simple, Level 2, Top10, CI-checks, PHP recommendations, ChangedBehavior, CE 1 1 Major 26 %
One Variable String Analyze, All, RadwellCodes, Simple, CI-checks, ChangedBehavior, CE 17 5 Minor 33 %
Should Typecast Analyze, OneFile, All, Simple, CI-checks, Rector, ChangedBehavior, CE 18 10 Minor 49 %
String May Hold A Variable Analyze, All, Simple, ChangedBehavior 33 17 Minor 59 %
Missing Some Returntype All, Typehints, Analyze, CI-checks, ChangedBehavior, CE 14 11 Minor 0 %
StandaloneType True False Null All, Appcontent, Analyze, ChangedBehavior 358 90 Minor 0 %
Wrong Type With Default All, Analyze, LintButWontExec, ClassReview, ChangedBehavior 1252 228 Minor 0 %
Assigned Twice All, Analyze, ChangedBehavior 818 92 Minor 79 %
Overwritten Literals Analyze, All, ChangedBehavior 969 96 Major 79 %
Recycled Variables All, Analyze 19 8 Minor 0 %
Undefined Constant Name All, Analyze, Undefined, ChangedBehavior 1 1 Minor 0 %
Undefined Variable All, Analyze, CI-checks, Undefined, CE 2333 161 Minor 77 %
Used Once Variables Analyze, OneFile, All, Simple, Top10, ChangedBehavior 72 44 Minor 74 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4, ChangedBehavior, CE 6701 334 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple, Unused, ChangedBehavior 243 85 Minor 87 %