Class Could Be Final |
All, Analyze, ClassReview |
11 |
11 |
Minor |
96 % |
Method Could Be Static |
All, Analyze, ClassReview |
12 |
6 |
Minor |
92 % |
Same Name For Property And Method |
All, Analyze, ClassReview, Semantics |
2 |
1 |
Minor |
0 % |
Never Used Properties |
Analyze, All, Simple, Unused |
7 |
3 |
Minor |
71 % |
Could Use self |
Analyze, All, Simple, Suggestions, Level 3, ClassReview |
1 |
1 |
Minor |
63 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple |
12 |
6 |
Minor |
95 % |
Undefined Classes |
Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt |
30 |
8 |
Major |
91 % |
Undefined Properties |
Analyze, ClearPHP, All, Simple, CI-checks, Undefined, ChangedBehavior, CE |
15 |
4 |
Major |
61 % |
Unused Classes |
Dead code, All, Simple, Analyze, Unused |
7 |
7 |
Major |
67 % |
Unused Public Method |
All, Analyze |
15 |
9 |
Minor |
0 % |
Empty Function |
Analyze, All, Simple |
1 |
1 |
Minor |
74 % |
Insufficient Typehint |
All, Analyze, Typechecks |
1 |
1 |
Major |
43 % |
Unused Parameter |
Analyze, All, Simple, Unused |
3 |
3 |
Major |
90 % |
Wrong Type Returned |
All, Analyze, ClassReview, CI-checks, LintButWontExec, CE |
1 |
1 |
Minor |
0 % |
Undefined Interfaces |
Analyze, All, CI-checks, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE |
10 |
8 |
Major |
72 % |
Overload Existing Names |
All, Analyze, Semantics, IsPHP, IsStub, IsExt |
1 |
1 |
Minor |
0 % |
Unresolved Use |
Analyze, ClearPHP, All, Simple, IsPHP, IsStub, IsExt |
35 |
11 |
Major |
69 % |
Use With Fully Qualified Name |
Analyze, Coding Conventions, PHP recommendations, All, Simple |
2 |
2 |
Minor |
18 % |
Don't Pollute Global Space |
All, Analyze |
6 |
6 |
Minor |
0 % |
No Class In Global |
All, Analyze, CI-checks, CE |
6 |
6 |
Minor |
77 % |
Avoid Using stdClass |
All, Analyze, OneFile, Simple, Level 4 |
2 |
2 |
Minor |
46 % |
Undefined Trait |
Analyze, All, LintButWontExec, CI-checks, Undefined, IsPHP, IsStub, IsExt, CE |
6 |
3 |
Critical |
15 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE |
3 |
3 |
Minor |
95 % |