From b9bc37108d3342560554303b52bd71dcef466876 Mon Sep 17 00:00:00 2001 From: Kevin Pfeifer Date: Thu, 4 Jan 2024 11:26:10 +0100 Subject: [PATCH] adjust phpunit version --- composer.json | 2 +- tests/TestCase/Panel/DeprecationsPanelTest.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 7a21b3d5..02048abb 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ "require-dev": { "cakephp/authorization": "^3.0", "cakephp/cakephp-codesniffer": "^5.0", - "phpunit/phpunit": "^10.1.0" + "phpunit/phpunit": "^10.1.0 <=10.5.3" }, "autoload": { "psr-4": { diff --git a/tests/TestCase/Panel/DeprecationsPanelTest.php b/tests/TestCase/Panel/DeprecationsPanelTest.php index 0eae1099..c578d15b 100644 --- a/tests/TestCase/Panel/DeprecationsPanelTest.php +++ b/tests/TestCase/Panel/DeprecationsPanelTest.php @@ -17,6 +17,7 @@ use Cake\Event\Event; use Cake\TestSuite\TestCase; use DebugKit\Panel\DeprecationsPanel; + use function Cake\Core\deprecationWarning; /**