Weak Type With Array |
All, Analyze, ChangedBehavior |
7 |
4 |
Minor |
0 % |
Abstract Or Implements |
All, Analyze, LintButWontExec, ChangedBehavior |
6 |
6 |
Major |
24 % |
Ambiguous Static |
All, Analyze, Semantics, ChangedBehavior |
10 |
6 |
Minor |
66 % |
Avoid Optional Properties |
All, Analyze, ChangedBehavior |
3 |
3 |
Major |
84 % |
Class Could Be Final |
All, Analyze, ClassReview, ChangedBehavior |
9 |
9 |
Minor |
96 % |
Method Could Be Static |
All, Analyze, ClassReview, ChangedBehavior |
36 |
7 |
Minor |
92 % |
Could Inject Parameter |
All, Analyze, ClassReview, ChangedBehavior |
12 |
4 |
Minor |
0 % |
No Direct Call To Magic Method |
Analyze, All, Level 2, CI-checks, CE |
1 |
1 |
Major |
43 % |
Assign Default To Properties |
Analyze, ClearPHP, All, Simple, Level 2, ChangedBehavior |
3 |
2 |
Minor |
71 % |
Property Could Be Local |
All, Analyze, ClassReview, ChangedBehavior |
9 |
1 |
Minor |
76 % |
Property Used In One Method Only |
All, Analyze, ChangedBehavior |
6 |
1 |
Minor |
84 % |
Could Use self |
Analyze, All, Simple, Suggestions, Level 3, ClassReview, ChangedBehavior |
101 |
4 |
Minor |
63 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple, ChangedBehavior |
15 |
6 |
Minor |
95 % |
Undefined Class Constants |
Analyze, All, CI-checks, Stubs, LintButWontExec, Undefined, ChangedBehavior, CE |
17 |
5 |
Major |
62 % |
Undefined Properties |
Analyze, ClearPHP, All, Simple, CI-checks, CompatibilityPHP82, Undefined, ChangedBehavior, CE |
62 |
3 |
Major |
61 % |
Unfinished Object |
All, Analyze, ClassReview, ChangedBehavior |
2 |
2 |
Major |
0 % |
Unused Public Methods |
All, Analyze, ChangedBehavior |
99 |
7 |
Minor |
0 % |
Used Once Property |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
74 % |
Wrong Typed Property Default |
All, Analyze, LintButWontExec, ClassReview, CI-checks, CE |
1 |
1 |
Minor |
0 % |
Constant Used Only Once |
All, Analyze, ChangedBehavior |
2 |
1 |
Minor |
0 % |
Forgotten Thrown |
All, Analyze, ChangedBehavior |
7 |
4 |
Minor |
20 % |
Throw Raw Exceptions |
All, Analyze, Suggestions, ChangedBehavior |
19 |
6 |
Minor |
0 % |
Uncaught Exceptions |
Analyze, All, ChangedBehavior |
54 |
6 |
Minor |
84 % |
Unthrown Exception |
Analyze, Dead code, ClearPHP, All, Simple, ChangedBehavior |
2 |
2 |
Minor |
45 % |
Missing Include |
All, Analyze, ChangedBehavior |
2 |
2 |
Critical |
65 % |
Use Named Boolean In Argument Definition |
All, Analyze, ChangedBehavior |
4 |
3 |
Minor |
84 % |
Could Make A Function |
All, Analyze, Suggestions, ChangedBehavior |
24 |
5 |
Minor |
66 % |
Empty Function |
Analyze, All, Simple, ChangedBehavior |
12 |
1 |
Minor |
74 % |
Insufficient Typehint |
All, Analyze, Typechecks, ChangedBehavior |
28 |
4 |
Major |
43 % |
Mismatched Default Arguments |
All, Analyze, Typechecks, ChangedBehavior |
1 |
1 |
Minor |
80 % |
Mismatched Typehint |
All, Analyze, Typechecks, ChangedBehavior |
52 |
6 |
Major |
66 % |
Modified Typed Parameter |
All, Analyze, ClassReview, ChangedBehavior |
36 |
4 |
Minor |
0 % |
Must Return Methods |
Analyze, All, Simple, Level 2, LintButWontExec, CI-checks, ChangedBehavior, CE |
1 |
1 |
Major |
34 % |
Never Called Parameter |
All, Analyze, Suggestions, Rector, Unused |
1 |
1 |
Minor |
92 % |
No Boolean As Default |
All, Analyze |
2 |
1 |
Minor |
84 % |
Too Many Local Variables |
All, Analyze |
1 |
1 |
Minor |
64 % |
Unused Parameter |
Analyze, All, Simple, Unused |
1 |
1 |
Major |
90 % |
Uses Default Values |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
56 |
10 |
Minor |
98 % |
Wrong Type Returned |
All, Analyze, ClassReview, CI-checks, LintButWontExec, ChangedBehavior, CE |
38 |
7 |
Minor |
0 % |
Wrong Type With Call |
All, Analyze, Typechecks, CI-checks, ChangedBehavior, CE |
67 |
6 |
Minor |
0 % |
Forgotten Interface |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
48 % |
Undefined Interfaces |
Analyze, All, CI-checks, LintButWontExec, Undefined, ChangedBehavior, CE |
7 |
5 |
Major |
72 % |
Should Make Alias |
Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE |
9 |
2 |
Minor |
46 % |
Unresolved Use |
Analyze, ClearPHP, All, Simple, ChangedBehavior |
1 |
1 |
Major |
69 % |
Pre-increment |
Analyze, Performances, All, Simple, Level 4, CI-checks, ChangedBehavior, CE |
10 |
5 |
Minor |
74 % |
Assumptions |
All, Analyze, ChangedBehavior |
3 |
3 |
Minor |
0 % |
Don't Pollute Global Space |
All, Analyze |
1 |
1 |
Minor |
0 % |
Exit Without Argument |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
0 % |
Wrong Parameter Type |
Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE |
3 |
1 |
Major |
76 % |
PHP Native Interfaces and Return Type |
All, Analyze, LintButWontExec, CompatibilityPHP81, Deprecated, ChangedBehavior |
1 |
1 |
Minor |
0 % |
Logical Should Use Symbolic Operators |
Analyze, OneFile, ClearPHP, All, Simple, Suggestions, Level 2, Top10, php-cs-fixable, CI-checks, CE |
3 |
1 |
Minor |
43 % |
PHP Native Class Type Compatibility |
All, Analyze, CompatibilityPHP81, ChangedBehavior |
1 |
1 |
Major |
0 % |
No Class In Global |
All, Analyze, CI-checks, ChangedBehavior, CE |
1 |
1 |
Minor |
77 % |
Wrong Type For Native PHP Function |
All, Analyze, CI-checks, ChangedBehavior, CE |
26 |
6 |
Minor |
0 % |
Comparison Is Always The Same |
All, Analyze, ChangedBehavior |
6 |
2 |
Minor |
0 % |
Bail Out Early |
All, Analyze, OneFile, Simple, Level 4, ChangedBehavior |
7 |
3 |
Minor |
64 % |
Strict Comparison With Booleans |
Analyze, All, Simple, Suggestions, Level 2, CI-checks, ChangedBehavior, CE |
1 |
1 |
Minor |
77 % |
Buried Assignation |
Analyze, All, ChangedBehavior |
1 |
1 |
Minor |
84 % |
Check Division By Zero |
All, Analyze, ChangedBehavior |
6 |
3 |
Minor |
0 % |
Common Alternatives |
Analyze, All, Simple, ChangedBehavior |
1 |
1 |
Major |
80 % |
Could Be Else |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
49 % |
Could Use Short Assignation |
Analyze, OneFile, Performances, All, Simple, CI-checks, Rector, ChangedBehavior, CE |
2 |
2 |
Minor |
63 % |
Default Then Discard |
All, Analyze, Readability, ChangedBehavior |
3 |
1 |
Minor |
0 % |
Don't Change The Blind Var |
All, Analyze, ChangedBehavior |
3 |
1 |
Minor |
73 % |
Don't Mix ++ |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
56 % |
Double Checks |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
0 % |
Echo With Concat |
Performances, Analyze, All, Simple, Suggestions, ChangedBehavior |
6 |
2 |
Minor |
60 % |
Else If Versus Elseif |
Analyze, All, Simple, php-cs-fixable, Rector, CI-checks, CE |
1 |
1 |
Minor |
66 % |
Exit() Usage |
Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks, ChangedBehavior, CE |
2 |
2 |
Major |
61 % |
Identical Consecutive Expression |
All, Analyze, ChangedBehavior |
3 |
2 |
Minor |
59 % |
Iffectations |
Analyze, All, ChangedBehavior |
1 |
1 |
Minor |
80 % |
Implied If |
Analyze, ClearPHP, All, Simple, CI-checks, Rector, ChangedBehavior, CE |
2 |
1 |
Major |
33 % |
Merge If Then |
All, Analyze, CI-checks, ChangedBehavior, CE |
1 |
1 |
Minor |
0 % |
Missing Assignation In Branches |
All, Analyze, ChangedBehavior |
5 |
4 |
Minor |
0 % |
Multiply By One |
Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, Rector, CE |
2 |
1 |
Minor |
44 % |
Nested Ifthen |
Analyze, All, RadwellCodes, ChangedBehavior |
3 |
2 |
Major |
84 % |
Nested Ternary |
Analyze, ClearPHP, All, Simple, Level 1, CI-checks, ChangedBehavior, CE |
2 |
2 |
Major |
50 % |
No Need For Triple Equal |
All, Analyze, ChangedBehavior |
2 |
1 |
Minor |
0 % |
Variable Is Not A Condition |
All, Analyze, ChangedBehavior |
33 |
5 |
Minor |
93 % |
Only First Byte |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
0 % |
Print And Die |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
1 |
1 |
Minor |
32 % |
Repeated print() |
Analyze, All, Simple, Suggestions, Level 3, Top10, CI-checks, ChangedBehavior, CE |
2 |
2 |
Major |
50 % |
Preprocessable |
Analyze, All, Rector, ChangedBehavior |
5 |
4 |
Minor |
85 % |
Static Inclusions |
All, Analyze, ChangedBehavior |
2 |
2 |
Minor |
0 % |
Static Loop |
Analyze, All, Simple, Level 4, ChangedBehavior |
4 |
3 |
Minor |
67 % |
Suspicious Comparison |
All, Analyze, Level 3, ChangedBehavior |
4 |
3 |
Major |
39 % |
Switch Without Default |
Analyze, ClearPHP, All, Simple, CI-checks, ChangedBehavior, CE |
2 |
1 |
Major |
69 % |
Test Then Cast |
All, Analyze, ChangedBehavior |
2 |
2 |
Major |
34 % |
Unsupported Types With Operators |
All, Analyze, CompatibilityPHP80, ChangedBehavior, CE |
8 |
3 |
Minor |
0 % |
Use Same Types For Comparisons |
All, Analyze |
1 |
1 |
Minor |
0 % |
Useless Type Casting |
All, PHP recommendations, Analyze, OneFile, RadwellCodes, Simple, Level 4, CI-checks, ChangedBehavior, CE |
1 |
1 |
Minor |
47 % |
Useless Instructions |
Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, ChangedBehavior, CE |
1 |
1 |
Minor |
63 % |
Useless Null Coalesce |
All, Analyze, Typehints, ChangedBehavior |
1 |
1 |
Minor |
0 % |
Useless Parenthesis |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
13 |
5 |
Minor |
81 % |
Wrong Precedence In Expression |
All, Analyze, ChangedBehavior |
3 |
1 |
Minor |
0 % |
String May Hold A Variable |
Analyze, All, Simple, ChangedBehavior |
2 |
1 |
Minor |
59 % |
Missing Some Returntype |
All, Typehints, Analyze, CI-checks, ChangedBehavior, CE |
4 |
3 |
Minor |
0 % |
StandaloneType True False Null |
All, Appcontent, Analyze, ChangedBehavior |
8 |
5 |
Minor |
0 % |
Wrong Type With Default |
All, Analyze, LintButWontExec, ClassReview, ChangedBehavior |
2 |
2 |
Minor |
0 % |
Assigned Twice |
All, Analyze, ChangedBehavior |
11 |
3 |
Minor |
79 % |
Overwritten Literals |
Analyze, All, ChangedBehavior |
12 |
3 |
Major |
79 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4, ChangedBehavior, CE |
270 |
9 |
Minor |
95 % |
Written Only Variables |
Analyze, OneFile, All, Simple, Unused, ChangedBehavior |
2 |
1 |
Minor |
87 % |