Skip to content
This repository has been archived by the owner on Jan 8, 2021. It is now read-only.

Use PSR-1+2+4 code style #45

Merged
merged 4 commits into from
Jun 25, 2015
Merged

Use PSR-1+2+4 code style #45

merged 4 commits into from
Jun 25, 2015

Conversation

nicolas-grekas
Copy link
Contributor

No description provided.

@GrahamCampbell
Copy link
Contributor

How about you change the autoloader to psr4 while you're at it?

@nicolas-grekas nicolas-grekas changed the title Use PSR-1+2 code style Use PSR-1+2+4 code style Jun 23, 2015
@nicolas-grekas
Copy link
Contributor Author

PSR-4 now

@GrahamCampbell
Copy link
Contributor

:)

@nicolas-grekas
Copy link
Contributor Author

But packagist gives me a error (invalid value (Normalizer), namespaces must end with a namespace separator)

@GrahamCampbell
Copy link
Contributor

Yeh, you can't have Normalizer. It must be Normalizer\\.

@nicolas-grekas
Copy link
Contributor Author

Then I must switch back to psr-0...

@GrahamCampbell
Copy link
Contributor

Why?

@GrahamCampbell
Copy link
Contributor

Loading the Normaliser class, you should just use a class map, then psr4 the rest.

@GrahamCampbell
Copy link
Contributor

Since the Normaiser class doesn't follow psr0/psr4 as it's not namespaced.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants