Ambiguous Visibilities |
All, Analyze, Semantics |
2 |
2 |
Minor |
70 % |
Class Could Be Final |
All, Analyze, ClassReview |
11 |
11 |
Minor |
96 % |
Method Could Be Static |
All, Analyze, ClassReview |
5 |
5 |
Minor |
92 % |
Could Inject Param |
All, Analyze, ClassReview |
2 |
1 |
Minor |
0 % |
Hidden Nullable Typehint |
All, Analyze, ClassReview |
1 |
1 |
Minor |
0 % |
self, parent, static Outside Class |
All, Analyze, LintButWontExec |
2 |
1 |
Major |
8 % |
No Public Access |
Analyze, All |
3 |
1 |
Minor |
61 % |
Forgotten Visibility |
Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE |
1 |
1 |
Minor |
42 % |
Property Could Be Local |
All, Analyze, ClassReview |
4 |
3 |
Minor |
76 % |
Never Used Properties |
Analyze, All, Simple, Unused |
4 |
2 |
Minor |
71 % |
Property Used In One Method Only |
All, Analyze |
5 |
4 |
Minor |
84 % |
Parent, Static Or Self Outside Class |
Analyze, All, Simple, ChangedBehavior |
3 |
1 |
Major |
21 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple |
8 |
7 |
Minor |
95 % |
$this Belongs To Classes Or Traits |
Analyze, All, Simple, LintButWontExec |
2 |
1 |
Major |
32 % |
Undefined Classes |
Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt |
102 |
17 |
Major |
91 % |
Undefined Class Constants |
Analyze, All, CI-checks, Stubs, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE |
1 |
1 |
Major |
62 % |
Undefined Properties |
Analyze, ClearPHP, All, Simple, CI-checks, CompatibilityPHP82, Undefined, ChangedBehavior, CE |
42 |
3 |
Major |
61 % |
Undefined ::class |
All, Analyze, CI-checks, Undefined, CE |
13 |
3 |
Major |
36 % |
Unfinished Object |
All, Analyze, ClassReview |
14 |
6 |
Major |
0 % |
Unresolved Classes |
Analyze, All, Stubs |
16 |
6 |
Major |
76 % |
Unused Classes |
Dead code, All, Simple, Analyze, Unused |
1 |
1 |
Major |
67 % |
Unused Public Method |
All, Analyze |
23 |
11 |
Minor |
0 % |
Used Once Property |
All, Analyze |
3 |
3 |
Minor |
74 % |
Useless Constructor |
Analyze, All, Simple, Level 3 |
3 |
3 |
Minor |
41 % |
Wrong Typed Property Default |
All, Analyze, LintButWontExec, ClassReview, CI-checks, CE |
1 |
1 |
Minor |
0 % |
Uncaught Exceptions |
Analyze, All |
2 |
2 |
Minor |
84 % |
Missing Include |
All, Analyze |
2 |
2 |
Critical |
65 % |
Deep Definitions |
Analyze, Appinfo, All, Simple, CE |
4 |
1 |
Major |
13 % |
Empty Function |
Analyze, All, Simple |
6 |
6 |
Minor |
74 % |
Must Return Methods |
Analyze, All, Simple, Level 2, LintButWontExec, CI-checks, CE |
1 |
1 |
Major |
34 % |
Relay Function |
Analyze, All |
3 |
3 |
Major |
84 % |
Unused Parameter |
Analyze, All, Simple, Unused |
7 |
5 |
Major |
90 % |
Uses Default Values |
Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE |
27 |
6 |
Minor |
98 % |
Wrong Optional Parameter |
Analyze, All, Simple, Level 1, CI-checks, CompatibilityPHP80, ChangedBehavior, CE |
1 |
1 |
Minor |
32 % |
Wrong Type Returned |
All, Analyze, ClassReview, CI-checks, LintButWontExec, CE |
3 |
3 |
Minor |
0 % |
Forgotten Interface |
All, Analyze |
1 |
1 |
Minor |
48 % |
Undefined Interfaces |
Analyze, All, CI-checks, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE |
53 |
15 |
Major |
72 % |
Multiple Alias Definitions |
Analyze, All, Simple, CI-checks, CE |
2 |
2 |
Minor |
44 % |
Unresolved Use |
Analyze, ClearPHP, All, Simple, IsPHP, IsStub, IsExt |
76 |
16 |
Major |
69 % |
Avoid Using stdClass |
All, Analyze, OneFile, Simple, Level 4 |
1 |
1 |
Minor |
46 % |
Wrong Type For Native PHP Function |
All, Analyze, CI-checks, CE |
4 |
1 |
Minor |
0 % |
Comparison Is Always The Same |
All, Analyze |
1 |
1 |
Minor |
0 % |
Buried Assignation |
Analyze, All |
2 |
1 |
Minor |
84 % |
Check JSON |
All, Analyze, CI-checks, CE |
4 |
1 |
Major |
65 % |
Identical Consecutive Expression |
All, Analyze |
1 |
1 |
Minor |
59 % |
Inconsistent Elseif |
All, Analyze |
2 |
1 |
Major |
73 % |
Long Arguments |
All, Analyze |
2 |
1 |
Minor |
68 % |
Missing Assignation In Command |
All, Analyze |
3 |
2 |
Minor |
0 % |
Variable Is Not A Condition |
All, Analyze |
1 |
1 |
Minor |
93 % |
Preprocessable |
Analyze, All, Rector |
3 |
1 |
Minor |
85 % |
Static Loop |
Analyze, All, Simple, Level 4 |
1 |
1 |
Minor |
67 % |
Timestamp Difference |
Analyze, All, Simple, Level 3, CI-checks, CE |
1 |
1 |
Major |
49 % |
Undefined Trait |
Analyze, All, LintButWontExec, CI-checks, Undefined, IsPHP, IsStub, IsExt, CE |
1 |
1 |
Critical |
15 % |
Missing Some Returntype |
All, Typehints, Analyze, CI-checks, CE |
2 |
1 |
Minor |
0 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE |
16 |
8 |
Minor |
95 % |