Weak Type With Array |
All, Analyze |
30 |
6 |
Minor |
0 % |
Ambiguous Static |
All, Analyze, Semantics |
130 |
67 |
Minor |
66 % |
Ambiguous Visibilities |
All, Analyze, Semantics |
1 |
1 |
Minor |
70 % |
Could Be Abstract Class |
All, Analyze, ClassReview |
44 |
2 |
Minor |
65 % |
Class Could Be Final |
All, Analyze, ClassReview |
135 |
81 |
Minor |
96 % |
Method Could Be Static |
All, Analyze, ClassReview |
136 |
38 |
Minor |
92 % |
Could Inject Param |
All, Analyze, ClassReview |
2 |
2 |
Minor |
0 % |
Empty Classes |
Analyze, All, Simple |
57 |
2 |
Minor |
60 % |
Multiple Class Declarations |
Analyze, All, Simple, CI-checks, CE |
24 |
13 |
Major |
29 % |
Property Could Be Local |
All, Analyze, ClassReview |
2 |
1 |
Minor |
76 % |
Never Used Properties |
Analyze, All, Simple, Unused |
42 |
27 |
Minor |
71 % |
Could Use self |
Analyze, All, Simple, Suggestions, Level 3, ClassReview |
7 |
1 |
Minor |
63 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple |
1871 |
54 |
Minor |
95 % |
Static Methods Called From Object |
Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE |
27 |
19 |
Minor |
50 % |
Undefined Classes |
Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt |
721 |
60 |
Major |
91 % |
Undefined Class Constants |
Analyze, All, CI-checks, Stubs, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE |
7 |
2 |
Major |
62 % |
Undefined Properties |
Analyze, ClearPHP, All, Simple, CI-checks, CompatibilityPHP82, Undefined, ChangedBehavior, CE |
210 |
34 |
Major |
61 % |
Undefined ::class |
All, Analyze, CI-checks, Undefined, CE |
71 |
8 |
Major |
36 % |
Unfinished Object |
All, Analyze, ClassReview |
1 |
1 |
Major |
0 % |
Unresolved Classes |
Analyze, All, Stubs |
3 |
3 |
Major |
76 % |
Unresolved Instanceof |
Analyze, Dead code, ClearPHP, All, Simple, Top10 |
1 |
1 |
Major |
48 % |
Unused Classes |
Dead code, All, Simple, Analyze, Unused |
27 |
2 |
Major |
67 % |
Unused Public Method |
All, Analyze |
257 |
50 |
Minor |
0 % |
Use ::Class Operator |
All, Analyze, Performances, Simple, CI-checks, CE |
81 |
29 |
Minor |
71 % |
Throw Raw Exceptions |
All, Analyze, Suggestions |
1 |
1 |
Minor |
0 % |
Uncaught Exceptions |
Analyze, All |
1 |
1 |
Minor |
84 % |
Useless Catch |
All, Analyze, CI-checks, CE |
2 |
2 |
Minor |
44 % |
Missing Include |
All, Analyze |
3 |
3 |
Critical |
65 % |
Use Named Boolean In Argument Definition |
All, Analyze |
97 |
1 |
Minor |
84 % |
Empty Function |
Analyze, All, Simple |
3 |
3 |
Minor |
74 % |
Hardcoded Passwords |
Analyze, OneFile, Security, All, Simple, Level 3 |
13 |
8 |
Major |
70 % |
Insufficient Typehint |
All, Analyze, Typechecks |
127 |
31 |
Major |
43 % |
Modified Typed Parameter |
All, Analyze, ClassReview |
1 |
1 |
Minor |
0 % |
Never Called Parameter |
All, Analyze, Suggestions, Rector, Unused |
12 |
1 |
Minor |
92 % |
No Boolean As Default |
All, Analyze |
97 |
1 |
Minor |
84 % |
Relay Function |
Analyze, All |
1363 |
4 |
Major |
84 % |
Undefined Functions |
Analyze, All, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE |
192 |
32 |
Major |
68 % |
Unused Parameter |
Analyze, All, Simple, Unused |
5 |
3 |
Major |
90 % |
Useless Referenced Argument |
All, Analyze |
1 |
1 |
Minor |
58 % |
Uses Default Values |
Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE |
79 |
26 |
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 |
41 |
15 |
Minor |
0 % |
Wrong Type With Call |
All, Analyze, Typechecks, CI-checks, CE |
5 |
5 |
Minor |
0 % |
Undefined Interfaces |
Analyze, All, CI-checks, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE |
159 |
42 |
Major |
72 % |
Multiple Alias Definitions |
Analyze, All, Simple, CI-checks, CE |
41 |
33 |
Minor |
44 % |
Should Make Alias |
Analyze, OneFile, All, Simple, CI-checks, CE |
18 |
1 |
Minor |
46 % |
Unresolved Use |
Analyze, ClearPHP, All, Simple, IsPHP, IsStub, IsExt |
177 |
84 |
Major |
69 % |
Pre-increment |
Analyze, Performances, All, Simple, Level 4, CI-checks, CE |
1 |
1 |
Minor |
74 % |
Assumptions |
All, Analyze |
2 |
2 |
Minor |
0 % |
Don't Pollute Global Space |
All, Analyze |
44 |
2 |
Minor |
0 % |
No Class In Global |
All, Analyze, CI-checks, CE |
43 |
1 |
Minor |
77 % |
Wrong Type For Native PHP Function |
All, Analyze, CI-checks, CE |
1 |
1 |
Minor |
0 % |
Bail Out Early |
All, Analyze, OneFile, Simple, Level 4 |
1 |
1 |
Minor |
64 % |
Strict Comparison With Booleans |
Analyze, All, Simple, Suggestions, Level 2, CI-checks, CE |
1 |
1 |
Minor |
77 % |
Buried Assignation |
Analyze, All |
2 |
1 |
Minor |
84 % |
Dangling Array References |
PHP recommendations, Analyze, ClearPHP, All, Simple, Level 1, Top10, CI-checks, CE |
1 |
1 |
Major |
46 % |
Double Instructions |
Analyze, All, Simple |
3 |
3 |
Minor |
57 % |
Drop Else After Return |
All, Analyze, OneFile, Simple, Suggestions, Level 4, CI-checks, CE |
1 |
1 |
Minor |
70 % |
Else If Versus Elseif |
Analyze, All, Simple, php-cs-fixable, Rector, CI-checks, CE |
1 |
1 |
Minor |
66 % |
Empty Instructions |
Dead code, Analyze, All, Simple |
1 |
1 |
Minor |
57 % |
Infinite Recursion |
All, Analyze |
7 |
1 |
Major |
0 % |
Merge If Then |
All, Analyze, CI-checks, CE |
1 |
1 |
Minor |
0 % |
Maybe Missing New |
All, Analyze |
2 |
2 |
Critical |
57 % |
No Need For Else |
All, Analyze |
1 |
1 |
Minor |
74 % |
Variable Is Not A Condition |
All, Analyze |
1 |
1 |
Minor |
93 % |
Objects Don't Need References |
Analyze, ClearPHP, OneFile, All, Simple, Level 2, Top10, CI-checks, CE |
8 |
1 |
Minor |
40 % |
include_once() Usage |
Analyze, Appinfo, All, CE |
1 |
1 |
Minor |
73 % |
Several Instructions On The Same Line |
Analyze, All |
1 |
1 |
Major |
56 % |
Printf Number Of Arguments |
All, Analyze, CI-checks, CE |
6 |
1 |
Minor |
41 % |
Preprocessable |
Analyze, All, Rector |
6 |
3 |
Minor |
85 % |
Static Loop |
Analyze, All, Simple, Level 4 |
1 |
1 |
Minor |
67 % |
Unsupported Types With Operators |
All, Analyze, CompatibilityPHP80, CE |
1 |
1 |
Minor |
0 % |
Use Positive Condition |
All, Analyze, OneFile, Simple |
1 |
1 |
Minor |
82 % |
Undefined Trait |
Analyze, All, LintButWontExec, CI-checks, Undefined, IsPHP, IsStub, IsExt, CE |
42 |
25 |
Critical |
15 % |
Missing Some Returntype |
All, Typehints, Analyze, CI-checks, CE |
1 |
1 |
Minor |
0 % |
Undefined Variable |
All, Analyze, CI-checks, Undefined, CE |
1592 |
3 |
Minor |
77 % |
Used Once Variables |
Analyze, OneFile, All, Simple, Top10 |
1 |
1 |
Minor |
74 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE |
1575 |
4 |
Minor |
95 % |
Written Only Variables |
Analyze, OneFile, All, Simple, Unused |
1 |
1 |
Minor |
87 % |