diff --git a/.gitattributes b/.gitattributes index 0240640..b39bf1e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -7,4 +7,5 @@ phpcs.xml.dist export-ignore phpmd.xml.dist export-ignore phpstan.neon.dist export-ignore phpunit.xml.dist export-ignore +psalm.xml export-ignore composer.lock export-ignore diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 99ea416..d501eaf 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -12,7 +12,7 @@ parameters: ignoreErrors: # PHPStan is unable to infer the return type of unserialize() in this case. - - message: '#Method Doctrine\\Instantiator\\Instantiator\:\:buildFactory\(\) should return callable\(\): T of object but returns Closure\(\): mixed\.#' + message: '#Method Doctrine\\Instantiator\\Instantiator\:\:buildFactory\(\) should return callable\(\): T but returns Closure\(\): mixed\.#' path: 'src/Doctrine/Instantiator/Instantiator.php' # dynamic properties confuse static analysis