Ambiguous Static |
All, Analyze |
2 |
2 |
Minor |
66 % |
Ambiguous Visibilities |
All, Analyze |
3 |
3 |
Minor |
70 % |
Avoid Optional Properties |
All, Analyze |
6 |
3 |
Major |
84 % |
Could Be Abstract Class |
All, Analyze, ClassReview |
4 |
4 |
Minor |
65 % |
Class Could Be Final |
All, Analyze, ClassReview |
10 |
10 |
Minor |
96 % |
Method Could Be Static |
All, Analyze, ClassReview |
7 |
3 |
Minor |
92 % |
Could Inject Param |
All, Analyze, ClassReview |
3 |
1 |
Minor |
0 % |
Hidden Nullable Typehint |
All, Analyze, ClassReview |
1 |
1 |
Minor |
0 % |
Implements Is For Interface |
Analyze, All, Simple |
1 |
1 |
Minor |
9 % |
Assign Default To Properties |
Analyze, ClearPHP, All, Simple, Level 2 |
5 |
4 |
Minor |
71 % |
No Public Access |
Analyze, All |
6 |
4 |
Minor |
61 % |
Forgotten Visibility |
Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE |
1 |
1 |
Minor |
42 % |
Property Could Be Local |
All, Analyze, ClassReview |
3 |
3 |
Minor |
76 % |
Same Name For Property And Method |
All, Analyze, ClassReview, Semantics |
2 |
1 |
Minor |
0 % |
Never Used Properties |
Analyze, All, Simple, Unused |
2 |
2 |
Minor |
71 % |
Property Used In One Method Only |
All, Analyze |
3 |
3 |
Minor |
84 % |
Could Use self |
Analyze, All, Simple, Suggestions, Level 3, ClassReview |
2 |
1 |
Minor |
63 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple |
13 |
6 |
Minor |
95 % |
$this Belongs To Classes Or Traits |
Analyze, All, Simple, LintButWontExec |
7 |
7 |
Major |
32 % |
Undefined Classes |
Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt |
73 |
11 |
Major |
91 % |
Undefined Class Constants |
Analyze, All, CI-checks, Stubs, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE |
17 |
2 |
Major |
62 % |
Undefined Properties |
Analyze, ClearPHP, All, Simple, CI-checks, Undefined, ChangedBehavior, CE |
7 |
1 |
Major |
61 % |
Unfinished Object |
All, Analyze, ClassReview |
3 |
3 |
Major |
0 % |
Unresolved Classes |
Analyze, All, Stubs |
8 |
4 |
Major |
76 % |
Unresolved Instanceof |
Analyze, Dead code, ClearPHP, All, Simple, Top10 |
1 |
1 |
Major |
48 % |
Unused Public Method |
All, Analyze |
17 |
6 |
Minor |
0 % |
Use ::Class Operator |
All, Analyze, Performances, Simple, CI-checks, CE |
19 |
5 |
Minor |
71 % |
Used Once Property |
All, Analyze |
8 |
2 |
Minor |
74 % |
Weak Typing |
All, Analyze |
2 |
1 |
Minor |
47 % |
Use const |
Analyze, Coding Conventions, All, Top10, CI-checks, CE |
7 |
2 |
Minor |
54 % |
Invalid Constant Name |
Analyze, All, Simple |
4 |
2 |
Major |
51 % |
Multiple Constant Definition |
Analyze, All, Simple, CI-checks, CE |
4 |
2 |
Minor |
41 % |
Undefined Constants |
Analyze, All, Simple, CompatibilityPHP72, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE |
6 |
4 |
Minor |
71 % |
Throw Raw Exceptions |
All, Analyze, Suggestions |
3 |
2 |
Minor |
0 % |
Uncaught Exceptions |
Analyze, All |
3 |
2 |
Minor |
84 % |
Missing Include |
All, Analyze |
5 |
2 |
Critical |
65 % |
Dont Collect Void |
All, Analyze, IsPHP, IsStub, IsExt |
6 |
2 |
Minor |
0 % |
Empty Function |
Analyze, All, Simple |
1 |
1 |
Minor |
74 % |
Mismatched Default Arguments |
All, Analyze, Typechecks |
1 |
1 |
Minor |
80 % |
Never Called Parameter |
All, Analyze, Suggestions, Rector, Unused |
4 |
4 |
Minor |
92 % |
Redeclared PHP Functions |
Analyze, Appinfo, All, Simple, CI-checks, CE |
6 |
2 |
Minor |
26 % |
Relay Function |
Analyze, All |
5 |
4 |
Major |
84 % |
Undefined Functions |
Analyze, All, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE |
79 |
13 |
Major |
68 % |
Unused Parameter |
Analyze, All, Simple, Unused |
2 |
2 |
Major |
90 % |
Use Constant As Arguments |
Analyze, All, Simple, CI-checks, CE |
3 |
1 |
Major |
30 % |
Useless Referenced Argument |
All, Analyze |
2 |
1 |
Minor |
58 % |
Uses Default Values |
Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE |
24 |
5 |
Minor |
98 % |
Undefined Interfaces |
Analyze, All, CI-checks, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE |
3 |
2 |
Major |
72 % |
Unresolved Use |
Analyze, ClearPHP, All, Simple, IsPHP, IsStub, IsExt |
1 |
1 |
Major |
69 % |
Pre-increment |
Analyze, Performances, All, Simple, Level 4, CI-checks, CE |
3 |
2 |
Minor |
74 % |
Use random_int() |
Analyze, Security, All, CompatibilityPHP71, Simple, Level 2, CI-checks, CE |
2 |
1 |
Major |
59 % |
Don't Pollute Global Space |
All, Analyze |
24 |
15 |
Minor |
0 % |
Use === null |
Analyze, OneFile, All, RadwellCodes, Simple, php-cs-fixable, CI-checks, CE |
4 |
2 |
Minor |
53 % |
PHP Native Interfaces and Return Type |
All, Analyze, LintButWontExec, CompatibilityPHP81, Deprecated |
2 |
1 |
Minor |
0 % |
No Class In Global |
All, Analyze, CI-checks, CE |
17 |
13 |
Minor |
77 % |
Should Use Coalesce |
Analyze, All, Simple, Suggestions, Level 3, CI-checks, CE |
1 |
1 |
Major |
71 % |
Don't Echo Error |
All, Analyze, Security, Simple, Level 1, CI-checks, CE |
2 |
2 |
Critical |
35 % |
Should Use Prepared Statement |
Analyze, Security, All, Simple, CI-checks, CE |
14 |
2 |
Major |
28 % |
Alternative Syntax Consistence |
All, Analyze |
1 |
1 |
Major |
21 % |
Comparison Is Always True |
All, Analyze |
5 |
1 |
Minor |
0 % |
Bail Out Early |
All, Analyze, OneFile, Simple, Level 4 |
3 |
3 |
Minor |
64 % |
Buried Assignation |
Analyze, All |
2 |
2 |
Minor |
84 % |
Check Division By Zero |
All, Analyze |
1 |
1 |
Minor |
0 % |
Could Use Short Assignation |
Analyze, OneFile, Performances, All, Simple, CI-checks, Rector, CE |
1 |
1 |
Minor |
63 % |
Dangling Array References |
PHP recommendations, Analyze, ClearPHP, All, Simple, Level 1, Top10, CI-checks, CE |
1 |
1 |
Major |
46 % |
Dont Change The Blind Var |
All, Analyze |
2 |
1 |
Minor |
73 % |
Drop Else After Return |
All, Analyze, OneFile, Simple, Suggestions, Level 4, CI-checks, CE |
2 |
2 |
Minor |
70 % |
Echo With Concat |
Performances, Analyze, All, Simple, Suggestions |
1 |
1 |
Minor |
60 % |
Else If Versus Elseif |
Analyze, All, Simple, php-cs-fixable, Rector, CI-checks, CE |
2 |
1 |
Minor |
66 % |
Empty Instructions |
Dead code, Analyze, All, Simple |
11 |
11 |
Minor |
57 % |
Exit() Usage |
Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks, CE |
15 |
5 |
Major |
61 % |
Foreach Reference Is Not Modified |
Analyze, All, Simple, CI-checks, CE |
2 |
1 |
Minor |
24 % |
Iffectations |
Analyze, All |
1 |
1 |
Minor |
80 % |
Nested Ifthen |
Analyze, All, RadwellCodes |
3 |
2 |
Major |
84 % |
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 |
11 |
4 |
Minor |
62 % |
Objects Don't Need References |
Analyze, ClearPHP, OneFile, All, Simple, Level 2, Top10, CI-checks, CE |
2 |
1 |
Minor |
40 % |
include_once() Usage |
Analyze, Appinfo, All, CE |
10 |
3 |
Minor |
73 % |
Should Use Ternary Operator |
All, Analyze, OneFile, Simple, CI-checks, CE |
2 |
1 |
Minor |
86 % |
Preprocessable |
Analyze, All, Rector |
4 |
2 |
Minor |
85 % |
Switch To Switch |
Analyze, All, RadwellCodes, Simple |
1 |
1 |
Minor |
58 % |
Unsupported Types With Operators |
All, Analyze, CompatibilityPHP80, CE |
2 |
1 |
Minor |
0 % |
Use Positive Condition |
All, Analyze, OneFile, Simple |
4 |
3 |
Minor |
82 % |
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, CE |
1 |
1 |
Minor |
47 % |
Useless Instructions |
Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, CE |
1 |
1 |
Minor |
63 % |
Useless Parenthesis |
Analyze, All, Simple, CI-checks, CE |
3 |
3 |
Minor |
81 % |
Wrong Type With Default |
All, Analyze, LintButWontExec, ClassReview |
1 |
1 |
Minor |
0 % |
Undefined Variable |
All, Analyze, CI-checks, Undefined, CE |
37 |
8 |
Minor |
77 % |
Used Once Variables |
Analyze, OneFile, All, Simple, Top10 |
2 |
2 |
Minor |
74 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE |
9 |
8 |
Minor |
95 % |
Written Only Variables |
Analyze, OneFile, All, Simple, Unused |
4 |
3 |
Minor |
87 % |