Skip to content

Commit d61d350

Browse files
mattsebastianbergmann
authored andcommitted
Skip test if pcntl not available, remove require-dev
1 parent 2acafcf commit d61d350

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

composer.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@
4848
"sebastian/version": "^6.0.0",
4949
"staabm/side-effects-detector": "^1.0.5"
5050
},
51-
"require-dev": {
52-
"ext-pcntl": "*"
53-
},
5451
"config": {
5552
"platform": {
5653
"php": "8.3.0"

tests/end-to-end/cli/child-process-output.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
--TEST--
22
ShutdownHandler does not output when child process exits
3+
--SKIPIF--
4+
<?php declare(strict_types=1);
5+
if (!extension_loaded('pcntl')) {
6+
print 'skip: Extension pcntl must be loaded.';
7+
}
38
--FILE--
49
<?php declare(strict_types=1);
510
$_SERVER['argv'][] = '--do-not-cache-result';

0 commit comments

Comments
 (0)