-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[PhpUnitBridge] Properly handle phpunit arguments for configuration file #34808
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
95e72b7
to
841d9ba
Compare
/cc @ro0NL maybe?
|
how did it regognize
👍 |
$phpunitConfigFilename = null; | ||
if (INF !== $opt && isset($opts[$opt - 1])) { | ||
$phpunitConfigFilename = $opts[$opt - 1]; |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
It was recognizing |
is it good to be merged, or i need to fix something here? |
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.
works for me :) (phpstorm integration as described in #34300 is still OK 👍 )
@nicolas-grekas is there anything else need to be done before merging this into next release? |
841d9ba
to
a7a5885
Compare
Thank you @biozshock. |
…iguration file (biozshock) This PR was merged into the 4.3 branch. Discussion ---------- [PhpUnitBridge] Properly handle phpunit arguments for configuration file | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | License | MIT PhpUnitBridge should properly parse cli arguments for configuration file. After fixing #34300 the PhpUnitBridge stopped recognizing short `-c` option. Also original PHPUnit allows to pass a directory as configuration parameter and read from either phpunit.xml or phpunit.xml.dist Commits ------- a7a5885 Properly handle phpunit arguments for configuration file
PhpUnitBridge should properly parse cli arguments for configuration file.
After fixing #34300 the PhpUnitBridge stopped recognizing short
-c
option.Also original PHPUnit allows to pass a directory as configuration parameter and read from either phpunit.xml or phpunit.xml.dist