Class Could Be Final |
All, Analyze, ClassReview |
2 |
2 |
Minor |
95 % |
Method Could Be Static |
All, Analyze, ClassReview |
2 |
2 |
Minor |
95 % |
Locally Unused Property |
Dead code, All, Simple |
2 |
2 |
Minor |
76 % |
Parent First |
All, Analyze, Suggestions |
2 |
2 |
Minor |
55 % |
Property Could Be Local |
All, Analyze, ClassReview |
2 |
2 |
Minor |
71 % |
Never Used Properties |
Analyze, All, Simple |
2 |
2 |
Minor |
72 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple |
2 |
2 |
Minor |
94 % |
Undefined Classes |
Analyze, All |
30 |
4 |
Major |
91 % |
Undefined Class Constants |
Analyze, All |
13 |
2 |
Major |
53 % |
Unresolved Classes |
Analyze, All |
5 |
2 |
Major |
86 % |
Unused Methods |
Dead code, All, Simple |
6 |
2 |
Minor |
95 % |
Unused Protected Methods |
Dead code, All |
2 |
2 |
Major |
72 % |
Uncaught Exceptions |
Analyze, All |
5 |
2 |
Minor |
81 % |
Aliases Usage |
Analyze, ClearPHP, OneFile, All, Simple, Level 1 |
1 |
1 |
Minor |
42 % |
Callback Needs Return |
All, Analyze |
2 |
2 |
Major |
51 % |
Must Return Methods |
Analyze, All, Simple, Level 2, LintButWontExec |
2 |
2 |
Major |
22 % |
Typehint Must Be Returned |
All, Analyze, LintButWontExec |
6 |
2 |
Major |
10 % |
Unused Arguments |
Analyze, All, Simple |
2 |
2 |
Major |
89 % |
Uses Default Values |
Analyze, All, Simple |
6 |
4 |
Minor |
97 % |
Wrong Returned Type |
All, Analyze, ClassReview |
8 |
3 |
Minor |
0 % |
Undefined Interfaces |
Analyze, All |
13 |
3 |
Major |
67 % |
Hidden Use Expression |
Analyze, OneFile, All, Simple |
3 |
1 |
Minor |
24 % |
Unresolved Use |
Analyze, ClearPHP, All, Simple |
7 |
3 |
Major |
65 % |
Wrong Parameter Type |
Analyze, OneFile, All, Simple |
3 |
1 |
Major |
45 % |
List Short Syntax |
Internal, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, All, Appinfo |
1 |
1 |
Major |
10 % |
List With Keys |
CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, Appcontent, Appinfo, All |
1 |
1 |
Major |
32 % |
PHP 7.0 Scalar Typehints |
All, CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 |
6 |
4 |
Critical |
31 % |
Typed Property Usage |
All, Appinfo, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, CompatibilityPHP73, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 |
2 |
2 |
Minor |
0 % |
Use Nullable Type |
All, Appinfo, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 |
1 |
1 |
Major |
21 % |
Wrong Type For Native PHP Function |
All, Analyze |
10 |
4 |
Minor |
0 % |
Always Anchor Regex |
All, Security |
1 |
1 |
Major |
65 % |
Buried Assignation |
Analyze, All |
4 |
3 |
Minor |
82 % |
Check JSON |
All, Analyze |
2 |
2 |
Major |
64 % |
Don't Read And Write In One Expression |
All, Analyze, CompatibilityPHP73, CompatibilityPHP74 |
3 |
2 |
Critical |
38 % |
Iffectations |
Analyze, All |
3 |
2 |
Minor |
80 % |
isset() With Constant |
CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, All |
1 |
1 |
Major |
6 % |
Long Arguments |
All, Analyze |
1 |
1 |
Minor |
67 % |
Merge If Then |
All, Analyze |
1 |
1 |
Minor |
0 % |
Should Make Ternary |
All, Analyze, OneFile, Simple |
1 |
1 |
Minor |
85 % |
Preprocessable |
Analyze, All, Rector |
1 |
1 |
Minor |
86 % |
Useless Parenthesis |
Analyze, All, Simple |
3 |
2 |
Minor |
81 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4 |
2 |
2 |
Minor |
95 % |