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

Symfony 4.2 depreciation fixes #263

Merged
merged 15 commits into from
Dec 8, 2019
Merged

Conversation

romantymoshyk
Copy link
Contributor

@romantymoshyk romantymoshyk commented May 29, 2019

@romantymoshyk
Copy link
Contributor Author

romantymoshyk commented May 29, 2019

This fix is called to replace #259.
Also this fix covers composer memory limit mentioned in #259.
Some of tests for PHP 5.4 & 5.6(but not 5.5 and another one for 5.6) failed. In general different is in lines order, may be someone can figure out what is the problem.

@monteiro
Copy link
Collaborator

monteiro commented Dec 3, 2019

@romantymoshyk thanks a lot for the PR, can you remove anything related with Travis configurations? No worries if the tests fail at the moment. The most important is to support the latest versions of symfony.

@@ -70,6 +75,10 @@ public function registerContainerConfiguration(LoaderInterface $loader)
if (self::VERSION_ID > 30200) {
$loader->load(__DIR__.'/config/disable_annotations.yml');
}

if (self::VERSION_ID < 40200 && file_exists(__DIR__.'/Resources/translations') === false) {
self::recurseCopy(__DIR__.'/../translations', __DIR__.'/Resources/translations');
Copy link
Collaborator

Choose a reason for hiding this comment

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

@stof want ask your help. Is this the correct way to do it? Doing a recursive copy? Thanks for the help!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@monteiro, that was written as in SF4.2 was changed default directory structure. If SF will not found translations in new expected place it will throw deprecation message in SF4.2 and fail in SF5.

@romantymoshyk
Copy link
Contributor Author

@monteiro , .travis.yml changes were reverted

@monteiro monteiro merged commit 3baf98d into willdurand:master Dec 8, 2019
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