Weak Type With Array |
All, Analyze |
7 |
2 |
Minor |
0 % |
Ambiguous Visibilities |
All, Analyze, Semantics |
4 |
4 |
Minor |
70 % |
Avoid Optional Properties |
All, Analyze |
1 |
1 |
Major |
84 % |
Cant Instantiate Non Class |
All, Analyze, ClassReview |
3 |
1 |
Minor |
0 % |
Could Be Abstract Class |
All, Analyze, ClassReview |
1 |
1 |
Minor |
65 % |
Class Could Be Final |
All, Analyze, ClassReview |
7 |
7 |
Minor |
96 % |
Method Could Be Static |
All, Analyze, ClassReview |
5 |
4 |
Minor |
92 % |
Empty Classes |
Analyze, All, Simple |
1 |
1 |
Minor |
60 % |
Hidden Nullable Typehint |
All, Analyze, ClassReview |
13 |
2 |
Minor |
0 % |
Multiple Identical Trait Or Interface |
Analyze, OneFile, All, Simple, CI-checks, CE |
1 |
1 |
Minor |
0 % |
Never Used Properties |
Analyze, All, Simple, Unused |
7 |
4 |
Minor |
71 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple |
5 |
3 |
Minor |
95 % |
Undefined Classes |
Analyze, All, Stubs, Undefined |
22 |
9 |
Major |
91 % |
Undefined Class Constants |
Analyze, All, CI-checks, Stubs, LintButWontExec, Undefined, ChangedBehavior, CE |
1 |
1 |
Major |
62 % |
Undefined Properties |
Analyze, ClearPHP, All, Simple, CI-checks, CompatibilityPHP82, Undefined, ChangedBehavior, CE |
8 |
2 |
Major |
61 % |
Undefined static:: Or self:: |
Analyze, All, Simple, Undefined |
5 |
2 |
Minor |
35 % |
Undefined ::class |
All, Analyze, CI-checks, Undefined, CE |
2 |
2 |
Major |
36 % |
Unresolved Classes |
Analyze, All, Stubs |
1 |
1 |
Major |
76 % |
Unused Classes |
Dead code, All, Simple, Analyze, Unused |
2 |
2 |
Major |
67 % |
Unused Public Methods |
All, Analyze, ChangedBehavior |
21 |
8 |
Minor |
0 % |
Useless Method |
All, Analyze |
1 |
1 |
Minor |
0 % |
Unused Enumeration Case |
All, Analyze, Dead code, Unused |
1 |
1 |
Minor |
0 % |
Use Named Boolean In Argument Definition |
All, Analyze |
1 |
1 |
Minor |
84 % |
Empty Function |
Analyze, All, Simple |
2 |
1 |
Minor |
74 % |
Insufficient Typehint |
All, Analyze, Typechecks |
2 |
1 |
Major |
43 % |
Method Is Not An If |
All, Analyze |
1 |
1 |
Minor |
0 % |
Never Called Parameter |
All, Analyze, Suggestions, Rector, Unused |
2 |
1 |
Minor |
92 % |
No Boolean As Default |
All, Analyze |
1 |
1 |
Minor |
84 % |
Relay Function |
Analyze, All |
3 |
2 |
Major |
84 % |
Undefined Functions |
Analyze, All, CI-checks, Stubs, Undefined, CE |
10 |
4 |
Major |
68 % |
Unused Parameter |
Analyze, All, Simple, Unused |
2 |
2 |
Major |
90 % |
Uses Default Values |
Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE |
10 |
3 |
Minor |
98 % |
Wrong Type Returned |
All, Analyze, ClassReview, CI-checks, LintButWontExec, CE |
2 |
1 |
Minor |
0 % |
Wrong Type With Call |
All, Analyze, Typechecks, CI-checks, CE |
2 |
2 |
Minor |
0 % |
Undefined Interfaces |
Analyze, All, CI-checks, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE |
9 |
6 |
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 |
21 |
10 |
Major |
69 % |
Assumptions |
All, Analyze |
2 |
2 |
Minor |
0 % |
Wrong Parameter Type |
Analyze, OneFile, All, Simple, CI-checks, CE |
1 |
1 |
Major |
76 % |
Use === null |
Analyze, OneFile, All, RadwellCodes, Simple, php-cs-fixable, CI-checks, CE |
5 |
2 |
Minor |
53 % |
No Null For Native PHP Functions |
All, Analyze, CompatibilityPHP81, Deprecated |
1 |
1 |
Minor |
0 % |
Only Variable Passed By Reference |
All, Analyze, LintButWontExec |
1 |
1 |
Minor |
0 % |
Should Use Coalesce |
Analyze, All, Simple, Suggestions, Level 3, CI-checks, CE |
2 |
1 |
Major |
71 % |
Wrong Type For Native PHP Function |
All, Analyze, CI-checks, CE |
2 |
2 |
Minor |
0 % |
Bail Out Early |
All, Analyze, OneFile, Simple, Level 4 |
2 |
2 |
Minor |
64 % |
Strict Comparison With Booleans |
Analyze, All, Simple, Suggestions, Level 2, CI-checks, CE |
2 |
1 |
Minor |
77 % |
Buried Assignation |
Analyze, All |
1 |
1 |
Minor |
84 % |
Don't Read And Write In One Expression |
All, Analyze, CompatibilityPHP73, CompatibilityPHP74, CE |
1 |
1 |
Critical |
38 % |
Merge If Then |
All, Analyze, CI-checks, ChangedBehavior, CE |
3 |
1 |
Minor |
0 % |
Nested Ifthen |
Analyze, All, RadwellCodes |
1 |
1 |
Major |
84 % |
No Choice |
Analyze, All, Simple, Level 2, Top10, CI-checks, Rector, ChangedBehavior, CE |
3 |
1 |
Major |
42 % |
Variable Is Not A Condition |
All, Analyze |
3 |
3 |
Minor |
93 % |
Preprocessable |
Analyze, All, Rector |
3 |
3 |
Minor |
85 % |
Unsupported Types With Operators |
All, Analyze, CompatibilityPHP80, CE |
1 |
1 |
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 |
3 |
1 |
Minor |
63 % |
Useless Null Coalesce |
All, Analyze, Typehints |
2 |
2 |
Minor |
0 % |
Useless Parenthesis |
Analyze, All, Simple, CI-checks, CE |
1 |
1 |
Minor |
81 % |
Already Parents Trait |
All, Analyze |
1 |
1 |
Minor |
0 % |
Cannot Call Static Trait Method Directly |
All, Analyze, CompatibilityPHP81, CompatibilityPHP82 |
6 |
1 |
Minor |
0 % |
Dependant Trait |
Analyze, All, Level 3 |
4 |
4 |
Minor |
28 % |
Method Collision Traits |
All, Analyze, LintButWontExec, ChangedBehavior |
2 |
2 |
Critical |
5 % |
Undefined Trait |
Analyze, All, LintButWontExec, CI-checks, Undefined, IsPHP, IsStub, IsExt, CE |
2 |
2 |
Critical |
15 % |
Missing Some Returntype |
All, Typehints, Analyze, CI-checks, CE |
1 |
1 |
Minor |
0 % |
StandaloneType True False Null |
All, Appcontent, Analyze |
2 |
1 |
Minor |
0 % |
Wrong Type With Default |
All, Analyze, LintButWontExec, ClassReview |
15 |
2 |
Minor |
0 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE |
2 |
2 |
Minor |
95 % |