Skip to content

Commit

Permalink
Support doctrine/annotations:2
Browse files Browse the repository at this point in the history
  • Loading branch information
zaporylie committed Aug 30, 2024
1 parent 17152db commit c4c4430
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
9 changes: 0 additions & 9 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c4c4430

Please sign in to comment.