Bug #49847

PSR-0 compatible namespace with underscores is not loaded

Added by Sören Rohweder over 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Should have
Category:
-
Target version:
-
Start date:
2013-07-10
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:
easy

Description

When using Faker (fzaninotto/faker) the ClassLoader fails to load classes with underscores in the namespace like Faker\Provider\en_US\Person.

PSR-0 States that only underscores in the classname should be replaced by a \ while leaving underscores in the namespace untouched.

Also available in: Atom PDF