Class Could Be Final |
All, Analyze, ClassReview |
6 |
6 |
Minor |
95 % |
Method Could Be Static |
All, Analyze, ClassReview |
4 |
4 |
Minor |
95 % |
Locally Unused Property |
Dead code, All, Simple |
2 |
1 |
Minor |
76 % |
Assign Default To Properties |
Analyze, ClearPHP, All, Simple, Level 2 |
1 |
1 |
Minor |
49 % |
Property Could Be Local |
All, Analyze, ClassReview |
15 |
5 |
Minor |
71 % |
Never Used Properties |
Analyze, All, Simple |
2 |
1 |
Minor |
72 % |
Property Used In One Method Only |
All, Analyze |
3 |
2 |
Minor |
84 % |
Scalar Or Object Property |
All, Analyze |
2 |
2 |
Minor |
24 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple |
5 |
5 |
Minor |
94 % |
Undefined Classes |
Analyze, All |
13 |
4 |
Major |
91 % |
Undefined Class Constants |
Analyze, All, CI-checks |
6 |
1 |
Major |
53 % |
Unresolved Classes |
Analyze, All |
5 |
4 |
Major |
86 % |
Unused Methods |
Dead code, All, Simple |
18 |
5 |
Minor |
95 % |
Unused Private Properties |
Dead code, OneFile, All, Simple |
2 |
1 |
Minor |
37 % |
Used Once Property |
All, Analyze |
6 |
1 |
Minor |
72 % |
Wrong Typed Property Default |
All, Analyze, LintButWontExec, ClassReview, CI-checks |
3 |
3 |
Minor |
0 % |
Uncaught Exceptions |
Analyze, All |
3 |
2 |
Minor |
81 % |
Useless Catch |
All, Analyze, CI-checks |
1 |
1 |
Minor |
47 % |
Relay Function |
Analyze, All |
5 |
4 |
Major |
83 % |
Uses Default Values |
Analyze, All, Simple, CI-checks |
22 |
4 |
Minor |
97 % |
Methods Without Return |
All, Analyze |
3 |
2 |
Minor |
0 % |
Wrong Returned Type |
All, Analyze, ClassReview, CI-checks |
3 |
3 |
Minor |
0 % |
Undefined Interfaces |
Analyze, All, CI-checks |
2 |
2 |
Major |
67 % |
Useless Interfaces |
Analyze, ClearPHP, All, Simple, ClassReview, Typechecks |
1 |
1 |
Minor |
57 % |
Unresolved Use |
Analyze, ClearPHP, All, Simple |
2 |
2 |
Major |
65 % |
Incompilable Files |
Analyze, Appinfo, ClearPHP, All, Simple |
13 |
13 |
Critical |
0 % |
Wrong Parameter Type |
Analyze, OneFile, All, Simple, CI-checks |
3 |
3 |
Major |
45 % |
PHP 7.0 Scalar Typehints |
All, CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 |
31 |
7 |
Critical |
31 % |
PHP Keywords As Names |
Analyze, All, Simple |
2 |
1 |
Major |
89 % |
Typed Property Usage |
All, Appinfo, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, CompatibilityPHP73, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 |
23 |
4 |
Minor |
0 % |
Use Nullable Type |
All, Appinfo, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 |
5 |
5 |
Major |
21 % |
Wrong Type For Native PHP Function |
All, Analyze, CI-checks |
4 |
4 |
Minor |
0 % |
Missing Returntype In Method |
All, Typehints, Analyze, CI-checks |
8 |
5 |
Minor |
0 % |
Used Once Variables |
Analyze, OneFile, All, Simple, Top10 |
1 |
1 |
Minor |
87 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4 |
2 |
2 |
Minor |
95 % |
Written Only Variables |
Analyze, OneFile, All, Simple |
1 |
1 |
Minor |
78 % |