You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code here makes PHPStan crash with this extension enabled:
Internal error: Internal error: Unexpected expression type PHPStan\Type\ArrayType in file /var/www/packagist/src/Command/IndexPackagesCommand.php
Run PHPStan with --debug option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.md
Child process error (exit code 1):
It seems to be due to the Connection::PARAM_INT_ARRAY usage, and the fact that one of the parameters is an array, which I assume this lib isn't expecting yet.
Activity
staabm commentedon Jan 19, 2022
#152 Fixed some array handling today..
Which version of phpstan-dba do you work with?
Seldaek commentedon Jan 19, 2022
0.2.1
staabm commentedon Jan 19, 2022
Reproduced in #158
will need some handling for generic array. The fix from #152 only worked for constant arrays.