Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Cleaned up typos in chapter comparing Sf2 and sf1#2324

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
weaverryan merged 2 commits intosymfony:2.0fromcaponica:fix_Sf2_vs_sf1_chapter
Mar 30, 2013

Conversation

@caponica
Copy link
Contributor

Fixed name of Symfony Standard Edition and bundle/bundles typos.

Note: however in 2.1.x onwards vendor/bundles is not used any more (and default app/autoload.php doesn't look like this), so might be better to rewrite the autoloader section completely with an Acme example - or explain the new vendor autoloader.

QA
Doc fix?yes
New docs?no
Applies to2.0
Fixed ticketsN/A

Fixed paths to example autoloader files (...bundles not ...bundle)
@wouterj
Copy link
Member

If I'm correct, this article is already rewritten for 2.1.x? (#1996 )

Copy link
Member

Choose a reason for hiding this comment

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

You should also change this on the bottom of the page (where all links are placed)

@caponica
Copy link
ContributorAuthor

I'll update this to include the reference at the bottom of the page (I missed that one!), the change to the bundle/bundles typo was just because I was there.

I didn't realise this block had been updated since I was reading a PDF version of the 2.1 book generated in late 2012. I'll double-check the latest version before making any further pull requests or comments!

However, the later versions still talk about vendor/bundles, which I don't think is correct any more...

Quote from latest version:

As mentioned before, for the autoloader to work, it needs to know that the Sensio namespace
lives in thevendor/bundles directory and that...

However, as I'm quite new to Symfony namespaces and autoloading (and composer), I'm not clear enough about this to correct it.

@wouterj
Copy link
Member

However, as I'm quite new to Symfony namespaces and autoloading (and composer), I'm not clear enough about this to correct it.

Yes, this is correct. That should get changed against the 2.1 branch. Moreover, that sentence (and code block) is not relevant in 2.1, as Composer handles the autoloading of every package you get.

@caponica
Copy link
ContributorAuthor

Should I open a ticket to flag this bit for a rewrite? If I was more experienced I'd try it myself but I don't want to confuse people even more!

@wouterj
Copy link
Member

@caponica yes, you can create a issue for that. It's a great issue to fix on the hack day (as it is not that hard to fix).

weaverryan added a commit that referenced this pull requestMar 30, 2013
Cleaned up typos in chapter comparing Sf2 and sf1
@weaverryanweaverryan merged commit31ac1a4 intosymfony:2.0Mar 30, 2013
@weaverryan
Copy link
Member

Hi Christian!

Very nice fixes here! I've merged this in.

Thanks guys!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@caponica@wouterj@weaverryan

[8]ページ先頭

©2009-2025 Movatter.jp