-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Bridge/PhpUnit] Extract all the code but shebang from bin/simple-phpunit #31364
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
Conversation
Not sure if I should fix code style... The code is still the same but moved to another file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, no need to care about the CS I agree.
This should be submitted on master - it's not a real bug fix. We can merge it for 4.3 IMHO.
Pleas also open a PR for the recipe so we can discuss it at the same time.
This commit is a part of fix for symfony/symfony#27035 The other part is symfony/symfony#31364
@nicolas-grekas I've changed target to master branch and open a PR for flex recipes repo: symfony/recipes#584 |
…unit The change allow `simple-phpunit` to be included without `#!/usr/bin/env php` string outputted. Also it's the first step to fix symfony#27035 (the second one is to change phpunit bridge recipe).
This commit is a part of fix for symfony/symfony#27035 The other part is symfony/symfony#31364
This commit is a part of fix for symfony/symfony#27035 The other part is symfony/symfony#31364
Thank you @JustBlackBird. |
… bin/simple-phpunit (JustBlackBird) This PR was merged into the 4.3-dev branch. Discussion ---------- [Bridge/PhpUnit] Extract all the code but shebang from bin/simple-phpunit The change allow `simple-phpunit` to be included without `#!/usr/bin/env php` string outputted. Also it's the first step to fix #27035 (the second one is to change phpunit bridge recipe). The reason why I fix a closed issue is because PHPStorm don't want to parse output from simple-phpunit with extra shebang.  | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #27035 | License | MIT Commits ------- 74a0be3 [Bridge/PhpUnit] Extract all the code but shebang from bin/simple-phpunit
You're welcome @fabpot ! |
…hen using simple-phpunit (Taluu) This PR was merged into the 4.4 branch. Discussion ---------- [PhpUnitBridge] fix handling the COMPOSER_BINARY env var when using simple-phpunit | Q | A | ------------- | --- | Branch? | 4.4 and next | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #41774 | License | MIT Since the renaming of the simple phpunit file (from the shebang to the php file) in #31364, it looks like the change made from #36566 was lost as it seems to have been merged after. So this PR is an attempt to "restore" that functionnality, as it was considered a bug fix on 3.4 at the time. poke `@nicolas`-grekas Commits ------- 9589b52 Reapply the change to allow to set the composer binary path
This commit is a part of fix for symfony/symfony#27035 The other part is symfony/symfony#31364
This commit is a part of fix for symfony/symfony#27035 The other part is symfony/symfony#31364
The change allow
simple-phpunit
to be included without#!/usr/bin/env php
string outputted.Also it's the first step to fix #27035 (the second one is to change phpunit bridge recipe).
The reason why I fix a closed issue is because PHPStorm don't want to parse output from simple-phpunit with extra shebang.