From d0254fe05b2eb67301840beee7ebb8ed16ae89b2 Mon Sep 17 00:00:00 2001 From: Roy Arisse Date: Tue, 15 Jun 2021 15:30:40 +0200 Subject: [PATCH] Fix: Remove unnessasary nested folders, makes autoloading a bit simpler, it's composer 2 only btw. --- composer.json | 2 +- composer.lock | 5 ++++- src/{Perfacilis/Geocoder => }/Geocoder.php | 0 src/{Perfacilis/Geocoder => }/Query.php | 0 src/{Perfacilis/Geocoder => }/Result.php | 0 5 files changed, 5 insertions(+), 2 deletions(-) rename src/{Perfacilis/Geocoder => }/Geocoder.php (100%) rename src/{Perfacilis/Geocoder => }/Query.php (100%) rename src/{Perfacilis/Geocoder => }/Result.php (100%) diff --git a/composer.json b/composer.json index 9d7ca88..27d1643 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ }, "autoload": { "psr-4": { - "Perfacilis\\": "src/Perfacilis" + "Perfacilis\\Geocoder\\": "src" } } } diff --git a/composer.lock b/composer.lock index eb9a234..2dd6512 100644 --- a/composer.lock +++ b/composer.lock @@ -52,6 +52,9 @@ "psr-16", "simple-cache" ], + "support": { + "source": "https://github.com/php-fig/simple-cache/tree/master" + }, "time": "2017-10-23T01:57:42+00:00" } ], @@ -63,5 +66,5 @@ "prefer-lowest": false, "platform": [], "platform-dev": [], - "plugin-api-version": "1.1.0" + "plugin-api-version": "2.1.0" } diff --git a/src/Perfacilis/Geocoder/Geocoder.php b/src/Geocoder.php similarity index 100% rename from src/Perfacilis/Geocoder/Geocoder.php rename to src/Geocoder.php diff --git a/src/Perfacilis/Geocoder/Query.php b/src/Query.php similarity index 100% rename from src/Perfacilis/Geocoder/Query.php rename to src/Query.php diff --git a/src/Perfacilis/Geocoder/Result.php b/src/Result.php similarity index 100% rename from src/Perfacilis/Geocoder/Result.php rename to src/Result.php