Skip to content

Commit d19a939

Browse files
committed
Doesn't run the STDIN test on Windows
1 parent 25ad6e2 commit d19a939

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Standards/Generic/Tests/PHP/SyntaxUnitTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,15 @@ public function getWarningList()
6464

6565

6666
/**
67-
* Test the sniff checks syntax when file contents are passed via STDIN.
67+
* Test the sniff checks syntax when file contents are passed via STDIN. Doesn't run on Windows
68+
* as PHPCS currently doesn't support STDIN on this OS.
6869
*
6970
* @param string $content The content to test.
7071
* @param int $errorCount The expected number of errors.
7172
* @param array $expectedErrors The expected errors.
7273
*
7374
* @dataProvider dataStdIn
75+
* @requires OS ^(?!WIN).*
7476
*
7577
* @return void
7678
*/

0 commit comments

Comments
 (0)