From ecca05335434480b96a1df4cf29daeacce348524 Mon Sep 17 00:00:00 2001 From: Matthias Leutenegger Date: Sat, 3 Feb 2024 14:33:42 +0100 Subject: [PATCH 1/3] change: allow php 8.0 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 16ef54b..494b260 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ } ], "require": { - "php": "^7.4.0 || ^8.1", + "php": "^7.4.0 || ^8", "silverstripe/cms": "^4 || ^5", "silverstripe/framework": "^4 || ^5", "giggsey/libphonenumber-for-php": "^8.0" From e4a63052a5f67e68d0d6ee91f89161b7add4fd6a Mon Sep 17 00:00:00 2001 From: Matthias Leutenegger Date: Sat, 3 Feb 2024 14:40:27 +0100 Subject: [PATCH 2/3] Update ReadonlyField.ss --- .../Syntro/SilverstripeBootstrapForms/Forms/ReadonlyField.ss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/Syntro/SilverstripeBootstrapForms/Forms/ReadonlyField.ss b/templates/Syntro/SilverstripeBootstrapForms/Forms/ReadonlyField.ss index 86faf6b..66a8ce4 100644 --- a/templates/Syntro/SilverstripeBootstrapForms/Forms/ReadonlyField.ss +++ b/templates/Syntro/SilverstripeBootstrapForms/Forms/ReadonlyField.ss @@ -1 +1 @@ - + From 60f92a105c9dc208460f2f5867f50abcc60de7d0 Mon Sep 17 00:00:00 2001 From: Matthias Leutenegger Date: Sat, 3 Feb 2024 14:44:40 +0100 Subject: [PATCH 3/3] Update RenderFormFieldsTest.php --- tests/RenderFormFieldsTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/RenderFormFieldsTest.php b/tests/RenderFormFieldsTest.php index f5a5c3b..3e64e92 100644 --- a/tests/RenderFormFieldsTest.php +++ b/tests/RenderFormFieldsTest.php @@ -154,7 +154,7 @@ public function testReadonlyFieldRendering() $this->assertStringContainsString('
', $body); $this->assertStringContainsString('', $body); - $this->assertStringContainsString('', $body); + $this->assertStringContainsString('', $body); } /**