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" 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 @@ - + 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); } /**