Upgraded to PSR-4 autoloading

This commit is contained in:
Ben Ramsey
2014-02-21 18:35:01 -06:00
parent 8569983a11
commit c43be02bd9
22 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -35,11 +35,11 @@
"doctrine/dbal": "Allow the use of a UUID as doctrine field type."
},
"autoload": {
"psr-0": {"Rhumsaa\\Uuid": "src/"}
"psr-4": {"Rhumsaa\\Uuid\\": "src/"}
},
"extra": {
"branch-alias": {
"dev-master": "2.7.x-dev"
"dev-master": "2.8.x-dev"
}
}
}
+1 -1
View File
@@ -93,7 +93,7 @@ final class Uuid
/**
* Version of the Rhumsaa\Uuid package
*/
const VERSION = '2.7.1';
const VERSION = '2.8.x-dev';
/**
* For testing, 64-bit system override; if true, treat the system as 32-bit
+1 -1
View File
@@ -12,4 +12,4 @@ if (!file_exists(dirname(__DIR__) . '/vendor/autoload.php')) {
$loader = include realpath(dirname(__FILE__) . '/../vendor/autoload.php');
$loader->add("Doctrine\Tests\DBAL", __DIR__."/../vendor/doctrine/dbal/tests");
$loader->add('Rhumsaa\Uuid', __DIR__);
$loader->addPsr4('Rhumsaa\\Uuid\\', __DIR__);