You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…ATIONS_HELPER (nicolas-grekas)
This PR was merged into the 3.1-dev branch.
Discussion
----------
[Bridge\PhpUnit] Add "disabled" mode to SYMFONY_DEPRECATIONS_HELPER
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #18222
| License | MIT
| Doc PR | -
See https://github.com/symfony/symfony/pull/18232/files?w=1
Because we keep adding features to the bridge, so that one could want some features but not the deprecations helper.
In weak mode, this PR also disables colors.
Fetching the SYMFONY_DEPRECATIONS_HELPER env var is also done lazily to workaround old phpunit versions affected by sebastianbergmann/phpunit#1216
Commits
-------
64fe539 [Bridge\PhpUnit] Add "disabled" mode to SYMFONY_DEPRECATIONS_HELPER
Hello,
I have a phpunit.xml with bootstrap and some global variables set.
When I'm running "phpunit" without argument, my bootstrap.php has globals var set.
But when I run "phpunit --bootstrap test/bootstrap.php" (which is exactly the same file), none of the globals are set.
Here is my phpunit.xml:
And my bootstrap.php:
I have a pull request ready for this, but I wanted to know if it was a normal behavior or an issue?
Thanks!
The text was updated successfully, but these errors were encountered: