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
var_dump('a', $GLOBALS['argv']);
// If XDebug is enabled, restart without it
(new \Composer\XdebugHandler(\Composer\Factory::createOutput()))->check();
var_dump('b', $GLOBALS['argv']);
$ ./vendor/vimeo/psalm/bin/psalm --init
string(1) "a"
array(2) {
[0] =>
string(30) "./vendor/vimeo/psalm/bin/psalm"
[1] =>
string(6) "--init"
}
string(1) "a"
array(3) {
[0]=>
string(30) "./vendor/vimeo/psalm/bin/psalm"
[1]=>
string(6) "--init"
[2]=>
string(6) "--ansi"
}
string(1) "b"
array(3) {
[0]=>
string(30) "./vendor/vimeo/psalm/bin/psalm"
[1]=>
string(6) "--init"
[2]=>
string(6) "--ansi"
}
The given path "/vagrant/--ansi" does not appear to be a directory
Notice the --ansi parameter being added after XdebugHandler is called, causing the directory to be wrong.
The text was updated successfully, but these errors were encountered:
I've just installed
psalm
withcomposer require --dev vimeo/psalm
.I try to initialize it, but I get the error:
Lets slightly modify the source code of
psalm
by addingvar_dump
s:Notice the
--ansi
parameter being added afterXdebugHandler
is called, causing the directory to be wrong.The text was updated successfully, but these errors were encountered: