@@ -25,41 +25,41 @@ final class DefaultJobRunnerTest extends TestCase
2525{
2626 public static function provider (): Generator
2727 {
28- yield 'output to stdout ' => [
29- new Result ('test ' , '' ),
30- new Job (
31- <<<'EOT'
28+ if (version_compare (PHP_VERSION , '8.3.0 ' , '> ' )) {
29+ yield 'output to stdout ' => [
30+ new Result ('test ' , '' ),
31+ new Job (
32+ <<<'EOT'
3233<?php declare(strict_types=1);
3334fwrite(STDOUT, 'test');
3435
3536EOT
36- ),
37- ];
37+ ),
38+ ];
3839
39- yield 'output to stderr ' => [
40- new Result ('' , 'test ' ),
41- new Job (
42- <<<'EOT'
40+ yield 'output to stderr ' => [
41+ new Result ('' , 'test ' ),
42+ new Job (
43+ <<<'EOT'
4344<?php declare(strict_types=1);
4445fwrite(STDERR, 'test');
4546
4647EOT
47- ),
48- ];
48+ ),
49+ ];
4950
50- yield 'output to stdout and stderr ' => [
51- new Result ('test-stdout ' , 'test-stderr ' ),
52- new Job (
53- <<<'EOT'
51+ yield 'output to stdout and stderr ' => [
52+ new Result ('test-stdout ' , 'test-stderr ' ),
53+ new Job (
54+ <<<'EOT'
5455<?php declare(strict_types=1);
5556fwrite(STDOUT, 'test-stdout');
5657fwrite(STDERR, 'test-stderr');
5758
5859EOT
59- ),
60- ];
60+ ),
61+ ];
6162
62- if (version_compare (PHP_VERSION , '8.3.0 ' , '> ' )) {
6363 yield 'stderr redirected to stdout ' => [
6464 new Result ('test ' , '' ),
6565 new Job (
0 commit comments