Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
Closed
@nicolas-grekas

Description

@nicolas-grekas
Issue body actions

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.