OSDN Git Service

Psr-4 complains
authorJefersson Nathan <admin@phpse.net>
Thu, 24 Mar 2016 11:03:32 +0000 (08:03 -0300)
committerJefersson Nathan <admin@phpse.net>
Thu, 21 Apr 2016 11:03:32 +0000 (08:03 -0300)
composer.json
src/Config.php [moved from src/PHPRouter/Config.php with 100% similarity]
src/Route.php [moved from src/PHPRouter/Route.php with 100% similarity]
src/RouteCollection.php [moved from src/PHPRouter/RouteCollection.php with 100% similarity]
src/Router.php [moved from src/PHPRouter/Router.php with 100% similarity]

index 44442fe..8534aae 100644 (file)
@@ -27,8 +27,8 @@
     "squizlabs/php_codesniffer": "2.*"
   },
   "autoload": {
-    "psr-0": {
-      "PHPRouter": "src/"
+    "psr-4": {
+      "PHPRouter\\": "src/"
     }
   }
 }
similarity index 100%
rename from src/PHPRouter/Config.php
rename to src/Config.php
similarity index 100%
rename from src/PHPRouter/Route.php
rename to src/Route.php
similarity index 100%
rename from src/PHPRouter/Router.php
rename to src/Router.php