Avoid Optional Properties |
All, Analyze |
1 |
1 |
Major |
83 % |
Const Visibility Usage |
All, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 |
11 |
2 |
Minor |
16 % |
Constant Class |
Analyze, All, Simple, CI-checks |
2 |
2 |
Minor |
49 % |
Class Could Be Final |
All, Analyze, ClassReview |
11 |
11 |
Minor |
95 % |
Method Could Be Static |
All, Analyze, ClassReview |
4 |
3 |
Minor |
95 % |
Class Should Be Final By Ocramius |
All, Analyze |
1 |
1 |
Minor |
42 % |
Locally Unused Property |
Dead code, All, Simple |
1 |
1 |
Minor |
76 % |
Non Nullable Getters |
All, Analyze, ClassReview |
2 |
1 |
Minor |
0 % |
Property Could Be Local |
All, Analyze, ClassReview |
1 |
1 |
Minor |
71 % |
Never Used Properties |
Analyze, All, Simple |
1 |
1 |
Minor |
72 % |
Property Used In One Method Only |
All, Analyze |
1 |
1 |
Minor |
84 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple |
3 |
2 |
Minor |
94 % |
Undefined Classes |
Analyze, All |
8 |
2 |
Major |
91 % |
Undefined Class Constants |
Analyze, All, CI-checks |
1 |
1 |
Major |
53 % |
Unresolved Classes |
Analyze, All |
1 |
1 |
Major |
86 % |
Unused Class Constant |
All, Analyze, ClassReview |
11 |
2 |
Minor |
0 % |
Unused Methods |
Dead code, All, Simple |
10 |
4 |
Minor |
95 % |
Unused Protected Methods |
Dead code, All |
1 |
1 |
Major |
72 % |
Used Once Property |
All, Analyze |
1 |
1 |
Minor |
72 % |
Missing Include |
All, Analyze |
1 |
1 |
Critical |
61 % |
Use Named Boolean In Argument Definition |
All, Analyze |
1 |
1 |
Minor |
84 % |
Hardcoded Passwords |
Analyze, OneFile, Security, All, Simple, Level 3 |
1 |
1 |
Major |
61 % |
Never Used Parameter |
All, Analyze, Suggestions |
1 |
1 |
Minor |
47 % |
No Boolean As Default |
All, Analyze |
1 |
1 |
Minor |
84 % |
Relay Function |
Analyze, All |
1 |
1 |
Major |
83 % |
Unused Arguments |
Analyze, All, Simple |
1 |
1 |
Major |
89 % |
Uses Default Values |
Analyze, All, Simple, CI-checks |
7 |
3 |
Minor |
97 % |
Wrong Returned Type |
All, Analyze, ClassReview, CI-checks |
4 |
4 |
Minor |
0 % |
Wrong Type With Call |
All, Analyze, Typechecks, CI-checks |
8 |
1 |
Minor |
0 % |
Forgotten Interface |
All, Analyze |
1 |
1 |
Minor |
52 % |
Undefined Interfaces |
Analyze, All, CI-checks |
6 |
1 |
Major |
67 % |
Unresolved Use |
Analyze, ClearPHP, All, Simple |
2 |
2 |
Major |
65 % |
Unused Use |
Dead code, ClearPHP, All, Simple |
1 |
1 |
Major |
54 % |
Pre-increment |
Analyze, Performances, All, Simple, Level 4, CI-checks |
5 |
2 |
Minor |
74 % |
Assumptions |
All, Analyze |
1 |
1 |
Minor |
0 % |
Use random_int() |
Analyze, Security, All, CompatibilityPHP71, Simple, Level 2, CI-checks |
1 |
1 |
Major |
59 % |
Wrong Parameter Type |
Analyze, OneFile, All, Simple, CI-checks |
1 |
1 |
Major |
45 % |
PHP 7.0 Scalar Typehints |
All, CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 |
15 |
8 |
Critical |
31 % |
PHP 7.3 Last Empty Argument |
All, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 |
4 |
1 |
Critical |
13 % |
Trailing Comma In Calls |
All, CompatibilityPHP53, CompatibilityPHP70, Appinfo, CompatibilityPHP71, CompatibilityPHP72, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 |
4 |
1 |
Minor |
0 % |
Typed Property Usage |
All, Appinfo, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, CompatibilityPHP73, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 |
13 |
7 |
Minor |
0 % |
Use Nullable Type |
All, Appinfo, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 |
4 |
4 |
Major |
21 % |
Dont Mix ++ |
All, Analyze |
1 |
1 |
Minor |
43 % |
Long Arguments |
All, Analyze |
1 |
1 |
Minor |
67 % |
Merge If Then |
All, Analyze, CI-checks |
2 |
2 |
Minor |
0 % |
Modernize Empty With Expression |
All, Analyze, OneFile, Simple |
1 |
1 |
Minor |
56 % |
Static Loop |
Analyze, All, Simple, Level 4 |
1 |
1 |
Minor |
65 % |
Switch Without Default |
Analyze, ClearPHP, All, Simple, CI-checks |
1 |
1 |
Major |
68 % |
Use Positive Condition |
All, Analyze, OneFile, Simple |
1 |
1 |
Minor |
81 % |
Missing Returntype In Method |
All, Typehints, Analyze, CI-checks |
2 |
2 |
Minor |
0 % |
Assigned Twice |
All, Analyze |
3 |
1 |
Minor |
78 % |
Overwritten Literals |
Analyze, All |
4 |
1 |
Major |
78 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4 |
1 |
1 |
Minor |
95 % |