diff --git a/composer.json b/composer.json index 219c28e..e2e3e6b 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "php-http/discovery": "^1.17", "eloquent/enumeration": "^5.1", "jms/serializer": "^1.8 || ^3.0", - "doctrine/annotations": "^1.14" + "doctrine/annotations": "^1.14 || ^2.0" }, "require-dev": { "guzzlehttp/guzzle": "^7", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 4f59e05..82f7b5c 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -14,12 +14,3 @@ parameters: message: "#^Unsafe usage of new static\\(\\)\\.$#" count: 2 path: src/Exceptions/VippsException.php - - - - message: """ - #^Call to deprecated method registerLoader\\(\\) of class Doctrine\\\\Common\\\\Annotations\\\\AnnotationRegistry\\: - This method is deprecated and will be removed in - doctrine/annotations 2\\.0\\. Annotations will be autoloaded in 2\\.0\\.$# - """ - count: 1 - path: src/Resource/ResourceBase.php