From 9f62e2a4822a82e5c4b299e99c628145c03be23e Mon Sep 17 00:00:00 2001 From: Maxim Smakouz Date: Tue, 14 Mar 2023 22:04:50 +0200 Subject: [PATCH] Allow doctrine/annotations 2.x --- composer.json | 4 ++-- tests/Reader/NativeReaderTestCase.php | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 3d4eb4c0b..286bfeba1 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "psr/simple-cache": "1 - 3" }, "require-dev": { - "doctrine/annotations": "^1.12", + "doctrine/annotations": "^1.12 || ^2.0", "jetbrains/phpstorm-attributes": "^1.0", "symfony/var-dumper": "^5.2 || ^6.0", "phpunit/phpunit": "^9.5.20", @@ -41,7 +41,7 @@ }, "extra": { "branch-alias": { - "dev-master": "2.14.x-dev" + "dev-master": "3.1.x-dev" } }, "scripts": { diff --git a/tests/Reader/NativeReaderTestCase.php b/tests/Reader/NativeReaderTestCase.php index 54a9b5449..d64a65ec6 100644 --- a/tests/Reader/NativeReaderTestCase.php +++ b/tests/Reader/NativeReaderTestCase.php @@ -18,8 +18,6 @@ use Spiral\Tests\Attributes\Reader\Fixture\UndefinedMeta; /** - * @requires PHP >= 8.0 - * * @group unit * @group reader */