From c52f0dba6d5a770c9768de40e45700dcdefaab27 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Sat, 19 Mar 2022 20:29:31 +0000 Subject: [PATCH] cope with php8 / phpunit 8 --- composer.json | 2 +- tests/Nmap/Tests/NmapTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 8a42df1..f12c0c2 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "symfony/process": "~2.0|~3.0|~4.0|~5.0" }, "require-dev": { - "phpunit/phpunit": "~7", + "phpunit/phpunit": "7.*|8.*", "vimeo/psalm": "*", "jakub-onderka/php-parallel-lint":"*", "squizlabs/php_codesniffer" : "*", diff --git a/tests/Nmap/Tests/NmapTest.php b/tests/Nmap/Tests/NmapTest.php index 865d2ce..c7fbf0c 100644 --- a/tests/Nmap/Tests/NmapTest.php +++ b/tests/Nmap/Tests/NmapTest.php @@ -10,7 +10,7 @@ class NmapTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); parent::tearDown();