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

prepare subtree split for a standalone library (while preserving namespaces) #187

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

craue
Copy link
Owner

@craue craue commented Jun 28, 2015

This replaces #147. The files are still moved into separate folders (now one for the bundle and one for the component), but no namespace changes are needed by only adapting the autoloading paths. This way, there's no BC break as well.

But while giving these changes a try in real projects based on Symfony 2.6.9 and 2.7.1, I noticed that the translations still need to be part of the bundle (the original intention was to place them in the component), because when using a compiler pass to register the translation files in the container (as done in #147), they would be added last and users would have no chance to override the provided translations. It would be good to have a test to ensure that they actually can be overridden, but I don't see how to implement one.

As mentioned in the previous PR: The subtree split is available for testing - https://github.com/craue/CraueFormFlow - but don't rely on forward-only commits as the branch might be rewritten several times until this PR is eventually merged.

/ping @daFish

@craue craue added this to the 3.0.0 milestone Jun 28, 2015
@craue craue removed this from the 3.0.0 milestone Mar 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant