Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[PhpUnitBridge] SYMFONY_DEPRECATIONS_HELPER env is empty in bootstrap #30411

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

Closed
versh23 opened this issue Feb 28, 2019 · 0 comments
Closed

[PhpUnitBridge] SYMFONY_DEPRECATIONS_HELPER env is empty in bootstrap #30411

versh23 opened this issue Feb 28, 2019 · 0 comments

Comments

@versh23
Copy link

versh23 commented Feb 28, 2019

Symfony version(s) affected: 4.2.3

Description
i run a bin/phpunit and see a deprecation message
Remaining deprecation notices (12).

i want to disable it and i edit .env.test
SYMFONY_DEPRECATIONS_HELPER=disabled
but the message is still appears.

so, i dumped here
https://github.com/symfony/phpunit-bridge/blob/master/bootstrap.php#L38
and SYMFONY_DEPRECATIONS_HELPER return false.

SYMFONY_DEPRECATIONS_HELPER dont load frpm .env.test and phpunit.xml.dist

possible solution is export variable before testing, but i think is not good, because SYMFONY_DEPRECATIONS_HELPER present in .env.test by default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants