From 6389850883071fae43eed42aa1915f14db7dd5c4 Mon Sep 17 00:00:00 2001 From: ADmad Date: Fri, 28 Nov 2025 17:55:36 +0530 Subject: [PATCH 1/3] Fix dependency constraints --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 2703870..dc4db23 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "source": "https://github.com/cakephp/twig-view" }, "require": { - "cakephp/cakephp": "dev-5.next as 5.1.0", + "cakephp/cakephp": "^5.1", "jasny/twig-extensions": "^1.3", "twig/markdown-extra": "^3.0", "twig/twig": "^3.11.1" @@ -32,7 +32,7 @@ "cakephp/debug_kit": "^5.0", "michelf/php-markdown": "^1.9", "mikey179/vfsstream": "^1.6.10", - "phpunit/phpunit": "^10.5.5 || ^11.1.3" + "phpunit/phpunit": "^10.5.5 || ^11.1.3 || ^12.0.9" }, "conflict": { "wyrihaximus/twig-view": "*" From 45974e308cbc33a57a6bba7d52779c19c7579226 Mon Sep 17 00:00:00 2001 From: ADmad Date: Fri, 28 Nov 2025 18:00:30 +0530 Subject: [PATCH 2/3] Fix test failures --- tests/TestCase/Command/CompileCommandTest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/TestCase/Command/CompileCommandTest.php b/tests/TestCase/Command/CompileCommandTest.php index eeec76e..fd24ee1 100644 --- a/tests/TestCase/Command/CompileCommandTest.php +++ b/tests/TestCase/Command/CompileCommandTest.php @@ -39,8 +39,6 @@ public function setUp(): void Router::reload(); Configure::write('App.encoding', 'UTF-8'); - - $this->loadPlugins(['Cake/TwigView']); } /** @@ -87,7 +85,7 @@ public function testFile() */ public function testPlugin() { - $this->loadPlugins(['Cake/TwigView', 'TestTwigView']); + $this->loadPlugins(['TestTwigView']); $this->exec('twig-view compile plugin TestTwigView'); $this->assertExitSuccess(); From 75dc865226b0b343c43c3faa9733c48a036ca3a5 Mon Sep 17 00:00:00 2001 From: ADmad Date: Fri, 28 Nov 2025 18:02:15 +0530 Subject: [PATCH 3/3] Update phpunit contraints --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index dc4db23..6779b6d 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,7 @@ "cakephp/debug_kit": "^5.0", "michelf/php-markdown": "^1.9", "mikey179/vfsstream": "^1.6.10", - "phpunit/phpunit": "^10.5.5 || ^11.1.3 || ^12.0.9" + "phpunit/phpunit": "^10.5.58 || ^11.5.3 || ^12.0.9" }, "conflict": { "wyrihaximus/twig-view": "*"