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
In \Infection\Finder\TestFrameworkExecutableFinder::addVendorFolderToPath, if $this->findComposer() returns the path to a phar file, Windows shows a window asking the user to select which program to use to open the file.
The expected behavior is that it should execute the phar file by calling the php binary since Windows ignores the shebang within the phar file.
It looks like logic from \Infection\Finder\TestFrameworkExecutableFinder::makeExecutable could be reused in order to prefix the phar file with the appropriate php binary.
The text was updated successfully, but these errors were encountered:
In
\Infection\Finder\TestFrameworkExecutableFinder::addVendorFolderToPath
, if$this->findComposer()
returns the path to aphar file
, Windows shows a window asking the user to select which program to use to open the file.The expected behavior is that it should execute the
phar
file by calling the php binary since Windows ignores the shebang within thephar
file.It looks like logic from
\Infection\Finder\TestFrameworkExecutableFinder::makeExecutable
could be reused in order to prefix thephar
file with the appropriate php binary.The text was updated successfully, but these errors were encountered: