From: Jefersson Nathan Date: Thu, 24 Mar 2016 11:03:32 +0000 (-0300) Subject: Psr-4 complains X-Git-Tag: 1.2.0-alpha~25 X-Git-Url: http://git.osdn.net/view?p=php-libraries%2FRouter.git;a=commitdiff_plain;h=12766fca16783a4567c9c0df645105fd359fedfa Psr-4 complains --- diff --git a/composer.json b/composer.json index 44442fe..8534aae 100644 --- a/composer.json +++ b/composer.json @@ -27,8 +27,8 @@ "squizlabs/php_codesniffer": "2.*" }, "autoload": { - "psr-0": { - "PHPRouter": "src/" + "psr-4": { + "PHPRouter\\": "src/" } } } diff --git a/src/PHPRouter/Config.php b/src/Config.php similarity index 100% rename from src/PHPRouter/Config.php rename to src/Config.php diff --git a/src/PHPRouter/Route.php b/src/Route.php similarity index 100% rename from src/PHPRouter/Route.php rename to src/Route.php diff --git a/src/PHPRouter/RouteCollection.php b/src/RouteCollection.php similarity index 100% rename from src/PHPRouter/RouteCollection.php rename to src/RouteCollection.php diff --git a/src/PHPRouter/Router.php b/src/Router.php similarity index 100% rename from src/PHPRouter/Router.php rename to src/Router.php