diff --git a/composer.json b/composer.json index a814b81..f4788da 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ ], "require": { "php": "8.1.*|8.2.*|8.3.*|8.4.*", - "doctrine/annotations": "^1.11", + "doctrine/annotations": "^1.14 || ^2.0", "spiral/attributes": "^2.8|^3.0" }, "require-dev": { diff --git a/src/Annotations/ApiArrayShape.php b/src/Annotations/ApiArrayShape.php index 59eb91c..871a11e 100644 --- a/src/Annotations/ApiArrayShape.php +++ b/src/Annotations/ApiArrayShape.php @@ -11,6 +11,7 @@ * @Annotation * @Target({"CLASS", "METHOD", "PROPERTY"}) * @NamedArgumentConstructor + * @psalm-suppress DeprecatedClass */ #[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD | \Attribute::TARGET_PROPERTY)] #[NamedArgumentConstructor] diff --git a/src/Annotations/ApiExpectedValues.php b/src/Annotations/ApiExpectedValues.php index bf8a361..819528d 100644 --- a/src/Annotations/ApiExpectedValues.php +++ b/src/Annotations/ApiExpectedValues.php @@ -11,6 +11,7 @@ * @Annotation * @Target({"PROPERTY"}) * @NamedArgumentConstructor + * @psalm-suppress DeprecatedClass */ #[\Attribute(\Attribute::TARGET_PROPERTY)] #[NamedArgumentConstructor] diff --git a/src/Annotations/ApiIgnore.php b/src/Annotations/ApiIgnore.php index e36b4a1..c96c7c0 100644 --- a/src/Annotations/ApiIgnore.php +++ b/src/Annotations/ApiIgnore.php @@ -11,6 +11,7 @@ * @Annotation * @Target({"CLASS", "METHOD"}) * @NamedArgumentConstructor + * @psalm-suppress DeprecatedClass */ #[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD)] #[NamedArgumentConstructor] diff --git a/src/Annotations/ApiIgnoreMethod.php b/src/Annotations/ApiIgnoreMethod.php index 5dbde02..236de53 100644 --- a/src/Annotations/ApiIgnoreMethod.php +++ b/src/Annotations/ApiIgnoreMethod.php @@ -11,6 +11,7 @@ * @Annotation * @Target({"CLASS"}) * @NamedArgumentConstructor + * @psalm-suppress DeprecatedClass */ #[\Attribute(\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE)] #[NamedArgumentConstructor] diff --git a/src/Annotations/ApiMapRequestToObject.php b/src/Annotations/ApiMapRequestToObject.php index cbb8d0b..ec3803f 100644 --- a/src/Annotations/ApiMapRequestToObject.php +++ b/src/Annotations/ApiMapRequestToObject.php @@ -11,6 +11,7 @@ * @Annotation * @Target({"METHOD"}) * @NamedArgumentConstructor + * @psalm-suppress DeprecatedClass */ #[\Attribute(\Attribute::TARGET_METHOD)] #[NamedArgumentConstructor] diff --git a/src/Annotations/ApiValueExample.php b/src/Annotations/ApiValueExample.php index 32eceae..e411654 100644 --- a/src/Annotations/ApiValueExample.php +++ b/src/Annotations/ApiValueExample.php @@ -11,6 +11,7 @@ * @Annotation * @Target({"PROPERTY", "METHOD"}) * @NamedArgumentConstructor + * @psalm-suppress DeprecatedClass */ #[\Attribute(\Attribute::TARGET_PROPERTY | \Attribute::TARGET_METHOD)] #[NamedArgumentConstructor] diff --git a/src/Annotations/Sometimes.php b/src/Annotations/Sometimes.php index c4c903f..af63ff6 100644 --- a/src/Annotations/Sometimes.php +++ b/src/Annotations/Sometimes.php @@ -11,6 +11,7 @@ * @Annotation * @Target({"PROPERTY"}) * @NamedArgumentConstructor + * @psalm-suppress DeprecatedClass */ #[\Attribute(\Attribute::TARGET_PROPERTY)] #[NamedArgumentConstructor] diff --git a/src/Annotations/TimeZone.php b/src/Annotations/TimeZone.php index 3c08ee3..5c95cfb 100644 --- a/src/Annotations/TimeZone.php +++ b/src/Annotations/TimeZone.php @@ -11,6 +11,7 @@ * @Annotation * @Target({"PROPERTY"}) * @NamedArgumentConstructor + * @psalm-suppress DeprecatedClass */ #[\Attribute(\Attribute::TARGET_PROPERTY)] #[NamedArgumentConstructor] diff --git a/src/Annotations/ValidationRule.php b/src/Annotations/ValidationRule.php index 1f6eb32..e85e6b4 100644 --- a/src/Annotations/ValidationRule.php +++ b/src/Annotations/ValidationRule.php @@ -11,6 +11,7 @@ * @Annotation * @Target({"CLASS", "METHOD", "PROPERTY"}) * @NamedArgumentConstructor + * @psalm-suppress DeprecatedClass */ #[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD | \Attribute::TARGET_PROPERTY | \Attribute::IS_REPEATABLE)] #[NamedArgumentConstructor]