Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autotest.sh broken if PHPUnit is installed using a script as facade #16296

Closed
LukasReschke opened this issue May 12, 2015 · 2 comments · Fixed by #16367
Closed

autotest.sh broken if PHPUnit is installed using a script as facade #16296

LukasReschke opened this issue May 12, 2015 · 2 comments · Fixed by #16367

Comments

@LukasReschke
Copy link
Member

If PHPUnit is installed using a script as facade invoking it will fail, in my case this means:

➜  master git:(master) ✗ which phpunit
/usr/local/bin/phpunit
➜  master git:(master) ✗ cat /usr/local/bin/phpunit
#!/usr/bin/env bash

/usr/bin/env php -d allow_url_fopen=On -d detect_unicode=Off /usr/local/Cellar/phpunit/4.6.4/libexec/phpunit-4.6.4.phar $*%

Invoking php /usr/local/bin/phpunit will fail hard now. As it is a shell script and not a PHAR file.

Regression caused by #16045

@DeepDiver1975
Copy link
Member

8.1? 8.2? never?

@LukasReschke
Copy link
Member Author

8.1 - annoys me as hell: #16367

mmattel pushed a commit to mmattel/core that referenced this issue May 22, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Aug 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants