8000 [DependencyInjection] env var support broken in 3.3.7 and 3.3.8 · Issue #24020 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[DependencyInjection] env var support broken in 3.3.7 and 3.3.8 #24020
Closed
@gharlan

Description

@gharlan
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 3.3.7, 3.3.8

I'm using sf flex with propel. This is part of my config:

propel:
    database:
        connections:
            default:
                adapter:  pdo_mysql
                user:     '%env(DATABASE_USER)%'
                password: '%env(DATABASE_PASSWORD)%'
                dsn:      'pdo_mysql:host=%env(DATABASE_HOST)%;dbname=%env(DATABASE_NAME)%;charset=utf8'

With symfony/dependency-injection 3.3.7 and 3.3.8 I get this exception:

screenshot 2017-08-29 11 20 52

#24016 didn't fix this case.

When I switch back to 3.3.6 it works again.

ping @nicolas-grekas

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

      0