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
hiding Symfony 4.3 deprecation warning #5555
Conversation
Wow, thank you so much! This was annoying me so much, and now you fixed it. 🙇 |
No difference. I guess it affects the whole Codeception framework. See https://github.com/Codeception/Codeception/search?q=dispatch%28&unscoped_q=dispatch%28 |
@DanielRuf This change hadn't been release yet. |
Sure but we tried it and it definitely does not fix the regression caused by |
I'm on version 4 and still got that annoying message: one per test.
|
Which message? The only odd thing about your dependencies is that you use 5.0 of browser-kit and http-client, but 4.3 version of other Symfony components. Can you upgrade them to 5.0? |
Thanks for the quick response! The message:
I'm unsure about upgrading as Should I downgrade browser-kit and http-client ? |
I have no idea how you get that JSON after OK line. If all you want is to hide deprecation messages, lookup how to set Symfony PHPUnit bridge environment variable and set it to 'weak'. |
You can use export SYMFONY_DEPRECATIONS_HELPER=weak
codecept run functional
These values still work with 4.3, but phpunit-bridge deprecation helper became much more configurable (and complicated) in 4.3: https://symfony.com/doc/4.3/components/phpunit_bridge.html#making-tests-fail |
Thanks Gintautas for your support. Unfortunately the message is still there. I'll evaluate upgrading EventDispatcher. Thanks anyway. |
Hey Gintautas, I'm back. I wanted to show you this; it's a trace from the error in Symfony's
|
Let's hide this annoying message as this has no deal to Codeception users