PHP Static analysis for ILIAS

Label Recipes Issues Files Severity Frequence
Ambiguous Array Index Analyze, All, Simple, Level 2, Semantics, ChangedBehavior 4 2 Minor 31 %
Append And Assign Arrays Analyze, Internal, All, ChangedBehavior 92 85 Minor 0 %
Multiple Index Definition Analyze, OneFile, All, Simple, Rector, CI-checks, CE 1 1 Minor 13 %
Null Or Boolean Arrays Analyze, All 1335 307 Minor 0 %
Randomly Sorted Arrays Analyze, All, Suggestions, Level 4 457 179 Minor 19 %
Too Many Array Dimensions Analyze, All 188 57 Minor 0 %
Weak Type With Array Analyze, All, ChangedBehavior 20378 2607 Minor 0 %
Abstract Or Implements Analyze, All, LintButWontExec, ChangedBehavior 574 569 Major 20 %
Accessing Private Analyze, All, Simple, ChangedBehavior 1225 129 Major 13 %
Access Protected Structures Analyze, All, Simple, ChangedBehavior 48 27 Major 12 %
Ambiguous Static Analyze, All, Semantics, ChangedBehavior 9410 4817 Minor 49 %
Ambiguous Visibilities Analyze, All, Semantics, ChangedBehavior 19695 5899 Minor 55 %
Anonymous Classes Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, All, CE, ChangedBehavior 665 296 Major 17 %
Avoid option arrays in constructors Analyze, All, ClassReview, ChangedBehavior 5 5 Minor 0 %
Avoid Optional Properties Analyze, All, ChangedBehavior 1417 664 Major 60 %
Can't Instantiate Class Analyze, All, ChangedBehavior 1 1 Critical 0 %
Cant Instantiate Non Class Analyze, All, ClassReview 6 6 Minor 0 %
Check After Null Safe Operator Analyze, All, Suggestions, ChangedBehavior 28 21 Major 0 %
Class, Interface, Enum Or Trait With Identical Names Analyze, All, ChangedBehavior 1190 1190 Minor 13 %
Clone With Non-Object Analyze, All, LintButWontExec, ChangedBehavior 5 3 Minor 11 %
Const Visibility Usage Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, All, ChangedBehavior 7503 1579 Minor 38 %
Could Be Abstract Class Analyze, All, ClassReview, ChangedBehavior 182 179 Minor 38 %
Class Could Be Final Analyze, All, ClassReview, ChangedBehavior 9894 9165 Minor 95 %
Method Could Be Static Analyze, All, ClassReview, ChangedBehavior 6444 3179 Minor 88 %
Could Inject Parameter Analyze, All, ClassReview, ChangedBehavior 4083 1496 Minor 0 %
Cyclic References Analyze, All, ClassReview, ChangedBehavior 4982 584 Minor 0 %
Dependant Abstract Classes Analyze, All, ClassReview, ChangedBehavior 44 44 Minor 0 %
Different Argument Counts Analyze, All, ClassReview, ChangedBehavior 120 102 Minor 0 %
No Direct Call To Magic Method Analyze, All, Level 2, CI-checks, CE 135 92 Major 25 %
Don't Send $this In Constructor Analyze, All, ChangedBehavior 163 163 Minor 21 %
Don't Unset Properties Analyze, All, Top10, php-cs-fixable, CI-checks, CE, ChangedBehavior 11 8 Major 21 %
Empty Classes Analyze, All, Simple, ChangedBehavior 173 161 Minor 37 %
Implicit Nullable Type Analyze, All, ClassReview, ChangedBehavior 21 15 Minor 0 %
Incompatible Signature Methods With Covariance Analyze, All, ChangedBehavior 1041 841 Critical 0 %
Inherited Property Type Must Match Analyze, All, LintButWontExec, ClassReview, ChangedBehavior 16 13 Minor 0 %
Instantiating Abstract Class Analyze, All, Simple 24 21 Major 14 %
Locally Unused Property Dead code, All, Simple, Unused, ChangedBehavior 1503 999 Minor 76 %
Assign Default To Properties Analyze, ClearPHP, All, Simple, Level 2, ChangedBehavior 861 422 Minor 51 %
Make Global A Property Analyze, All, Simple, ChangedBehavior 4408 1382 Minor 13 %
Method Signature Must Be Compatible Analyze, All, LintButWontExec, ChangedBehavior 1587 734 Critical 32 %
Mismatch Properties Types Analyze, All, LintButWontExec, ClassReview, ChangedBehavior 1286 316 Minor 0 %
Missing Abstract Method Analyze, All, ClassReview 9 6 Minor 0 %
Missing Default To Property Analyze, All 345 153 Minor 0 %
Multiple Class Declarations Analyze, All, Simple, CI-checks, CE, ChangedBehavior 4 4 Major 12 %
New Dynamic Class Constant Syntax Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, CompatibilityPHP74, CompatibilityPHP80, CompatibilityPHP81, CompatibilityPHP82, ChangedBehavior 3 1 Minor 0 %
New Object Then Immediate Call Analyze, All, ClassReview 8146 2158 Minor 0 %
No Null With Null Safe Operator Analyze, All, ClassReview, ChangedBehavior 121 54 Minor 0 %
self, parent, static Outside Class Analyze, All, LintButWontExec, ChangedBehavior 30 6 Major 6 %
No Public Access Analyze, All, ChangedBehavior 1092 334 Minor 37 %
No Readonly Assignation In Global Analyze, All, ClassReview, ChangedBehavior 1011 29 Minor 0 %
Non Nullable Getters Analyze, All, ClassReview, ChangedBehavior 844 529 Minor 0 %
Forgotten Visibility Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE 1657 423 Minor 27 %
Non Static Methods Called In A Static Analyze, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, All, Simple, CI-checks, CE, ChangedBehavior 7 6 Minor 4 %
Parent First Analyze, All, Suggestions, ChangedBehavior 961 960 Minor 36 %
Parent Is Not Static Analyze, All, ClassReview, ChangedBehavior 6 4 Major 0 %
Property Could Be Local Analyze, All, ClassReview, ChangedBehavior 2517 1116 Minor 62 %
Same Name For Property And Method Analyze, All, ClassReview, Semantics, ChangedBehavior 930 284 Minor 0 %
Never Used Properties Analyze, All, Simple, Unused, ChangedBehavior 1275 910 Minor 44 %
Property Used In One Method Only Analyze, All, ChangedBehavior 6377 2764 Minor 73 %
Parent, Static Or Self Outside Class Analyze, All, Simple, ChangedBehavior 300 1 Major 15 %
Readonly Property Compatibility Analyze, All, ClassReview 6 6 Major 0 %
Scalar Or Object Property Analyze, All 78 65 Minor 21 %
Could Use self Analyze, All, Simple, Suggestions, Level 3, ClassReview, ChangedBehavior 1282 442 Minor 46 %
Should Use Local Class Analyze, ClearPHP, All, Simple, ChangedBehavior 6440 2519 Minor 96 %
Static Methods Cannot Call Non-Static Methods Analyze, All, ClassReview 2 2 Minor 0 %
Static Methods Called From Object Analyze, All, Simple, CI-checks, CE, ChangedBehavior 104 62 Minor 21 %
$this Belongs To Classes Or Traits Analyze, All, Simple, LintButWontExec, ChangedBehavior 5 5 Major 9 %
$this Is Not An Array Analyze, All, ChangedBehavior 97 8 Major 1 %
Too Many Dereferencing Analyze, All, ChangedBehavior 166 105 Minor 0 %
Too Many Finds Analyze, All, ChangedBehavior 3 3 Minor 4 %
Too Many Injections Analyze, All, Dismell, ChangedBehavior 93 93 Minor 8 %
Typed Class Constants Usage CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, CompatibilityPHP74, CompatibilityPHP80, CompatibilityPHP81, CompatibilityPHP82, ChangedBehavior 726 203 Minor 0 %
Wrong Access Style to Property Analyze, All, Level 2, ClassReview, CI-checks, CE 12 6 Critical 14 %
Undefined Classes Analyze, All, Stubs, Undefined 2706 882 Major 97 %
Undefined Class Constants Analyze, All, LintButWontExec, CI-checks, CE, Stubs, ChangedBehavior, Undefined 3661 574 Major 59 %
Undefined Parent Analyze, All, Simple, Undefined 23 19 Minor 19 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, CE, CompatibilityPHP82, ChangedBehavior, Undefined 3538 505 Major 61 %
Undefined static:: Or self:: Analyze, All, Simple, ChangedBehavior, Undefined 552 94 Minor 26 %
Undefined static ::class Analyze, All, CI-checks, CE, ChangedBehavior, Undefined 65 28 Major 37 %
Unfinished Object Analyze, All, ClassReview, ChangedBehavior 7255 2533 Major 0 %
Unreachable Method Analyze, Dead code, All, ClassReview, Unused, ChangedBehavior 89 40 Minor 0 %
Unresolved Catch Dead code, ClearPHP, All, ChangedBehavior 62 23 Major 52 %
Unresolved Classes Analyze, All, Stubs, ChangedBehavior 336 131 Major 67 %
Unresolved Instanceof Analyze, Dead code, ClearPHP, All, Simple, Top10, ChangedBehavior 16 7 Major 40 %
Unused Classes Analyze, Dead code, All, Simple, Unused, ChangedBehavior 294 292 Major 56 %
Unused Class Constant Analyze, All, ClassReview, Unused, ChangedBehavior 486 207 Minor 0 %
Unused Methods Dead code, All, Simple, Unused, ChangedBehavior 20723 5324 Minor 96 %
Unused Private Methods Dead code, OneFile, All, Simple, Unused, ChangedBehavior 145 119 Minor 50 %
Unused Private Properties Dead code, OneFile, All, Simple, Unused 215 152 Minor 51 %
Unused Protected Methods Dead code, All, Unused, ChangedBehavior 4183 2112 Major 68 %
Unused Public Methods Analyze, All, ChangedBehavior 32917 8064 Minor 0 %
Use ::Class Operator Analyze, Performances, All, Simple, CI-checks, CE, ChangedBehavior 8904 1898 Minor 44 %
Use Instanceof Analyze, All, Simple, CI-checks, CE, ChangedBehavior 610 328 Major 35 %
Used Once Property Analyze, All, ChangedBehavior 3121 1584 Minor 43 %
Useless Abstract Class Analyze, All, Simple, ChangedBehavior 68 68 Minor 27 %
Useless Assignation Of Promoted Property Analyze, All, ClassReview, ChangedBehavior 38 17 Minor 0 %
Useless Constructor Analyze, All, Simple, Level 3, ChangedBehavior 97 97 Minor 23 %
Useless Final Analyze, OneFile, ClearPHP, All, Simple, CI-checks, CE, ChangedBehavior 5 3 Minor 2 %
Useless Method Analyze, All, ChangedBehavior 51 34 Minor 0 %
Weak Typing Analyze, All, ChangedBehavior 411 302 Minor 50 %
Illegal Name For Method Analyze, OneFile, All, Simple 214 75 Major 10 %
Wrong Typed Property Default Analyze, All, LintButWontExec, ClassReview, CI-checks, CE 1563 920 Minor 0 %
Use const Analyze, Coding Conventions, All, Top10, CI-checks, CE 221 69 Minor 24 %
Constant Used Only Once Analyze, All, ChangedBehavior 2162 779 Minor 0 %
Multiple Constant Definition Analyze, All, Simple, CI-checks, CE, ChangedBehavior 256 86 Minor 16 %
Undefined Constants stubs 68 17 Minor 42 %
Unused Constants Dead code, All, Simple, Unused, ChangedBehavior 68 12 Minor 39 %
Could Be A Constant All, Dump, ChangedBehavior 4334 1475 Minor 0 %
Undefined Enumcase Analyze, All, ClassReview, ChangedBehavior, Undefined 1 1 Minor 0 %
Unused Enumeration Case Analyze, Dead code, All, Unused, ChangedBehavior 60 1 Minor 0 %
Catch With Undefined Variable Analyze, All, ChangedBehavior, Undefined 41 27 Minor 0 %
Undefined Caught Exceptions Dead code, All, ChangedBehavior 61 27 None 53 %
Caught Exceptions All, Dump, ChangedBehavior 1139 601 None 56 %
Converted Exceptions Analyze, All, ChangedBehavior 87 46 Minor 0 %
Could Drop Variable Dead code, All, Suggestions, ChangedBehavior 385 219 Minor 0 %
Forgotten Thrown Analyze, All, ChangedBehavior 107 25 Minor 23 %
Multiple Exceptions Catch() Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, All, CE, ChangedBehavior 24 20 Major 12 %
Overwritten Exceptions Analyze, All, Simple, Suggestions, Level 4, CI-checks, CE, ChangedBehavior 1 1 Minor 11 %
Rethrown Exceptions Dead code, All, ChangedBehavior 5 5 Minor 20 %
Throw Functioncall Analyze, All, Simple, Level 1, CI-checks, CE, ChangedBehavior 2 2 Major 10 %
Throw Raw Exceptions Analyze, All, Suggestions, ChangedBehavior 1069 596 Minor 0 %
Try Without Catch All, Dump, ChangedBehavior 11 10 Minor 0 %
Uncaught Exceptions Analyze, All, ChangedBehavior 1141 625 Minor 73 %
Unthrown Exception Analyze, Dead code, ClearPHP, All, Simple, ChangedBehavior 28 28 Minor 30 %
Useless Try Analyze, All, ChangedBehavior 585 359 Minor 0 %
Missing Include Analyze, All, ChangedBehavior 349 300 Critical 36 %
Native Alias Functions Usage Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, CE, ChangedBehavior 241 108 Minor 22 %
Use Named Boolean In Argument Definition Analyze, All, ChangedBehavior 4831 2126 Minor 63 %
Callback Function Needs Return Analyze, All, CI-checks, CE 45 34 Major 20 %
Can't Call Generator Analyze, All 321 123 Minor 0 %
Cancelled Parameter Analyze, All, ChangedBehavior 8 8 Minor 0 %
Could Make A Function Analyze, All, Suggestions, ChangedBehavior 6136 2028 Minor 37 %
Deep Definitions Analyze, Appinfo, All, Simple, CE, ChangedBehavior 221 65 Major 15 %
Don't Collect Void Analyze, All, ChangedBehavior 2868 942 Minor 0 %
Empty Function Analyze, All, Simple, ChangedBehavior 3165 1382 Minor 67 %
Fn Argument Variable Confusion Analyze, All, Semantics, ChangedBehavior 153 70 Minor 0 %
Hardcoded Passwords Analyze, Security, OneFile, All, Simple, Level 3, ChangedBehavior 343 54 Major 49 %
Insufficient Type Analyze, All, Typechecks, ChangedBehavior 1926 603 Major 29 %
Method Is Not An If Analyze, All 1324 819 Minor 0 %
Mismatch Parameter Name Analyze, All, CompatibilityPHP80, CE, ChangedBehavior 296 173 Minor 0 %
Mismatch Type And Default Analyze, All, LintButWontExec, Typechecks, ChangedBehavior 52 42 Critical 9 %
Mismatched Default Arguments Analyze, All, Typechecks, ChangedBehavior 640 381 Minor 38 %
Mismatched Type Usage Analyze, All 203 136 Minor 0 %
Mismatched Type Analyze, All, Typechecks, ChangedBehavior 3102 1378 Major 44 %
Modified Typed Parameter Analyze, All, ClassReview, ChangedBehavior 791 462 Minor 0 %
Must Return Methods Analyze, All, Simple, Level 2, LintButWontExec, CI-checks, CE, ChangedBehavior 314 171 Major 26 %
Never-Returning Methods Cannot Return Implicitly Analyze, All, LintButWontExec 24 19 Minor 0 %
Never Called Parameter Analyze, All, Suggestions, Rector, Unused 1048 715 Minor 55 %
No Boolean As Default Analyze, All 2544 1290 Minor 61 %
No Default For Referenced Parameter Analyze, All, ChangedBehavior 14 12 Minor 0 %
No Referenced Void Analyze, All, CompatibilityPHP81, Deprecated, ChangedBehavior 3 3 Minor 0 %
No Return Used Analyze, All, Suggestions, Level 4, ChangedBehavior 934 501 Minor 50 %
Only Variable For Reference Analyze, All, LintButWontExec, ChangedBehavior 2 1 Critical 2 %
Only Variable Passed By Reference Analyze, All, ChangedBehavior 6 6 Critical 34 %
Renamed Parameter Analyze, All, Readability 100 84 Minor 0 %
Retyped Reference Analyze, All, Typehints, ChangedBehavior 11 10 Major 0 %
Should Use Existing Constants Analyze, All, Simple, ChangedBehavior 1 1 Minor 12 %
Should Yield With Key Analyze, All, Top10, CI-checks, CE 10 7 Major 1 %
Too Many Local Variables Analyze, All 668 494 Minor 37 %
Type Must Be Returned Analyze, All, LintButWontExec, CI-checks, CE, ChangedBehavior 156 78 Major 17 %
Class-typed References Analyze, All, CI-checks, CE 259 223 Minor 13 %
Undefined Functions stubs 21 11 Major 34 %
Unused Parameter Analyze, All, Simple, Unused 1614 830 Major 83 %
Unused Functions Dead code, All, Simple, Unused, ChangedBehavior 458 439 Minor 52 %
Unused Inherited Variable In Closure Analyze, Dead code, All, CI-checks, CE, Unused, ChangedBehavior 28 25 Major 12 %
Unused Returned Value Analyze, Dead code, OneFile, All, Simple, Unused 9018 1654 Minor 55 %
Use Constant As Arguments Analyze, All, Simple, CI-checks, CE, ChangedBehavior 5 5 Major 16 %
Useless Argument Analyze, All, ChangedBehavior 118 101 Minor 0 %
Useless Referenced Argument Analyze, All, ChangedBehavior 305 247 Minor 27 %
Useless Return Analyze, OneFile, All, Simple, Level 4 3 3 Minor 9 %
Useless Type Check Dead code, OneFile, All, ChangedBehavior 19 18 Minor 0 %
Uses Default Values Analyze, All, Simple, CI-checks, CE, ChangedBehavior 68137 5355 Minor 95 %
Using Deprecated Method Analyze, All, Attributes 5297 1576 Minor 0 %
Methods Without Return Analyze, All 603 404 Minor 20 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks, CE, Stubs, ChangedBehavior 1162 730 Major 60 %
Wrong Type Returned Analyze, All, LintButWontExec, ClassReview, CI-checks, CE, ChangedBehavior 11498 4166 Minor 0 %
Wrong Type With Call Analyze, All, Typechecks, CI-checks, CE, ChangedBehavior 11026 2805 Minor 0 %
Already Parents Interface Analyze, All, Suggestions, Level 3, ChangedBehavior 522 511 Minor 20 %
Forgotten Interface Analyze, All, ChangedBehavior 2626 2546 Minor 46 %
Empty Interfaces Analyze, All, Simple, ChangedBehavior 119 115 Minor 28 %
Interfaces Is Not Implemented Analyze, All, LintButWontExec, ClassReview, CI-checks, CE, ChangedBehavior 126 126 Minor 0 %
Interfaces Don't Ensure Properties Analyze, All, ClassReview, ChangedBehavior 62 20 Minor 0 %
Repeated Interface Analyze, All, LintButWontExec, ChangedBehavior 642 631 Minor 20 %
Undefined Interfaces Analyze, All, LintButWontExec, CI-checks, CE, ChangedBehavior, Undefined 1503 643 Major 90 %
Unused Interfaces Dead code, All, Simple, Suggestions, Level 2, Unused, ChangedBehavior 21 21 Minor 26 %
Useless Interfaces Analyze, ClearPHP, All, Simple, ClassReview, Typechecks, ChangedBehavior 133 133 Minor 39 %
Hidden Use Expression Analyze, OneFile, All, Simple, CI-checks, CE, ChangedBehavior 93 42 Minor 34 %
Multiple Alias Definitions Per File Analyze, All, CI-checks, CE, ChangedBehavior 42 21 Minor 6 %
Multiple Alias Definitions Analyze, All, Simple, CI-checks, CE, ChangedBehavior 10377 4640 Minor 35 %
Overload Existing Names Analyze, All, Semantics, ChangedBehavior 226 225 Minor 0 %
Should Make Alias Analyze, OneFile, All, Simple, CI-checks, CE, ChangedBehavior 6495 1152 Minor 35 %
Unresolved Use Analyze, ClearPHP, All, Simple, ChangedBehavior 2365 1522 Major 92 %
Unused Use Dead code, ClearPHP, All, Simple, php-cs-fixable, Unused, ChangedBehavior 2097 1296 Major 60 %
No array_merge() In Loops Analyze, Performances, ClearPHP, All, Simple, Level 2, Top10, CI-checks, CE, ChangedBehavior 128 101 Major 45 %
Logical To in_array() Analyze, All, Level 2, ChangedBehavior 363 204 Minor 39 %
Memoize MagicCall Analyze, All, ClassReview, ChangedBehavior 6 4 Minor 0 %
Pre-increment Analyze, Performances, All, Simple, Level 4, CI-checks, CE, ChangedBehavior 1369 657 Minor 45 %
strpos() Too Much Analyze, All, CI-checks, CE, ChangedBehavior 95 57 Minor 26 %
Use array_slice() Analyze, All, CI-checks, CE, ChangedBehavior 4 2 Minor 0 %
array_key_exists() Works On Arrays Analyze, All, CompatibilityPHP74, CE, ChangedBehavior 255 144 Minor 0 %
Assign And Lettered Logical Operator Precedence Analyze, All, CI-checks, CE 6 5 Critical 2 %
Assumptions Analyze, All, ChangedBehavior 1891 1174 Minor 0 %
Avoid mb_dectect_encoding() Analyze, All, ChangedBehavior 6 5 Minor 0 %
Use random_int() Analyze, Security, CompatibilityPHP71, All, Simple, Level 2, CI-checks, CE, ChangedBehavior 74 54 Major 31 %
Coalesce Equal Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, ChangedBehavior 192 88 Minor 0 %
Comparison On Different Types All, Dump, ChangedBehavior 9 7 Minor 0 %
Concat And Addition Analyze, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, CompatibilityPHP74, Top10, CompatibilityPHP80, CI-checks, CE, ChangedBehavior 13 7 Minor 0 %
Deprecated PHP Functions Analyze, All, CI-checks, CE 1 1 Major 9 %
Don't Pollute Global Space Analyze, All 11756 6334 Minor 0 %
Exit Without Argument Analyze, All, ChangedBehavior, BadPractices 192 101 Minor 0 %
False To Array Conversion Analyze, All, LintButWontExec, CompatibilityPHP81, CompatibilityPHP82, ChangedBehavior 239 59 Minor 0 %
Final Constant Appinfo, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, CompatibilityPHP74, CompatibilityPHP80, ChangedBehavior 97 34 Major 0 %
Wrong fopen() Mode Analyze, All, CI-checks, CE, ChangedBehavior 4 4 Major 7 %
Include Variables All, Dump 8 7 Minor 0 %
Numeric Literal Separator Appinfo, All, CompatibilityPHP73, CE, ChangedBehavior 101 30 None 0 %
Wrong Parameter Type Analyze, OneFile, All, Simple, CI-checks, CE, ChangedBehavior 125 76 Major 45 %
Use === null Analyze, OneFile, All, RadwellCodes, Simple, php-cs-fixable, CI-checks, CE, ChangedBehavior 1128 566 Minor 27 %
PHP Native Interfaces and Return Type Analyze, All, LintButWontExec, CompatibilityPHP81, Deprecated, ChangedBehavior 117 61 Minor 0 %
List Short Syntax Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, Internal, CompatibilityPHP53, CompatibilityPHP70, All, CE, ChangedBehavior 244 153 Major 28 %
List With Keys Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, Appcontent, CompatibilityPHP53, CompatibilityPHP70, All, CE, ChangedBehavior 51 39 Major 34 %
Logical Should Use Symbolic Operators Analyze, OneFile, ClearPHP, All, Simple, Suggestions, Level 2, Top10, php-cs-fixable, CI-checks, CE 414 172 Minor 18 %
Possible Missing Subpattern Analyze, All, Top10, CI-checks, CE, ChangedBehavior 18 16 Minor 24 %
Multiple Declaration Of Strict_types Analyze, All, ChangedBehavior 3 3 Minor 0 %
Named Parameter Usage Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, CompatibilityPHP74, ChangedBehavior 7 3 Minor 0 %
PHP Native Class Type Compatibility Analyze, All, CompatibilityPHP81, ChangedBehavior 449 108 Major 0 %
Never Type Usage Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, CompatibilityPHP74, CompatibilityPHP80, ChangedBehavior 47 36 None 0 %
No Array In Isset Analyze, All 3141 1142 Minor 0 %
Do Not Cast To Int Analyze, PHP recommendations, All, ChangedBehavior 1 1 Minor 0 %
No Class In Global Analyze, All, CI-checks, CE, ChangedBehavior 6428 6306 Minor 46 %
No Null For Native PHP Functions Analyze, All, CompatibilityPHP81, Deprecated, ChangedBehavior 575 285 Minor 0 %
Only Variable Passed By Reference Analyze, All, LintButWontExec, ChangedBehavior 9 4 Minor 0 %
Php7 Relaxed Keyword Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, All, CE 358 166 Major 29 %
Php 8.0 Only TypeHints Appinfo, CompatibilityPHP56, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, CompatibilityPHP74, CE, ChangedBehavior 507 318 Minor 0 %
Union Type Appinfo, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, CompatibilityPHP74, CE, ChangedBehavior 2218 467 Minor 0 %
Php 8.0 Variable Syntax Tweaks Appinfo, All, CompatibilityPHP74, CE, ChangedBehavior 2 2 Major 0 %
$HTTP_RAW_POST_DATA Usage Appinfo, CompatibilityPHP56, All, CE 2 2 Major 0 %
Scalar Are Not Arrays Analyze, All, CompatibilityPHP74, CI-checks, CE, ChangedBehavior 2863 423 Minor 0 %
Should Use Coalesce Analyze, All, Simple, Suggestions, Level 3, CI-checks, CE, ChangedBehavior 68 21 Major 47 %
Stealth Generator Analyze, All, Surprising 209 82 Minor 0 %
Too Many Native Calls Analyze, All, ChangedBehavior 21 17 Minor 25 %
Trailing Comma In Calls Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CE, ChangedBehavior 421 233 Minor 22 %
Typed Property Usage Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, CE, ChangedBehavior 32743 6866 Minor 87 %
Unknown Pcre2 Option Analyze, All, CompatibilityPHP73, ChangedBehavior 2 2 Minor 5 %
Use Enum Case In Constant Expression Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, CompatibilityPHP74, CompatibilityPHP80, CompatibilityPHP81, ChangedBehavior 97 67 Minor 0 %
Uses PHP 8 Match() Appinfo, All, CompatibilityPHP74, CE, ChangedBehavior 202 155 None 0 %
Use Nullable Type Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, All, CE, ChangedBehavior 12450 3742 Major 66 %
Use PHP Object API Analyze, ClearPHP, All, Simple, CI-checks, CE, ChangedBehavior 12 6 Minor 12 %
Use Pathinfo Analyze, All, Simple, Level 3, CI-checks, CE, ChangedBehavior 3 3 Minor 4 %
Avoid Using stdClass Analyze, OneFile, All, Simple, Level 4 303 148 Minor 28 %
Wrong Type For Native PHP Function Analyze, All, CI-checks, CE, ChangedBehavior 1236 655 Minor 0 %
Always Anchor Regex Security, All, ChangedBehavior 282 118 Major 65 %
Avoid Those Hash Functions Security, All, ChangedBehavior 210 127 Major 62 %
Compare Hash Security, ClearPHP, All, ChangedBehavior 7 5 Major 16 %
Direct Injection Security, All, ChangedBehavior 87 52 Major 51 %
Don't Echo Error Analyze, Security, All, Simple, Level 1, CI-checks, CE, ChangedBehavior 3 3 Critical 14 %
Encoded Simple Letters Security, All, ChangedBehavior 9 6 Minor 41 %
filter_input() As A Source Security, All, ChangedBehavior 4 3 Minor 7 %
Filter Not Raw Security, All, ChangedBehavior 1 1 Minor 0 %
Incompatible Types With Incoming Values Security, All, ChangedBehavior 68 20 Minor 0 %
Indirect Injection Security, All, ChangedBehavior 72 36 Critical 42 %
Insecure Integer Validation Security, All, ChangedBehavior 5 5 Major 0 %
Keep Files Access Restricted Security, All, ChangedBehavior 12 3 Minor 0 %
Mkdir Default Security, All, ChangedBehavior 16 15 Major 37 %
move_uploaded_file Instead Of copy Security, All, ChangedBehavior 1 1 Major 3 %
No Net For Xml Load Security, All, ChangedBehavior 67 48 Major 51 %
Avoid sleep()/usleep() Security, All, ChangedBehavior 7 5 Minor 41 %
No Weak SSL Crypto Security, All, ChangedBehavior 1 1 Minor 0 %
Unvalidated Data Cached In Session Security, All, ChangedBehavior 1 1 Minor 0 %
Session Lazy Write Security, All, ChangedBehavior 1 1 Major 4 %
Set Cookie Safe Arguments Security, All, ChangedBehavior 4 4 Major 25 %
Should Use Prepared Statement Analyze, Security, All, Simple, CI-checks, CE, ChangedBehavior 749 288 Major 10 %
Unserialize Second Arg Security, All, ChangedBehavior 75 55 Critical 50 %
Adding Zero Dump 8 7 Minor 18 %
Altering Foreach Without Reference Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE 102 67 Major 29 %
Comparison Is Always The Same Analyze, All, ChangedBehavior 947 524 Minor 0 %
Array_Fill() With Objects Analyze, All 1 1 Minor 0 %
array_merge() With One Arg Analyze, All 2 2 Minor 0 %
Array With String Ellipsis All, CompatibilityPHP74, CompatibilityPHP80, CompatibilityPHP81, CompatibilityPHP82, ChangedBehavior, CompatibilityPHP83, CompatibilityPHP84, CompatibilityPHP85 1 1 Minor 0 %
Assign And Compare Analyze, All, CI-checks, CE 5 5 Minor 8 %
Bail Out Early Analyze, OneFile, All, Simple, Level 4, ChangedBehavior 3499 1704 Minor 74 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks, CE, ChangedBehavior 2076 920 Minor 51 %
Buried Assignation Analyze, All, ChangedBehavior 1336 618 Minor 58 %
Cast To Boolean Analyze, OneFile, All, Simple, Level 1, ChangedBehavior 230 113 Minor 26 %
Casting Ternary Analyze, OneFile, All, CI-checks, CE, ChangedBehavior 37 22 Major 0 %
Catch Overwrite Variable Analyze, ClearPHP, All, Simple, ChangedBehavior 2 2 Minor 13 %
Check All Types Analyze, All, ChangedBehavior 233 160 Major 39 %
Check Division By Zero Analyze, All, ChangedBehavior 181 114 Minor 0 %
Check JSON Analyze, All, CI-checks, CE 419 206 Major 46 %
Coalesce And Concat Analyze, All, CI-checks, CE, ChangedBehavior 26 16 Minor 0 %
Common Alternatives Analyze, All, Simple, ChangedBehavior 343 166 Major 48 %
Concat Empty String Analyze, OneFile, All 182 54 Minor 0 %
Could Be Else Analyze, All, ChangedBehavior 101 85 Minor 23 %
Could Be Spaceship Analyze, All, Suggestions, ChangedBehavior 2 1 Minor 0 %
Could Be A Static Variable Analyze, OneFile, All, ClassReview, ChangedBehavior 7 4 Major 9 %
Could Use __DIR__ Analyze, All, Simple, Suggestions, Level 3, php-cs-fixable, CI-checks, CE, ChangedBehavior 14 14 Major 11 %
Could Use Short Assignation Analyze, Performances, OneFile, All, Simple, Rector, CI-checks, CE, ChangedBehavior 116 72 Minor 34 %
Could Use str_repeat() Analyze, All, Level 1, Top10, CI-checks, CE, ChangedBehavior 9 5 Minor 4 %
Could Use Yield From Analyze, Performances, All, ChangedBehavior 66 47 Minor 0 %
Count() Is Not Negative Analyze, All, ChangedBehavior 5 3 Minor 0 %
Creating Object On Null Analyze, All 6 4 Minor 0 %
Dangling Array References Analyze, PHP recommendations, ClearPHP, All, Simple, Level 1, Top10, CI-checks, CE, ChangedBehavior 6 5 Major 26 %
Default Then Discard Analyze, All, ChangedBehavior, Readability 12 6 Minor 0 %
__DIR__ Then Slash Analyze, All, Level 3, CI-checks, CE, ChangedBehavior 10 10 Major 5 %
Don't Change The Blind Var Analyze, All, ChangedBehavior 319 233 Minor 46 %
Don't Mix ++ Analyze, All, ChangedBehavior 356 121 Minor 30 %
Don't Read And Write In One Expression Analyze, All, CompatibilityPHP73, CompatibilityPHP74, CE, ChangedBehavior 21 11 Critical 18 %
Don't Reuse Foreach Source Analyze, All, ChangedBehavior 218 140 Minor 0 %
Double Assignation Analyze, All, ChangedBehavior 465 299 Major 29 %
Double Checks Analyze, All, ChangedBehavior 205 111 Minor 0 %
Double Instructions Analyze, All, Simple, ChangedBehavior 139 86 Minor 29 %
Double Object Assignation Analyze, All, ClassReview, ChangedBehavior 23 15 Minor 0 %
Drop Else After Return Analyze, OneFile, All, Simple, Suggestions, Level 4, CI-checks, CE, ChangedBehavior 321 247 Minor 38 %
Echo With Concat Analyze, Performances, All, Simple, Suggestions, ChangedBehavior 68 32 Minor 44 %
Else If Versus Elseif Analyze, All, Simple, php-cs-fixable, Rector, CI-checks, CE 238 148 Minor 35 %
Empty Blocks Analyze, All, Simple, CI-checks, CE, ChangedBehavior 116 88 Minor 25 %
Empty Json Error Analyze, All, ChangedBehavior 7 6 Minor 0 %
Empty Instructions Analyze, Dead code, All, Simple, ChangedBehavior 58 45 Minor 19 %
Empty Loop Analyze, All, ChangedBehavior 6 4 Major 0 %
Empty Try Catch Analyze, All, Level 3 120 99 Minor 30 %
Eval() Usage Analyze, Appinfo, Security, Performances, PHP recommendations, OneFile, ClearPHP, All, Simple, CE, ChangedBehavior, BadPractices 6 4 Major 15 %
eval() Without Try Analyze, Security, All, Simple, Level 3, CI-checks, CE, ChangedBehavior, BadPractices 6 4 Critical 14 %
Exit() Usage Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks, CE, ChangedBehavior 351 204 Major 33 %
Switch Fallthrough Inventory, Security, All, Stats, ChangedBehavior 54 45 Minor 39 %
foreach() On Object Analyze, All 342 206 Minor 0 %
Foreach Reference Is Not Modified Analyze, All, Simple, CI-checks, CE, ChangedBehavior 1 1 Minor 13 %
Overwritten Source And Value Analyze, OneFile, All, ChangedBehavior 1 1 Minor 0 %
Global Usage Analyze, Appinfo, ClearPHP, All, CE, ChangedBehavior 7048 3295 Minor 26 %
Htmlentities Calls Analyze, All, Simple, CI-checks, CE, ChangedBehavior 119 66 Major 16 %
Htmlentities Using Default Flag Analyze, All, Simple, CI-checks, ChangedBehavior 127 69 Minor 0 %
Identical Case In Switch Analyze, All, ChangedBehavior 505 113 Minor 0 %
Identical Conditions Analyze, All, Simple, CI-checks, CE, ChangedBehavior 5 5 Critical 11 %
Identical Consecutive Expression Analyze, All, ChangedBehavior 425 168 Minor 30 %
Identical On Both Sides Analyze, All, CI-checks, CE, ChangedBehavior 6 5 Major 4 %
Identical Variables In Foreach Analyze, OneFile, All, ChangedBehavior 4 4 Minor 0 %
If With Same Conditions Analyze, All, Simple, CI-checks, CE, ChangedBehavior 134 106 Major 23 %
Iffectations Analyze, All, ChangedBehavior 1079 556 Minor 53 %
Implicit Conversion To Int Analyze, All, LintButWontExec 25 15 Minor 0 %
Implied If Analyze, ClearPHP, All, Simple, Rector, CI-checks, CE, ChangedBehavior 19 4 Major 18 %
Implode() Arguments Order Analyze, All, CI-checks, CE, ChangedBehavior 26 23 Minor 0 %
Indices Are Int Or String Analyze, OneFile, All, Simple, CI-checks, CE, ChangedBehavior 781 218 Major 58 %
Infinite Recursion Analyze, All, ChangedBehavior 55 40 Major 0 %
Invalid Cast Analyze, All, LintButWontExec, ChangedBehavior 3 3 Minor 0 %
Invalid Date Scanning Format Analyze, All, ChangedBehavior 2 2 Major 0 %
Invalid Regex Analyze, All, CI-checks, CE, ChangedBehavior 5 5 Major 12 %
Is Actually Zero Analyze, All, Level 2, CI-checks, CE, ChangedBehavior 1 1 Minor 9 %
list() May Omit Variables Analyze, All, Simple, Suggestions, Level 3, CI-checks, CE 43 21 Minor 16 %
Logical Mistakes Analyze, All, Simple, Level 1, CI-checks, CE, ChangedBehavior 11 10 Critical 10 %
Lone Blocks Analyze, All, Simple, Level 4, CI-checks, CE, ChangedBehavior 7 7 Minor 4 %
Long Arguments Analyze, All, ChangedBehavior 618 249 Minor 51 %
Max Level Of Nesting Analyze, All, ChangedBehavior 445 322 Minor 0 %
Mbstring Unknown Encoding Analyze, All, CI-checks, CE, ChangedBehavior 1 1 Minor 0 %
Merge If Then Analyze, All, CI-checks, CE, ChangedBehavior 1189 605 Minor 0 %
Could Merge Ternary Into Ifthen Analyze, All, ChangedBehavior 14 13 Minor 0 %
Mismatched Ternary Alternatives Analyze, All, Suggestions, Level 4, ChangedBehavior 57 43 Major 31 %
Missing Assignation In Branches Analyze, All, ChangedBehavior 2742 1137 Minor 0 %
Missing Cases In Switch Analyze, All, ChangedBehavior 162 83 Minor 15 %
Maybe Missing New Analyze, All, ChangedBehavior 23 2 Critical 19 %
Misused Yield Analyze, All, ChangedBehavior 48 37 Minor 0 %
Mixed Concat And Interpolation Analyze, Coding Conventions, All 132 63 Minor 23 %
Modernize Empty With Expression Analyze, OneFile, All, Simple, ChangedBehavior 58 44 Minor 33 %
Multiples Identical Case Analyze, OneFile, ClearPHP, All, Simple, Level 1, Rector, CI-checks, CE, ChangedBehavior 12 11 Minor 9 %
Multiple Type Variable Analyze, All, Level 4, ChangedBehavior 143 111 Minor 29 %
Multiply By One Dump, Dum p 9 8 Minor 12 %
Nested Ifthen Analyze, All, RadwellCodes, ChangedBehavior 1900 756 Major 59 %
Nested Ternary Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE, ChangedBehavior 16 13 Major 27 %
Next Month Trap Analyze, All, Top10, CI-checks, CE, ChangedBehavior 1 1 Major 3 %
Don't Change Incomings Analyze, All, ChangedBehavior 84 30 Minor 20 %
No Choice Analyze, All, Simple, Level 2, Top10, Rector, CI-checks, CE, ChangedBehavior 691 392 Major 39 %
No Direct Usage Of Returned Value Analyze, All, Simple, ChangedBehavior 11 8 Major 19 %
No Empty Path To File Analyze, All, CompatibilityPHP80 3 3 Minor 0 %
No Hardcoded Hash Analyze, Security, All, Simple, ChangedBehavior 112 41 Critical 37 %
No Hardcoded Ip Analyze, Security, ClearPHP, All, Simple, ChangedBehavior 9 4 Minor 18 %
No Hardcoded Path Analyze, ClearPHP, All, Simple, ChangedBehavior 8 6 Major 15 %
No isset() With empty() Analyze, PHP recommendations, OneFile, All, RadwellCodes, Simple, Level 4, CI-checks, CE, ChangedBehavior 2 2 Minor 13 %
No Need For Else Analyze, All, ChangedBehavior 353 263 Minor 41 %
No Need For Triple Equal Analyze, All, ChangedBehavior 1437 652 Minor 0 %
No Null For Index Analyze, All, ChangedBehavior 67 39 Minor 0 %
No Parenthesis For Language Construct Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks, CE, ChangedBehavior 956 610 Minor 28 %
No Return Or Throw In Finally Security, All, ChangedBehavior 3 3 Major 1 %
Avoid Substr() One Analyze, Performances, CompatibilityPHP71, All, Simple, Suggestions, Level 2, Top10, CI-checks, CE, ChangedBehavior 110 57 Minor 42 %
Variable Is Not A Condition Analyze, All, ChangedBehavior 6962 1972 Minor 75 %
Non Integer Nor String As Index Analyze, All, ChangedBehavior 179 62 Minor 0 %
@ Operator Analyze, Appinfo, Performances, ClearPHP, All, CI-checks, CE, ChangedBehavior 108 45 Minor 48 %
Not Equal Is Not !== Analyze, All, CI-checks, CE, ChangedBehavior 14 11 Minor 0 %
Not Not Analyze, OneFile, All, Simple, CI-checks, CE, ChangedBehavior 5 4 Minor 5 %
Objects Don't Need References Analyze, OneFile, ClearPHP, All, Simple, Level 2, Top10, CI-checks, CE, ChangedBehavior 32 15 Minor 15 %
include_once() Usage Analyze, Appinfo, All, CE, ChangedBehavior 744 474 Minor 48 %
Several Instructions On The Same Line Analyze, All, ChangedBehavior 92 42 Major 25 %
Only Variable Returned By Reference Analyze, All, Simple 1 1 Major 5 %
Or Die Analyze, OneFile, ClearPHP, All, Simple, CI-checks, CE 10 2 Minor 3 %
Overwritten Foreach Var Analyze, OneFile, All, ChangedBehavior 2 2 Major 0 %
PHP7 Dirname CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, All, Suggestions, php-cs-fixable, ChangedBehavior 447 320 Minor 44 %
Phpinfo Security, OneFile, All, Simple, ChangedBehavior 1 1 Major 16 %
Print And Die Analyze, All, Simple, CI-checks, CE, ChangedBehavior 158 92 Minor 12 %
Avoid Parenthesis With Language Construct Analyze, All, Simple, CI-checks, CE, ChangedBehavior 23 4 Minor 4 %
Printf Number Of Arguments Analyze, All, CI-checks, CE 5 5 Minor 14 %
Random Without Try Security, All, ChangedBehavior 37 22 Critical 30 %
Repeated print() Analyze, All, Simple, Suggestions, Level 3, Top10, CI-checks, CE, ChangedBehavior 16 13 Major 22 %
Repeated Regex Analyze, All, Level 1, CI-checks, CE, ChangedBehavior 341 142 Minor 29 %
Results May Be Missing Analyze, All, Simple, CI-checks, CE, ChangedBehavior 7 4 Major 10 %
Return True False Analyze, All, Simple, Level 1, CI-checks, CE, ChangedBehavior 113 86 Major 17 %
Same Conditions In Condition Analyze, All, Simple, CI-checks, CE, ChangedBehavior 50 35 Critical 24 %
Should Chain Exception Analyze, All, Simple, CI-checks, CE, ChangedBehavior 41 25 Minor 22 %
Should Use Ternary Operator Analyze, OneFile, All, Simple, CI-checks, CE, ChangedBehavior 1510 819 Minor 58 %
Preprocessable Analyze, All, Rector, ChangedBehavior 3115 1051 Minor 74 %
Static Inclusions Analyze, All, ChangedBehavior 757 479 Minor 0 %
Static Loop Analyze, All, Simple, Level 4, ChangedBehavior 122 86 Minor 38 %
strip_tags() Skips Closed Tag Analyze, All, CI-checks, CE, ChangedBehavior 1 1 Minor 0 %
Strpos()-like Comparison Analyze, PHP recommendations, ClearPHP, All, Simple, Level 2, Top10, CI-checks, CE, ChangedBehavior 88 40 Major 25 %
Suspicious Comparison Analyze, All, Level 3, ChangedBehavior 236 97 Major 25 %
Switch To Switch Analyze, All, RadwellCodes, Simple, ChangedBehavior 85 69 Minor 29 %
Switch Without Default Analyze, ClearPHP, All, Simple, CI-checks, CE, ChangedBehavior 1472 764 Major 39 %
Ternary In Concat Analyze, All, Simple, Level 3, CI-checks, CE, ChangedBehavior 7 7 Critical 4 %
Test Then Cast Analyze, All, ChangedBehavior 63 51 Major 16 %
Timestamp Difference Analyze, All, Simple, Level 3, CI-checks, CE, ChangedBehavior 88 52 Major 27 %
Unchecked Resources Analyze, ClearPHP, All, Simple, Level 2, CI-checks, CE, ChangedBehavior 65 48 Major 23 %
Unconditional Break In Loop Analyze, All, Level 3, CI-checks, CE 223 140 Major 40 %
Unpreprocessed Values Analyze, Performances, OneFile, ClearPHP, All, Simple, ChangedBehavior 20 14 Minor 16 %
Unreachable Code Dead code, OneFile, ClearPHP, All, Simple, Suggestions, Level 3, Unused, ChangedBehavior 609 281 Major 61 %
Unset In Foreach Analyze, Dead code, OneFile, All, Simple, ChangedBehavior 1 1 Major 6 %
Unused Global Analyze, All, Simple, Unused, ChangedBehavior 109 1 Minor 7 %
Use Constant Instead Of Function Analyze, PHP recommendations, All, php-cs-fixable, CI-checks, CE, ChangedBehavior 17 17 Minor 19 %
Avoid get_class() Analyze, All, Simple, CI-checks, CE, ChangedBehavior 21 7 Minor 13 %
Use Positive Condition Analyze, OneFile, All, Simple, ChangedBehavior 1280 691 Minor 56 %
Use Same Types For Comparisons Analyze, All 83 57 Minor 0 %
Use Variable Created Inside Loop Dead code, All, ChangedBehavior 942 452 Minor 0 %
Useless Brackets Analyze, All, RadwellCodes, Simple, CI-checks, CE, ChangedBehavior 7 7 Minor 4 %
Useless Type Casting Analyze, PHP recommendations, OneFile, All, RadwellCodes, Simple, Level 4, CI-checks, CE, ChangedBehavior 719 394 Minor 35 %
Useless Check Before Foreach Analyze, OneFile, All, Simple, Level 1, CI-checks, CE 153 82 Minor 13 %
Useless Coalesce Analyze, All, ChangedBehavior 163 111 Minor 0 %
Useless Global Analyze, OneFile, All, Simple, Level 2, ChangedBehavior 10 6 Minor 11 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, CE, ChangedBehavior 969 498 Minor 54 %
Useless Null Coalesce Analyze, All, Typehints, ChangedBehavior 491 232 Minor 0 %
Useless Parenthesis Analyze, All, Simple, CI-checks, CE, ChangedBehavior 2086 951 Minor 52 %
Useless Short Ternary Analyze, All, ChangedBehavior 123 87 Minor 0 %
Useless Switch Analyze, All, Simple, ChangedBehavior 392 308 Major 10 %
Useless Unset Analyze, OneFile, ClearPHP, All, Simple, Level 2, CI-checks, CE, ChangedBehavior 3 3 Major 12 %
var_dump()... Usage Analyze, Security, ClearPHP, All, CI-checks, CE, ChangedBehavior 15 10 Critical 19 %
Wrong Locale Analyze, All, Semantics, ChangedBehavior 5 4 Major 0 %
Wrong Precedence In Expression Analyze, All, ChangedBehavior 30 17 Minor 0 %
Already Parents Trait Analyze, All 42 41 Minor 0 %
Cannot Call Static Trait Method Directly Analyze, All, CompatibilityPHP81, CompatibilityPHP82, ChangedBehavior 14 4 Minor 0 %
Dependant Trait Analyze, All, Level 3, ChangedBehavior 33 33 Minor 23 %
Empty Traits Analyze, Dead code, All, Simple, ChangedBehavior 2 2 Minor 7 %
Method Collision Traits Analyze, All, LintButWontExec, ChangedBehavior 65 65 Critical 6 %
Trait Is Not A Type Analyze, All, ClassReview, Typehints 36 16 Minor 0 %
Undefined Insteadof Analyze, All, LintButWontExec, CI-checks, CE, ChangedBehavior, Undefined 8 4 Major 1 %
Undefined Trait Analyze, All, LintButWontExec, CI-checks, CE, ChangedBehavior, Undefined 12 12 Critical 19 %
No Real Comparison Analyze, PHP recommendations, All, Simple, Level 2, Top10, CI-checks, CE, ChangedBehavior 24 18 Major 13 %
One Variable String Analyze, All, RadwellCodes, Simple, CI-checks, CE, ChangedBehavior 54 32 Minor 13 %
Should Typecast Analyze, OneFile, All, Simple, Rector, CI-checks, CE, ChangedBehavior 123 42 Minor 23 %
String May Hold A Variable Analyze, All, Simple, ChangedBehavior 219 35 Minor 38 %
Missing Some Returntype Analyze, All, Typehints, CI-checks, CE, ChangedBehavior 894 663 Minor 0 %
StandaloneType True False Null Analyze, Appcontent, All, ChangedBehavior 12438 3738 Minor 0 %
Wrong Type With Default Analyze, All, LintButWontExec, ClassReview, ChangedBehavior 151 112 Minor 0 %
Assigned Twice Analyze, All, ChangedBehavior 4117 824 Minor 51 %
Overwritten Literals Analyze, All, ChangedBehavior 4764 829 Major 51 %
Recycled Variables Analyze, All 1039 203 Minor 0 %
Undefined Variable Analyze, All, CI-checks, CE, Undefined 24402 3262 Minor 37 %
Used Once Variables Analyze, OneFile, All, Simple, Top10, ChangedBehavior 208 134 Minor 54 %
Used Once Variables (In Scope) Analyze, OneFile, ClearPHP, All, Simple, Level 4, CE, ChangedBehavior 16898 3743 Minor 88 %
Written Only Variables Analyze, OneFile, All, Simple, Unused, ChangedBehavior 3960 1093 Minor 64 %