Skip to content

Commit cada57e

Browse files
authored
Merge pull request #3 from WyriHaximus/dependabot/composer/api-clients/cs-fixer-config-1.1.1
Bump api-clients/cs-fixer-config from 1.1.0 to 1.1.1
2 parents b9bc374 + 1e9081d commit cada57e

File tree

4 files changed

+26
-25
lines changed

4 files changed

+26
-25
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "wyrihaximus/react-child-process-promise-closure",
3+
"description": "ReactPHP Child Process Promise Closure child class",
34
"license": "MIT",
45
"authors": [
56
{

composer.lock

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/delayed-time.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88

99
for ($i = 1; $i < 31; $i++) {
1010
$delay = $i;
11-
echo \time(), ': ', $delay, PHP_EOL;
11+
echo \time(), ': ', $delay, \PHP_EOL;
1212
childProcessPromiseClosure($loop, function () use ($delay) {
1313
\sleep($delay * 2);
1414

1515
return ['time'=>\time()];
1616
})->done(function ($time): void {
17-
echo \time(), ': ', $time['time'], PHP_EOL;
17+
echo \time(), ': ', $time['time'], \PHP_EOL;
1818
}, function (Throwable $throwable): void {
1919
echo (string)$throwable;
2020
});

examples/time.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
childProcessPromiseClosure($loop, function () {
1010
return ['time'=>\time()];
1111
})->done(function ($time): void {
12-
echo $time['time'], PHP_EOL;
12+
echo $time['time'], \PHP_EOL;
1313
}, function (Throwable $throwable): void {
1414
echo (string)$throwable;
1515
});

0 commit comments

Comments
 (0)