Skip to content

[PhpUnitBridge] DeprecationErrorHandler should read from $_SERVER/ENV #31857

@nicolas-grekas

Description

@nicolas-grekas

Right now, it reads SYMFONY_DEPRECATIONS_HELPER using only getenv(), but this will soon become incompatible with Dotenv, since we switcher it to not use putenv() by default in new projects.

(note that I wouldn't change reading the other env vars in the class - only SYMFONY_DEPRECATIONS_HELPER makes sense for Dotenv)

/cc @greg0ire if you want to give it a try :)

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