| Multiple Index Definition |
Analyze, OneFile, All, Simple, CI-checks |
1 |
1 |
Minor |
25 % |
| Avoid Optional Properties |
All, Analyze |
1 |
1 |
Major |
83 % |
| Class Could Be Final |
All, Analyze, ClassReview |
38 |
38 |
Minor |
95 % |
| Method Could Be Static |
All, Analyze, ClassReview |
39 |
17 |
Minor |
95 % |
| Locally Unused Property |
Dead code, All, Simple |
17 |
7 |
Minor |
76 % |
| No Public Access |
Analyze, All |
21 |
8 |
Minor |
60 % |
| Non Nullable Getters |
All, Analyze, ClassReview |
2 |
2 |
Minor |
0 % |
| 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 |
17 |
7 |
Minor |
72 % |
| Property Used In One Method Only |
All, Analyze |
14 |
7 |
Minor |
84 % |
| Should Use Local Class |
Analyze, ClearPHP, All, Simple |
51 |
23 |
Minor |
94 % |
| $this Belongs To Classes Or Traits |
Analyze, All, Simple |
117 |
28 |
Major |
23 % |
| Too Many Dereferencing |
All, Analyze |
1 |
1 |
Minor |
0 % |
| Too Many Finds |
All, Analyze |
1 |
1 |
Minor |
6 % |
| Undefined Classes |
Analyze, All |
301 |
64 |
Major |
91 % |
| Undefined Parent |
Analyze, All, Simple |
2 |
2 |
Minor |
63 % |
| Undefined Properties |
Analyze, ClearPHP, All, Simple, CI-checks |
118 |
29 |
Major |
58 % |
| Undefined static:: Or self:: |
Analyze, All, Simple |
4 |
1 |
Minor |
33 % |
| Unresolved Catch |
Dead code, ClearPHP, All |
4 |
2 |
Major |
51 % |
| Unresolved Classes |
Analyze, All |
41 |
17 |
Major |
86 % |
| Unused Classes |
Dead code, All, Simple, Analyze |
10 |
10 |
Major |
72 % |
| Unused Methods |
Dead code, All, Simple |
104 |
28 |
Minor |
95 % |
| Use Class Operator |
All, Analyze, Performances, Simple, CI-checks |
14 |
12 |
Minor |
74 % |
| Use const |
Analyze, Coding Conventions, All, Top10, CI-checks |
18 |
8 |
Minor |
57 % |
| Constants With Strange Names |
Analyze, All, Simple, CI-checks |
10 |
8 |
Minor |
1 % |
| Invalid Constant Name |
Analyze, All, Simple |
10 |
8 |
Major |
1 % |
| Multiple Constant Definition |
Analyze, All, Simple, CI-checks |
16 |
7 |
Minor |
32 % |
| Undefined Constants |
Analyze, All, Simple, CompatibilityPHP72, CI-checks |
4 |
4 |
Minor |
54 % |
| Uncaught Exceptions |
Analyze, All |
9 |
5 |
Minor |
81 % |
| Missing Include |
All, Analyze |
63 |
14 |
Critical |
61 % |
| Hardcoded Passwords |
Analyze, OneFile, Security, All, Simple, Level 3 |
50 |
21 |
Major |
61 % |
| Insufficient Typehint |
All, Analyze, Typechecks |
29 |
8 |
Major |
24 % |
| Never Used Parameter |
All, Analyze, Suggestions |
2 |
2 |
Minor |
47 % |
| Only Variable Passed By Reference |
All, Analyze |
1 |
1 |
Critical |
40 % |
| Relay Function |
Analyze, All |
1 |
1 |
Major |
83 % |
| Undefined Functions |
Analyze, All, CI-checks |
66 |
11 |
Major |
71 % |
| Unused Arguments |
Analyze, All, Simple |
2 |
2 |
Major |
89 % |
| Uses Default Values |
Analyze, All, Simple, CI-checks |
32 |
16 |
Minor |
97 % |
| Methods Without Return |
All, Analyze |
69 |
24 |
Minor |
0 % |
| Undefined Interfaces |
Analyze, All, CI-checks |
2 |
2 |
Major |
67 % |
| Multiple Alias Definitions |
Analyze, All, Simple, CI-checks |
26 |
20 |
Minor |
42 % |
| Should Make Alias |
Analyze, OneFile, All, Simple, CI-checks |
14 |
2 |
Minor |
44 % |
| Unresolved Use |
Analyze, ClearPHP, All, Simple |
107 |
54 |
Major |
65 % |
| Unused Use |
Dead code, ClearPHP, All, Simple |
5 |
5 |
Major |
54 % |
| Use With Fully Qualified Name |
Analyze, Coding Conventions, PHP recommendations, All, Simple |
1 |
1 |
Minor |
16 % |
| Don't Pollute Global Space |
All, Analyze |
21 |
11 |
Minor |
0 % |
| Group Use Declaration |
All, Appinfo, CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 |
1 |
1 |
Minor |
3 % |
| Logical Should Use Symbolic Operators |
Analyze, OneFile, ClearPHP, All, Simple, Suggestions, Level 2, Top10, php-cs-fixable, CI-checks |
18 |
8 |
Minor |
42 % |
| No Class In Global |
All, Analyze, CI-checks |
3 |
3 |
Minor |
78 % |
| PHP Keywords As Names |
Analyze, All, Simple |
25 |
7 |
Major |
89 % |
| Should Use Coalesce |
Analyze, All, Simple, Suggestions, Level 3, CI-checks |
3 |
3 |
Major |
71 % |
| Use Nullable Type |
All, Appinfo, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 |
1 |
1 |
Major |
21 % |
| Wrong Type For Native PHP Function |
All, Analyze, CI-checks |
20 |
9 |
Minor |
0 % |
| No Net For Xml Load |
All, Security |
10 |
2 |
Major |
49 % |
| Strict Comparison With Booleans |
Analyze, All, Simple, Suggestions, Level 2, CI-checks |
3 |
3 |
Minor |
76 % |
| Cast To Boolean |
Analyze, OneFile, All, Simple, Level 1 |
1 |
1 |
Minor |
55 % |
| Could Use __DIR__ |
Analyze, All, Simple, Suggestions, Level 3, php-cs-fixable, CI-checks |
3 |
1 |
Major |
56 % |
| Double Instructions |
Analyze, All, Simple |
2 |
2 |
Minor |
57 % |
| Drop Else After Return |
All, Analyze, OneFile, Simple, Suggestions, Level 4, CI-checks |
2 |
2 |
Minor |
70 % |
| Empty Instructions |
Dead code, Analyze, All, Simple |
63 |
20 |
Minor |
43 % |
| Exit() Usage |
Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks |
4 |
3 |
Major |
60 % |
| Iffectations |
Analyze, All |
2 |
2 |
Minor |
80 % |
| Implied If |
Analyze, ClearPHP, All, Simple, CI-checks |
18 |
8 |
Major |
29 % |
| Merge If Then |
All, Analyze, CI-checks |
4 |
2 |
Minor |
0 % |
| Mismatched Ternary Alternatives |
All, Analyze, Suggestions, Level 4 |
1 |
1 |
Major |
62 % |
| Missing New ? |
All, Analyze |
5 |
1 |
Critical |
5 % |
| No Hardcoded Hash |
Analyze, Security, All, Simple |
7 |
4 |
Critical |
44 % |
| No Need For Else |
All, Analyze |
2 |
2 |
Minor |
74 % |
| Variable Is Not A Condition |
All, Analyze |
2 |
2 |
Minor |
57 % |
| @ Operator |
Appinfo, ClearPHP, All, Analyze, Performances, CI-checks |
2 |
2 |
Minor |
66 % |
| include_once() Usage |
Analyze, Appinfo, All |
7 |
3 |
Minor |
73 % |
| Several Instructions On The Same Line |
Analyze, All |
6 |
6 |
Major |
57 % |
| PHP7 Dirname |
CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, All, Suggestions, php-cs-fixable |
6 |
4 |
Minor |
42 % |
| Should Chain Exception |
Analyze, All, Simple, CI-checks |
4 |
2 |
Minor |
36 % |
| Preprocessable |
Analyze, All, Rector |
25 |
13 |
Minor |
86 % |
| Use Constant |
PHP recommendations, All, Analyze, php-cs-fixable, CI-checks |
3 |
1 |
Minor |
0 % |
| Use Positive Condition |
All, Analyze, OneFile, Simple |
2 |
1 |
Minor |
81 % |
| Useless Instructions |
Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks |
5 |
2 |
None |
58 % |
| var_dump()... Usage |
Analyze, ClearPHP, Security, All, CI-checks |
1 |
1 |
Critical |
40 % |
| Undefined Trait |
Analyze, All, LintButWontExec, CI-checks |
5 |
5 |
Critical |
21 % |
| String May Hold A Variable |
Analyze, All, Simple |
8 |
5 |
Minor |
58 % |
| Assigned Twice |
All, Analyze |
2 |
1 |
Minor |
78 % |
| Overwritten Literals |
Analyze, All |
2 |
1 |
Major |
78 % |
| Strange Name For Variables |
All, Analyze |
1 |
1 |
Minor |
28 % |
| Undefined Variable |
All, Analyze, CI-checks |
66 |
31 |
Minor |
77 % |
| Used Once Variables |
Analyze, OneFile, All, Simple, Top10 |
3 |
2 |
Minor |
87 % |
| Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4 |
27 |
24 |
Minor |
95 % |