Open weirdan opened 6 months ago
Hey @weirdan, can you reproduce the issue on https://psalm.dev? These will be used as phpunit tests when implementing the feature or fixing this bug.
Seems to be the same issue as https://github.com/vimeo/psalm/issues/10418 (and various similar ones)
I guess just adding a || for d
like in the PR I created to fix the issue above: https://github.com/vimeo/psalm/pull/10442/files
Could you check if that fixes the issue?
It may fix the immediate issue, but it isn't a robust solution. There's a myriad of flags you can pass to PHPUnit / paratest / etc, and whitelisting all of them is a pain in the back, not to mention potential conflicts between Psalm and PHPUnit arguments.
A correct solution would be passing arguments from Cli\Psalm
to Config::fromXmlAndPaths()
instead.
I believe this is caused by one of the changes in #10370
cc: @orklah and @kkmuffme