Ambiguous Array Index |
Analyze, All, Simple, Level 2, Semantics, ChangedBehavior |
17 |
10 |
Minor |
10 % |
Append And Assign Arrays |
All, Internal, Analyze, ChangedBehavior |
1 |
1 |
Minor |
0 % |
Null Or Boolean Arrays |
All, Analyze |
12 |
2 |
Minor |
0 % |
Randomly Sorted Arrays |
All, Analyze, Level 4, Suggestions |
4 |
1 |
Minor |
41 % |
Too Many Array Dimensions |
All, Analyze |
11 |
1 |
Minor |
0 % |
Weak Type With Array |
All, Analyze, ChangedBehavior |
343 |
35 |
Minor |
0 % |
Abstract Or Implements |
All, Analyze, LintButWontExec, ChangedBehavior |
18 |
18 |
Major |
24 % |
Ambiguous Static |
All, Analyze, Semantics, ChangedBehavior |
11 |
11 |
Minor |
66 % |
Ambiguous Visibilities |
All, Analyze, Semantics, ChangedBehavior |
52 |
32 |
Minor |
70 % |
Avoid Optional Properties |
All, Analyze, ChangedBehavior |
24 |
14 |
Major |
84 % |
Class, Interface, Enum Or Trait With Identical Names |
Analyze, All, ChangedBehavior |
2 |
2 |
Minor |
19 % |
Could Be Abstract Class |
All, Analyze, ClassReview, ChangedBehavior |
88 |
87 |
Minor |
65 % |
Class Could Be Final |
All, Analyze, ClassReview, ChangedBehavior |
142 |
142 |
Minor |
96 % |
Method Could Be Static |
All, Analyze, ClassReview, ChangedBehavior |
97 |
48 |
Minor |
92 % |
Could Inject Parameter |
All, Analyze, ClassReview, ChangedBehavior |
51 |
24 |
Minor |
0 % |
Dependant Abstract Classes |
All, Analyze, ClassReview, ChangedBehavior |
4 |
4 |
Minor |
0 % |
Different Argument Counts |
All, Analyze, ClassReview, ChangedBehavior |
1 |
1 |
Minor |
0 % |
No Direct Call To Magic Method |
Analyze, All, Level 2, CI-checks, CE |
2 |
1 |
Major |
43 % |
Empty Classes |
Analyze, All, Simple, ChangedBehavior |
46 |
46 |
Minor |
60 % |
Implicit Nullable Type |
All, Analyze, ClassReview, ChangedBehavior |
7 |
4 |
Minor |
0 % |
Incompatible Signature Methods With Covariance |
All, Analyze, ChangedBehavior |
25 |
7 |
Critical |
0 % |
Inherited Property Type Must Match |
All, Analyze, LintButWontExec, ClassReview, ChangedBehavior |
7 |
7 |
Minor |
0 % |
Assign Default To Properties |
Analyze, ClearPHP, All, Simple, Level 2, ChangedBehavior |
1 |
1 |
Minor |
71 % |
Make Global A Property |
Analyze, All, Simple, ChangedBehavior |
1 |
1 |
Minor |
37 % |
Method Signature Must Be Compatible |
All, Analyze, LintButWontExec, ChangedBehavior |
39 |
14 |
Critical |
53 % |
Mismatch Properties Types |
All, Analyze, LintButWontExec, ClassReview, ChangedBehavior |
14 |
10 |
Minor |
0 % |
Multiple Class Declarations |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
2 |
1 |
Major |
29 % |
New Object Then Immediate Call |
All, Analyze, ClassReview |
38 |
27 |
Minor |
0 % |
self, parent, static Outside Class |
All, Analyze, LintButWontExec, ChangedBehavior |
4 |
1 |
Major |
8 % |
No Public Access |
Analyze, All, ChangedBehavior |
9 |
7 |
Minor |
61 % |
Non Nullable Getters |
All, Analyze, ClassReview, ChangedBehavior |
13 |
8 |
Minor |
0 % |
Property Could Be Local |
All, Analyze, ClassReview, ChangedBehavior |
2 |
2 |
Minor |
76 % |
Same Name For Property And Method |
All, Analyze, ClassReview, Semantics, ChangedBehavior |
24 |
8 |
Minor |
0 % |
Never Used Properties |
Analyze, All, Simple, Unused, ChangedBehavior |
29 |
15 |
Minor |
71 % |
Property Used In One Method Only |
All, Analyze, ChangedBehavior |
55 |
31 |
Minor |
84 % |
Could Use self |
Analyze, All, Simple, Suggestions, Level 3, ClassReview, ChangedBehavior |
6 |
2 |
Minor |
63 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple, ChangedBehavior |
100 |
53 |
Minor |
95 % |
Too Many Dereferencing |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
0 % |
Wrong Access Style to Property |
All, Analyze, Level 2, ClassReview, CI-checks, CE |
25 |
7 |
Critical |
37 % |
Undefined Classes |
Analyze, All, Stubs, Undefined |
1056 |
145 |
Major |
91 % |
Undefined Class Constants |
Analyze, All, CI-checks, Stubs, LintButWontExec, Undefined, ChangedBehavior, CE |
59 |
24 |
Major |
62 % |
Undefined Properties |
Analyze, ClearPHP, All, Simple, CI-checks, CompatibilityPHP82, Undefined, ChangedBehavior, CE |
83 |
24 |
Major |
61 % |
Undefined static:: Or self:: |
Analyze, All, Simple, Undefined, ChangedBehavior |
1 |
1 |
Minor |
35 % |
Undefined static ::class |
All, Analyze, CI-checks, Undefined, ChangedBehavior, CE |
13 |
6 |
Major |
36 % |
Unfinished Object |
All, Analyze, ClassReview, ChangedBehavior |
20 |
12 |
Major |
0 % |
Unreachable Method |
All, Analyze, Dead code, ClassReview, Unused, ChangedBehavior |
2 |
2 |
Minor |
0 % |
Unresolved Classes |
Analyze, All, Stubs, ChangedBehavior |
56 |
24 |
Major |
76 % |
Unresolved Instanceof |
Analyze, Dead code, ClearPHP, All, Simple, Top10, ChangedBehavior |
6 |
5 |
Major |
48 % |
Unused Classes |
Dead code, All, Simple, Analyze, Unused, ChangedBehavior |
21 |
21 |
Major |
67 % |
Unused Class Constant |
All, Analyze, ClassReview, Unused, ChangedBehavior |
39 |
7 |
Minor |
0 % |
Unused Public Methods |
All, Analyze, ChangedBehavior |
653 |
102 |
Minor |
0 % |
Use ::Class Operator |
All, Analyze, Performances, Simple, CI-checks, ChangedBehavior, CE |
15 |
5 |
Minor |
71 % |
Use Instanceof |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
2 |
2 |
Major |
63 % |
Used Once Property |
All, Analyze, ChangedBehavior |
9 |
7 |
Minor |
74 % |
Useless Abstract Class |
Analyze, All, Simple, ChangedBehavior |
4 |
4 |
Minor |
33 % |
Useless Method |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
0 % |
Weak Typing |
All, Analyze, ChangedBehavior |
6 |
4 |
Minor |
47 % |
Wrong Typed Property Default |
All, Analyze, LintButWontExec, ClassReview, CI-checks, CE |
12 |
7 |
Minor |
0 % |
Use const |
Analyze, Coding Conventions, All, Top10, CI-checks, CE |
2 |
1 |
Minor |
54 % |
Constant Used Only Once |
All, Analyze, ChangedBehavior |
17 |
9 |
Minor |
0 % |
Multiple Constant Definition |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
2 |
2 |
Minor |
41 % |
Undefined Constants |
Analyze, All, Simple, CompatibilityPHP72, CI-checks, Stubs, Undefined, ChangedBehavior, CE |
10 |
2 |
Minor |
71 % |
Converted Exceptions |
All, Analyze, ChangedBehavior |
9 |
6 |
Minor |
0 % |
Forgotten Thrown |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
20 % |
Throw Raw Exceptions |
All, Analyze, Suggestions, ChangedBehavior |
150 |
36 |
Minor |
0 % |
Uncaught Exceptions |
Analyze, All, ChangedBehavior |
165 |
42 |
Minor |
84 % |
Unthrown Exception |
Analyze, Dead code, ClearPHP, All, Simple, ChangedBehavior |
6 |
6 |
Minor |
45 % |
Useless Try |
All, Analyze, ChangedBehavior |
27 |
14 |
Minor |
0 % |
Missing Include |
All, Analyze, ChangedBehavior |
2 |
2 |
Critical |
65 % |
Use Named Boolean In Argument Definition |
All, Analyze, ChangedBehavior |
45 |
23 |
Minor |
84 % |
Could Make A Function |
All, Analyze, Suggestions, ChangedBehavior |
279 |
56 |
Minor |
66 % |
Don't Collect Void |
All, Analyze, ChangedBehavior |
36 |
12 |
Minor |
0 % |
Empty Function |
Analyze, All, Simple, ChangedBehavior |
6 |
3 |
Minor |
74 % |
Hardcoded Passwords |
Analyze, OneFile, Security, All, Simple, Level 3, ChangedBehavior |
131 |
16 |
Major |
70 % |
Insufficient Type |
All, Analyze, Typechecks, ChangedBehavior |
4 |
3 |
Major |
43 % |
Method Is Not An If |
All, Analyze |
12 |
10 |
Minor |
0 % |
Mismatch Parameter Name |
All, Analyze, CompatibilityPHP80, ChangedBehavior, CE |
8 |
5 |
Minor |
0 % |
Mismatched Default Arguments |
All, Analyze, Typechecks, ChangedBehavior |
12 |
8 |
Minor |
80 % |
Mismatched Type |
All, Analyze, Typechecks, ChangedBehavior |
30 |
16 |
Major |
66 % |
Modified Typed Parameter |
All, Analyze, ClassReview, ChangedBehavior |
1 |
1 |
Minor |
0 % |
Must Return Methods |
Analyze, All, Simple, Level 2, LintButWontExec, CI-checks, ChangedBehavior, CE |
4 |
3 |
Major |
34 % |
Never Called Parameter |
All, Analyze, Suggestions, Rector, Unused |
19 |
13 |
Minor |
92 % |
No Boolean As Default |
All, Analyze |
38 |
20 |
Minor |
84 % |
No Return Used |
All, Analyze, Suggestions, Level 4, ChangedBehavior |
66 |
21 |
Minor |
69 % |
Retyped Reference |
All, Analyze, Typehints, ChangedBehavior |
2 |
1 |
Major |
0 % |
Should Use Existing Constants |
Analyze, All, Simple, ChangedBehavior |
3 |
3 |
Minor |
32 % |
Too Many Local Variables |
All, Analyze |
13 |
11 |
Minor |
64 % |
Undefined Functions |
Analyze, All, CI-checks, Stubs, Undefined, CE |
101 |
29 |
Major |
68 % |
Unused Parameter |
Analyze, All, Simple, Unused |
37 |
18 |
Major |
90 % |
Unused Inherited Variable In Closure |
All, Analyze, Dead code, CI-checks, Unused, ChangedBehavior, CE |
1 |
1 |
Major |
23 % |
Unused Returned Value |
All, Analyze, OneFile, Dead code, Simple, Unused |
228 |
48 |
Minor |
41 % |
Use Constant As Arguments |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
3 |
3 |
Major |
30 % |
Useless Argument |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
0 % |
Useless Referenced Argument |
All, Analyze, ChangedBehavior |
3 |
1 |
Minor |
58 % |
Useless Return |
Analyze, OneFile, All, Simple, Level 4 |
4 |
4 |
Minor |
30 % |
Uses Default Values |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
1492 |
102 |
Minor |
98 % |
Wrong Argument Type |
All, Analyze, Typechecks, ChangedBehavior |
45 |
18 |
Minor |
0 % |
Wrong Number Of Arguments |
Analyze, OneFile, All, Simple, CI-checks, Stubs, ChangedBehavior, CE |
59 |
17 |
Major |
81 % |
Wrong Type Returned |
All, Analyze, ClassReview, CI-checks, LintButWontExec, ChangedBehavior, CE |
374 |
68 |
Minor |
0 % |
Wrong Type With Call |
All, Analyze, Typechecks, CI-checks, ChangedBehavior, CE |
423 |
71 |
Minor |
0 % |
Forgotten Interface |
All, Analyze, ChangedBehavior |
8 |
8 |
Minor |
48 % |
Empty Interfaces |
Analyze, All, Simple, ChangedBehavior |
1 |
1 |
Minor |
41 % |
Undefined Interfaces |
Analyze, All, CI-checks, LintButWontExec, Undefined, ChangedBehavior, CE |
155 |
69 |
Major |
72 % |
Useless Interfaces |
Analyze, ClearPHP, All, Simple, ClassReview, Typechecks, ChangedBehavior |
2 |
2 |
Minor |
59 % |
Hidden Use Expression |
Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE |
5 |
3 |
Minor |
23 % |
Multiple Alias Definitions |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
146 |
109 |
Minor |
44 % |
Should Make Alias |
Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE |
6 |
3 |
Minor |
46 % |
Unresolved Use |
Analyze, ClearPHP, All, Simple, ChangedBehavior |
305 |
117 |
Major |
69 % |
No array_merge() In Loops |
Analyze, Performances, ClearPHP, All, Simple, Level 2, Top10, CI-checks, ChangedBehavior, CE |
14 |
10 |
Major |
57 % |
Logical To in_array |
All, Analyze, Level 2, ChangedBehavior |
22 |
10 |
Minor |
67 % |
Pre-increment |
Analyze, Performances, All, Simple, Level 4, CI-checks, ChangedBehavior, CE |
19 |
10 |
Minor |
74 % |
strpos() Too Much |
All, Analyze, CI-checks, ChangedBehavior, CE |
9 |
8 |
Minor |
49 % |
array_key_exists() Works On Arrays |
All, CompatibilityPHP74, Analyze, ChangedBehavior, CE |
8 |
5 |
Minor |
0 % |
Assumptions |
All, Analyze, ChangedBehavior |
31 |
12 |
Minor |
0 % |
Use random_int() |
Analyze, Security, All, CompatibilityPHP71, Simple, Level 2, CI-checks, ChangedBehavior, CE |
11 |
9 |
Major |
59 % |
Don't Pollute Global Space |
All, Analyze |
28 |
4 |
Minor |
0 % |
False To Array Conversion |
All, LintButWontExec, CompatibilityPHP81, CompatibilityPHP82, Analyze, ChangedBehavior |
36 |
6 |
Minor |
0 % |
Wrong Parameter Type |
Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE |
23 |
10 |
Major |
76 % |
Use === null |
Analyze, OneFile, All, RadwellCodes, Simple, php-cs-fixable, CI-checks, ChangedBehavior, CE |
31 |
12 |
Minor |
53 % |
PHP Native Interfaces and Return Type |
All, Analyze, LintButWontExec, CompatibilityPHP81, Deprecated, ChangedBehavior |
2 |
1 |
Minor |
0 % |
Possible Missing Subpattern |
All, Analyze, Top10, CI-checks, ChangedBehavior, CE |
1 |
1 |
Minor |
45 % |
PHP Native Class Type Compatibility |
All, Analyze, CompatibilityPHP81, ChangedBehavior |
7 |
2 |
Major |
0 % |
No Class In Global |
All, Analyze, CI-checks, ChangedBehavior, CE |
25 |
3 |
Minor |
77 % |
No Null For Native PHP Functions |
All, Analyze, CompatibilityPHP81, Deprecated, ChangedBehavior |
78 |
28 |
Minor |
0 % |
Scalar Are Not Arrays |
All, Analyze, CompatibilityPHP74, CI-checks, ChangedBehavior, CE |
8 |
1 |
Minor |
0 % |
Should Use Coalesce |
Analyze, All, Simple, Suggestions, Level 3, CI-checks, ChangedBehavior, CE |
21 |
6 |
Major |
71 % |
Avoid Using stdClass |
All, Analyze, OneFile, Simple, Level 4 |
2 |
1 |
Minor |
46 % |
Wrong Type For Native PHP Function |
All, Analyze, CI-checks, ChangedBehavior, CE |
50 |
24 |
Minor |
0 % |
Don't Echo Error |
All, Analyze, Security, Simple, Level 1, CI-checks, ChangedBehavior, CE |
1 |
1 |
Critical |
35 % |
Should Use Prepared Statement |
Analyze, Security, All, Simple, CI-checks, ChangedBehavior, CE |
2 |
1 |
Major |
28 % |
Altering Foreach Without Reference |
Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE |
4 |
4 |
Major |
56 % |
Comparison Is Always The Same |
All, Analyze, ChangedBehavior |
56 |
20 |
Minor |
0 % |
Bail Out Early |
All, Analyze, OneFile, Simple, Level 4, ChangedBehavior |
65 |
32 |
Minor |
64 % |
Strict Comparison With Booleans |
Analyze, All, Simple, Suggestions, Level 2, CI-checks, ChangedBehavior, CE |
75 |
24 |
Minor |
77 % |
Buried Assignation |
Analyze, All, ChangedBehavior |
15 |
12 |
Minor |
84 % |
Cast To Boolean |
Analyze, OneFile, All, Simple, Level 1, ChangedBehavior |
9 |
7 |
Minor |
56 % |
Casting Ternary |
All, Analyze, OneFile, CI-checks, ChangedBehavior, CE |
2 |
2 |
Major |
0 % |
Check All Types |
All, Analyze, ChangedBehavior |
23 |
9 |
Major |
69 % |
Check JSON |
All, Analyze, CI-checks, CE |
23 |
14 |
Major |
65 % |
Common Alternatives |
Analyze, All, Simple, ChangedBehavior |
14 |
9 |
Major |
80 % |
Could Be Else |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
49 % |
Could Be A Static Variable |
Analyze, OneFile, All, ClassReview, ChangedBehavior |
1 |
1 |
Major |
23 % |
Could Use Short Assignation |
Analyze, OneFile, Performances, All, Simple, CI-checks, Rector, ChangedBehavior, CE |
6 |
4 |
Minor |
63 % |
Dangling Array References |
PHP recommendations, Analyze, ClearPHP, All, Simple, Level 1, Top10, CI-checks, ChangedBehavior, CE |
5 |
5 |
Major |
46 % |
Default Then Discard |
All, Analyze, Readability, ChangedBehavior |
1 |
1 |
Minor |
0 % |
Don't Change The Blind Var |
All, Analyze, ChangedBehavior |
16 |
14 |
Minor |
73 % |
Double Checks |
All, Analyze, ChangedBehavior |
2 |
2 |
Minor |
0 % |
Double Instructions |
Analyze, All, Simple, ChangedBehavior |
2 |
2 |
Minor |
57 % |
Drop Else After Return |
All, Analyze, OneFile, Simple, Suggestions, Level 4, CI-checks, ChangedBehavior, CE |
9 |
8 |
Minor |
70 % |
Else If Versus Elseif |
Analyze, All, Simple, php-cs-fixable, Rector, CI-checks, CE |
13 |
9 |
Minor |
66 % |
Empty Instructions |
Dead code, Analyze, All, Simple, ChangedBehavior |
1 |
1 |
Minor |
57 % |
Global Usage |
Analyze, Appinfo, ClearPHP, All, ChangedBehavior, CE |
1 |
1 |
Minor |
52 % |
Identical Case In Switch |
All, Analyze, ChangedBehavior |
4 |
2 |
Minor |
0 % |
Identical Consecutive Expression |
All, Analyze, ChangedBehavior |
7 |
3 |
Minor |
59 % |
If With Same Conditions |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
1 |
1 |
Major |
47 % |
Iffectations |
Analyze, All, ChangedBehavior |
3 |
2 |
Minor |
80 % |
Implied If |
Analyze, ClearPHP, All, Simple, CI-checks, Rector, ChangedBehavior, CE |
36 |
20 |
Major |
33 % |
Indices Are Int Or String |
Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE |
21 |
6 |
Major |
20 % |
Infinite Recursion |
All, Analyze, ChangedBehavior |
3 |
2 |
Major |
0 % |
list() May Omit Variables |
Analyze, All, Simple, Suggestions, Level 3, CI-checks, CE |
6 |
2 |
Minor |
37 % |
Long Arguments |
All, Analyze, ChangedBehavior |
29 |
14 |
Minor |
68 % |
Max Level Of Nesting |
All, Analyze, ChangedBehavior |
13 |
9 |
Minor |
0 % |
Merge If Then |
All, Analyze, CI-checks, ChangedBehavior, CE |
14 |
14 |
Minor |
0 % |
Could Merge Ternary Into Ifthen |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
0 % |
Missing Assignation In Branches |
All, Analyze, ChangedBehavior |
107 |
37 |
Minor |
0 % |
Mixed Concat And Interpolation |
All, Coding Conventions, Analyze |
4 |
4 |
Minor |
45 % |
Modernize Empty With Expression |
All, Analyze, OneFile, Simple, ChangedBehavior |
51 |
25 |
Minor |
63 % |
Multiple Type Variable |
All, Analyze, Level 4, ChangedBehavior |
6 |
3 |
Minor |
58 % |
Nested Ifthen |
Analyze, All, RadwellCodes, ChangedBehavior |
51 |
20 |
Major |
84 % |
Nested Ternary |
Analyze, ClearPHP, All, Simple, Level 1, CI-checks, ChangedBehavior, CE |
4 |
3 |
Major |
50 % |
No Choice |
Analyze, All, Simple, Level 2, Top10, CI-checks, Rector, ChangedBehavior, CE |
20 |
9 |
Major |
42 % |
No Direct Usage Of Returned Value |
Analyze, All, Simple, ChangedBehavior |
2 |
2 |
Major |
39 % |
No Hardcoded Hash |
Analyze, Security, All, Simple, ChangedBehavior |
4 |
2 |
Critical |
45 % |
No Hardcoded Ip |
Analyze, ClearPHP, Security, All, Simple, ChangedBehavior |
1 |
1 |
Minor |
25 % |
No isset() With empty() |
All, PHP recommendations, Analyze, OneFile, RadwellCodes, Simple, Level 4, CI-checks, ChangedBehavior, CE |
21 |
4 |
Minor |
30 % |
No Need For Else |
All, Analyze, ChangedBehavior |
13 |
10 |
Minor |
74 % |
No Need For Triple Equal |
All, Analyze, ChangedBehavior |
10 |
4 |
Minor |
0 % |
No Null For Index |
All, Analyze, ChangedBehavior |
28 |
9 |
Minor |
0 % |
No Parenthesis For Language Construct |
Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks, ChangedBehavior, CE |
2 |
1 |
Minor |
62 % |
Avoid Substr() One |
Analyze, Performances, All, CompatibilityPHP71, Simple, Level 2, Suggestions, Top10, CI-checks, ChangedBehavior, CE |
16 |
5 |
Minor |
58 % |
Variable Is Not A Condition |
All, Analyze, ChangedBehavior |
163 |
42 |
Minor |
93 % |
Non Integer Nor String As Index |
All, Analyze, ChangedBehavior |
19 |
5 |
Minor |
0 % |
Not Not |
Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE |
1 |
1 |
Minor |
14 % |
Objects Don't Need References |
Analyze, ClearPHP, OneFile, All, Simple, Level 2, Top10, CI-checks, ChangedBehavior, CE |
2 |
1 |
Minor |
40 % |
include_once() Usage |
Analyze, Appinfo, All, ChangedBehavior, CE |
6 |
5 |
Minor |
73 % |
Queries In Loops |
Analyze, OneFile, All, Simple, Level 1, Top10, ChangedBehavior |
1 |
1 |
Major |
8 % |
Repeated Regex |
All, Analyze, Level 1, CI-checks, ChangedBehavior, CE |
2 |
1 |
Minor |
47 % |
Return True False |
Analyze, All, Simple, Level 1, CI-checks, ChangedBehavior, CE |
5 |
4 |
Major |
46 % |
Same Conditions In Condition |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
1 |
1 |
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 |
45 |
19 |
Minor |
86 % |
Preprocessable |
Analyze, All, Rector, ChangedBehavior |
89 |
38 |
Minor |
85 % |
Should Use Explode Args |
All, Analyze, CI-checks, ChangedBehavior, CE |
2 |
2 |
Minor |
0 % |
Static Inclusions |
All, Analyze, ChangedBehavior |
9 |
8 |
Minor |
0 % |
Static Loop |
Analyze, All, Simple, Level 4, ChangedBehavior |
3 |
3 |
Minor |
67 % |
Strpos()-like Comparison |
Analyze, PHP recommendations, ClearPHP, All, Simple, Level 2, Top10, CI-checks, ChangedBehavior, CE |
10 |
7 |
Major |
54 % |
Suspicious Comparison |
All, Analyze, Level 3, ChangedBehavior |
10 |
6 |
Major |
39 % |
Switch To Switch |
Analyze, All, RadwellCodes, Simple, ChangedBehavior |
8 |
5 |
Minor |
58 % |
Switch Without Default |
Analyze, ClearPHP, All, Simple, CI-checks, ChangedBehavior, CE |
6 |
4 |
Major |
69 % |
Ternary In Concat |
Analyze, All, Simple, Level 3, CI-checks, ChangedBehavior, CE |
2 |
1 |
Critical |
8 % |
Test Then Cast |
All, Analyze, ChangedBehavior |
2 |
2 |
Major |
34 % |
Timestamp Difference |
Analyze, All, Simple, Level 3, CI-checks, ChangedBehavior, CE |
7 |
4 |
Major |
49 % |
Unconditional Break In Loop |
All, Analyze, Level 3, CI-checks, CE |
1 |
1 |
Major |
48 % |
Avoid get_class() |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
1 |
1 |
Minor |
32 % |
Use Positive Condition |
All, Analyze, OneFile, Simple, ChangedBehavior |
24 |
16 |
Minor |
82 % |
Use Same Types For Comparisons |
All, Analyze |
2 |
1 |
Minor |
0 % |
Useless Type Casting |
All, PHP recommendations, Analyze, OneFile, RadwellCodes, Simple, Level 4, CI-checks, ChangedBehavior, CE |
4 |
2 |
Minor |
47 % |
Useless Check |
All, Analyze, OneFile, Simple, Level 1, CI-checks, CE |
1 |
1 |
Minor |
35 % |
Useless Coalesce |
All, Analyze, ChangedBehavior |
2 |
2 |
Minor |
0 % |
Useless Global |
Analyze, OneFile, All, Simple, Level 2, ChangedBehavior |
1 |
1 |
Minor |
27 % |
Useless Instructions |
Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, ChangedBehavior, CE |
20 |
9 |
Minor |
63 % |
Useless Null Coalesce |
All, Analyze, Typehints, ChangedBehavior |
4 |
3 |
Minor |
0 % |
Useless Parenthesis |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
11 |
8 |
Minor |
81 % |
Useless Short Ternary |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
0 % |
Dependant Trait |
Analyze, All, Level 3, ChangedBehavior |
1 |
1 |
Minor |
28 % |
Empty Traits |
Analyze, All, Simple, Dead code, ChangedBehavior |
2 |
2 |
Minor |
12 % |
Undefined Trait |
Analyze, All, LintButWontExec, CI-checks, Undefined, ChangedBehavior, CE |
2 |
2 |
Critical |
15 % |
One Variable String |
Analyze, All, RadwellCodes, Simple, CI-checks, ChangedBehavior, CE |
2 |
1 |
Minor |
33 % |
Should Typecast |
Analyze, OneFile, All, Simple, CI-checks, Rector, ChangedBehavior, CE |
4 |
1 |
Minor |
49 % |
String May Hold A Variable |
Analyze, All, Simple, ChangedBehavior |
39 |
4 |
Minor |
59 % |
Missing Some Returntype |
All, Typehints, Analyze, CI-checks, ChangedBehavior, CE |
20 |
11 |
Minor |
0 % |
StandaloneType True False Null |
All, Appcontent, Analyze, ChangedBehavior |
137 |
38 |
Minor |
0 % |
Wrong Type With Default |
All, Analyze, LintButWontExec, ClassReview, ChangedBehavior |
156 |
46 |
Minor |
0 % |
Assigned Twice |
All, Analyze, ChangedBehavior |
89 |
17 |
Minor |
79 % |
Overwritten Literals |
Analyze, All, ChangedBehavior |
200 |
17 |
Major |
79 % |
Recycled Variables |
All, Analyze |
4 |
2 |
Minor |
0 % |
Undefined Variable |
All, Analyze, CI-checks, Undefined, CE |
29 |
5 |
Minor |
77 % |
Used Once Variables |
Analyze, OneFile, All, Simple, Top10, ChangedBehavior |
6 |
5 |
Minor |
74 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4, ChangedBehavior, CE |
2603 |
101 |
Minor |
95 % |
Written Only Variables |
Analyze, OneFile, All, Simple, Unused, ChangedBehavior |
82 |
21 |
Minor |
87 % |