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

Use AppBundle whenever it's possible #4740

Merged
merged 1 commit into from Jan 16, 2015

Conversation

javiereguiluz
Copy link
Member

Q A
Doc fix? yes
New docs? no
Applies to 2.3+
Fixed tickets -

This PR replaces AcmeFooBundle, AcmeHelloBundle and AcmeDemoBundle by AppBundle whenever it's possible in the Cookbook.

This is the first step into making the cookbook compliant with the recent good practices promoted by Symfony (the book is being made compliant in #4431). If we change everything to comply with the good practices, the pull request will be massive and it will take months. That's why I think it's better to do it in several steps using different pull requests.

By the way, this PR also contains some minor tweaks about using the new app/config/services.yml file. I can revert those changes if you want it.

@stof
Copy link
Member

stof commented Jan 2, 2015

👍

@xabbuh
Copy link
Member

xabbuh commented Jan 4, 2015

@javiereguiluz Great work! 👍

@weaverryan
Copy link
Member

WOW, this is a massive amount of work - thanks so much Javier! It's also a big leap of faith - I can see all the changes, but if we're missing anything, we can't see those. But it seems like you were quite careful - I see you catching web/bundles/* symlink names, service names and more. And there's no way we can be more sure than this. So, I'm merging this in and we'll keep moving from here. Yay!

@weaverryan weaverryan merged commit c6580f8 into symfony:2.3 Jan 16, 2015
weaverryan added a commit that referenced this pull request Jan 16, 2015
This PR was merged into the 2.3 branch.

Discussion
----------

Use AppBundle whenever it's possible

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3+
| Fixed tickets | -

This PR replaces `AcmeFooBundle`, `AcmeHelloBundle` and `AcmeDemoBundle` by `AppBundle` whenever it's possible in the Cookbook.

This is the first step into making the cookbook compliant with the recent good practices promoted by Symfony (the book is being made compliant in #4431). If we change everything to comply with the good practices, the pull request will be massive and it will take months. That's why I think it's better to do it in several steps using different pull requests.

By the way, this PR also contains some minor tweaks about using the new `app/config/services.yml` file. I can revert those changes if you want it.

Commits
-------

c6580f8 Use AppBundle whenever it's possible
c960657 pushed a commit to c960657/symfony-docs that referenced this pull request Jan 29, 2015
This brings the class names back in sync after the change in PR symfony#4740.
@javiereguiluz javiereguiluz deleted the use_app_bundle branch February 18, 2015 16:22
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.

None yet

4 participants