Skip to content

Commit 3a6f211

Browse files
committed
Add pcntl extension
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
1 parent 7d3cd20 commit 3a6f211

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
},
2727
"require": {
2828
"php": "^8.3",
29+
"ext-pcntl": "*",
2930
"psr/log": "^3.0"
3031
},
3132
"require-dev": {

src/Worker/Worker.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
use function ob_start;
3636
use function pcntl_fork;
3737
use function posix_get_last_error;
38+
use function pcntl_waitpid;
3839
use function posix_kill;
3940
use function restore_error_handler;
4041
use function set_error_handler;

0 commit comments

Comments
 (0)