Skip to content

Use AppBundle whenever it's possible#4740

Merged
weaverryan merged 1 commit intosymfony:2.3from
javiereguiluz:use_app_bundle
Jan 16, 2015
Merged

Use AppBundle whenever it's possible#4740
weaverryan merged 1 commit intosymfony:2.3from
javiereguiluz:use_app_bundle

Conversation

@javiereguiluz
Copy link
Copy Markdown
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
Copy Markdown
Member

stof commented Jan 2, 2015

👍

@xabbuh
Copy link
Copy Markdown
Member

xabbuh commented Jan 4, 2015

@javiereguiluz Great work! 👍

@weaverryan
Copy link
Copy Markdown
Contributor

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.

4 participants