Open ghostwriter opened 6 months ago
I cannot reproduce it:
Would you mind creating a small repro in a separate repo?
Thanks for looking into this @weirdan,
It turned out to be a combination of things.
ghostwriter/coding-standard
, I was using "vimeo/psalm": ">=5.23 || <6.0.1 || dev-main as 6.0.0.999”
in composer (to be able to use nikic/PHP-Parser
both 4.x
and 5.x
in other packages)
I made a mistake using || <6.0.1
.
ghostwriter/psalm-sandbox
, I used ghostwriter/coding-standard
and nikic/php-parser@5.0.2
as a dev dependency.
composer was downloading vimeo/psalm:0.3.14
because of || <6.0.1
.
Now, i don't understand is how or why downloading and executing a psalm-5.23.0.phar
phar file
some how touched the vendor directory outside of the phar and complain something was missing in the phar:///
I’ll find time to reproduce it, but removing || <6.0.1
fixed my issue.
Sorry for the delay, https://github.com/ghostwriter/psalm-phar-issues-17
installed via phive