Could Be Abstract Class |
All, Analyze, ClassReview |
1 |
1 |
Minor |
65 % |
Class Could Be Final |
All, Analyze, ClassReview |
5 |
4 |
Minor |
96 % |
Could Inject Parameter |
All, Analyze, ClassReview, ChangedBehavior |
3 |
3 |
Minor |
0 % |
Different Argument Counts |
All, Analyze, ClassReview |
4 |
2 |
Minor |
0 % |
Hidden Nullable Typehint |
All, Analyze, ClassReview |
19 |
4 |
Minor |
0 % |
Method Signature Must Be Compatible |
All, Analyze, LintButWontExec |
4 |
2 |
Critical |
53 % |
Mismatch Properties Typehints |
All, Analyze, LintButWontExec, ClassReview |
1 |
1 |
Minor |
0 % |
No Readonly Assignation In Global |
All, Analyze, ClassReview, ChangedBehavior |
7 |
2 |
Minor |
0 % |
Parent First |
All, Analyze, Suggestions |
2 |
2 |
Minor |
56 % |
Never Used Properties |
Analyze, All, Simple, Unused |
1 |
1 |
Minor |
71 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple |
10 |
4 |
Minor |
95 % |
Undefined Classes |
Analyze, All, Stubs, Undefined |
19 |
4 |
Major |
91 % |
Undefined Properties |
Analyze, ClearPHP, All, Simple, CI-checks, CompatibilityPHP82, Undefined, ChangedBehavior, CE |
4 |
1 |
Major |
61 % |
Unfinished Object |
All, Analyze, ClassReview |
1 |
1 |
Major |
0 % |
Unreachable Method |
All, Analyze, Dead code, ClassReview, Unused |
2 |
1 |
Minor |
0 % |
Unused Public Methods |
All, Analyze, ChangedBehavior |
9 |
4 |
Minor |
0 % |
Converted Exceptions |
All, Analyze |
2 |
2 |
Minor |
0 % |
Forgotten Thrown |
All, Analyze |
8 |
1 |
Minor |
20 % |
Uncaught Exceptions |
Analyze, All |
2 |
2 |
Minor |
84 % |
Native Alias Functions Usage |
Analyze, ClearPHP, OneFile, All, Simple, Level 1, CI-checks, CE |
5 |
2 |
Minor |
20 % |
Use Named Boolean In Argument Definition |
All, Analyze |
9 |
3 |
Minor |
84 % |
Can't Call Generator |
All, Analyze |
2 |
1 |
Minor |
0 % |
Mismatched Typehint |
All, Analyze, Typechecks |
7 |
3 |
Major |
66 % |
Modified Typed Parameter |
All, Analyze, ClassReview |
3 |
3 |
Minor |
0 % |
Must Return Methods |
Analyze, All, Simple, Level 2, LintButWontExec, CI-checks, CE |
1 |
1 |
Major |
34 % |
No Boolean As Default |
All, Analyze |
9 |
3 |
Minor |
84 % |
Relay Function |
Analyze, All |
1 |
1 |
Major |
84 % |
Type Must Be Returned |
All, Analyze, LintButWontExec, CI-checks, CE |
1 |
1 |
Major |
22 % |
Unused Parameter |
Analyze, All, Simple, Unused |
1 |
1 |
Major |
90 % |
Useless Argument |
All, Analyze |
4 |
2 |
Minor |
0 % |
Uses Default Values |
Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE |
19 |
4 |
Minor |
98 % |
Methods Without Return |
All, Analyze |
1 |
1 |
Minor |
95 % |
Wrong Number Of Arguments |
Analyze, OneFile, All, Simple, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE |
2 |
1 |
Major |
81 % |
Wrong Type Returned |
All, Analyze, ClassReview, CI-checks, LintButWontExec, CE |
13 |
5 |
Minor |
0 % |
Wrong Type With Call |
All, Analyze, Typechecks, CI-checks, CE |
12 |
3 |
Minor |
0 % |
Forgotten Interface |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
48 % |
Use random_int() |
Analyze, Security, All, CompatibilityPHP71, Simple, Level 2, CI-checks, CE |
1 |
1 |
Major |
59 % |
Wrong Parameter Type |
Analyze, OneFile, All, Simple, CI-checks, CE |
1 |
1 |
Major |
76 % |
PHP Native Class Type Compatibility |
All, Analyze, CompatibilityPHP81 |
1 |
1 |
Major |
0 % |
No Null For Native PHP Functions |
All, Analyze, CompatibilityPHP81, Deprecated |
3 |
2 |
Minor |
0 % |
Wrong Type For Native PHP Function |
All, Analyze, CI-checks, CE |
6 |
3 |
Minor |
0 % |
Comparison Is Always The Same |
All, Analyze, ChangedBehavior |
3 |
1 |
Minor |
0 % |
Buried Assignation |
Analyze, All |
3 |
3 |
Minor |
84 % |
Implied If |
Analyze, ClearPHP, All, Simple, CI-checks, Rector, CE |
1 |
1 |
Major |
33 % |
No Hardcoded Hash |
Analyze, Security, All, Simple |
2 |
1 |
Critical |
45 % |
No Parenthesis For Language Construct |
Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks, CE |
2 |
1 |
Minor |
62 % |
Variable Is Not A Condition |
All, Analyze |
1 |
1 |
Minor |
93 % |
Not Not |
Analyze, OneFile, All, Simple, CI-checks, CE |
2 |
1 |
Minor |
14 % |
Missing Some Returntype |
All, Typehints, Analyze, CI-checks, CE |
2 |
1 |
Minor |
0 % |
StandaloneType True False Null |
All, Appcontent, Analyze |
11 |
3 |
Minor |
0 % |
Wrong Type With Default |
All, Analyze, LintButWontExec, ClassReview |
19 |
4 |
Minor |
0 % |
Undefined Variable |
All, Analyze, CI-checks, Undefined, CE |
2 |
1 |
Minor |
77 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE |
1 |
1 |
Minor |
95 % |
Written Only Variables |
Analyze, OneFile, All, Simple, Unused |
1 |
1 |
Minor |
87 % |