Avoid Optional Properties |
All, Analyze |
8 |
1 |
Major |
83 % |
Class Could Be Final |
All, Analyze, ClassReview |
4 |
4 |
Minor |
95 % |
Method Could Be Static |
All, Analyze, ClassReview |
1 |
1 |
Minor |
95 % |
Mismatch Properties Typehints |
All, Analyze, LintButWontExec, ClassReview |
1 |
1 |
Minor |
0 % |
Non Nullable Getters |
All, Analyze, ClassReview |
3 |
2 |
Minor |
0 % |
Property Used In One Method Only |
All, Analyze |
1 |
1 |
Minor |
84 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple |
2 |
2 |
Minor |
94 % |
Undefined Classes |
Analyze, All |
2 |
1 |
Major |
91 % |
Unused Methods |
Dead code, All, Simple |
13 |
3 |
Minor |
95 % |
Uncaught Exceptions |
Analyze, All |
4 |
2 |
Minor |
81 % |
Never Used Parameter |
All, Analyze, Suggestions |
2 |
1 |
Minor |
47 % |
Uses Default Values |
Analyze, All, Simple |
10 |
4 |
Minor |
97 % |
Wrong Optional Parameter |
Analyze, All, Simple, Level 1 |
1 |
1 |
Minor |
38 % |
Useless Interfaces |
Analyze, ClearPHP, All, Simple, ClassReview, Typechecks |
1 |
1 |
Minor |
57 % |
PHP 7.0 Scalar Typehints |
All, CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 |
3 |
3 |
Critical |
31 % |
Php7 Relaxed Keyword |
CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, All, Appinfo |
1 |
1 |
Major |
25 % |
PHP Keywords As Names |
Analyze, All, Simple |
4 |
1 |
Major |
89 % |
Use Nullable Type |
All, Appinfo, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 |
1 |
1 |
Major |
21 % |
Wrong Type For Native PHP Function |
All, Analyze |
8 |
4 |
Minor |
0 % |
Adding Zero |
Analyze, OneFile, ClearPHP, All, Simple, Level 1 |
1 |
1 |
Minor |
33 % |
Check JSON |
All, Analyze |
4 |
3 |
Major |
64 % |
Variable Is Not A Condition |
All, Analyze |
2 |
2 |
Minor |
57 % |
Should Chain Exception |
Analyze, All, Simple |
1 |
1 |
Minor |
36 % |