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

Update symfony4.php #1881

Merged
merged 1 commit into from
Jul 10, 2019
Merged

Update symfony4.php #1881

merged 1 commit into from
Jul 10, 2019

Conversation

BenjaminPorquet
Copy link

@BenjaminPorquet BenjaminPorquet commented Jul 10, 2019

On SF 4.1+, the .env file is versionned, only the .env.local is not versionned anymore

Q A
Bug fix? No
New feature? Yes
BC breaks? No
Deprecations? No
Fixed tickets N/A

On SF 4.2+, the .env file is versionned, only the .env.local is not versionned anymore
@@ -10,7 +10,7 @@
require_once __DIR__ . '/common.php';

set('shared_dirs', ['var/log', 'var/sessions']);
set('shared_files', ['.env']);
set('shared_files', ['.env.local']);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will it break existing Symfony installations which are using this recipe?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In facts, .env is versionned since Symfony 4.1.

Your configuration is ONLY for symfony 4.0 (https://symfony.com/doc/4.1/configuration/dot-env-changes.html) , and this version is not maintained anymore (https://symfony.com/roadmap)

So... yes it will maybe break existing symfony 4.0 apps, but symfony 4.0 isn't maintained so... I think you should adapt your config on the maintained version of symfony

As you want :)

@antonmedv antonmedv merged commit d16d5df into deployphp:master Jul 10, 2019
@antonmedv
Copy link
Member

Can you also update CHANGELOG?

Run php bin/changelog script

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.

2 participants