8000 [DX] Best practices book refer to 2.6, latest installed 2.5.* · Issue #12376 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[DX] Best practices book refer to 2.6, latest installed 2.5.* #12376

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

Closed
ishakuta opened this issue Nov 1, 2014 · 1 comment
Closed

[DX] Best practices book refer to 2.6, latest installed 2.5.* #12376

ishakuta opened this issue Nov 1, 2014 · 1 comment

Comments

@ishakuta
Copy link
ishakuta commented Nov 1, 2014

It's a little bit confusing:
in the http://symfony.com/doc/download-best-practices-book/ at the 7th page there's:
" will contain a fresh new project based on the most recent stable Symfony version available."
and a snippet showing output with 2.6 version installed after composer create-project run,
but symfony 2.5.6 installed intead.
I assume 2.6 not stable yet, or not long term support, but book and real-life a little differs :)

Another one: going further, command
"php app/console generate:bundle --namespace=AppBundle --dir=src --format=annotation
--no-interaction" produce

[InvalidArgumentException]
The namespace must contain a vendor namespace (e.g. "VendorName\AppBundle"
instead of simply "AppBundle").
If you've specified a vendor namespace, did you forget to surround it with
quotes (init:bundle "Acme\BlogBundle")?

Can be confusing for newcomers, just IMHO.

@jakzal
Copy link
Contributor
jakzal commented Nov 1, 2014

The best practices book is part of the symfony/symfony-docs repo (since symfony/symfony-docs#4327). Would you mind opening an issue in that repo, or even submit a PR? Thanks! :)

@jakzal jakzal closed this as completed Nov 1, 2014
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

No branches or pull requests

2 participants
0