Skip to content
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

Fix Symfony 5 - dump-env #570

Merged
merged 1 commit into from
Nov 14, 2019
Merged

Fix Symfony 5 - dump-env #570

merged 1 commit into from
Nov 14, 2019

Conversation

jderusse
Copy link
Member

Fixes #569

When using plugins, the composer autoloader use local project dependencies that match the plugin's require+require-dev dependencies.

Given flex plugin requires-dev symfony/dotenv: ^3.4|^4.0, composer's autoloader was not able to load the class Dotenv when in a project that requires symfony/dotenv: ^5.0.

@fabpot
Copy link
Member

fabpot commented Nov 14, 2019

Thank you @jderusse.

fabpot added a commit that referenced this pull request Nov 14, 2019
This PR was merged into the 1.4-dev branch.

Discussion
----------

Fix Symfony 5 - dump-env

Fixes #569

When using plugins, the composer autoloader use local project dependencies that match the plugin's `require`+`require-dev` dependencies.

Given flex plugin requires-dev `symfony/dotenv: ^3.4|^4.0`, composer's autoloader was not able to load the class Dotenv when in a project that requires `symfony/dotenv: ^5.0`.

Commits
-------

72c9a80 Fix Symfony 5 - dump-env
@fabpot fabpot merged commit 72c9a80 into symfony:master Nov 14, 2019
tgalopin pushed a commit to tgalopin/flex that referenced this pull request Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

composer dump-env prod don't work with Symfony 5.0
6 participants