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

Ignore Symfony console default options #1133

Merged
merged 4 commits into from
Sep 25, 2024

Conversation

ziadoz
Copy link
Contributor

@ziadoz ziadoz commented Sep 24, 2024

When default Symfony options get passed to the Dusk command, PHPUnit doesn't run:

❯ php artisan dusk --quiet
PHPUnit 11.3.6 by Sebastian Bergmann and contributors.

Unknown option "--quiet"

I did originally commit a version that looped through Symfony's options programmatically, however I worry what would happen if any new defaults got added in the future, so I just hardcoded the offending options here.

Copy link

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@ziadoz ziadoz marked this pull request as ready for review September 24, 2024 15:54
@taylorotwell taylorotwell merged commit c256c1d into laravel:8.x Sep 25, 2024
17 checks passed
@ziadoz ziadoz deleted the diff-console-default-options branch September 25, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants