Skip to content

Commit

Permalink
Merge pull request #489 from rodrigoprimo/test-coverage-space-after-not
Browse files Browse the repository at this point in the history
Generic/SpaceAfterNot: improve code coverage
  • Loading branch information
jrfnl committed May 15, 2024
2 parents 746ce57 + 3404ca3 commit 35b306c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

// Intentional parse error.
// This should be the only test in this file.
// Testing that the sniff is *not* triggered.

if (!
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ final class SpaceAfterNotUnitTest extends AbstractSniffUnitTest
public function getErrorList($testFile='')
{
switch ($testFile) {
case 'SpaceAfterNotUnitTest.inc':
case 'SpaceAfterNotUnitTest.1.inc':
return [
3 => 2,
4 => 2,
Expand Down

0 comments on commit 35b306c

Please sign in to comment.