- Remove the unnecessary lines, declare(ticks=1)
}
],
"require": {
- "php": ">=5.6.0"
+ "php": ">=7.4.0"
},
"autoload": {
"psr-4": {
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "371512141531f38a907ed1a5fbe3055b",
+ "content-hash": "58c138d8f2f129f5bf6e4409d5c6c02b",
"packages": [],
"packages-dev": [],
"aliases": [],
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
- "php": ">=5.6.0"
+ "php": ">=7.4.0"
},
"platform-dev": [],
- "plugin-api-version": "2.2.0"
+ "plugin-api-version": "2.3.0"
}
*/
protected function getChildren()
{
- if (function_exists('pcntl_signal_dispatch')) {
- pcntl_signal_dispatch();
- } else {
- declare(ticks=1) {
- $true = true;
- }
- }
+ pcntl_signal_dispatch();
return $this->children;
}
*/
public function isStopped()
{
- if (function_exists('pcntl_signal_dispatch')) {
- pcntl_signal_dispatch();
- } else {
- declare(ticks=1) {
- $true = true;
- }
- }
+ pcntl_signal_dispatch();
return $this->stopped;
}