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

Skip to content

phpunit-bridge ignores <env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled" /> in phpunit.xml #28519

Closed
@soerenbernstein

Description

@soerenbernstein

Symfony version(s) affected: all ?

Description
phpunit-bridge ignores the value "disabled" for the environment variable SYMFONY_DEPRECATIONS_HELPER when set in phpunit.xml. The value "weak" works as expected.
Also, setting this environment variable in the shell works as expected.

Tested with phpunit-bridge-4.1.4

How to reproduce
set in phpunit.xml

<php>
  <env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled" />
</php>

and run a test which will cause a deprecation warning.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions