From e5e8764ac62a76e13ad816b70d203b00da401ae0 Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 11 Feb 2025 12:39:15 +0000 Subject: [PATCH] Bump phpunit to be less-deprecated phpunit 9.X is for php 7.X -- now that 7.X is very dead, we can move to phpunit 10 --- composer.json | 2 +- phpunit.xml.dist | 25 ++++++++++++------------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/composer.json b/composer.json index 3957d55..56d0255 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "nikic/php-parser": "^5" }, "require-dev": { - "phpunit/phpunit": "^9.6", + "phpunit/phpunit": "^10.4", "php-coveralls/php-coveralls": "^2.1", "squizlabs/php_codesniffer": "^3.4" }, diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 7b1dd06..9e4f77c 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,36 +1,35 @@ + cacheDirectory=".phpunit.cache" + backupStaticProperties="false"> ./tests/ - - ./src - - - src/Type/Php/ReplaceSafeFunctionsDynamicReturnTypeExtension.php - + + + ./src + + + + src/Type/Php/ + +