Commit 38a90c1
committed
Squiz/EmbeddedPhp: prevent tests being skipped
The sniff contains a condition which prevents checks from being run on the last tag set when it is a non-single line tag set.
Adding a final open tag will prevent the _last_ test in the file accidentally being skipped, independently of what type of tag set this is, making the test case file more stable.1 parent 16f4a3a commit 38a90c1
File tree
2 files changed
+10
-0
lines changed- src/Standards/Squiz/Tests/PHP
2 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
0 commit comments