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
The text was updated successfully, but these errors were encountered:
gilbertsoft
changed the title
Running a binary from a script with @php fails on Winddows
Running a binary from a script with @php fails on Windows
Jun 1, 2023
My
composer.json
:Output of
composer diagnose
:When I run this command:
I get the following output:
And I expected this to happen:
Instead of running the
phpunit
binary, the content of the proxy filephpunit.bat
is printed. The problem is located in the EventDispatcher (composer/src/Composer/EventDispatcher/EventDispatcher.php
Lines 348 to 356 in 7528c86
.BAT
extension is added.A quick workaround for me was to define the full relative path to the
phpunit
:Discovered today while running CI on a Windows runner at GH, works fine on Linux and Mac, see workflow run (https://github.com/PhpDevTools/phpunit-tools/actions/runs/5142833446/jobs/9258327038), step
Unit Tests
.The text was updated successfully, but these errors were encountered: