-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
SYMFONY_DEPRECATIONS_HELPER
has no effect when using the WrapperRunner
#793
Comments
It seems when the |
Ahah Symfony’s PHPUnit Bridge’s bootstrap is run when the autoloader is required, but So switching these two lines fixes my issue: paratest/bin/phpunit-wrapper.php Lines 18 to 19 in c2243b2
|
Nice, would you like to create a PR please? |
That was fast! Thanks 🚀 |
Summary
I wanted to try
SYMFONY_DEPRECATIONS_HELPER
’slogFile
option, but it only worked when I removed the--runner=WrapperRunner
option fromparatest
’s CLI.How to reproduce: command, code and error stack trace
In your PhpUnit configuration file, add or update
SYMFONY_DEPRECATIONS_HELPER
as such:then run eg.
vendor/bin/paratest --runner=WrapperRunner
(I confirmed the--processes
option does not make any difference).Current behavior
The
var/log/deprecations.test.log
file is not created.Expected behavior
The
var/log/deprecations.test.log
file is created and filled with collected deprecations.The text was updated successfully, but these errors were encountered: