Ambiguous Static |
All, Analyze |
31 |
10 |
Minor |
66 % |
Ambiguous Visibilities |
All, Analyze |
7 |
4 |
Minor |
70 % |
Class Could Be Final |
All, Analyze, ClassReview |
34 |
34 |
Minor |
96 % |
Method Could Be Static |
All, Analyze, ClassReview |
10 |
4 |
Minor |
92 % |
Could Inject Param |
All, Analyze, ClassReview |
16 |
3 |
Minor |
0 % |
Hidden Nullable Typehint |
All, Analyze, ClassReview |
1 |
1 |
Minor |
0 % |
Assign Default To Properties |
Analyze, ClearPHP, All, Simple, Level 2 |
8 |
3 |
Minor |
71 % |
No Public Access |
Analyze, All |
1 |
1 |
Minor |
61 % |
Non Static Methods Called In A Static |
Analyze, CompatibilityPHP56, All, Simple, CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CI-checks, CE |
82 |
16 |
Minor |
20 % |
Property Could Be Local |
All, Analyze, ClassReview |
71 |
7 |
Minor |
76 % |
Same Name For Property And Method |
All, Analyze, ClassReview, Semantics |
22 |
4 |
Minor |
0 % |
Property Used In One Method Only |
All, Analyze |
1 |
1 |
Minor |
84 % |
Could Use self |
Analyze, All, Simple, Suggestions, Level 3, ClassReview |
22 |
7 |
Minor |
63 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple |
23 |
12 |
Minor |
95 % |
Undefined Classes |
Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt |
13 |
8 |
Major |
91 % |
Undefined Parent |
Analyze, All, Simple, Undefined |
1 |
1 |
Minor |
45 % |
Undefined Properties |
Analyze, ClearPHP, All, Simple, CI-checks, Undefined, ChangedBehavior, CE |
2 |
2 |
Major |
61 % |
Unfinished Object |
All, Analyze, ClassReview |
13 |
2 |
Major |
0 % |
Unresolved Classes |
Analyze, All, Stubs |
5 |
5 |
Major |
76 % |
Unused Classes |
Dead code, All, Simple, Analyze, Unused |
1 |
1 |
Major |
67 % |
Unused Class Constant |
All, Analyze, ClassReview, Unused |
1 |
1 |
Minor |
0 % |
Unused Public Method |
All, Analyze |
38 |
10 |
Minor |
0 % |
Useless Constructor |
Analyze, All, Simple, Level 3 |
1 |
1 |
Minor |
41 % |
Wrong Typed Property Default |
All, Analyze, LintButWontExec, ClassReview, CI-checks, CE |
23 |
5 |
Minor |
0 % |
Undefined Constants |
Analyze, All, Simple, CompatibilityPHP72, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE |
7 |
2 |
Minor |
71 % |
Forgotten Thrown |
All, Analyze |
1 |
1 |
Minor |
33 % |
Uncaught Exceptions |
Analyze, All |
17 |
8 |
Minor |
84 % |
Unthrown Exception |
Analyze, Dead code, ClearPHP, All, Simple |
2 |
2 |
Minor |
45 % |
Empty Function |
Analyze, All, Simple |
4 |
3 |
Minor |
74 % |
Hardcoded Passwords |
Analyze, OneFile, Security, All, Simple, Level 3 |
1 |
1 |
Major |
70 % |
Mismatched Typehint |
All, Analyze, Typechecks |
7 |
4 |
Major |
66 % |
Never Called Parameter |
All, Analyze, Suggestions, Rector, Unused |
1 |
1 |
Minor |
92 % |
No Return Used |
All, Analyze, Suggestions, Level 4 |
1 |
1 |
Minor |
69 % |
Redeclared PHP Functions |
Analyze, Appinfo, All, Simple, CI-checks, CE |
9 |
1 |
Minor |
26 % |
Relay Function |
Analyze, All |
9 |
5 |
Major |
84 % |
Undefined Functions |
Analyze, All, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE |
124 |
20 |
Major |
68 % |
Unused Parameter |
Analyze, All, Simple, Unused |
1 |
1 |
Major |
90 % |
Uses Default Values |
Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE |
16 |
6 |
Minor |
98 % |
Wrong Number Of Arguments |
Analyze, OneFile, All, Simple, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE |
10 |
4 |
Major |
81 % |
Wrong Type Returned |
All, Analyze, ClassReview, CI-checks, LintButWontExec, CE |
14 |
6 |
Minor |
0 % |
Wrong Type With Call |
All, Analyze, Typechecks, CI-checks, CE |
18 |
6 |
Minor |
0 % |
Undefined Interfaces |
Analyze, All, CI-checks, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE |
5 |
4 |
Major |
72 % |
Should Make Alias |
Analyze, OneFile, All, Simple, CI-checks, CE |
1 |
1 |
Minor |
46 % |
Unresolved Use |
Analyze, ClearPHP, All, Simple, IsPHP, IsStub, IsExt |
1 |
1 |
Major |
69 % |
Assumptions |
All, Analyze |
1 |
1 |
Minor |
0 % |
False To Array Conversion |
All, LintButWontExec, CompatibilityPHP81, CompatibilityPHP82, Analyze |
19 |
4 |
Minor |
0 % |
Should Use Coalesce |
Analyze, All, Simple, Suggestions, Level 3, CI-checks, CE |
2 |
2 |
Major |
71 % |
Bail Out Early |
All, Analyze, OneFile, Simple, Level 4 |
1 |
1 |
Minor |
64 % |
Dont Change The Blind Var |
All, Analyze |
1 |
1 |
Minor |
73 % |
Maybe Missing New |
All, Analyze |
4 |
1 |
Critical |
57 % |
Modernize Empty With Expression |
All, Analyze, OneFile, Simple |
1 |
1 |
Minor |
63 % |
Nested Ifthen |
Analyze, All, RadwellCodes |
2 |
2 |
Major |
84 % |
No Choice |
Analyze, All, Simple, Level 2, Top10, CI-checks, Rector, CE |
10 |
6 |
Major |
42 % |
No Need For Triple Equal |
All, Analyze |
13 |
5 |
Minor |
0 % |
@ Operator |
Appinfo, ClearPHP, All, Analyze, Performances, CI-checks, CE |
2 |
2 |
Minor |
65 % |
Preprocessable |
Analyze, All, Rector |
3 |
1 |
Minor |
85 % |
Unsupported Types With Operators |
All, Analyze, CompatibilityPHP80, CE |
9 |
3 |
Minor |
0 % |
Useless Type Casting |
All, PHP recommendations, Analyze, OneFile, RadwellCodes, Simple, Level 4, CI-checks, CE |
1 |
1 |
Minor |
47 % |
Useless Instructions |
Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, CE |
10 |
6 |
Minor |
63 % |
Missing Some Returntype |
All, Typehints, Analyze, CI-checks, CE |
12 |
3 |
Minor |
0 % |
Wrong Type With Default |
All, Analyze, LintButWontExec, ClassReview |
2 |
2 |
Minor |
0 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE |
1 |
1 |
Minor |
95 % |