Skip to content

Commit 2670d74

Browse files
committed
Generic/SpaceAfterNot: improve code coverage
1 parent e328954 commit 2670d74

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
// Intentional parse error.
4+
// This should be the only test in this file.
5+
// Testing that the sniff is *not* triggered.
6+
7+
if (!

src/Standards/Generic/Tests/Formatting/SpaceAfterNotUnitTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ public function getErrorList($testFile='')
6262
68 => 1,
6363
71 => 1,
6464
79 => 1,
65+
89 => 1,
6566
];
6667

6768
case 'SpaceAfterNotUnitTest.js':

0 commit comments

Comments
 (0)