| Ambiguous Static |
All, Analyze |
5 |
5 |
Minor |
66 % |
| Ambiguous Visibilities |
All, Analyze |
4 |
4 |
Minor |
70 % |
| Class Could Be Final |
All, Analyze, ClassReview |
7 |
7 |
Minor |
96 % |
| Method Could Be Static |
All, Analyze, ClassReview |
10 |
4 |
Minor |
92 % |
| No Direct Call To Magic Method |
Analyze, All, Level 2, CI-checks, CE |
1 |
1 |
Major |
43 % |
| Parent First |
All, Analyze, Suggestions |
5 |
5 |
Minor |
56 % |
| Could Use self |
Analyze, All, Simple, Suggestions, Level 3, ClassReview |
2 |
2 |
Minor |
63 % |
| Should Use Local Class |
Analyze, ClearPHP, All, Simple |
11 |
6 |
Minor |
95 % |
| Static Methods Called From Object |
Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE |
1 |
1 |
Minor |
50 % |
| Undefined Classes |
Analyze, All, Stubs, IsPHP, IsStub, IsExt |
76 |
13 |
Major |
91 % |
| Undefined Class Constants |
Analyze, All, CI-checks, Stubs, LintButWontExec, IsPHP, IsStub, IsExt, CE |
11 |
1 |
Major |
62 % |
| Undefined Properties |
Analyze, ClearPHP, All, Simple, CI-checks, CE |
122 |
7 |
Major |
61 % |
| Undefined static:: Or self:: |
Analyze, All, Simple |
29 |
6 |
Minor |
35 % |
| Unresolved Classes |
Analyze, All, Stubs |
16 |
9 |
Major |
76 % |
| Unresolved Instanceof |
Analyze, Dead code, ClearPHP, All, Simple, Top10 |
9 |
7 |
Major |
48 % |
| Unused Class Constant |
All, Analyze, ClassReview, Unused |
2 |
1 |
Minor |
0 % |
| Use ::Class Operator |
All, Analyze, Performances, Simple, CI-checks, CE |
1 |
1 |
Minor |
71 % |
| Used Once Property |
All, Analyze |
1 |
1 |
Minor |
74 % |
| Undefined Constants |
Analyze, All, Simple, CompatibilityPHP72, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE |
5 |
1 |
Minor |
71 % |
| Throw Raw Exceptions |
All, Analyze, Suggestions |
6 |
4 |
Minor |
0 % |
| Uncaught Exceptions |
Analyze, All |
6 |
4 |
Minor |
84 % |
| Useless Catch |
All, Analyze, CI-checks, CE |
1 |
1 |
Minor |
44 % |
| Use Named Boolean In Argument Definition |
All, Analyze |
32 |
6 |
Minor |
84 % |
| Insufficient Typehint |
All, Analyze, Typechecks |
4 |
3 |
Major |
43 % |
| Mismatched Default Arguments |
All, Analyze, Typechecks |
13 |
5 |
Minor |
80 % |
| Mismatched Typehint |
All, Analyze, Typechecks |
18 |
3 |
Major |
66 % |
| Modified Typed Parameter |
All, Analyze, ClassReview |
9 |
4 |
Minor |
0 % |
| Must Return Methods |
Analyze, All, Simple, Level 2, LintButWontExec, CI-checks, CE |
2 |
1 |
Major |
34 % |
| Never Called Parameter |
All, Analyze, Suggestions, Rector, Unused |
1 |
1 |
Minor |
92 % |
| No Boolean As Default |
All, Analyze |
32 |
6 |
Minor |
84 % |
| No Return Used |
All, Analyze, Suggestions, Level 4 |
5 |
2 |
Minor |
69 % |
| Relay Function |
Analyze, All |
24 |
4 |
Major |
84 % |
| Too Many Local Variables |
All, Analyze |
1 |
1 |
Minor |
64 % |
| Typehint Must Be Returned |
All, Analyze, LintButWontExec, CI-checks, CE |
2 |
1 |
Major |
22 % |
| Undefined Functions |
Analyze, All, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE |
59 |
15 |
Major |
68 % |
| Unused Parameter |
Analyze, All, Simple, Unused |
4 |
1 |
Major |
90 % |
| Uses Default Values |
Analyze, All, Simple, CI-checks, CE |
1 |
1 |
Minor |
98 % |
| Wrong Number Of Arguments |
Analyze, OneFile, All, Simple, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE |
1 |
1 |
Major |
81 % |
| Wrong Type Returned |
All, Analyze, ClassReview, CI-checks, LintButWontExec, CE |
36 |
7 |
Minor |
0 % |
| Wrong Type With Call |
All, Analyze, Typechecks, CI-checks, CE |
3 |
3 |
Minor |
0 % |
| Interfaces Is Not Implemented |
All, Analyze, ClassReview, LintButWontExec, CI-checks, IsPHP, IsStub, IsExt, CE |
4 |
4 |
Minor |
0 % |
| Interfaces Don't Ensure Properties |
All, Analyze, ClassReview |
1 |
1 |
Minor |
0 % |
| Undefined Interfaces |
Analyze, All, CI-checks, LintButWontExec, IsPHP, IsStub, IsExt, CE |
18 |
10 |
Major |
72 % |
| Should Make Alias |
Analyze, OneFile, All, Simple, CI-checks, CE |
1 |
1 |
Minor |
46 % |
| Unresolved Use |
Analyze, ClearPHP, All, Simple |
28 |
14 |
Major |
69 % |
| Logical To in_array |
All, Analyze, Level 2 |
2 |
1 |
Minor |
67 % |
| Memoize MagicCall |
All, Analyze, ClassReview |
1 |
1 |
Minor |
0 % |
| Assumptions |
All, Analyze |
3 |
2 |
Minor |
0 % |
| Altering Foreach Without Reference |
Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE |
1 |
1 |
Major |
56 % |
| Comparison Is Always True |
All, Analyze |
5 |
4 |
Minor |
0 % |
| Bail Out Early |
All, Analyze, OneFile, Simple, Level 4 |
1 |
1 |
Minor |
64 % |
| Buried Assignation |
Analyze, All |
1 |
1 |
Minor |
84 % |
| Check Division By Zero |
All, Analyze |
4 |
1 |
Minor |
0 % |
| Could Use Short Assignation |
Analyze, OneFile, Performances, All, Simple, CI-checks, Rector, CE |
29 |
5 |
Minor |
63 % |
| Double Assignation |
Analyze, All |
1 |
1 |
Major |
59 % |
| Infinite Recursion |
All, Analyze |
1 |
1 |
Major |
0 % |
| Is Actually Zero |
All, Analyze, Level 2, CI-checks, CE |
1 |
1 |
Minor |
18 % |
| Mismatched Ternary Alternatives |
All, Analyze, Suggestions, Level 4 |
1 |
1 |
Major |
64 % |
| Nested Ternary |
Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE |
1 |
1 |
Major |
50 % |
| Variable Is Not A Condition |
All, Analyze |
16 |
6 |
Minor |
93 % |
| Should Make Ternary |
All, Analyze, OneFile, Simple, CI-checks, CE |
1 |
1 |
Minor |
86 % |
| Preprocessable |
Analyze, All, Rector |
4 |
2 |
Minor |
85 % |
| Switch Without Default |
Analyze, ClearPHP, All, Simple, CI-checks, CE |
3 |
1 |
Major |
69 % |
| Unsupported Types With Operators |
All, Analyze, CompatibilityPHP80, CE |
6 |
3 |
Minor |
0 % |
| Use Positive Condition |
All, Analyze, OneFile, Simple |
1 |
1 |
Minor |
82 % |
| Use Same Types For Comparisons |
All, Analyze |
1 |
1 |
Minor |
0 % |
| Useless Type Casting |
All, PHP recommendations, Analyze, OneFile, RadwellCodes, Simple, Level 4, CI-checks, CE |
6 |
1 |
Minor |
47 % |
| Useless Null Coalesce |
All, Analyze, Typehints |
3 |
3 |
Minor |
0 % |
| Cannot Call Static Trait Method Directly |
All, Analyze, CompatibilityPHP81, CompatibilityPHP82 |
30 |
6 |
Minor |
0 % |
| Dependant Trait |
Analyze, All, Level 3 |
7 |
7 |
Minor |
28 % |
| Missing Some Returntype |
All, Typehints, Analyze, CI-checks, CE |
10 |
5 |
Minor |
0 % |
| Assigned Twice |
All, Analyze |
9 |
2 |
Minor |
79 % |
| Overwritten Literals |
Analyze, All |
9 |
2 |
Major |
79 % |
| Undefined Variable |
All, Analyze, CI-checks, CE |
3 |
1 |
Minor |
77 % |
| Used Once Variables |
Analyze, OneFile, All, Simple, Top10 |
1 |
1 |
Minor |
74 % |
| Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE |
8 |
2 |
Minor |
95 % |