Skip to content

Commit 8cd4f95

Browse files
committed
ext/pcntl: Remove bool type coercions in tests
1 parent b068bef commit 8cd4f95

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/pcntl/tests/async_signals.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pcntl
55
posix
66
--FILE--
77
<?php
8-
pcntl_async_signals(1);
8+
pcntl_async_signals(true);
99

1010
pcntl_signal(SIGTERM, function ($signo) { echo "Signal handler called!\n"; });
1111

ext/pcntl/tests/async_signals_2.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
99
--FILE--
1010
<?php
1111

12-
pcntl_async_signals(1);
12+
pcntl_async_signals(true);
1313
pcntl_signal(SIGALRM, function($signo) {
1414
throw new Exception("Alarm!");
1515
});

0 commit comments

Comments
 (0)