Closed trearcul closed 5 months ago
/cc @VincentLanglet Please solve this, it's a consequence of https://github.com/phpstan/phpstan-doctrine/pull/546
HI @trearcul, can you try #561 ?
Hi @VincentLanglet, awesome, your fix works with ParameterType enums like charm. Thanks for fast response from both of you! ❤️
Fixed by https://github.com/phpstan/phpstan-doctrine/pull/561 and released as 1.3.67.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Hi,
I hope I'm not creating duplicity here, but I've just run into an incompatibility with the bleeding-edge stub of
DBAL\Connection
added in https://github.com/phpstan/phpstan-doctrine/pull/546. This issue arises with DBAL 4, leading to false positives when an array ofParameterType|ArrayParameterType
enums is passed as the$types
argument ofConnection::execute*
methods.E.g
Results in
Even though the DBAL 4's typehint for
$types
parameter is