Ambiguous Visibilities |
All, Analyze |
4 |
4 |
Minor |
70 % |
Avoid Optional Properties |
All, Analyze |
6 |
1 |
Major |
84 % |
Class Could Be Final |
All, Analyze, ClassReview |
11 |
11 |
Minor |
96 % |
Method Could Be Static |
All, Analyze, ClassReview |
2 |
2 |
Minor |
92 % |
Hidden Nullable Typehint |
All, Analyze, ClassReview |
10 |
5 |
Minor |
0 % |
Mismatch Properties Typehints |
All, Analyze, LintButWontExec, ClassReview |
1 |
1 |
Minor |
0 % |
No Public Access |
Analyze, All |
1 |
1 |
Minor |
61 % |
Same Name For Property And Method |
All, Analyze, ClassReview, Semantics |
8 |
3 |
Minor |
0 % |
Property Used In One Method Only |
All, Analyze |
1 |
1 |
Minor |
84 % |
Scalar Or Object Property |
All, Analyze |
2 |
1 |
Minor |
32 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple |
5 |
3 |
Minor |
95 % |
Undefined Classes |
Analyze, All, Stubs, IsPHP, IsStub, IsExt |
47 |
15 |
Major |
91 % |
Undefined Class Constants |
Analyze, All, CI-checks, Stubs, LintButWontExec, IsPHP, IsStub, IsExt, CE |
2 |
1 |
Major |
62 % |
Undefined Properties |
Analyze, ClearPHP, All, Simple, CI-checks, CE |
23 |
6 |
Major |
61 % |
Undefined static:: Or self:: |
Analyze, All, Simple |
4 |
3 |
Minor |
35 % |
Undefined ::class |
All, Analyze, CI-checks, CE |
2 |
1 |
Major |
36 % |
Unfinished Object |
All, Analyze, ClassReview |
16 |
7 |
Major |
0 % |
Unresolved Classes |
Analyze, All, Stubs |
3 |
2 |
Major |
76 % |
Unresolved Instanceof |
Analyze, Dead code, ClearPHP, All, Simple, Top10 |
1 |
1 |
Major |
48 % |
Unused Class Constant |
All, Analyze, ClassReview, Unused |
4 |
2 |
Minor |
0 % |
Used Once Property |
All, Analyze |
3 |
3 |
Minor |
74 % |
Useless Constructor |
Analyze, All, Simple, Level 3 |
2 |
2 |
Minor |
41 % |
Wrong Typed Property Default |
All, Analyze, LintButWontExec, ClassReview, CI-checks, CE |
1 |
1 |
Minor |
0 % |
Undefined Constants |
Analyze, All, Simple, CompatibilityPHP72, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE |
2 |
2 |
Minor |
71 % |
Throw Raw Exceptions |
All, Analyze, Suggestions |
1 |
1 |
Minor |
0 % |
Uncaught Exceptions |
Analyze, All |
1 |
1 |
Minor |
84 % |
Use Named Boolean In Argument Definition |
All, Analyze |
14 |
3 |
Minor |
84 % |
Empty Function |
Analyze, All, Simple |
5 |
5 |
Minor |
74 % |
Mismatched Default Arguments |
All, Analyze, Typechecks |
7 |
2 |
Minor |
80 % |
Mismatched Typehint |
All, Analyze, Typechecks |
4 |
3 |
Major |
66 % |
Modified Typed Parameter |
All, Analyze, ClassReview |
2 |
2 |
Minor |
0 % |
Must Return Methods |
Analyze, All, Simple, Level 2, LintButWontExec, CI-checks, CE |
3 |
3 |
Major |
34 % |
Never Called Parameter |
All, Analyze, Suggestions, Rector, Unused |
2 |
2 |
Minor |
92 % |
No Boolean As Default |
All, Analyze |
14 |
3 |
Minor |
84 % |
No Return Used |
All, Analyze, Suggestions, Level 4 |
1 |
1 |
Minor |
69 % |
Redeclared PHP Functions |
Analyze, Appinfo, All, Simple, CI-checks, CE |
1 |
1 |
Minor |
26 % |
Relay Function |
Analyze, All |
7 |
4 |
Major |
84 % |
Typehint Must Be Returned |
All, Analyze, LintButWontExec, CI-checks, CE |
3 |
3 |
Major |
22 % |
Undefined Functions |
Analyze, All, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE |
54 |
8 |
Major |
68 % |
Uses Default Values |
Analyze, All, Simple, CI-checks, CE |
6 |
3 |
Minor |
98 % |
Wrong Type Returned |
All, Analyze, ClassReview, CI-checks, LintButWontExec, CE |
34 |
6 |
Minor |
0 % |
Undefined Interfaces |
Analyze, All, CI-checks, LintButWontExec, IsPHP, IsStub, IsExt, CE |
32 |
11 |
Major |
72 % |
Multiple Alias Definitions |
Analyze, All, Simple, CI-checks, CE |
2 |
2 |
Minor |
44 % |
Overload Existing Names |
All, Analyze, Semantics, IsPHP, IsStub, IsExt |
1 |
1 |
Minor |
0 % |
Unresolved Use |
Analyze, ClearPHP, All, Simple |
78 |
15 |
Major |
69 % |
Assumptions |
All, Analyze |
2 |
1 |
Minor |
0 % |
Don't Pollute Global Space |
All, Analyze |
1 |
1 |
Minor |
0 % |
JsonSerialize() Mixed Return Type |
All, Analyze, LintButWontExec, CompatibilityPHP81, Deprecated |
1 |
1 |
Minor |
0 % |
No Class In Global |
All, Analyze, CI-checks, CE |
1 |
1 |
Minor |
77 % |
Scalar Are Not Arrays |
All, Analyze, CompatibilityPHP74, CI-checks, CE |
3 |
1 |
Minor |
0 % |
Wrong Type For Native PHP Function |
All, Analyze, CI-checks, CE |
2 |
2 |
Minor |
0 % |
Comparison Is Always True |
All, Analyze |
1 |
1 |
Minor |
0 % |
Array_merge Needs Array Of Arrays |
All, Analyze |
1 |
1 |
Minor |
0 % |
Bail Out Early |
All, Analyze, OneFile, Simple, Level 4 |
1 |
1 |
Minor |
64 % |
Buried Assignation |
Analyze, All |
3 |
1 |
Minor |
84 % |
Casting Ternary |
All, Analyze, OneFile, CI-checks, CE |
1 |
1 |
Major |
0 % |
Check JSON |
All, Analyze, CI-checks, CE |
2 |
2 |
Major |
65 % |
Iffectations |
Analyze, All |
2 |
1 |
Minor |
80 % |
No Choice |
Analyze, All, Simple, Level 2, Top10, CI-checks, Rector, CE |
1 |
1 |
Major |
42 % |
No Need For Triple Equal |
All, Analyze |
2 |
2 |
Minor |
0 % |
Preprocessable |
Analyze, All, Rector |
1 |
1 |
Minor |
85 % |
Unsupported Types With Operators |
All, Analyze, CompatibilityPHP80, CE |
3 |
1 |
Minor |
0 % |
Useless Instructions |
Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, CE |
1 |
1 |
Minor |
63 % |
Dependant Trait |
Analyze, All, Level 3 |
1 |
1 |
Minor |
28 % |
Trait Not Found |
All, Analyze, LintButWontExec |
4 |
4 |
Minor |
0 % |
Undefined Trait |
Analyze, All, LintButWontExec, CI-checks, IsPHP, IsStub, IsExt, CE |
2 |
2 |
Critical |
15 % |
Missing Some Returntype |
All, Typehints, Analyze, CI-checks, CE |
1 |
1 |
Minor |
0 % |
Undefined Variable |
All, Analyze, CI-checks, CE |
2 |
1 |
Minor |
77 % |
Used Once Variables |
Analyze, OneFile, All, Simple, Top10 |
2 |
1 |
Minor |
74 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE |
26 |
7 |
Minor |
95 % |