| Weak Type With Array |
All, Analyze |
13 |
3 |
Minor |
0 % |
| Ambiguous Visibilities |
All, Analyze, Semantics |
4 |
2 |
Minor |
70 % |
| Avoid Optional Properties |
All, Analyze |
1 |
1 |
Major |
84 % |
| Class Could Be Final |
All, Analyze, ClassReview |
15 |
15 |
Minor |
96 % |
| Method Could Be Static |
All, Analyze, ClassReview |
7 |
4 |
Minor |
92 % |
| Could Inject Param |
All, Analyze, ClassReview |
2 |
1 |
Minor |
0 % |
| No Direct Call To Magic Method |
Analyze, All, Level 2, CI-checks, CE |
1 |
1 |
Major |
43 % |
| Hidden Nullable Typehint |
All, Analyze, ClassReview |
6 |
6 |
Minor |
0 % |
| Inherited Property Type Must Match |
All, Analyze, LintButWontExec, ClassReview |
1 |
1 |
Minor |
0 % |
| Assign Default To Properties |
Analyze, ClearPHP, All, Simple, Level 2 |
2 |
2 |
Minor |
71 % |
| Method Signature Must Be Compatible |
All, Analyze, LintButWontExec |
1 |
1 |
Critical |
53 % |
| Mismatch Properties Typehints |
All, Analyze, LintButWontExec, ClassReview |
2 |
1 |
Minor |
0 % |
| Non Nullable Getters |
All, Analyze, ClassReview |
1 |
1 |
Minor |
0 % |
| Property Used In One Method Only |
All, Analyze |
2 |
2 |
Minor |
84 % |
| Should Use Local Class |
Analyze, ClearPHP, All, Simple |
10 |
6 |
Minor |
95 % |
| Static Methods Called From Object |
Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE |
5 |
2 |
Minor |
50 % |
| Undefined Classes |
Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt |
6 |
6 |
Major |
91 % |
| Unfinished Object |
All, Analyze, ClassReview |
1 |
1 |
Major |
0 % |
| Unused Public Method |
All, Analyze |
18 |
9 |
Minor |
0 % |
| Used Once Property |
All, Analyze |
7 |
2 |
Minor |
74 % |
| Throw Raw Exceptions |
All, Analyze, Suggestions |
6 |
5 |
Minor |
0 % |
| Uncaught Exceptions |
Analyze, All |
13 |
8 |
Minor |
84 % |
| Unthrown Exception |
Analyze, Dead code, ClearPHP, All, Simple |
4 |
4 |
Minor |
45 % |
| Use Named Boolean In Argument Definition |
All, Analyze |
1 |
1 |
Minor |
84 % |
| Insufficient Typehint |
All, Analyze, Typechecks |
8 |
2 |
Major |
43 % |
| Mismatched Typehint |
All, Analyze, Typechecks |
6 |
1 |
Major |
66 % |
| Never Called Parameter |
All, Analyze, Suggestions, Rector, Unused |
4 |
4 |
Minor |
92 % |
| No Boolean As Default |
All, Analyze |
1 |
1 |
Minor |
84 % |
| Relay Function |
Analyze, All |
1 |
1 |
Major |
84 % |
| Unused Parameter |
Analyze, All, Simple, Unused |
1 |
1 |
Major |
90 % |
| Uses Default Values |
Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE |
27 |
10 |
Minor |
98 % |
| Wrong Type Returned |
All, Analyze, ClassReview, CI-checks, LintButWontExec, CE |
7 |
3 |
Minor |
0 % |
| Wrong Type With Call |
All, Analyze, Typechecks, CI-checks, CE |
1 |
1 |
Minor |
0 % |
| Forgotten Interface |
All, Analyze |
4 |
4 |
Minor |
48 % |
| Hidden Use Expression |
Analyze, OneFile, All, Simple, CI-checks, CE |
1 |
1 |
Minor |
23 % |
| Assumptions |
All, Analyze |
1 |
1 |
Minor |
0 % |
| Use === null |
Analyze, OneFile, All, RadwellCodes, Simple, php-cs-fixable, CI-checks, CE |
2 |
2 |
Minor |
53 % |
| No Null For Native PHP Functions |
All, Analyze, CompatibilityPHP81, Deprecated |
1 |
1 |
Minor |
0 % |
| Check JSON |
All, Analyze, CI-checks, CE |
1 |
1 |
Major |
65 % |
| Drop Else After Return |
All, Analyze, OneFile, Simple, Suggestions, Level 4, CI-checks, CE |
2 |
2 |
Minor |
70 % |
| Eval() Usage |
Analyze, Appinfo, Performances, OneFile, ClearPHP, All, Simple, Security, CE |
1 |
1 |
Major |
39 % |
| eval() Without Try |
Analyze, All, Simple, Level 3, Security, CI-checks, ChangedBehavior, CE |
1 |
1 |
Critical |
36 % |
| Inconsistent Elseif |
All, Analyze |
1 |
1 |
Major |
73 % |
| Infinite Recursion |
All, Analyze |
1 |
1 |
Major |
0 % |
| Merge If Then |
All, Analyze, CI-checks, CE |
1 |
1 |
Minor |
0 % |
| No Need For Else |
All, Analyze |
2 |
2 |
Minor |
74 % |
| No Parenthesis For Language Construct |
Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks, CE |
1 |
1 |
Minor |
62 % |
| Printf Number Of Arguments |
All, Analyze, CI-checks, CE |
1 |
1 |
Minor |
41 % |
| Sprintf Format Compilation |
All, Analyze |
1 |
1 |
Minor |
0 % |
| Avoid get_class() |
Analyze, All, Simple, CI-checks, CE |
1 |
1 |
Minor |
32 % |
| Useless Null Coalesce |
All, Analyze, Typehints |
1 |
1 |
Minor |
0 % |
| Dependant Trait |
Analyze, All, Level 3 |
1 |
1 |
Minor |
28 % |
| Empty Traits |
Analyze, All, Simple, Dead code |
1 |
1 |
Minor |
12 % |
| String May Hold A Variable |
Analyze, All, Simple |
1 |
1 |
Minor |
59 % |
| Missing Some Returntype |
All, Typehints, Analyze, CI-checks, CE |
3 |
2 |
Minor |
0 % |
| Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE |
1 |
1 |
Minor |
95 % |