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

fix: Ensure the debug flag is not forwarded #43

Merged
merged 4 commits into from
Oct 6, 2023
Merged

Conversation

theofidry
Copy link
Owner

If the PHPUnit test is executed via a Makefile command with the --debug flag, for example for this library:

make phpunit --debug

Then the MAKEFLAGS environment variable is updated and forwarded to the processes in which the test make commands are executed. This result in a different output which can easily break tests.

If the PHPUnit test is executed via a Makefile command with the `--debug` flag, for example for this library:

```
make phpunit --debug
```

Then the `MAKEFLAGS` environment variable is updated and forwarded to
the processes in which the test make commands are executed. This result
in a different output which can easily break tests.
@theofidry theofidry enabled auto-merge (squash) October 6, 2023 14:52
@theofidry theofidry merged commit cef335a into main Oct 6, 2023
9 checks passed
@theofidry theofidry deleted the fix/debug-flag branch October 6, 2023 15:07
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.

1 participant