Class Could Be Final |
All, Analyze, ClassReview |
7 |
7 |
Minor |
96 % |
Method Could Be Static |
All, Analyze, ClassReview |
4 |
2 |
Minor |
92 % |
No Public Access |
Analyze, All |
3 |
1 |
Minor |
61 % |
Parent First |
All, Analyze, Suggestions |
1 |
1 |
Minor |
56 % |
Never Used Properties |
Analyze, All, Simple, Unused |
8 |
2 |
Minor |
71 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple |
14 |
7 |
Minor |
95 % |
Too Many Dereferencing |
All, Analyze |
1 |
1 |
Minor |
0 % |
Undefined Classes |
Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt |
74 |
6 |
Major |
91 % |
Undefined Class Constants |
Analyze, All, CI-checks, Stubs, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE |
3 |
3 |
Major |
62 % |
Undefined Properties |
Analyze, ClearPHP, All, Simple, CI-checks, Undefined, ChangedBehavior, CE |
20 |
3 |
Major |
61 % |
Undefined ::class |
All, Analyze, CI-checks, Undefined, CE |
1 |
1 |
Major |
36 % |
Unresolved Classes |
Analyze, All, Stubs |
20 |
3 |
Major |
76 % |
Unresolved Instanceof |
Analyze, Dead code, ClearPHP, All, Simple, Top10 |
6 |
3 |
Major |
48 % |
Unused Class Constant |
All, Analyze, ClassReview, Unused |
1 |
1 |
Minor |
0 % |
Unused Public Method |
All, Analyze |
9 |
5 |
Minor |
0 % |
Use Instanceof |
Analyze, All, Simple, CI-checks, CE |
1 |
1 |
Major |
63 % |
Undefined Constants |
Analyze, All, Simple, CompatibilityPHP72, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE |
3 |
1 |
Minor |
71 % |
Uncaught Exceptions |
Analyze, All |
1 |
1 |
Minor |
84 % |
Empty Function |
Analyze, All, Simple |
2 |
1 |
Minor |
74 % |
Mismatched Typehint |
All, Analyze, Typechecks |
5 |
2 |
Major |
66 % |
Relay Function |
Analyze, All |
1 |
1 |
Major |
84 % |
Undefined Functions |
Analyze, All, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE |
25 |
5 |
Major |
68 % |
Uses Default Values |
Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE |
1 |
1 |
Minor |
98 % |
Wrong Type Returned |
All, Analyze, ClassReview, CI-checks, LintButWontExec, CE |
4 |
3 |
Minor |
0 % |
Wrong Type With Call |
All, Analyze, Typechecks, CI-checks, CE |
5 |
1 |
Minor |
0 % |
Undefined Interfaces |
Analyze, All, CI-checks, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE |
29 |
5 |
Major |
72 % |
Overload Existing Names |
All, Analyze, Semantics, IsPHP, IsStub, IsExt |
4 |
2 |
Minor |
0 % |
Unresolved Use |
Analyze, ClearPHP, All, Simple, IsPHP, IsStub, IsExt |
30 |
8 |
Major |
69 % |
Pre-increment |
Analyze, Performances, All, Simple, Level 4, CI-checks, CE |
1 |
1 |
Minor |
74 % |
Assumptions |
All, Analyze |
1 |
1 |
Minor |
0 % |
Logical Should Use Symbolic Operators |
Analyze, OneFile, ClearPHP, All, Simple, Suggestions, Level 2, Top10, php-cs-fixable, CI-checks, CE |
1 |
1 |
Minor |
43 % |
Comparison Is Always True |
All, Analyze |
1 |
1 |
Minor |
0 % |
Bail Out Early |
All, Analyze, OneFile, Simple, Level 4 |
2 |
2 |
Minor |
64 % |
Iffectations |
Analyze, All |
2 |
2 |
Minor |
80 % |
No Choice |
Analyze, All, Simple, Level 2, Top10, CI-checks, Rector, CE |
2 |
2 |
Major |
42 % |
Variable Is Not A Condition |
All, Analyze |
1 |
1 |
Minor |
93 % |
Preprocessable |
Analyze, All, Rector |
2 |
1 |
Minor |
85 % |
Useless Instructions |
Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, CE |
2 |
2 |
Minor |
63 % |
Missing Some Returntype |
All, Typehints, Analyze, CI-checks, CE |
3 |
2 |
Minor |
0 % |