Permalink
Browse files

use psr-4 !

  • Loading branch information...
toin0u committed Jul 30, 2014
1 parent 6c80db0 commit ac233c96aa710c19bbc6622412f5a075ea519deb
Showing with 6 additions and 7 deletions.
  1. +4 −3 composer.json
  2. +2 −2 phpunit.xml.dist
  3. 0 src/{League/Geotools → }/AbstractGeotools.php
  4. 0 src/{League/Geotools → }/Batch/Batch.php
  5. 0 src/{League/Geotools → }/Batch/BatchGeocoded.php
  6. 0 src/{League/Geotools → }/Batch/BatchInterface.php
  7. 0 src/{League/Geotools → }/Batch/BatchResult.php
  8. 0 src/{League/Geotools → }/CLI/Command.php
  9. 0 src/{League/Geotools → }/CLI/Convert/DM.php
  10. 0 src/{League/Geotools → }/CLI/Convert/DMS.php
  11. 0 src/{League/Geotools → }/CLI/Convert/UTM.php
  12. 0 src/{League/Geotools → }/CLI/Distance/All.php
  13. 0 src/{League/Geotools → }/CLI/Distance/Flat.php
  14. 0 src/{League/Geotools → }/CLI/Distance/GreatCircle.php
  15. 0 src/{League/Geotools → }/CLI/Distance/Haversine.php
  16. 0 src/{League/Geotools → }/CLI/Distance/Vincenty.php
  17. 0 src/{League/Geotools → }/CLI/Geocoder/Geocode.php
  18. 0 src/{League/Geotools → }/CLI/Geocoder/Reverse.php
  19. 0 src/{League/Geotools → }/CLI/Geohash/Decode.php
  20. 0 src/{League/Geotools → }/CLI/Geohash/Encode.php
  21. 0 src/{League/Geotools → }/CLI/Point/Destination.php
  22. 0 src/{League/Geotools → }/CLI/Point/FinalBearing.php
  23. 0 src/{League/Geotools → }/CLI/Point/FinalCardinal.php
  24. 0 src/{League/Geotools → }/CLI/Point/InitialBearing.php
  25. 0 src/{League/Geotools → }/CLI/Point/InitialCardinal.php
  26. 0 src/{League/Geotools → }/CLI/Point/Middle.php
  27. 0 src/{League/Geotools → }/Cache/AbstractCache.php
  28. 0 src/{League/Geotools → }/Cache/CacheInterface.php
  29. 0 src/{League/Geotools → }/Cache/Memcached.php
  30. 0 src/{League/Geotools → }/Cache/MongoDB.php
  31. 0 src/{League/Geotools → }/Cache/Redis.php
  32. 0 src/{League/Geotools → }/Convert/Convert.php
  33. 0 src/{League/Geotools → }/Convert/ConvertInterface.php
  34. 0 src/{League/Geotools → }/Coordinate/Coordinate.php
  35. 0 src/{League/Geotools → }/Coordinate/CoordinateInterface.php
  36. 0 src/{League/Geotools → }/Coordinate/Ellipsoid.php
  37. 0 src/{League/Geotools → }/Distance/Distance.php
  38. 0 src/{League/Geotools → }/Distance/DistanceInterface.php
  39. 0 src/{League/Geotools → }/Exception/ExceptionInterface.php
  40. 0 src/{League/Geotools → }/Exception/InvalidArgumentException.php
  41. 0 src/{League/Geotools → }/Exception/NotConvergingException.php
  42. 0 src/{League/Geotools → }/Exception/NotMatchingEllipsoidException.php
  43. 0 src/{League/Geotools → }/Exception/RuntimeException.php
  44. 0 src/{League/Geotools → }/Geohash/Geohash.php
  45. 0 src/{League/Geotools → }/Geohash/GeohashInterface.php
  46. 0 src/{League/Geotools → }/Geotools.php
  47. 0 src/{League/Geotools → }/GeotoolsInterface.php
  48. 0 src/{League/Geotools → }/Point/Point.php
  49. 0 src/{League/Geotools → }/Point/PointInterface.php
  50. 0 tests/{League/Geotools/Tests → }/AbstractGeotoolsTest.php
  51. 0 tests/{League/Geotools/Tests → }/Batch/BatchGeocodedTest.php
  52. 0 tests/{League/Geotools/Tests → }/Batch/BatchTest.php
  53. 0 tests/{League/Geotools/Tests → }/CLI/Convert/DMSTest.php
  54. 0 tests/{League/Geotools/Tests → }/CLI/Convert/DMTest.php
  55. 0 tests/{League/Geotools/Tests → }/CLI/Convert/UTMTest.php
  56. 0 tests/{League/Geotools/Tests → }/CLI/Distance/AllTest.php
  57. 0 tests/{League/Geotools/Tests → }/CLI/Distance/FlatTest.php
  58. 0 tests/{League/Geotools/Tests → }/CLI/Distance/GreatCircleTest.php
  59. 0 tests/{League/Geotools/Tests → }/CLI/Distance/HaversineTest.php
  60. 0 tests/{League/Geotools/Tests → }/CLI/Distance/VincentyTest.php
  61. 0 tests/{League/Geotools/Tests → }/CLI/Geocoder/GeocodeTest.php
  62. 0 tests/{League/Geotools/Tests → }/CLI/Geocoder/ReverseTest.php
  63. 0 tests/{League/Geotools/Tests → }/CLI/Geohash/DecodeTest.php
  64. 0 tests/{League/Geotools/Tests → }/CLI/Geohash/EncodeTest.php
  65. 0 tests/{League/Geotools/Tests → }/CLI/Point/DestinationTest.php
  66. 0 tests/{League/Geotools/Tests → }/CLI/Point/FinalBearingTest.php
  67. 0 tests/{League/Geotools/Tests → }/CLI/Point/FinalCardinalTest.php
  68. 0 tests/{League/Geotools/Tests → }/CLI/Point/InitialBearingTest.php
  69. 0 tests/{League/Geotools/Tests → }/CLI/Point/InitialCardinalTest.php
  70. 0 tests/{League/Geotools/Tests → }/CLI/Point/MiddleTest.php
  71. 0 tests/{League/Geotools/Tests → }/Cache/MemcachedTest.php
  72. 0 tests/{League/Geotools/Tests → }/Cache/MongoDBTest.php
  73. 0 tests/{League/Geotools/Tests → }/Cache/RedisTest.php
  74. 0 tests/{League/Geotools/Tests → }/Convert/ConvertTest.php
  75. 0 tests/{League/Geotools/Tests → }/Coordinate/CoordinateTest.php
  76. 0 tests/{League/Geotools/Tests → }/Coordinate/EllipsoidTest.php
  77. 0 tests/{League/Geotools/Tests → }/Distance/DistanceTest.php
  78. 0 tests/{League/Geotools/Tests → }/Geohash/GeohashTest.php
  79. 0 tests/{League/Geotools/Tests → }/GeotoolsTest.php
  80. 0 tests/{League/Geotools/Tests → }/Point/PointTest.php
  81. 0 tests/{League/Geotools/Tests → }/TestCase.php
  82. +0 −2 tests/bootstrap.php
View
@@ -24,7 +24,7 @@
},
"require" : {
- "php" : ">=5.3.0",
+ "php" : ">=5.3.3",
"willdurand/geocoder" : "~2.4",
"react/async" : "~1.0",
"symfony/console" : "~2.4",
@@ -40,8 +40,9 @@
},
"autoload" : {
- "psr-0" : {
- "League\\Geotools": "src/"
+ "psr-4" : {
+ "League\\Geotools\\" : "src",
+ "League\\Geotools\\Tests\\" : "tests"
}
},
View
@@ -12,12 +12,12 @@
>
<testsuites>
<testsuite name="Geotools Test Suite">
- <directory>./tests/League/</directory>
+ <directory>./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
- <directory>./src/League/Geotools/</directory>
+ <directory>./src/</directory>
</whitelist>
</filter>
</phpunit>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -24,5 +24,3 @@ function includeIfExists($file) {
EOT
);
}
-
-$loader->add('League\Geotools\Tests', __DIR__);

0 comments on commit ac233c9

Please sign in to comment.