From 7b1cf3dc3e6b969620cfc6111240c88b654372cb Mon Sep 17 00:00:00 2001 From: Bruce Weirdan Date: Sat, 10 Apr 2021 01:58:01 +0300 Subject: [PATCH] Allow PHP 8 and xdebug-handler 2.0 --- composer.json | 6 +++--- src/Restarter.php | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 8783b07..6899768 100644 --- a/composer.json +++ b/composer.json @@ -7,13 +7,13 @@ "performance" ], "require": { - "composer/xdebug-handler": "^1.3", - "php": "~5.3 || ~7.0" + "composer/xdebug-handler": "^1.3 || ^2.0", + "php": "~5.3 || ~7.0 || ~8.0" }, "require-dev": { "phpunit/phpunit": "^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0", "ext-xdebug": "*", - "php": "~5.6 || ~7.0", + "php": "~5.6 || ~7.0 || ~8.0", "squizlabs/php_codesniffer": "^3.3", "php-parallel-lint/php-parallel-lint": "^1.3" }, diff --git a/src/Restarter.php b/src/Restarter.php index ec74fb0..19af8bc 100644 --- a/src/Restarter.php +++ b/src/Restarter.php @@ -6,7 +6,6 @@ class Restarter extends XdebugHandler { - /** @param string $command */ protected function restart($command) { assert(null !== $this->tmpIni);