From 13c5898098134dfc1eb2ced07d7d428d65edff6a Mon Sep 17 00:00:00 2001 From: Dennis Riehle Date: Tue, 31 Dec 2024 10:35:12 +0100 Subject: [PATCH] fixed PHPStan issue --- phpstan.neon | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/phpstan.neon b/phpstan.neon index a84925a..5f5383f 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -10,8 +10,11 @@ parameters: - identifier: method.alreadyNarrowedType - - message: '#expects .*Collection<\(int\|string\), object>, .*ArrayCollection given#' + message: "#expects .*Collection<\\(int\\|string\\), object>, .*ArrayCollection 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