| Weak Type With Array |
All, Analyze |
6 |
3 |
Minor |
0 % |
| Ambiguous Static |
All, Analyze, Semantics |
4 |
4 |
Minor |
66 % |
| Ambiguous Visibilities |
All, Analyze, Semantics |
2 |
2 |
Minor |
70 % |
| Class Could Be Final |
All, Analyze, ClassReview |
26 |
26 |
Minor |
96 % |
| Method Could Be Static |
All, Analyze, ClassReview |
25 |
12 |
Minor |
92 % |
| Could Inject Param |
All, Analyze, ClassReview |
4 |
2 |
Minor |
0 % |
| Dependant Abstract Classes |
All, Analyze, ClassReview |
3 |
3 |
Minor |
0 % |
| Empty Classes |
Analyze, All, Simple |
1 |
1 |
Minor |
60 % |
| Hidden Nullable Typehint |
All, Analyze, ClassReview |
2 |
2 |
Minor |
0 % |
| No Public Access |
Analyze, All |
1 |
1 |
Minor |
61 % |
| Non Nullable Getters |
All, Analyze, ClassReview |
8 |
5 |
Minor |
0 % |
| Property Could Be Local |
All, Analyze, ClassReview |
12 |
7 |
Minor |
76 % |
| Property Used In One Method Only |
All, Analyze |
2 |
2 |
Minor |
84 % |
| Should Use Local Class |
Analyze, ClearPHP, All, Simple |
40 |
20 |
Minor |
95 % |
| Wrong Access Style to Property |
All, Analyze, Level 2, ClassReview, CI-checks, CE |
2 |
1 |
Critical |
37 % |
| Undefined Classes |
Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt |
158 |
32 |
Major |
91 % |
| Undefined Class Constants |
Analyze, All, CI-checks, Stubs, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE |
9 |
6 |
Major |
62 % |
| Undefined Parent |
Analyze, All, Simple, Undefined |
3 |
1 |
Minor |
45 % |
| Undefined Properties |
Analyze, ClearPHP, All, Simple, CI-checks, CompatibilityPHP82, Undefined, ChangedBehavior, CE |
6 |
3 |
Major |
61 % |
| Undefined static:: Or self:: |
Analyze, All, Simple, Undefined |
4 |
1 |
Minor |
35 % |
| Undefined ::class |
All, Analyze, CI-checks, Undefined, CE |
9 |
4 |
Major |
36 % |
| Unfinished Object |
All, Analyze, ClassReview |
26 |
17 |
Major |
0 % |
| Unresolved Classes |
Analyze, All, Stubs |
22 |
15 |
Major |
76 % |
| Unresolved Instanceof |
Analyze, Dead code, ClearPHP, All, Simple, Top10 |
4 |
1 |
Major |
48 % |
| Unused Classes |
Dead code, All, Simple, Analyze, Unused |
8 |
8 |
Major |
67 % |
| Unused Public Method |
All, Analyze |
63 |
30 |
Minor |
0 % |
| Used Once Property |
All, Analyze |
18 |
12 |
Minor |
74 % |
| Useless Abstract Class |
Analyze, All, Simple |
2 |
2 |
Minor |
33 % |
| Useless Constructor |
Analyze, All, Simple, Level 3 |
9 |
9 |
Minor |
41 % |
| Useless Method |
All, Analyze |
4 |
1 |
Minor |
0 % |
| Throw Raw Exceptions |
All, Analyze, Suggestions |
9 |
7 |
Minor |
0 % |
| Uncaught Exceptions |
Analyze, All |
11 |
8 |
Minor |
84 % |
| Unthrown Exception |
Analyze, Dead code, ClearPHP, All, Simple |
1 |
1 |
Minor |
45 % |
| Use Named Boolean In Argument Definition |
All, Analyze |
4 |
2 |
Minor |
84 % |
| Callback Function Needs Return |
All, Analyze, CI-checks, CE |
1 |
1 |
Major |
42 % |
| Empty Function |
Analyze, All, Simple |
19 |
16 |
Minor |
74 % |
| Hardcoded Passwords |
Analyze, OneFile, Security, All, Simple, Level 3 |
1 |
1 |
Major |
70 % |
| Mismatched Typehint |
All, Analyze, Typechecks |
2 |
2 |
Major |
66 % |
| Modified Typed Parameter |
All, Analyze, ClassReview |
2 |
1 |
Minor |
0 % |
| No Boolean As Default |
All, Analyze |
4 |
2 |
Minor |
84 % |
| Relay Function |
Analyze, All |
5 |
3 |
Major |
84 % |
| Undefined Functions |
Analyze, All, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE |
7 |
2 |
Major |
68 % |
| Unused Parameter |
Analyze, All, Simple, Unused |
14 |
8 |
Major |
90 % |
| Uses Default Values |
Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE |
50 |
14 |
Minor |
98 % |
| Wrong Number Of Arguments |
Analyze, OneFile, All, Simple, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE |
1 |
1 |
Major |
81 % |
| Wrong Type Returned |
All, Analyze, ClassReview, CI-checks, LintButWontExec, CE |
21 |
16 |
Minor |
0 % |
| Wrong Type With Call |
All, Analyze, Typechecks, CI-checks, CE |
1 |
1 |
Minor |
0 % |
| Forgotten Interface |
All, Analyze |
1 |
1 |
Minor |
48 % |
| Empty Interfaces |
Analyze, All, Simple |
1 |
1 |
Minor |
41 % |
| Undefined Interfaces |
Analyze, All, CI-checks, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE |
100 |
31 |
Major |
72 % |
| Useless Interfaces |
Analyze, ClearPHP, All, Simple, ClassReview, Typechecks |
1 |
1 |
Minor |
59 % |
| Multiple Alias Definitions |
Analyze, All, Simple, CI-checks, CE |
6 |
6 |
Minor |
44 % |
| Unresolved Use |
Analyze, ClearPHP, All, Simple, IsPHP, IsStub, IsExt |
123 |
36 |
Major |
69 % |
| Assumptions |
All, Analyze |
1 |
1 |
Minor |
0 % |
| Use random_int() |
Analyze, Security, All, CompatibilityPHP71, Simple, Level 2, CI-checks, CE |
1 |
1 |
Major |
59 % |
| Wrong Parameter Type |
Analyze, OneFile, All, Simple, CI-checks, CE |
1 |
1 |
Major |
76 % |
| Possible Missing Subpattern |
All, Analyze, Top10, CI-checks, CE |
1 |
1 |
Minor |
45 % |
| No Null For Native PHP Functions |
All, Analyze, CompatibilityPHP81, Deprecated |
13 |
4 |
Minor |
0 % |
| Wrong Type For Native PHP Function |
All, Analyze, CI-checks, CE |
11 |
4 |
Minor |
0 % |
| Comparison Is Always The Same |
All, Analyze |
3 |
3 |
Minor |
0 % |
| Array_merge Needs Array Of Arrays |
All, Analyze |
1 |
1 |
Minor |
0 % |
| Bail Out Early |
All, Analyze, OneFile, Simple, Level 4 |
13 |
9 |
Minor |
64 % |
| Check Division By Zero |
All, Analyze |
1 |
1 |
Minor |
0 % |
| Double Instructions |
Analyze, All, Simple |
1 |
1 |
Minor |
57 % |
| Empty Instructions |
Dead code, Analyze, All, Simple |
3 |
3 |
Minor |
57 % |
| Iffectations |
Analyze, All |
1 |
1 |
Minor |
80 % |
| Implode() Arguments Order |
All, Analyze, CI-checks, ChangedBehavior, CE |
1 |
1 |
Minor |
0 % |
| Long Arguments |
All, Analyze |
1 |
1 |
Minor |
68 % |
| Max Level Of Nesting |
All, Analyze |
1 |
1 |
Minor |
0 % |
| Missing Assignation In Command |
All, Analyze |
1 |
1 |
Minor |
0 % |
| Nested Ifthen |
Analyze, All, RadwellCodes |
1 |
1 |
Major |
84 % |
| Variable Is Not A Condition |
All, Analyze |
25 |
15 |
Minor |
93 % |
| @ Operator |
Appinfo, ClearPHP, All, Analyze, Performances, CI-checks, CE |
2 |
1 |
Minor |
65 % |
| Several Instructions On The Same Line |
Analyze, All |
2 |
2 |
Major |
56 % |
| Should Chain Exception |
Analyze, All, Simple, CI-checks, CE |
1 |
1 |
Minor |
39 % |
| Should Use Ternary Operator |
All, Analyze, OneFile, Simple, CI-checks, CE |
1 |
1 |
Minor |
86 % |
| Preprocessable |
Analyze, All, Rector |
2 |
2 |
Minor |
85 % |
| Static Loop |
Analyze, All, Simple, Level 4 |
2 |
2 |
Minor |
67 % |
| Timestamp Difference |
Analyze, All, Simple, Level 3, CI-checks, CE |
1 |
1 |
Major |
49 % |
| Unsupported Types With Operators |
All, Analyze, CompatibilityPHP80, CE |
2 |
1 |
Minor |
0 % |
| Use Positive Condition |
All, Analyze, OneFile, Simple |
1 |
1 |
Minor |
82 % |
| Use Same Types For Comparisons |
All, Analyze |
1 |
1 |
Minor |
0 % |
| Useless Null Coalesce |
All, Analyze, Typehints |
1 |
1 |
Minor |
0 % |
| String May Hold A Variable |
Analyze, All, Simple |
2 |
1 |
Minor |
59 % |
| Missing Some Returntype |
All, Typehints, Analyze, CI-checks, CE |
5 |
4 |
Minor |
0 % |
| Undefined Variable |
All, Analyze, CI-checks, Undefined, CE |
16 |
5 |
Minor |
77 % |
| Used Once Variables |
Analyze, OneFile, All, Simple, Top10 |
3 |
1 |
Minor |
74 % |
| Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE |
53 |
24 |
Minor |
95 % |