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

Updated autoload standard to PSR-4. #4255

Closed
wants to merge 1 commit into from
Closed

Conversation

phansys
Copy link
Contributor

@phansys phansys commented Sep 21, 2014

Q A
Doc fix? no
New feature? no
Applies to 2.0+
Tests pass? yes
Fixed tickets #3616

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New feature?  | no
| Applies to    | 2.0+
| Tests pass?   | yes
| Fixed tickets | symfony#3616
@wouterj
Copy link
Member

wouterj commented Sep 22, 2014

-1, Symfony currently doesn't use PSR-4 afaik /cc @fabpot

@phansys
Copy link
Contributor Author

phansys commented Sep 22, 2014

Hi @wouterj.
I based this change in this doc entry:

All Symfony components follow PSR-4.

@stof
Copy link
Member

stof commented Sep 25, 2014

@wouterj technically, our codebase respects both PSR-0 and PSR-4, given that it is not impacted by the difference between them (we don't use underscores in class names).
the fact that we register the composer autoloader with PSR-0 rather than PSR-4 does not mean we are not compatible with PSR-4

@wouterj
Copy link
Member

wouterj commented Oct 31, 2014

@fabpot what's your opinion on this?

@wouterj
Copy link
Member

wouterj commented May 15, 2015

I think we should merge this PR. I've flagged it as Finished and @weaverryan will merge it sometime :)

Thanks @phansys and sorry for the delay!

@weaverryan
Copy link
Member

Yep, I totally agree with merging this :). Thanks Javier!

weaverryan added a commit that referenced this pull request May 22, 2015
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #4255).

Discussion
----------

Updated autoload standard to PSR-4.

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New feature?  | no
| Applies to    | 2.0+
| Tests pass?   | yes
| Fixed tickets | #3616

Commits
-------

d9a2f61 Updated autoload standard to PSR-4.
@weaverryan weaverryan closed this May 22, 2015
@phansys
Copy link
Contributor Author

phansys commented May 22, 2015

Thank you guys!

@phansys phansys deleted the psr4 branch May 22, 2015 15:04
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

5 participants