Non-constant Index In Array |
Analyze, All, Simple |
1 |
1 |
Minor |
14 % |
Abstract Or Implements |
All, Analyze, LintButWontExec |
11 |
11 |
Major |
24 % |
Avoid Optional Properties |
All, Analyze |
11 |
5 |
Major |
84 % |
Could Be Abstract Class |
All, Analyze, ClassReview |
1 |
1 |
Minor |
65 % |
Class Could Be Final |
All, Analyze, ClassReview |
81 |
81 |
Minor |
96 % |
Method Could Be Static |
All, Analyze, ClassReview |
8 |
5 |
Minor |
92 % |
Could Inject Param |
All, Analyze, ClassReview |
17 |
3 |
Minor |
0 % |
Empty Classes |
Analyze, All, Simple |
1 |
1 |
Minor |
60 % |
Hidden Nullable Typehint |
All, Analyze, ClassReview |
18 |
12 |
Minor |
0 % |
Incompatible Signature Methods With Covariance |
All, Analyze |
1 |
1 |
Critical |
0 % |
Method Signature Must Be Compatible |
All, Analyze, LintButWontExec |
25 |
24 |
Critical |
53 % |
Parent First |
All, Analyze, Suggestions |
1 |
1 |
Minor |
56 % |
Never Used Properties |
Analyze, All, Simple, Unused |
2 |
1 |
Minor |
71 % |
Property Used In One Method Only |
All, Analyze |
1 |
1 |
Minor |
84 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple |
10 |
7 |
Minor |
95 % |
Too Many Injections |
All, Analyze, Dismell |
1 |
1 |
Minor |
19 % |
Undefined Classes |
Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt |
258 |
67 |
Major |
91 % |
Undefined Parent |
Analyze, All, Simple, Undefined |
1 |
1 |
Minor |
45 % |
Undefined Properties |
Analyze, ClearPHP, All, Simple, CI-checks, Undefined, ChangedBehavior, CE |
1 |
1 |
Major |
61 % |
Unfinished Object |
All, Analyze, ClassReview |
5 |
4 |
Major |
0 % |
Unresolved Classes |
Analyze, All, Stubs |
21 |
9 |
Major |
76 % |
Unresolved Instanceof |
Analyze, Dead code, ClearPHP, All, Simple, Top10 |
3 |
3 |
Major |
48 % |
Unused Class Constant |
All, Analyze, ClassReview, Unused |
9 |
5 |
Minor |
0 % |
Unused Public Method |
All, Analyze |
309 |
75 |
Minor |
0 % |
Useless Constructor |
Analyze, All, Simple, Level 3 |
2 |
2 |
Minor |
41 % |
Weak Typing |
All, Analyze |
3 |
2 |
Minor |
47 % |
Undefined Constants |
Analyze, All, Simple, CompatibilityPHP72, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE |
19 |
5 |
Minor |
71 % |
Catch Undefined Variable |
All, Analyze, Undefined |
1 |
1 |
Minor |
0 % |
Throw Raw Exceptions |
All, Analyze, Suggestions |
5 |
3 |
Minor |
0 % |
Uncaught Exceptions |
Analyze, All |
15 |
8 |
Minor |
84 % |
Useless Catch |
All, Analyze, CI-checks, CE |
1 |
1 |
Minor |
44 % |
Use Named Boolean In Argument Definition |
All, Analyze |
3 |
3 |
Minor |
84 % |
Could Make A Function |
All, Analyze, Suggestions |
11 |
11 |
Minor |
66 % |
Dont Collect Void |
All, Analyze, IsPHP, IsStub, IsExt |
18 |
3 |
Minor |
0 % |
Empty Function |
Analyze, All, Simple |
2 |
2 |
Minor |
74 % |
Mismatched Typehint |
All, Analyze, Typechecks |
2 |
2 |
Major |
66 % |
No Boolean As Default |
All, Analyze |
3 |
3 |
Minor |
84 % |
No Return Used |
All, Analyze, Suggestions, Level 4 |
1 |
1 |
Minor |
69 % |
Relay Function |
Analyze, All |
2 |
2 |
Major |
84 % |
Undefined Functions |
Analyze, All, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE |
91 |
35 |
Major |
68 % |
Unused Parameter |
Analyze, All, Simple, Unused |
1 |
1 |
Major |
90 % |
Useless Referenced Argument |
All, Analyze |
1 |
1 |
Minor |
58 % |
Uses Default Values |
Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE |
1 |
1 |
Minor |
98 % |
Wrong Type Returned |
All, Analyze, ClassReview, CI-checks, LintButWontExec, CE |
7 |
2 |
Minor |
0 % |
Forgotten Interface |
All, Analyze |
3 |
3 |
Minor |
48 % |
Undefined Interfaces |
Analyze, All, CI-checks, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE |
16 |
11 |
Major |
72 % |
Useless Interfaces |
Analyze, ClearPHP, All, Simple, ClassReview, Typechecks |
3 |
3 |
Minor |
59 % |
Hidden Use Expression |
Analyze, OneFile, All, Simple, CI-checks, CE |
2 |
2 |
Minor |
23 % |
Multiple Alias Definitions |
Analyze, All, Simple, CI-checks, CE |
11 |
6 |
Minor |
44 % |
Unresolved Use |
Analyze, ClearPHP, All, Simple, IsPHP, IsStub, IsExt |
27 |
19 |
Major |
69 % |
Assumptions |
All, Analyze |
8 |
5 |
Minor |
0 % |
Scalar Are Not Arrays |
All, Analyze, CompatibilityPHP74, CI-checks, CE |
4 |
1 |
Minor |
0 % |
Should Use Coalesce |
Analyze, All, Simple, Suggestions, Level 3, CI-checks, CE |
3 |
3 |
Major |
71 % |
Comparison Is Always True |
All, Analyze |
10 |
5 |
Minor |
0 % |
Bail Out Early |
All, Analyze, OneFile, Simple, Level 4 |
2 |
2 |
Minor |
64 % |
Cast To Boolean |
Analyze, OneFile, All, Simple, Level 1 |
3 |
3 |
Minor |
56 % |
Common Alternatives |
Analyze, All, Simple |
2 |
1 |
Major |
80 % |
Dont Change The Blind Var |
All, Analyze |
2 |
1 |
Minor |
73 % |
Dont Mix ++ |
All, Analyze |
1 |
1 |
Minor |
56 % |
Iffectations |
Analyze, All |
1 |
1 |
Minor |
80 % |
Maybe Missing New |
All, Analyze |
6 |
1 |
Critical |
57 % |
Nested Ifthen |
Analyze, All, RadwellCodes |
1 |
1 |
Major |
84 % |
Variable Is Not A Condition |
All, Analyze |
27 |
21 |
Minor |
93 % |
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 |
4 |
2 |
Minor |
85 % |
Switch Without Default |
Analyze, ClearPHP, All, Simple, CI-checks, CE |
1 |
1 |
Major |
69 % |
Unsupported Types With Operators |
All, Analyze, CompatibilityPHP80, CE |
3 |
2 |
Minor |
0 % |
Use Same Types For Comparisons |
All, Analyze |
4 |
1 |
Minor |
0 % |
Missing Some Returntype |
All, Typehints, Analyze, CI-checks, CE |
2 |
2 |
Minor |
0 % |
Wrong Type With Default |
All, Analyze, LintButWontExec, ClassReview |
1 |
1 |
Minor |
0 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE |
1 |
1 |
Minor |
95 % |