Skip to content

Commit

Permalink
fixed PHPStan issue
Browse files Browse the repository at this point in the history
  • Loading branch information
driehle committed Dec 31, 2024
1 parent 06e8ff9 commit 13c5898
Showing 1 changed file with 5 additions and 2 deletions.
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 13c5898

Please sign in to comment.