Weak Type With Array |
All, Analyze |
3 |
3 |
Minor |
0 % |
Ambiguous Static |
All, Analyze, Semantics |
58 |
24 |
Minor |
66 % |
Could Be Abstract Class |
All, Analyze, ClassReview |
3 |
3 |
Minor |
65 % |
Class Could Be Final |
All, Analyze, ClassReview |
41 |
27 |
Minor |
96 % |
Method Could Be Static |
All, Analyze, ClassReview |
4 |
3 |
Minor |
92 % |
Could Inject Param |
All, Analyze, ClassReview |
9 |
4 |
Minor |
0 % |
Incompatible Signature Methods With Covariance |
All, Analyze |
5 |
5 |
Critical |
0 % |
Assign Default To Properties |
Analyze, ClearPHP, All, Simple, Level 2 |
2 |
1 |
Minor |
71 % |
Property Could Be Local |
All, Analyze, ClassReview |
5 |
3 |
Minor |
76 % |
Property Used In One Method Only |
All, Analyze |
7 |
3 |
Minor |
84 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple |
33 |
21 |
Minor |
95 % |
Static Methods Called From Object |
Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE |
2 |
2 |
Minor |
50 % |
Undefined Classes |
Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt |
110 |
27 |
Major |
91 % |
Undefined Properties |
Analyze, ClearPHP, All, Simple, CI-checks, CompatibilityPHP82, Undefined, ChangedBehavior, CE |
7 |
1 |
Major |
61 % |
Unfinished Object |
All, Analyze, ClassReview |
1 |
1 |
Major |
0 % |
Unused Public Method |
All, Analyze |
106 |
26 |
Minor |
0 % |
Useless Method |
All, Analyze |
8 |
8 |
Minor |
0 % |
Use const |
Analyze, Coding Conventions, All, Top10, CI-checks, CE |
5 |
2 |
Minor |
54 % |
Undefined Constants |
Analyze, All, Simple, CompatibilityPHP72, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE |
16 |
2 |
Minor |
71 % |
Forgotten Thrown |
All, Analyze |
15 |
1 |
Minor |
20 % |
Throw Raw Exceptions |
All, Analyze, Suggestions |
2 |
1 |
Minor |
0 % |
Uncaught Exceptions |
Analyze, All |
4 |
2 |
Minor |
84 % |
Unthrown Exception |
Analyze, Dead code, ClearPHP, All, Simple |
15 |
1 |
Minor |
45 % |
Use Named Boolean In Argument Definition |
All, Analyze |
1 |
1 |
Minor |
84 % |
Deep Definitions |
Analyze, Appinfo, All, Simple, CE |
2 |
1 |
Major |
13 % |
Method Is Not An If |
All, Analyze |
15 |
12 |
Minor |
0 % |
Never Called Parameter |
All, Analyze, Suggestions, Rector, Unused |
3 |
3 |
Minor |
92 % |
No Boolean As Default |
All, Analyze |
1 |
1 |
Minor |
84 % |
Relay Function |
Analyze, All |
12 |
9 |
Major |
84 % |
Uses Default Values |
Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE |
78 |
23 |
Minor |
98 % |
Using Deprecated Method |
All, Analyze, Attributes |
1 |
1 |
Minor |
0 % |
Wrong Number Of Arguments |
Analyze, OneFile, All, Simple, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE |
3 |
1 |
Major |
81 % |
Wrong Type Returned |
All, Analyze, ClassReview, CI-checks, LintButWontExec, CE |
25 |
7 |
Minor |
0 % |
Forgotten Interface |
All, Analyze |
2 |
2 |
Minor |
48 % |
Don't Pollute Global Space |
All, Analyze |
76 |
30 |
Minor |
0 % |
False To Array Conversion |
All, LintButWontExec, CompatibilityPHP81, CompatibilityPHP82, Analyze |
4 |
1 |
Minor |
0 % |
No Class In Global |
All, Analyze, CI-checks, CE |
45 |
30 |
Minor |
77 % |
No Null For Native PHP Functions |
All, Analyze, CompatibilityPHP81, Deprecated |
5 |
2 |
Minor |
0 % |
Should Use Coalesce |
Analyze, All, Simple, Suggestions, Level 3, CI-checks, CE |
1 |
1 |
Major |
71 % |
Wrong Type For Native PHP Function |
All, Analyze, CI-checks, CE |
3 |
3 |
Minor |
0 % |
Altering Foreach Without Reference |
Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE |
1 |
1 |
Major |
56 % |
Strict Comparison With Booleans |
Analyze, All, Simple, Suggestions, Level 2, CI-checks, CE |
2 |
2 |
Minor |
77 % |
Buried Assignation |
Analyze, All |
1 |
1 |
Minor |
84 % |
Check JSON |
All, Analyze, CI-checks, CE |
1 |
1 |
Major |
65 % |
Could Use __DIR__ |
Analyze, All, Simple, Suggestions, Level 3, php-cs-fixable, CI-checks, CE |
1 |
1 |
Major |
56 % |
Could Use Short Assignation |
Analyze, OneFile, Performances, All, Simple, CI-checks, Rector, CE |
1 |
1 |
Minor |
63 % |
Don't Read And Write In One Expression |
All, Analyze, CompatibilityPHP73, CompatibilityPHP74, CE |
1 |
1 |
Critical |
38 % |
Iffectations |
Analyze, All |
1 |
1 |
Minor |
80 % |
Missing Assignation In Command |
All, Analyze |
1 |
1 |
Minor |
0 % |
Maybe Missing New |
All, Analyze |
14 |
1 |
Critical |
57 % |
Multiple Type Variable |
All, Analyze, Level 4 |
1 |
1 |
Minor |
58 % |
No Parenthesis For Language Construct |
Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks, CE |
1 |
1 |
Minor |
62 % |
Variable Is Not A Condition |
All, Analyze |
5 |
3 |
Minor |
93 % |
include_once() Usage |
Analyze, Appinfo, All, CE |
30 |
2 |
Minor |
73 % |
Should Use Ternary Operator |
All, Analyze, OneFile, Simple, CI-checks, CE |
5 |
4 |
Minor |
86 % |
Preprocessable |
Analyze, All, Rector |
3 |
2 |
Minor |
85 % |
Use Constant Instead Of Function |
PHP recommendations, All, Analyze, php-cs-fixable, CI-checks, CE |
1 |
1 |
Minor |
61 % |
Use Positive Condition |
All, Analyze, OneFile, Simple |
3 |
2 |
Minor |
82 % |
Useless Instructions |
Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, CE |
1 |
1 |
Minor |
63 % |
Useless Parenthesis |
Analyze, All, Simple, CI-checks, CE |
1 |
1 |
Minor |
81 % |
Missing Some Returntype |
All, Typehints, Analyze, CI-checks, CE |
1 |
1 |
Minor |
0 % |
Wrong Type With Default |
All, Analyze, LintButWontExec, ClassReview |
1 |
1 |
Minor |
0 % |
Written Only Variables |
Analyze, OneFile, All, Simple, Unused |
2 |
1 |
Minor |
87 % |