PHP Static analysis for Sylius

Label Recipes Issues Files Severity Frequence
Ambiguous Array Index Analyze, All, Simple, Level 2, Semantics, ChangedBehavior 3 3 Minor 10 %
Append And Assign Arrays Analyze, Internal, All, ChangedBehavior 4 4 Minor 0 %
Null Or Boolean Arrays Analyze, All 11 5 Minor 0 %
Randomly Sorted Arrays Analyze, All, Suggestions, Level 4 11 10 Minor 41 %
Too Many Array Dimensions Analyze, All 38 14 Minor 0 %
Weak Type With Array Analyze, All, ChangedBehavior 709 255 Minor 0 %
Modify Immutable Analyze, All, Attributes, ChangedBehavior 42 16 Minor 0 %
Abstract Or Implements Analyze, All, LintButWontExec, ChangedBehavior 46 46 Major 24 %
Accessing Private Analyze, All, Simple 2 2 Major 17 %
Ambiguous Static Analyze, All, Semantics 109 101 Minor 66 %
Ambiguous Visibilities Analyze, All, Semantics, ChangedBehavior 765 476 Minor 70 %
Anonymous Classes Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, All, CE 29 18 Major 16 %
Avoid Optional Properties Analyze, All 84 53 Major 84 %
Check After Null Safe Operator Analyze, All, Suggestions, ChangedBehavior 1 1 Major 0 %
Class, Interface, Enum Or Trait With Identical Names Analyze, All 2 2 Minor 19 %
Clone With Non-Object Analyze, All, LintButWontExec 1 1 Minor 33 %
Const Visibility Usage Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, All 302 120 Minor 24 %
Could Be Abstract Class Analyze, All, ClassReview 38 38 Minor 65 %
Class Could Be Final Analyze, All, ClassReview 543 532 Minor 96 %
Method Could Be Static Analyze, All, ClassReview 1067 821 Minor 92 %
Could Inject Parameter Analyze, All, ClassReview, ChangedBehavior 190 119 Minor 0 %
Cyclic References Analyze, All, ClassReview 5 5 Minor 0 %
Dependant Abstract Classes Analyze, All, ClassReview 4 4 Minor 0 %
Different Argument Counts Analyze, All, ClassReview 2 2 Minor 0 %
No Direct Call To Magic Method Analyze, All, Level 2, CI-checks, CE 27 17 Major 43 %
Don't Send $this In Constructor Analyze, All 1 1 Minor 41 %
Empty Classes Analyze, All, Simple 19 19 Minor 60 %
Implicit Nullable Type Analyze, All, ClassReview 162 97 Minor 0 %
Incompatible Signature Methods With Covariance Analyze, All 29 28 Critical 0 %
Locally Unused Property Dead code, All, Simple, Unused 110 83 Minor 76 %
Assign Default To Properties Analyze, ClearPHP, All, Simple, Level 2 9 6 Minor 71 %
Method Signature Must Be Compatible Analyze, All, LintButWontExec 62 49 Critical 53 %
Mismatch Properties Typehints Analyze, All, LintButWontExec, ClassReview 11 9 Minor 0 %
Missing Abstract Method Analyze, All, ClassReview 5 3 Minor 0 %
Multiple Class Declarations Analyze, All, Simple, CI-checks, CE 21 20 Major 29 %
Multiple Identical Trait Or Interface Analyze, OneFile, All, Simple, CI-checks, CE, ChangedBehavior 144 144 Minor 0 %
New Object Then Immediate Call Analyze, All, ClassReview 253 117 Minor 0 %
No Public Access Analyze, All 16 14 Minor 61 %
Non Nullable Getters Analyze, All, ClassReview 19 15 Minor 0 %
Forgotten Visibility Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE 3886 642 Minor 42 %
Parent First Analyze, All, Suggestions 4 4 Minor 56 %
Property Could Be Local Analyze, All, ClassReview 983 478 Minor 76 %
Same Name For Property And Method Analyze, All, ClassReview, Semantics 34 8 Minor 0 %
Never Used Properties Analyze, All, Simple, Unused 80 59 Minor 71 %
Property Used In One Method Only Analyze, All 1556 869 Minor 84 %
Parent, Static Or Self Outside Class Analyze, All, Simple, ChangedBehavior 14 1 Major 21 %
Scalar Or Object Property Analyze, All 2 2 Minor 32 %
Could Use self Analyze, All, Simple, Suggestions, Level 3, ClassReview 10 8 Minor 63 %
Should Use Local Class Analyze, ClearPHP, All, Simple 1399 857 Minor 95 %
Too Many Dereferencing Analyze, All, ChangedBehavior 137 91 Minor 0 %
Too Many Finds Analyze, All, ChangedBehavior 10 10 Minor 7 %
Too Many Injections Analyze, All, Dismell, ChangedBehavior 1 1 Minor 19 %
Wrong Access Style to Property Analyze, All, Level 2, ClassReview, CI-checks, CE 12 3 Critical 37 %
Undefined Classes Analyze, All, Stubs, Undefined 13625 2313 Major 91 %
Undefined Class Constants Analyze, All, LintButWontExec, CI-checks, CE, Stubs, ChangedBehavior, Undefined 611 292 Major 62 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, CE, CompatibilityPHP82, ChangedBehavior, Undefined 740 197 Major 61 %
Undefined static:: Or self:: Analyze, All, Simple, ChangedBehavior, Undefined 136 47 Minor 35 %
Undefined ::class Analyze, All, CI-checks, CE, ChangedBehavior, Undefined 1044 488 Major 36 %
Unfinished Object Analyze, All, ClassReview 2244 994 Major 0 %
Unreachable Method Analyze, Dead code, All, ClassReview, Unused, ChangedBehavior 8 8 Minor 0 %
Unresolved Catch Dead code, ClearPHP, All, ChangedBehavior 82 58 Major 52 %
Unresolved Classes Analyze, All, Stubs, ChangedBehavior 1854 679 Major 76 %
Unresolved Instanceof Analyze, Dead code, ClearPHP, All, Simple, Top10, ChangedBehavior 64 42 Major 48 %
Unused Classes Analyze, Dead code, All, Simple, Unused, ChangedBehavior 134 134 Major 67 %
Unused Class Constant Analyze, All, ClassReview, Unused, ChangedBehavior 29 13 Minor 0 %
Unused Methods Dead code, All, Simple, Unused, ChangedBehavior 11190 2466 Minor 96 %
Unused Private Methods Dead code, OneFile, All, Simple, Unused, ChangedBehavior 5 5 Minor 50 %
Unused Private Properties Dead code, OneFile, All, Simple, Unused 12 12 Minor 51 %
Unused Protected Methods Dead code, All, Unused, ChangedBehavior 363 285 Major 68 %
Unused Public Methods Analyze, All, ChangedBehavior 9100 2113 Minor 0 %
Use ::Class Operator Analyze, Performances, All, Simple, CI-checks, CE, ChangedBehavior 10 4 Minor 71 %
Use Instanceof Analyze, All, Simple, CI-checks, CE, ChangedBehavior 6 4 Major 63 %
Used Once Property Analyze, All, ChangedBehavior 1305 792 Minor 74 %
Useless Abstract Class Analyze, All, Simple, ChangedBehavior 7 7 Minor 33 %
Useless Constructor Analyze, All, Simple, Level 3, ChangedBehavior 5 5 Minor 41 %
Weak Typing Analyze, All, ChangedBehavior 15 14 Minor 47 %
Wrong Typed Property Default Analyze, All, LintButWontExec, ClassReview, CI-checks, CE 88 68 Minor 0 %
Constant Used Only Once Analyze, All 74 45 Minor 0 %
Multiple Constant Definition Analyze, All, Simple, CI-checks, CE, ChangedBehavior 46 13 Minor 41 %
Could Be A Constant All, Dump 7 6 Minor 0 %
Catch With Undefined Variable Analyze, All, ChangedBehavior, Undefined 4 4 Minor 0 %
Undefined Caught Exceptions Dead code, All, ChangedBehavior 45 35 None 53 %
Caught Exceptions All, Dump, ChangedBehavior 165 116 None 100 %
Converted Exceptions Analyze, All 28 17 Minor 0 %
Could Drop Variable Dead code, All, Suggestions, ChangedBehavior 4 2 Minor 0 %
Forgotten Thrown Analyze, All, ChangedBehavior 30 16 Minor 20 %
Multiple Exceptions Catch() Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, All, CE, ChangedBehavior 7 6 Major 10 %
Overwritten Exceptions Analyze, All, Simple, Suggestions, Level 4, CI-checks, CE, ChangedBehavior 1 1 Minor 22 %
Throw Raw Exceptions Analyze, All, Suggestions 153 104 Minor 0 %
Try Without Catch All, Dump, ChangedBehavior 3 3 Minor 0 %
Uncaught Exceptions Analyze, All, ChangedBehavior 334 220 Minor 84 %
Unthrown Exception Analyze, Dead code, ClearPHP, All, Simple, ChangedBehavior 2 2 Minor 45 %
Useless Try Analyze, All, ChangedBehavior 114 91 Minor 0 %
Missing Include Analyze, All 6 5 Critical 65 %
Use Named Boolean In Argument Definition Analyze, All, ChangedBehavior 108 79 Minor 84 %
Cancelled Parameter Analyze, All, ChangedBehavior 1 1 Minor 0 %
Could Make A Function Analyze, All, Suggestions, ChangedBehavior 316 196 Minor 66 %
Don't Collect Void Analyze, All, IsPHP, IsStub, IsExt 372 96 Minor 0 %
Empty Function Analyze, All, Simple 1053 900 Minor 74 %
Fn Argument Variable Confusion Analyze, All, Semantics 9 8 Minor 0 %
Hardcoded Passwords Analyze, Security, OneFile, All, Simple, Level 3 191 96 Major 70 %
Insufficient Typehint Analyze, All, Typechecks 1650 467 Major 43 %
Method Is Not An If Analyze, All 155 105 Minor 0 %
Mismatch Parameter Name Analyze, All, CompatibilityPHP80, CE, ChangedBehavior 19 14 Minor 0 %
Mismatched Default Arguments Analyze, All, Typechecks 28 18 Minor 80 %
Mismatched Typehint Analyze, All, Typechecks 578 174 Major 66 %
Modified Typed Parameter Analyze, All, ClassReview 23 19 Minor 0 %
Must Return Methods Analyze, All, Simple, Level 2, LintButWontExec, CI-checks, CE, ChangedBehavior 17 16 Major 34 %
Never Called Parameter Analyze, All, Suggestions, Rector, Unused 51 44 Minor 92 %
No Boolean As Default Analyze, All 32 23 Minor 84 %
No Return Used Analyze, All, Suggestions, Level 4 10 8 Minor 69 %
Retyped Reference Analyze, All, Typehints 2 2 Major 0 %
Type Must Be Returned Analyze, All, LintButWontExec, CI-checks, CE, ChangedBehavior 14 14 Major 22 %
Undefined Functions stubs 80 51 Major 68 %
Unused Parameter Analyze, All, Simple, Unused 659 427 Major 90 %
Unused Returned Value Analyze, Dead code, OneFile, All, Simple, Unused 98 33 Minor 41 %
Useless Argument Analyze, All 19 15 Minor 0 %
Useless Referenced Argument Analyze, All, ChangedBehavior 1 1 Minor 58 %
Useless Type Check Dead code, OneFile, All 9 9 Minor 0 %
Uses Default Values Analyze, All, Simple, CI-checks, CE, IsPHP, IsStub, IsExt 2267 699 Minor 98 %
Using Deprecated Method Analyze, All, Attributes 8 6 Minor 0 %
Methods Without Return Analyze, All 13 13 Minor 95 %
Wrong Argument Type Analyze, All, Typechecks 6 5 Minor 0 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks, CE, Stubs, IsPHP, IsStub, IsExt 93 65 Major 81 %
Wrong Optional Parameter Analyze, All, Simple, Level 1, CompatibilityPHP80, CI-checks, CE, ChangedBehavior 1 1 Minor 32 %
Wrong Type Returned Analyze, All, LintButWontExec, ClassReview, CI-checks, CE 1264 733 Minor 0 %
Wrong Type With Call Analyze, All, Typechecks, CI-checks, CE 1389 314 Minor 0 %
Already Parents Interface Analyze, All, Suggestions, Level 3, ChangedBehavior 144 144 Minor 26 %
Forgotten Interface Analyze, All, ChangedBehavior 339 339 Minor 48 %
Empty Interfaces Analyze, All, Simple, ChangedBehavior 22 22 Minor 41 %
Interfaces Is Not Implemented Analyze, All, LintButWontExec, ClassReview, CI-checks, CE, ChangedBehavior 1 1 Minor 0 %
Repeated Interface Analyze, All, LintButWontExec, ChangedBehavior 150 150 Minor 0 %
Undefined Interfaces Analyze, All, LintButWontExec, CI-checks, CE, ChangedBehavior, Undefined 6545 2018 Major 72 %
Unused Interfaces Dead code, All, Simple, Suggestions, Level 2, Unused, ChangedBehavior 3 3 Minor 26 %
Useless Interfaces Analyze, ClearPHP, All, Simple, ClassReview, Typechecks, ChangedBehavior 29 29 Minor 59 %
Hidden Use Expression Analyze, OneFile, All, Simple, CI-checks, CE, ChangedBehavior 29 10 Minor 23 %
Multiple Alias Definitions Analyze, All, Simple, CI-checks, CE, ChangedBehavior 4043 1799 Minor 44 %
Should Make Alias Analyze, OneFile, All, Simple, CI-checks, CE, ChangedBehavior 3 2 Minor 46 %
Unresolved Use Analyze, ClearPHP, All, Simple, ChangedBehavior 7721 2714 Major 69 %
Unused Use Dead code, ClearPHP, All, Simple, php-cs-fixable, Unused, ChangedBehavior 455 362 Major 60 %
No array_merge() In Loops Analyze, Performances, ClearPHP, All, Simple, Level 2, Top10, CI-checks, CE, ChangedBehavior 6 6 Major 57 %
Logical To in_array Analyze, All, Level 2, ChangedBehavior 5 5 Minor 67 %
Pre-increment Analyze, Performances, All, Simple, Level 4, CI-checks, CE, ChangedBehavior 2 1 Minor 74 %
array_key_exists() Works On Arrays Analyze, All, CompatibilityPHP74, CE, ChangedBehavior 7 6 Minor 0 %
Assumptions Analyze, All, ChangedBehavior 274 212 Minor 0 %
Avoid mb_dectect_encoding() Analyze, All, ChangedBehavior 1 1 Minor 0 %
Use random_int() Analyze, Security, CompatibilityPHP71, All, Simple, Level 2, CI-checks, CE, ChangedBehavior 6 2 Major 59 %
Constant Scalar Expression Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, All, ChangedBehavior 330 244 Major 0 %
Don't Pollute Global Space Analyze, All 22 18 Minor 0 %
Include Variables All, Dump 4 4 Minor 0 %
Wrong Parameter Type Analyze, OneFile, All, Simple, CI-checks, CE, ChangedBehavior 5 4 Major 76 %
PHP Native Interfaces and Return Type Analyze, All, LintButWontExec, CompatibilityPHP81, Deprecated, ChangedBehavior 1 1 Minor 0 %
List Short Syntax Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, Internal, CompatibilityPHP53, CompatibilityPHP70, All, CE, ChangedBehavior 16 12 Major 17 %
List With Keys Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, Appcontent, CompatibilityPHP53, CompatibilityPHP70, All, CE, ChangedBehavior 2 2 Major 34 %
Named Parameter Usage Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, CompatibilityPHP74 17 9 Minor 0 %
PHP Native Class Type Compatibility Analyze, All, CompatibilityPHP81, ChangedBehavior 8 4 Major 0 %
No Class In Global Analyze, All, CI-checks, CE, ChangedBehavior 18 18 Minor 77 %
No Null For Native PHP Functions Analyze, All, CompatibilityPHP81, Deprecated, ChangedBehavior 24 17 Minor 0 %
PHP 8.0 Typehints CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, CompatibilityPHP74, ChangedBehavior 12 9 Minor 0 %
Php7 Relaxed Keyword Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, All, CE 1 1 Major 28 %
Php 8.0 Only TypeHints Appinfo, CompatibilityPHP56, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, CompatibilityPHP74, CE, ChangedBehavior 271 103 Minor 0 %
Union Typehint Appinfo, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, CompatibilityPHP74, CE 55 43 Minor 0 %
Scalar Are Not Arrays Analyze, All, CompatibilityPHP74, CI-checks, CE, ChangedBehavior 7 4 Minor 0 %
Should Use Coalesce Analyze, All, Simple, Suggestions, Level 3, CI-checks, CE 4 4 Major 71 %
Signature Trailing Comma CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, CompatibilityPHP74, CE 600 508 Minor 0 %
String Int Comparison All, CompatibilityPHP80, ChangedBehavior 27 22 Minor 0 %
Too Many Native Calls Analyze, All, IsPHP, IsExt 5 5 Minor 49 %
Trailing Comma In Calls Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CE 1746 569 Minor 1 %
Typed Property Usage Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, CE 2892 1162 Minor 6 %
Uses PHP 8 Match() All, CompatibilityPHP74, CE 5 4 None 0 %
Use Nullable Type Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, All, CE 2238 649 Major 90 %
Avoid Using stdClass Analyze, OneFile, All, Simple, Level 4 42 33 Minor 46 %
Wrong Type For Native PHP Function Analyze, All, CI-checks, CE 63 39 Minor 0 %
Always Anchor Regex Security, All 2 2 Major 65 %
Avoid Those Hash Functions Security, All 2 2 Major 62 %
filter_input() As A Source Security, All, ChangedBehavior 3 3 Minor 7 %
Keep Files Access Restricted Security, All, ChangedBehavior 3 2 Minor 0 %
Avoid sleep()/usleep() Security, All, ChangedBehavior 5 4 Minor 41 %
Unserialize Second Arg Security, All 4 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 150 105 Minor 0 %
Array_Fill() With Objects Analyze, All 2 1 Minor 0 %
Same Variable Foreach Analyze, All, CI-checks, CE 1 1 Minor 16 %
Bail Out Early Analyze, OneFile, All, Simple, Level 4 198 162 Minor 64 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks, CE 31 25 Minor 77 %
Buried Assignation Analyze, All 45 33 Minor 84 %
Cast To Boolean Analyze, OneFile, All, Simple, Level 1 7 5 Minor 56 %
Catch Overwrite Variable Analyze, ClearPHP, All, Simple 3 1 Minor 25 %
Check All Types Analyze, All 5 5 Major 69 %
Check Division By Zero Analyze, All, ChangedBehavior 7 6 Minor 0 %
Check JSON Analyze, All, CI-checks, CE 35 18 Major 65 %
Common Alternatives Analyze, All, Simple 2 2 Major 80 %
Could Be Else Analyze, All 1 1 Minor 49 %
Could Use Short Assignation Analyze, Performances, OneFile, All, Simple, Rector, CI-checks, CE, ChangedBehavior 8 6 Minor 63 %
Dangling Array References Analyze, PHP recommendations, ClearPHP, All, Simple, Level 1, Top10, CI-checks, CE 1 1 Major 46 %
Default Then Discard Analyze, All, Readability 1 1 Minor 0 %
__DIR__ Then Slash Analyze, All, Level 3, CI-checks, CE, ChangedBehavior 7 1 Major 14 %
Don't Change The Blind Var Analyze, All 8 8 Minor 73 %
Don't Mix ++ Analyze, All 2 2 Minor 56 %
Double Assignation Analyze, All 4 4 Major 59 %
Double Checks Analyze, All 1 1 Minor 0 %
Double Instructions Analyze, All, Simple 23 17 Minor 57 %
Double Object Assignation Analyze, All, ClassReview, ChangedBehavior 1 1 Minor 0 %
Empty Try Catch Analyze, All, Level 3 21 17 Minor 49 %
Exit() Usage Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks, CE 1 1 Major 61 %
Overwritten Source And Value Analyze, OneFile, All 1 1 Minor 0 %
Identical Case In Switch Analyze, All, ChangedBehavior 3 1 Minor 0 %
Identical Consecutive Expression Analyze, All 21 14 Minor 59 %
Identical Variables In Foreach Analyze, OneFile, All 1 1 Minor 0 %
Iffectations Analyze, All 37 25 Minor 80 %
Implode() Arguments Order Analyze, All, CI-checks, CE, ChangedBehavior 1 1 Minor 0 %
Indices Are Int Or String Analyze, OneFile, All, Simple, CI-checks, CE, ChangedBehavior 15 11 Major 20 %
list() May Omit Variables Analyze, All, Simple, Suggestions, Level 3, CI-checks, CE 1 1 Minor 37 %
Long Arguments Analyze, All 529 137 Minor 68 %
Max Level Of Nesting Analyze, All 2 2 Minor 0 %
Mbstring Unknown Encoding Analyze, All, CI-checks, CE 1 1 Minor 0 %
Merge If Then Analyze, All, CI-checks, CE, ChangedBehavior 2 2 Minor 0 %
Mismatched Ternary Alternatives Analyze, All, Suggestions, Level 4 1 1 Major 64 %
Missing Assignation In Branches Analyze, All, ChangedBehavior 8 7 Minor 0 %
Mixed Concat And Interpolation Analyze, Coding Conventions, All 1 1 Minor 45 %
Modernize Empty With Expression Analyze, OneFile, All, Simple 5 5 Minor 63 %
Nested Ifthen Analyze, All, RadwellCodes 1 1 Major 84 %
Don't Change Incomings Analyze, All 21 3 Minor 44 %
No Choice Analyze, All, Simple, Level 2, Top10, Rector, CI-checks, CE, ChangedBehavior 46 32 Major 42 %
No Hardcoded Hash Analyze, Security, All, Simple 10 3 Critical 45 %
No Hardcoded Ip Analyze, Security, ClearPHP, All, Simple 4 2 Minor 25 %
No isset() With empty() Analyze, PHP recommendations, OneFile, All, RadwellCodes, Simple, Level 4, CI-checks, CE 2 1 Minor 30 %
No Max On Empty Array All, CompatibilityPHP80, ChangedBehavior 3 3 Minor 0 %
No Need For Triple Equal Analyze, All 117 68 Minor 0 %
No Null For Index Analyze, All, ChangedBehavior 10 10 Minor 0 %
No Parenthesis For Language Construct Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks, CE, ChangedBehavior 1 1 Minor 62 %
Avoid Substr() One Analyze, Performances, CompatibilityPHP71, All, Simple, Suggestions, Level 2, Top10, CI-checks, CE 2 1 Minor 58 %
Variable Is Not A Condition Analyze, All 79 56 Minor 93 %
Non Integer Nor String As Index Analyze, All, ChangedBehavior 8 7 Minor 0 %
@ Operator Analyze, Appinfo, Performances, ClearPHP, All, CI-checks, CE 58 51 Minor 65 %
include_once() Usage Analyze, Appinfo, All, CE 1 1 Minor 73 %
Several Instructions On The Same Line Analyze, All, ChangedBehavior 1 1 Major 56 %
PHP7 Dirname CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, All, Suggestions, php-cs-fixable 34 26 Minor 44 %
Random Without Try Security, All 23 12 Critical 30 %
Results May Be Missing Analyze, All, Simple, CI-checks, CE 1 1 Major 24 %
Should Chain Exception Analyze, All, Simple, CI-checks, CE 3 3 Minor 39 %
Should Use Ternary Operator Analyze, OneFile, All, Simple, CI-checks, CE 14 13 Minor 86 %
Preprocessable Analyze, All, Rector 61 49 Minor 85 %
Static Inclusions Analyze, All 6 4 Minor 0 %
Static Loop Analyze, All, Simple, Level 4 12 11 Minor 67 %
Strpos()-like Comparison Analyze, PHP recommendations, ClearPHP, All, Simple, Level 2, Top10, CI-checks, CE 1 1 Major 54 %
Suspicious Comparison Analyze, All, Level 3 10 6 Major 39 %
Switch To Switch Analyze, All, RadwellCodes, Simple 1 1 Minor 58 %
Switch Without Default Analyze, ClearPHP, All, Simple, CI-checks, CE 1 1 Major 69 %
Test Then Cast Analyze, All 1 1 Major 34 %
Unconditional Break In Loop Analyze, All, Level 3, CI-checks, CE 3 3 Major 48 %
Unreachable Code Dead code, OneFile, ClearPHP, All, Simple, Suggestions, Level 3, Unused, ChangedBehavior 54 41 Major 61 %
Unsupported Types With Operators Analyze, All, CompatibilityPHP80, CE 16 14 Minor 0 %
Use Positive Condition Analyze, OneFile, All, Simple 8 7 Minor 82 %
Use Same Types For Comparisons Analyze, All 5 4 Minor 0 %
Use Variable Created Inside Loop Dead code, All 7 7 Minor 0 %
Useless Type Casting Analyze, PHP recommendations, OneFile, All, RadwellCodes, Simple, Level 4, CI-checks, CE 30 25 Minor 47 %
Useless Coalesce Analyze, All, ChangedBehavior 2 2 Minor 0 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, CE 46 32 Minor 63 %
Useless Null Coalesce Analyze, All, Typehints 10 8 Minor 0 %
Useless Parenthesis Analyze, All, Simple, CI-checks, CE 21 14 Minor 81 %
Useless Short Ternary Analyze, All, ChangedBehavior 6 4 Minor 0 %
Wrong Precedence In Expression Analyze, All, ChangedBehavior 3 3 Minor 0 %
Already Parents Trait Analyze, All 7 7 Minor 0 %
Cannot Call Static Trait Method Directly Analyze, All, CompatibilityPHP81, CompatibilityPHP82 3 1 Minor 0 %
Dependant Trait Analyze, All, Level 3, ChangedBehavior 7 7 Minor 28 %
Trait Not Found Analyze, All, LintButWontExec, ChangedBehavior 18 18 Minor 0 %
Undefined Trait Analyze, All, LintButWontExec, CI-checks, CE, ChangedBehavior, Undefined 94 78 Critical 15 %
No Real Comparison Analyze, PHP recommendations, All, Simple, Level 2, Top10, CI-checks, CE 2 2 Major 26 %
String May Hold A Variable Analyze, All, Simple 12 6 Minor 59 %
Missing Some Returntype Analyze, All, Typehints, CI-checks, CE 213 154 Minor 0 %
StandaloneType True False Null Analyze, Appcontent, All, ChangedBehavior 2076 584 Minor 0 %
Wrong Type With Default Analyze, All, LintButWontExec, ClassReview 424 215 Minor 0 %
Assigned Twice Analyze, All 12 6 Minor 79 %
Overwritten Literals Analyze, All 12 6 Major 79 %
Recycled Variables Analyze, All 4 2 Minor 0 %
Undefined Variable Analyze, All, CI-checks, CE, Undefined 34 7 Minor 77 %
Used Once Variables Analyze, OneFile, All, Simple, Top10 6 6 Minor 74 %
Used Once Variables (In Scope) Analyze, OneFile, ClearPHP, All, Simple, Level 4, CE 2843 1167 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple, Unused 55 24 Minor 87 %