File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/Standards/Generic/Tests/CodeAnalysis Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ function_call();
19
19
20
20
?>
21
21
<input name="<?php ; something_else (); ?> " />
22
- <input name="<?php something_else (); ; ?> " />
22
+ <input name="<?php something_else (); ; ; ?> " />
23
23
24
24
/*
25
25
* Test empty statement: no code between PHP open and close tag.
@@ -42,7 +42,7 @@ function_call();
42
42
-->
43
43
<?php ; ?>
44
44
45
- <input name="<?php ; ?> " /> <!-- Bad. -->
45
+ <input name="<?php ;; ?> " /> <!-- Bad. -->
46
46
47
47
<!-- Tests with short open echo tag. -->
48
48
<input name="<?= 'some text ' ?> " /> <!-- OK. -->
Original file line number Diff line number Diff line change @@ -76,11 +76,11 @@ public function getWarningList($testFile='')
76
76
15 => 1 ,
77
77
18 => 1 ,
78
78
21 => 1 ,
79
- 22 => 1 ,
79
+ 22 => 2 ,
80
80
31 => 1 ,
81
81
33 => 1 ,
82
82
43 => 1 ,
83
- 45 => 1 ,
83
+ 45 => 2 ,
84
84
49 => 1 ,
85
85
50 => 1 ,
86
86
57 => 1 ,
You can’t perform that action at this time.
0 commit comments