Skip to content

Upgrade to Symfony 4 #20

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

Merged
merged 1 commit into from
Jan 24, 2018
Merged

Upgrade to Symfony 4 #20

merged 1 commit into from
Jan 24, 2018

Conversation

theofidry
Copy link
Contributor

As Symfony 4 is out I think it's best to switch to 4.x instead of 3.4@dev.

@kocsismate
Copy link
Owner

Yeah, thank you very much! I still only used 3.4 because last time I wanted to try an optimization (I believe this one: symfony/symfony#25474) and I could only find it in the 3.4 dev branch back then.

@kocsismate kocsismate merged commit b703862 into kocsismate:master Jan 24, 2018
@kocsismate
Copy link
Owner

@theofidry I was told months before that Symfony DI works best with lower-case definition ID-s. Is this still the case?

Because I had to change the container configuration while upgrading to v4 to use FQCN-s as definition ID-s as the previous config didn't work anymore: 0f5f111#diff-8acfe3ece5e377f24d9b270cef51a907L53

So could you tell me what the most optimal setup is for Symfony?

@theofidry
Copy link
Contributor Author

theofidry commented Jan 24, 2018 via email

@kocsismate
Copy link
Owner

Ok then I won't try to change it. For the record this is the original discussion about the topic: #8

@theofidry theofidry deleted the patch-1 branch January 25, 2018 09:18
@theofidry
Copy link
Contributor Author

Oh I see. Apparently the micro-optim is still valid: it's not faster with or without lower-case definition IDs, but it is if you respect the case as if it doesn't, Symfony DI will be able to find the service but has to do further lookups

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