From 165e223756c1220e3aa648ae237523c92666488a Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Thu, 4 Apr 2019 21:50:29 +0200 Subject: [PATCH] Bumped child process packages and open up Windows support again --- composer.json | 2 +- composer.lock | 354 +++++++++++++++++++++++------------ src/ChildProcess/Adapter.php | 2 +- 3 files changed, 235 insertions(+), 123 deletions(-) diff --git a/composer.json b/composer.json index e7b67882..271d45ee 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "react/promise": "~2.2", "react/promise-stream": "^1.1", "react/stream": "^1.0 || ^0.7 || ^0.6 || ^0.5 || ^0.4", - "wyrihaximus/react-child-process-pool": "^1.3" + "wyrihaximus/react-child-process-pool": "^1.5" }, "require-dev": { "clue/block-react": "^1.1", diff --git a/composer.lock b/composer.lock index 04110066..0daa5023 100644 --- a/composer.lock +++ b/composer.lock @@ -1,10 +1,10 @@ { "_readme": [ "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "0301b26ae1ada823f6fbeb0b71fc57bb", + "content-hash": "2c67c21b64e3b42909cab42937090569", "packages": [ { "name": "cakephp/utility", @@ -268,16 +268,16 @@ }, { "name": "paragonie/random_compat", - "version": "v2.0.11", + "version": "v2.0.18", "source": { "type": "git", "url": "https://github.com/paragonie/random_compat.git", - "reference": "5da4d3c796c275c55f057af5a643ae297d96b4d8" + "reference": "0a58ef6e3146256cc3dc7cc393927bcc7d1b72db" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/5da4d3c796c275c55f057af5a643ae297d96b4d8", - "reference": "5da4d3c796c275c55f057af5a643ae297d96b4d8", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/0a58ef6e3146256cc3dc7cc393927bcc7d1b72db", + "reference": "0a58ef6e3146256cc3dc7cc393927bcc7d1b72db", "shasum": "" }, "require": { @@ -309,23 +309,24 @@ "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", "keywords": [ "csprng", + "polyfill", "pseudorandom", "random" ], - "time": "2017-09-27T21:40:39+00:00" + "time": "2019-01-03T20:59:08+00:00" }, { "name": "react/cache", - "version": "v0.4.2", + "version": "v0.5.0", "source": { "type": "git", "url": "https://github.com/reactphp/cache.git", - "reference": "75494f26b4ef089db9bf8c90b63c296246e099e8" + "reference": "7d7da7fb7574d471904ba357b39bbf110ccdbf66" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/reactphp/cache/zipball/75494f26b4ef089db9bf8c90b63c296246e099e8", - "reference": "75494f26b4ef089db9bf8c90b63c296246e099e8", + "url": "https://api.github.com/repos/reactphp/cache/zipball/7d7da7fb7574d471904ba357b39bbf110ccdbf66", + "reference": "7d7da7fb7574d471904ba357b39bbf110ccdbf66", "shasum": "" }, "require": { @@ -352,20 +353,20 @@ "promise", "reactphp" ], - "time": "2017-12-20T16:47:13+00:00" + "time": "2018-06-25T12:52:40+00:00" }, { "name": "react/child-process", - "version": "v0.5.2", + "version": "v0.6.1", "source": { "type": "git", "url": "https://github.com/reactphp/child-process.git", - "reference": "aae49d7f1340bafb695b9af3ce4421ea41a39620" + "reference": "6895afa583d51dc10a4b9e93cd3bce17b3b77ac3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/reactphp/child-process/zipball/aae49d7f1340bafb695b9af3ce4421ea41a39620", - "reference": "aae49d7f1340bafb695b9af3ce4421ea41a39620", + "url": "https://api.github.com/repos/reactphp/child-process/zipball/6895afa583d51dc10a4b9e93cd3bce17b3b77ac3", + "reference": "6895afa583d51dc10a4b9e93cd3bce17b3b77ac3", "shasum": "" }, "require": { @@ -375,7 +376,8 @@ "react/stream": "^1.0 || ^0.7.6" }, "require-dev": { - "phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35", + "phpunit/phpunit": "^7.0 || ^6.4 || ^5.7 || ^4.8.35", + "react/socket": "^1.0", "sebastian/environment": "^3.0 || ^2.0 || ^1.0" }, "type": "library", @@ -394,25 +396,25 @@ "process", "reactphp" ], - "time": "2018-01-18T14:53:06+00:00" + "time": "2019-02-15T13:48:16+00:00" }, { "name": "react/dns", - "version": "v0.4.13", + "version": "v0.4.17", "source": { "type": "git", "url": "https://github.com/reactphp/dns.git", - "reference": "7d1e08c300fd7de600810883386ee5e2a64898f4" + "reference": "0f30c6ceb71504d359d51132a97e1703051f1589" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/reactphp/dns/zipball/7d1e08c300fd7de600810883386ee5e2a64898f4", - "reference": "7d1e08c300fd7de600810883386ee5e2a64898f4", + "url": "https://api.github.com/repos/reactphp/dns/zipball/0f30c6ceb71504d359d51132a97e1703051f1589", + "reference": "0f30c6ceb71504d359d51132a97e1703051f1589", "shasum": "" }, "require": { "php": ">=5.3.0", - "react/cache": "~0.4.0|~0.3.0", + "react/cache": "^1.0 || ^0.6 || ^0.5 || ^0.4 || ^0.3", "react/event-loop": "^1.0 || ^0.5 || ^0.4 || ^0.3.5", "react/promise": "^2.1 || ^1.2.1", "react/promise-timer": "^1.2", @@ -420,7 +422,7 @@ }, "require-dev": { "clue/block-react": "^1.2", - "phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35" + "phpunit/phpunit": "^7.0 || ^6.4 || ^5.7 || ^4.8.35" }, "type": "library", "autoload": { @@ -439,31 +441,32 @@ "dns-resolver", "reactphp" ], - "time": "2018-02-27T12:51:22+00:00" + "time": "2019-04-01T07:31:55+00:00" }, { "name": "react/event-loop", - "version": "v0.5.2", + "version": "v1.1.0", "source": { "type": "git", "url": "https://github.com/reactphp/event-loop.git", - "reference": "e94985d93c689c554265b01014f8c3064921ca27" + "reference": "a0ecac955c67b57c40fe4a1b88a7cca1b58c982d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/reactphp/event-loop/zipball/e94985d93c689c554265b01014f8c3064921ca27", - "reference": "e94985d93c689c554265b01014f8c3064921ca27", + "url": "https://api.github.com/repos/reactphp/event-loop/zipball/a0ecac955c67b57c40fe4a1b88a7cca1b58c982d", + "reference": "a0ecac955c67b57c40fe4a1b88a7cca1b58c982d", "shasum": "" }, "require": { "php": ">=5.3.0" }, "require-dev": { - "phpunit/phpunit": "~4.8.35 || ^5.7 || ^6.4" + "phpunit/phpunit": "^7.0 || ^6.4 || ^5.7 || ^4.8.35" }, "suggest": { "ext-event": "~1.0 for ExtEventLoop", - "ext-pcntl": "For signal handling support when using the StreamSelectLoop" + "ext-pcntl": "For signal handling support when using the StreamSelectLoop", + "ext-uv": "* for ExtUvLoop" }, "type": "library", "autoload": { @@ -480,20 +483,20 @@ "asynchronous", "event-loop" ], - "time": "2018-04-24T11:23:06+00:00" + "time": "2019-02-07T16:19:49+00:00" }, { "name": "react/promise", - "version": "v2.5.1", + "version": "v2.7.1", "source": { "type": "git", "url": "https://github.com/reactphp/promise.git", - "reference": "62785ae604c8d69725d693eb370e1d67e94c4053" + "reference": "31ffa96f8d2ed0341a57848cbb84d88b89dd664d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/reactphp/promise/zipball/62785ae604c8d69725d693eb370e1d67e94c4053", - "reference": "62785ae604c8d69725d693eb370e1d67e94c4053", + "url": "https://api.github.com/repos/reactphp/promise/zipball/31ffa96f8d2ed0341a57848cbb84d88b89dd664d", + "reference": "31ffa96f8d2ed0341a57848cbb84d88b89dd664d", "shasum": "" }, "require": { @@ -526,7 +529,7 @@ "promise", "promises" ], - "time": "2017-03-25T12:08:31+00:00" + "time": "2019-01-07T21:25:54+00:00" }, { "name": "react/promise-stream", @@ -586,22 +589,22 @@ }, { "name": "react/promise-timer", - "version": "v1.2.1", + "version": "v1.5.1", "source": { "type": "git", "url": "https://github.com/reactphp/promise-timer.git", - "reference": "9b4cd9cbe7457e0d87fe8aa7ccceab8a2c830fbd" + "reference": "35fb910604fd86b00023fc5cda477c8074ad0abc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/reactphp/promise-timer/zipball/9b4cd9cbe7457e0d87fe8aa7ccceab8a2c830fbd", - "reference": "9b4cd9cbe7457e0d87fe8aa7ccceab8a2c830fbd", + "url": "https://api.github.com/repos/reactphp/promise-timer/zipball/35fb910604fd86b00023fc5cda477c8074ad0abc", + "reference": "35fb910604fd86b00023fc5cda477c8074ad0abc", "shasum": "" }, "require": { "php": ">=5.3", "react/event-loop": "^1.0 || ^0.5 || ^0.4 || ^0.3.5", - "react/promise": "~2.1|~1.2" + "react/promise": "^2.7.0 || ^1.2.1" }, "require-dev": { "phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35" @@ -612,7 +615,7 @@ "React\\Promise\\Timer\\": "src/" }, "files": [ - "src/functions.php" + "src/functions_include.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -626,7 +629,7 @@ } ], "description": "A trivial implementation of timeouts for Promises, built on top of ReactPHP.", - "homepage": "https://github.com/react/promise-timer", + "homepage": "https://github.com/reactphp/promise-timer", "keywords": [ "async", "event-loop", @@ -635,20 +638,20 @@ "timeout", "timer" ], - "time": "2017-12-22T15:41:41+00:00" + "time": "2019-03-27T18:10:32+00:00" }, { "name": "react/socket", - "version": "v0.8.10", + "version": "v1.2.0", "source": { "type": "git", "url": "https://github.com/reactphp/socket.git", - "reference": "d3957313c92b539537fccc80170c05a27ec25796" + "reference": "23b7372bb25cea934f6124f5bdac34e30161959e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/reactphp/socket/zipball/d3957313c92b539537fccc80170c05a27ec25796", - "reference": "d3957313c92b539537fccc80170c05a27ec25796", + "url": "https://api.github.com/repos/reactphp/socket/zipball/23b7372bb25cea934f6124f5bdac34e30161959e", + "reference": "23b7372bb25cea934f6124f5bdac34e30161959e", "shasum": "" }, "require": { @@ -656,9 +659,9 @@ "php": ">=5.3.0", "react/dns": "^0.4.13", "react/event-loop": "^1.0 || ^0.5 || ^0.4 || ^0.3.5", - "react/promise": "^2.1 || ^1.2", - "react/promise-timer": "~1.0", - "react/stream": "^1.0 || ^0.7.1" + "react/promise": "^2.6.0 || ^1.2.1", + "react/promise-timer": "^1.4.0", + "react/stream": "^1.1" }, "require-dev": { "clue/block-react": "^1.2", @@ -682,20 +685,20 @@ "reactphp", "stream" ], - "time": "2018-02-28T09:32:38+00:00" + "time": "2019-01-07T14:10:13+00:00" }, { "name": "react/stream", - "version": "v0.7.7", + "version": "v1.1.0", "source": { "type": "git", "url": "https://github.com/reactphp/stream.git", - "reference": "10100896018fd847a257cd81143b8e1b7be08e40" + "reference": "50426855f7a77ddf43b9266c22320df5bf6c6ce6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/reactphp/stream/zipball/10100896018fd847a257cd81143b8e1b7be08e40", - "reference": "10100896018fd847a257cd81143b8e1b7be08e40", + "url": "https://api.github.com/repos/reactphp/stream/zipball/50426855f7a77ddf43b9266c22320df5bf6c6ce6", + "reference": "50426855f7a77ddf43b9266c22320df5bf6c6ce6", "shasum": "" }, "require": { @@ -728,7 +731,7 @@ "stream", "writable" ], - "time": "2018-01-19T15:04:38+00:00" + "time": "2019-01-01T16:15:09+00:00" }, { "name": "tivie/php-os-detector", @@ -780,23 +783,25 @@ }, { "name": "wyrihaximus/cpu-core-detector", - "version": "1.0.1", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/WyriHaximus/php-cpu-core-detector.git", - "reference": "459dbf380172f06de6bf1aaecb9b1a003f7937b1" + "reference": "fff4194540a8111c298e5e707bcfc778c4c9ddbb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/WyriHaximus/php-cpu-core-detector/zipball/459dbf380172f06de6bf1aaecb9b1a003f7937b1", - "reference": "459dbf380172f06de6bf1aaecb9b1a003f7937b1", + "url": "https://api.github.com/repos/WyriHaximus/php-cpu-core-detector/zipball/fff4194540a8111c298e5e707bcfc778c4c9ddbb", + "reference": "fff4194540a8111c298e5e707bcfc778c4c9ddbb", "shasum": "" }, "require": { "php": "^5.4||^7.0", - "react/child-process": "^0.5 || ^0.4", - "tivie/php-os-detector": "^1.0", - "wyrihaximus/react-child-process-promise": "^2.0", + "react/child-process": "^0.6 || ^0.5 || ^0.4", + "react/socket": "^1.2", + "tivie/php-os-detector": "^1.1", + "wyrihaximus/file-descriptors": "^1.0 || ^0.1", + "wyrihaximus/react-child-process-promise": "^2.0.2", "wyrihaximus/ticking-promise": "^1.5" }, "require-dev": { @@ -824,7 +829,48 @@ "email": "ceesjank@gmail.com" } ], - "time": "2018-02-24T17:44:46+00:00" + "description": "Detect CPU core count and assign tasks to a specific code", + "time": "2019-01-19T21:54:34+00:00" + }, + { + "name": "wyrihaximus/file-descriptors", + "version": "0.1.0", + "source": { + "type": "git", + "url": "https://github.com/WyriHaximus/php-file-descriptors.git", + "reference": "0a1b5e95fb0bcefd18a012f0faa1243e9af4ef7c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/WyriHaximus/php-file-descriptors/zipball/0a1b5e95fb0bcefd18a012f0faa1243e9af4ef7c", + "reference": "0a1b5e95fb0bcefd18a012f0faa1243e9af4ef7c", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^5.4", + "tivie/php-os-detector": "^1.1" + }, + "require-dev": { + "phpunit/phpunit": "^4.8" + }, + "type": "library", + "autoload": { + "psr-4": { + "WyriHaximus\\FileDescriptors\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Cees-Jan Kiewiet", + "email": "ceesjank@gmail.com" + } + ], + "description": "List open file descriptors for the current process cross platform", + "time": "2019-01-15T07:20:48+00:00" }, { "name": "wyrihaximus/json-throwable", @@ -874,16 +920,16 @@ }, { "name": "wyrihaximus/react-child-process-messenger", - "version": "2.8.1", + "version": "2.9.3", "source": { "type": "git", "url": "https://github.com/WyriHaximus/reactphp-child-process-messenger.git", - "reference": "afde926a729868f5d6f64f378836123c3b247dea" + "reference": "960fcaa4922d56ddb23e2e187a9c8b8f62b7a73e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/WyriHaximus/reactphp-child-process-messenger/zipball/afde926a729868f5d6f64f378836123c3b247dea", - "reference": "afde926a729868f5d6f64f378836123c3b247dea", + "url": "https://api.github.com/repos/WyriHaximus/reactphp-child-process-messenger/zipball/960fcaa4922d56ddb23e2e187a9c8b8f62b7a73e", + "reference": "960fcaa4922d56ddb23e2e187a9c8b8f62b7a73e", "shasum": "" }, "require": { @@ -891,20 +937,22 @@ "doctrine/inflector": "^1.0", "evenement/evenement": "^3.0 || ^2.0 || ^1.0", "indigophp/hash-compat": "^1.0", - "paragonie/random_compat": "^2.0", - "php": "^5.4||^7.0", - "react/child-process": "^0.5 || ^0.4", + "paragonie/random_compat": "^9.0 || ^2.0", + "php": "^7.0 || ^5.4", + "react/child-process": "^0.6 || ^0.5 | ^0.4", "react/promise": "^2.2", "react/promise-stream": "^1.1", - "react/socket": "^0.8.1", + "react/promise-timer": "^1.5", + "react/socket": "^1.0 || ^0.8.1", + "wyrihaximus/file-descriptors": "^1.0 || ^0.1", "wyrihaximus/json-throwable": "^2.0 || ^1.1.1", "wyrihaximus/ticking-promise": "^1.4" }, "require-dev": { "clue/block-react": "^1.2", "friendsofphp/php-cs-fixer": "^2.2", - "jakub-onderka/php-console-highlighter": "^0.3.2", - "jakub-onderka/php-parallel-lint": "^0.9.2", + "jakub-onderka/php-console-highlighter": "^0.4", + "jakub-onderka/php-parallel-lint": "^1.0.0", "phpunit/phpunit": "^4.8.35||^5.0||^6.0" }, "type": "library", @@ -925,34 +973,36 @@ } ], "description": "Messenger decorator for react/child-process", - "time": "2018-03-23T21:26:12+00:00" + "time": "2019-03-26T20:05:48+00:00" }, { "name": "wyrihaximus/react-child-process-pool", - "version": "1.4.2", + "version": "1.5.1", "source": { "type": "git", "url": "https://github.com/WyriHaximus/reactphp-child-process-pool.git", - "reference": "232f2aef55ce6df816f837442e79ff2976ebc8ed" + "reference": "d61e27af86e76e2e1045a262a2f4ab43929e521e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/WyriHaximus/reactphp-child-process-pool/zipball/232f2aef55ce6df816f837442e79ff2976ebc8ed", - "reference": "232f2aef55ce6df816f837442e79ff2976ebc8ed", + "url": "https://api.github.com/repos/WyriHaximus/reactphp-child-process-pool/zipball/d61e27af86e76e2e1045a262a2f4ab43929e521e", + "reference": "d61e27af86e76e2e1045a262a2f4ab43929e521e", "shasum": "" }, "require": { "evenement/evenement": "^3.0 || ^2.0", - "php": "^5.4||^7.0", - "wyrihaximus/cpu-core-detector": "^1.0.0", - "wyrihaximus/react-child-process-messenger": "^2.7.1", + "php": "^7.0 || ^5.4", + "react/event-loop": "^1.1", + "wyrihaximus/cpu-core-detector": "^1.0.2", + "wyrihaximus/file-descriptors": "^1.0 || ^0.1", + "wyrihaximus/react-child-process-messenger": "^2.9", "wyrihaximus/ticking-promise": "^1.5" }, "require-dev": { - "clue/block-react": "^1.1", + "clue/block-react": "^1.3", "phake/phake": "^2.2.1", "phpunit/phpunit": "^4.8.35||^5.0", - "squizlabs/php_codesniffer": "^1.5.6", + "squizlabs/php_codesniffer": "^3.3.2", "vectorface/dunit": "~2.0" }, "suggest": { @@ -977,32 +1027,32 @@ "email": "ceesjank@gmail.com" } ], - "time": "2018-04-23T17:21:00+00:00" + "description": "Pool wyrihaximus/react-child-process-messenger processes", + "time": "2019-03-20T21:11:00+00:00" }, { "name": "wyrihaximus/react-child-process-promise", - "version": "2.0.1", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/WyriHaximus/reactphp-child-process-promise.git", - "reference": "9b6f1bace7af43afc79fa85b91c793cdb3ff199b" + "reference": "206fe3d5180c7b6f757e8aaa9fef687f42d43164" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/WyriHaximus/reactphp-child-process-promise/zipball/9b6f1bace7af43afc79fa85b91c793cdb3ff199b", - "reference": "9b6f1bace7af43afc79fa85b91c793cdb3ff199b", + "url": "https://api.github.com/repos/WyriHaximus/reactphp-child-process-promise/zipball/206fe3d5180c7b6f757e8aaa9fef687f42d43164", + "reference": "206fe3d5180c7b6f757e8aaa9fef687f42d43164", "shasum": "" }, "require": { "php": "^5.4||^7.0", - "react/child-process": "^0.5 || ^0.4", - "react/promise": "^2.2", + "react/child-process": "^0.6 || ^0.5 || ^0.4", + "react/promise": "^2.7", "wyrihaximus/ticking-promise": "^1.5.2" }, "require-dev": { - "phake/phake": "^2.1", "phpunit/phpunit": "^4.4||^5.0", - "squizlabs/php_codesniffer": "^1.5.6", + "squizlabs/php_codesniffer": "^3.3.2", "vectorface/dunit": "^2.0" }, "type": "library", @@ -1026,7 +1076,7 @@ } ], "description": "Wrapping ticks into a promise", - "time": "2017-10-17T11:37:15+00:00" + "time": "2019-01-18T21:42:17+00:00" }, { "name": "wyrihaximus/ticking-promise", @@ -1079,26 +1129,26 @@ "packages-dev": [ { "name": "clue/block-react", - "version": "v1.2.0", + "version": "v1.3.0", "source": { "type": "git", - "url": "https://github.com/clue/php-block-react.git", - "reference": "966c255580ec7a0259338798ddb89f77e121fe9e" + "url": "https://github.com/clue/reactphp-block.git", + "reference": "a4a5cd64ded3b15affa168a2419fa4eda08b96aa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/clue/php-block-react/zipball/966c255580ec7a0259338798ddb89f77e121fe9e", - "reference": "966c255580ec7a0259338798ddb89f77e121fe9e", + "url": "https://api.github.com/repos/clue/reactphp-block/zipball/a4a5cd64ded3b15affa168a2419fa4eda08b96aa", + "reference": "a4a5cd64ded3b15affa168a2419fa4eda08b96aa", "shasum": "" }, "require": { "php": ">=5.3", "react/event-loop": "^1.0 || ^0.5 || ^0.4 || ^0.3.5", - "react/promise": "~2.1|~1.2", - "react/promise-timer": "~1.0" + "react/promise": "^2.7 || ^1.2.1", + "react/promise-timer": "^1.5" }, "require-dev": { - "phpunit/phpunit": "^5.0 || ^4.8" + "phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35" }, "type": "library", "autoload": { @@ -1116,17 +1166,19 @@ "email": "christian@lueck.tv" } ], - "description": "Integrate async React PHP components into your blocking environment", - "homepage": "https://github.com/clue/php-block-react", + "description": "Lightweight library that eases integrating async components built for ReactPHP in a traditional, blocking environment.", + "homepage": "https://github.com/clue/reactphp-block", "keywords": [ "async", + "await", "blocking", "event loop", "promise", "reactphp", + "sleep", "synchronous" ], - "time": "2017-08-03T13:14:15+00:00" + "time": "2018-06-14T08:50:53+00:00" }, { "name": "phpdocumentor/reflection-docblock", @@ -1179,33 +1231,33 @@ }, { "name": "phpspec/prophecy", - "version": "1.7.5", + "version": "1.8.0", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "dfd6be44111a7c41c2e884a336cc4f461b3b2401" + "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/dfd6be44111a7c41c2e884a336cc4f461b3b2401", - "reference": "dfd6be44111a7c41c2e884a336cc4f461b3b2401", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06", + "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.2", "php": "^5.3|^7.0", "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0", - "sebastian/comparator": "^1.1|^2.0", + "sebastian/comparator": "^1.1|^2.0|^3.0", "sebastian/recursion-context": "^1.0|^2.0|^3.0" }, "require-dev": { "phpspec/phpspec": "^2.5|^3.2", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5" + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.7.x-dev" + "dev-master": "1.8.x-dev" } }, "autoload": { @@ -1238,7 +1290,7 @@ "spy", "stub" ], - "time": "2018-02-19T10:16:54+00:00" + "time": "2018-08-05T17:53:17+00:00" }, { "name": "phpunit/php-code-coverage", @@ -1614,6 +1666,7 @@ "mock", "xunit" ], + "abandoned": true, "time": "2015-10-02T06:51:40+00:00" }, { @@ -1988,22 +2041,81 @@ "homepage": "https://github.com/sebastianbergmann/version", "time": "2015-06-21T13:59:46+00:00" }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.11.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "82ebae02209c21113908c229e9883c419720738a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/82ebae02209c21113908c229e9883c419720738a", + "reference": "82ebae02209c21113908c229e9883c419720738a", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.11-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + }, + { + "name": "Gert de Pagter", + "email": "backendtea@gmail.com" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "time": "2019-02-06T07:57:58+00:00" + }, { "name": "symfony/yaml", - "version": "v2.8.36", + "version": "v2.8.49", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "be720fcfae4614df204190d57795351059946a77" + "reference": "02c1859112aa779d9ab394ae4f3381911d84052b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/be720fcfae4614df204190d57795351059946a77", - "reference": "be720fcfae4614df204190d57795351059946a77", + "url": "https://api.github.com/repos/symfony/yaml/zipball/02c1859112aa779d9ab394ae4f3381911d84052b", + "reference": "02c1859112aa779d9ab394ae4f3381911d84052b", "shasum": "" }, "require": { - "php": ">=5.3.9" + "php": ">=5.3.9", + "symfony/polyfill-ctype": "~1.8" }, "type": "library", "extra": { @@ -2035,7 +2147,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2018-01-03T07:36:31+00:00" + "time": "2018-11-11T11:18:13+00:00" } ], "aliases": [], diff --git a/src/ChildProcess/Adapter.php b/src/ChildProcess/Adapter.php index be0ee398..48004fe5 100644 --- a/src/ChildProcess/Adapter.php +++ b/src/ChildProcess/Adapter.php @@ -121,7 +121,7 @@ protected function setUpPool($options) */ public static function isSupported() { - return substr(strtolower(PHP_OS), 0, 3) !== 'win' && function_exists('proc_open'); + return function_exists('proc_open'); } /**