Skip to content

Commit

Permalink
Merge pull request #94 from driehle/feat-persistence-v4
Browse files Browse the repository at this point in the history
Allow doctrine/persistence v4
  • Loading branch information
driehle authored Dec 31, 2024
2 parents 5b13a8e + 13c5898 commit 99f65c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"ext-ctype": "*",
"doctrine/collections": "^2.0.0",
"doctrine/inflector": "^2.0.4",
"doctrine/persistence": "^3.0.0",
"doctrine/persistence": "^3.4.0 || ^4.0.0",
"laminas/laminas-hydrator": "^4.13.0",
"laminas/laminas-stdlib": "^3.14.0"
},
Expand Down
7 changes: 5 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ parameters:
-
identifier: method.alreadyNarrowedType
-
message: '#expects .*Collection<\(int\|string\), object>, .*ArrayCollection<int, Doctrine.*Entity> given#'
message: "#expects .*Collection<\\(int\\|string\\), object>, .*ArrayCollection<int, Doctrine.*Entity> given#"
path: tests/DoctrineObjectTest.php
-
message: '#Unable to resolve the template type T in call to method Doctrine\\Laminas\\Hydrator\\DoctrineObject::tryConvertArrayToObject\(\)#'
message: "#Unable to resolve the template type T in call to method .*DoctrineObject::tryConvertArrayToObject\\(\\)#"
path: src/DoctrineObject.php
-
message: "#Call to function method_exists\\(\\) with ReflectionClass and 'isReadOnly' will always evaluate to true#"
path: src/DoctrineObject.php

0 comments on commit 99f65c9

Please sign in to comment.