diff --git a/composer.json b/composer.json index 90a2967..f2f8022 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "psr/simple-cache": "^3.0.0" }, "require-dev": { - "phpunit/phpunit": "^9.6", + "phpunit/phpunit": "^11.3", "mikey179/vfsstream": "^1.6", "squizlabs/php_codesniffer": "^3.7", "silverstripe/standards": "^1", diff --git a/tests/Transformer/YamlTransformerTest.php b/tests/Transformer/YamlTransformerTest.php index 89987cc..cfc66cb 100644 --- a/tests/Transformer/YamlTransformerTest.php +++ b/tests/Transformer/YamlTransformerTest.php @@ -9,6 +9,7 @@ use org\bovigo\vfs\vfsStream; use Symfony\Component\Finder\Finder; use MJS\TopSort\CircularDependencyException; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; class YamlTransformerTest extends TestCase { @@ -74,8 +75,8 @@ protected function getConfigDirectory() /** * Test that we can have an empty file without throwing any errors. - * @doesNotPerformAssertions */ + #[DoesNotPerformAssertions] public function testEmptyFileIgnored() { file_put_contents($this->getFilePath('empty.yml') ?? '', '');