Weak Type With Array |
All, Analyze, ChangedBehavior |
7 |
2 |
Minor |
0 % |
Ambiguous Visibilities |
All, Analyze, Semantics, ChangedBehavior |
5 |
4 |
Minor |
70 % |
Avoid Optional Properties |
All, Analyze, ChangedBehavior |
15 |
6 |
Major |
84 % |
Could Be Abstract Class |
All, Analyze, ClassReview, ChangedBehavior |
1 |
1 |
Minor |
65 % |
Class Could Be Final |
All, Analyze, ClassReview, ChangedBehavior |
29 |
29 |
Minor |
96 % |
Method Could Be Static |
All, Analyze, ClassReview, ChangedBehavior |
9 |
6 |
Minor |
92 % |
Could Inject Parameter |
All, Analyze, ClassReview, ChangedBehavior |
5 |
1 |
Minor |
0 % |
No Direct Call To Magic Method |
Analyze, All, Level 2, CI-checks, CE |
1 |
1 |
Major |
43 % |
Empty Classes |
Analyze, All, Simple, ChangedBehavior |
11 |
11 |
Minor |
60 % |
Assign Default To Properties |
Analyze, ClearPHP, All, Simple, Level 2, ChangedBehavior |
7 |
1 |
Minor |
71 % |
New Object Then Immediate Call |
All, Analyze, ClassReview |
2 |
2 |
Minor |
0 % |
Property Could Be Local |
All, Analyze, ClassReview, ChangedBehavior |
24 |
7 |
Minor |
76 % |
Same Name For Property And Method |
All, Analyze, ClassReview, Semantics, ChangedBehavior |
4 |
1 |
Minor |
0 % |
Never Used Properties |
Analyze, All, Simple, Unused, ChangedBehavior |
19 |
3 |
Minor |
71 % |
Property Used In One Method Only |
All, Analyze, ChangedBehavior |
9 |
4 |
Minor |
84 % |
Could Use self |
Analyze, All, Simple, Suggestions, Level 3, ClassReview, ChangedBehavior |
1 |
1 |
Minor |
63 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple, ChangedBehavior |
18 |
8 |
Minor |
95 % |
Undefined Classes |
Analyze, All, Stubs, Undefined |
207 |
19 |
Major |
91 % |
Undefined Class Constants |
Analyze, All, CI-checks, Stubs, LintButWontExec, Undefined, ChangedBehavior, CE |
1 |
1 |
Major |
62 % |
Unfinished Object |
All, Analyze, ClassReview, ChangedBehavior |
24 |
4 |
Major |
0 % |
Unresolved Classes |
Analyze, All, Stubs, ChangedBehavior |
3 |
3 |
Major |
76 % |
Unresolved Instanceof |
Analyze, Dead code, ClearPHP, All, Simple, Top10, ChangedBehavior |
1 |
1 |
Major |
48 % |
Unused Classes |
Dead code, All, Simple, Analyze, Unused, ChangedBehavior |
12 |
12 |
Major |
67 % |
Unused Class Constant |
All, Analyze, ClassReview, Unused, ChangedBehavior |
7 |
3 |
Minor |
0 % |
Unused Public Methods |
All, Analyze, ChangedBehavior |
64 |
15 |
Minor |
0 % |
Used Once Property |
All, Analyze, ChangedBehavior |
3 |
1 |
Minor |
74 % |
Weak Typing |
All, Analyze, ChangedBehavior |
2 |
2 |
Minor |
47 % |
Wrong Typed Property Default |
All, Analyze, LintButWontExec, ClassReview, CI-checks, CE |
2 |
2 |
Minor |
0 % |
Constant Used Only Once |
All, Analyze, ChangedBehavior |
8 |
2 |
Minor |
0 % |
Useless Try |
All, Analyze, ChangedBehavior |
2 |
2 |
Minor |
0 % |
Use Named Boolean In Argument Definition |
All, Analyze, ChangedBehavior |
4 |
4 |
Minor |
84 % |
Method Is Not An If |
All, Analyze |
3 |
2 |
Minor |
0 % |
Never Called Parameter |
All, Analyze, Suggestions, Rector, Unused |
1 |
1 |
Minor |
92 % |
No Boolean As Default |
All, Analyze |
4 |
4 |
Minor |
84 % |
No Return Used |
All, Analyze, Suggestions, Level 4, ChangedBehavior |
6 |
3 |
Minor |
69 % |
Unused Parameter |
Analyze, All, Simple, Unused |
3 |
1 |
Major |
90 % |
Unused Returned Value |
All, Analyze, OneFile, Dead code, Simple, Unused |
8 |
4 |
Minor |
41 % |
Uses Default Values |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
77 |
11 |
Minor |
98 % |
Wrong Argument Type |
All, Analyze, Typechecks, ChangedBehavior |
1 |
1 |
Minor |
0 % |
Wrong Type Returned |
All, Analyze, ClassReview, CI-checks, LintButWontExec, ChangedBehavior, CE |
19 |
8 |
Minor |
0 % |
Wrong Type With Call |
All, Analyze, Typechecks, CI-checks, ChangedBehavior, CE |
1 |
1 |
Minor |
0 % |
Forgotten Interface |
All, Analyze, ChangedBehavior |
3 |
3 |
Minor |
48 % |
Undefined Interfaces |
Analyze, All, CI-checks, LintButWontExec, Undefined, ChangedBehavior, CE |
1 |
1 |
Major |
72 % |
Unresolved Use |
Analyze, ClearPHP, All, Simple, ChangedBehavior |
42 |
21 |
Major |
69 % |
Pre-increment |
Analyze, Performances, All, Simple, Level 4, CI-checks, ChangedBehavior, CE |
4 |
2 |
Minor |
74 % |
strpos() Too Much |
All, Analyze, CI-checks, ChangedBehavior, CE |
3 |
2 |
Minor |
49 % |
Assumptions |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
0 % |
False To Array Conversion |
All, LintButWontExec, CompatibilityPHP81, CompatibilityPHP82, Analyze, ChangedBehavior |
2 |
1 |
Minor |
0 % |
Wrong Parameter Type |
Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE |
4 |
1 |
Major |
76 % |
No Null For Native PHP Functions |
All, Analyze, CompatibilityPHP81, Deprecated, ChangedBehavior |
7 |
2 |
Minor |
0 % |
Should Use Coalesce |
Analyze, All, Simple, Suggestions, Level 3, CI-checks, ChangedBehavior, CE |
1 |
1 |
Major |
71 % |
Wrong Type For Native PHP Function |
All, Analyze, CI-checks, ChangedBehavior, CE |
4 |
2 |
Minor |
0 % |
Bail Out Early |
All, Analyze, OneFile, Simple, Level 4, ChangedBehavior |
4 |
4 |
Minor |
64 % |
Strict Comparison With Booleans |
Analyze, All, Simple, Suggestions, Level 2, CI-checks, ChangedBehavior, CE |
2 |
2 |
Minor |
77 % |
Buried Assignation |
Analyze, All, ChangedBehavior |
1 |
1 |
Minor |
84 % |
Concat Empty String |
All, Analyze, OneFile |
1 |
1 |
Minor |
0 % |
Don't Change The Blind Var |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
73 % |
Else If Versus Elseif |
Analyze, All, Simple, php-cs-fixable, Rector, CI-checks, CE |
14 |
3 |
Minor |
66 % |
Empty Try Catch |
Analyze, All, Level 3 |
2 |
2 |
Minor |
49 % |
Exit() Usage |
Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks, ChangedBehavior, CE |
3 |
1 |
Major |
61 % |
Htmlentities Calls |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
1 |
1 |
Major |
40 % |
Htmlentities Using Default Flag |
All, Analyze, Simple, CI-checks, ChangedBehavior |
1 |
1 |
Minor |
0 % |
Max Level Of Nesting |
All, Analyze, ChangedBehavior |
3 |
2 |
Minor |
0 % |
Merge If Then |
All, Analyze, CI-checks, ChangedBehavior, CE |
2 |
2 |
Minor |
0 % |
Missing Assignation In Branches |
All, Analyze, ChangedBehavior |
18 |
6 |
Minor |
0 % |
Nested Ifthen |
Analyze, All, RadwellCodes, ChangedBehavior |
11 |
4 |
Major |
84 % |
No isset() With empty() |
All, PHP recommendations, Analyze, OneFile, RadwellCodes, Simple, Level 4, CI-checks, ChangedBehavior, CE |
1 |
1 |
Minor |
30 % |
No Parenthesis For Language Construct |
Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks, ChangedBehavior, CE |
2 |
1 |
Minor |
62 % |
Variable Is Not A Condition |
All, Analyze, ChangedBehavior |
4 |
3 |
Minor |
93 % |
Should Use Ternary Operator |
All, Analyze, OneFile, Simple, CI-checks, ChangedBehavior, CE |
2 |
2 |
Minor |
86 % |
Preprocessable |
Analyze, All, Rector, ChangedBehavior |
4 |
1 |
Minor |
85 % |
Switch To Switch |
Analyze, All, RadwellCodes, Simple, ChangedBehavior |
9 |
2 |
Minor |
58 % |
Use Positive Condition |
All, Analyze, OneFile, Simple, ChangedBehavior |
5 |
4 |
Minor |
82 % |
Useless Instructions |
Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, ChangedBehavior, CE |
1 |
1 |
Minor |
63 % |
Useless Parenthesis |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
6 |
2 |
Minor |
81 % |
StandaloneType True False Null |
All, Appcontent, Analyze, ChangedBehavior |
7 |
2 |
Minor |
0 % |
Wrong Type With Default |
All, Analyze, LintButWontExec, ClassReview, ChangedBehavior |
45 |
9 |
Minor |
0 % |
Assigned Twice |
All, Analyze, ChangedBehavior |
3 |
1 |
Minor |
79 % |
Overwritten Literals |
Analyze, All, ChangedBehavior |
3 |
1 |
Major |
79 % |
Used Once Variables |
Analyze, OneFile, All, Simple, Top10, ChangedBehavior |
1 |
1 |
Minor |
74 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4, ChangedBehavior, CE |
106 |
10 |
Minor |
95 % |