Hi,
some observations.

With PSR-0 you usually need to replace the underscores after the last namespace separator with directory separators.
So, Foo_Bar\Baz_Buz becomes Foo_Bar/Baz/Buz.
However, having this underscore in the class name is against Drupal coding standards (afaik), so we could ignore that.
Although, the OOP coding standard for D7 is a joke..

In the PSR-4 discussion, it is not settled yet whether to use lib or src.
You had to make a choice, and you chose lib - which is fine.

None of these is a problem, but maybe you want to mention it on the project page.
I make this a support request, but it would rather fit in the "casual talk" category :)

Comments

torotil’s picture

Perhaps I'll just support src/ and lib/ until the issue is settled… I've had the impression that decision is for lib/ except when there is some additional arguments for src/ (which I didn't see). I think there is also no point in not supporting underscores …

Thanks for the suggestions, again! I wish that everyone on d.o was that helpful.

torotil’s picture

Status: Active » Fixed

psr0 now supports src/ and underscores ;)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.