diff --git a/AGENTS.md b/AGENTS.md index 2c6d38e..7c68891 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -6,11 +6,11 @@ This file defines the repository-specific development rules and the operating bo This PHP library encodes spatial objects to WKB, EWKB, MySQL binary formats, and WKT text. -Source lives in `lib/LongitudeOne/SpatialEncoder/`, using Composer PSR-0 autoloading. `Encoder` delegates conversion to `Strategy/StrategyInterface`; MySQL encoding helpers live in `Strategy/MySQL/`. +Source lives in `lib/`, using Composer PSR-4 autoloading with the `LongitudeOne\SpatialEncoder\` namespace prefix. `Encoder` delegates conversion to `Strategy/StrategyInterface`; MySQL encoding helpers live in `Strategy/MySQL/`. Strategies preserve X/Y coordinate order. SRIDs do not trigger axis swapping. -Tests mirror the source under `tests/LongitudeOne/SpatialEncoder/Tests/Unit/`. +Tests mirror the source under `tests/Unit/`. Composer PSR-4 development autoloading maps the `LongitudeOne\SpatialEncoder\Tests\` namespace prefix to `tests/`. Quality tools have separate Composer installations and configuration under `quality/`. CI workflows live in `.github/workflows/`. @@ -443,4 +443,4 @@ When uncertain whether a decision is: - a breaking change; - or a normative interpretation; -the agent MUST escalate the question rather than silently making the decision. \ No newline at end of file +the agent MUST escalate the question rather than silently making the decision. diff --git a/composer.json b/composer.json index 6fcbaf7..5d2cd91 100644 --- a/composer.json +++ b/composer.json @@ -26,9 +26,13 @@ "prefer-stable": true, "minimum-stability": "dev", "autoload": { - "psr-0": { - "LongitudeOne\\SpatialEncoder": "lib/", - "LongitudeOne\\SpatialEncoder\\Tests": "tests/" + "psr-4": { + "LongitudeOne\\SpatialEncoder\\": "lib/" + } + }, + "autoload-dev": { + "psr-4": { + "LongitudeOne\\SpatialEncoder\\Tests\\": "tests/" } }, "scripts": { diff --git a/lib/LongitudeOne/SpatialEncoder/Encoder.php b/lib/Encoder.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Encoder.php rename to lib/Encoder.php diff --git a/lib/LongitudeOne/SpatialEncoder/EncoderInterface.php b/lib/EncoderInterface.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/EncoderInterface.php rename to lib/EncoderInterface.php diff --git a/lib/LongitudeOne/SpatialEncoder/Exception/ExceptionInterface.php b/lib/Exception/ExceptionInterface.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Exception/ExceptionInterface.php rename to lib/Exception/ExceptionInterface.php diff --git a/lib/LongitudeOne/SpatialEncoder/Exception/JsonEncodingException.php b/lib/Exception/JsonEncodingException.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Exception/JsonEncodingException.php rename to lib/Exception/JsonEncodingException.php diff --git a/lib/LongitudeOne/SpatialEncoder/Exception/UnavailableResourceException.php b/lib/Exception/UnavailableResourceException.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Exception/UnavailableResourceException.php rename to lib/Exception/UnavailableResourceException.php diff --git a/lib/LongitudeOne/SpatialEncoder/Exception/UnsupportedDimensionException.php b/lib/Exception/UnsupportedDimensionException.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Exception/UnsupportedDimensionException.php rename to lib/Exception/UnsupportedDimensionException.php diff --git a/lib/LongitudeOne/SpatialEncoder/Exception/UnsupportedGeometryStructureException.php b/lib/Exception/UnsupportedGeometryStructureException.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Exception/UnsupportedGeometryStructureException.php rename to lib/Exception/UnsupportedGeometryStructureException.php diff --git a/lib/LongitudeOne/SpatialEncoder/Exception/UnsupportedSpatialInterfaceException.php b/lib/Exception/UnsupportedSpatialInterfaceException.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Exception/UnsupportedSpatialInterfaceException.php rename to lib/Exception/UnsupportedSpatialInterfaceException.php diff --git a/lib/LongitudeOne/SpatialEncoder/Exception/UnsupportedSpatialTypeException.php b/lib/Exception/UnsupportedSpatialTypeException.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Exception/UnsupportedSpatialTypeException.php rename to lib/Exception/UnsupportedSpatialTypeException.php diff --git a/lib/LongitudeOne/SpatialEncoder/Strategy/Ewkb/EwkbTypeEncoder.php b/lib/Strategy/Ewkb/EwkbTypeEncoder.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Strategy/Ewkb/EwkbTypeEncoder.php rename to lib/Strategy/Ewkb/EwkbTypeEncoder.php diff --git a/lib/LongitudeOne/SpatialEncoder/Strategy/EwkbBinaryStrategy.php b/lib/Strategy/EwkbBinaryStrategy.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Strategy/EwkbBinaryStrategy.php rename to lib/Strategy/EwkbBinaryStrategy.php diff --git a/lib/LongitudeOne/SpatialEncoder/Strategy/EwktTextStrategy.php b/lib/Strategy/EwktTextStrategy.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Strategy/EwktTextStrategy.php rename to lib/Strategy/EwktTextStrategy.php diff --git a/lib/LongitudeOne/SpatialEncoder/Strategy/GeoJson/GeometryEncoder.php b/lib/Strategy/GeoJson/GeometryEncoder.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Strategy/GeoJson/GeometryEncoder.php rename to lib/Strategy/GeoJson/GeometryEncoder.php diff --git a/lib/LongitudeOne/SpatialEncoder/Strategy/GeoJsonStrategy.php b/lib/Strategy/GeoJsonStrategy.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Strategy/GeoJsonStrategy.php rename to lib/Strategy/GeoJsonStrategy.php diff --git a/lib/LongitudeOne/SpatialEncoder/Strategy/MySQL/MySQLGeometryEncoder.php b/lib/Strategy/MySQL/MySQLGeometryEncoder.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Strategy/MySQL/MySQLGeometryEncoder.php rename to lib/Strategy/MySQL/MySQLGeometryEncoder.php diff --git a/lib/LongitudeOne/SpatialEncoder/Strategy/MySQL/MySQLHeaderEncoder.php b/lib/Strategy/MySQL/MySQLHeaderEncoder.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Strategy/MySQL/MySQLHeaderEncoder.php rename to lib/Strategy/MySQL/MySQLHeaderEncoder.php diff --git a/lib/LongitudeOne/SpatialEncoder/Strategy/MySQL/MySQLPointEncoder.php b/lib/Strategy/MySQL/MySQLPointEncoder.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Strategy/MySQL/MySQLPointEncoder.php rename to lib/Strategy/MySQL/MySQLPointEncoder.php diff --git a/lib/LongitudeOne/SpatialEncoder/Strategy/MySQL/MySQLTypeEncoder.php b/lib/Strategy/MySQL/MySQLTypeEncoder.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Strategy/MySQL/MySQLTypeEncoder.php rename to lib/Strategy/MySQL/MySQLTypeEncoder.php diff --git a/lib/LongitudeOne/SpatialEncoder/Strategy/MySQLBinaryStrategy.php b/lib/Strategy/MySQLBinaryStrategy.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Strategy/MySQLBinaryStrategy.php rename to lib/Strategy/MySQLBinaryStrategy.php diff --git a/lib/LongitudeOne/SpatialEncoder/Strategy/StrategyInterface.php b/lib/Strategy/StrategyInterface.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Strategy/StrategyInterface.php rename to lib/Strategy/StrategyInterface.php diff --git a/lib/LongitudeOne/SpatialEncoder/Strategy/Wkb/WkbTypeEncoder.php b/lib/Strategy/Wkb/WkbTypeEncoder.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Strategy/Wkb/WkbTypeEncoder.php rename to lib/Strategy/Wkb/WkbTypeEncoder.php diff --git a/lib/LongitudeOne/SpatialEncoder/Strategy/WkbBinaryStrategy.php b/lib/Strategy/WkbBinaryStrategy.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Strategy/WkbBinaryStrategy.php rename to lib/Strategy/WkbBinaryStrategy.php diff --git a/lib/LongitudeOne/SpatialEncoder/Strategy/Wkt/WktTypeEncoder.php b/lib/Strategy/Wkt/WktTypeEncoder.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Strategy/Wkt/WktTypeEncoder.php rename to lib/Strategy/Wkt/WktTypeEncoder.php diff --git a/lib/LongitudeOne/SpatialEncoder/Strategy/WktTextStrategy.php b/lib/Strategy/WktTextStrategy.php similarity index 100% rename from lib/LongitudeOne/SpatialEncoder/Strategy/WktTextStrategy.php rename to lib/Strategy/WktTextStrategy.php diff --git a/phpunit.dist.xml b/phpunit.dist.xml index 79b6d9b..e10e41d 100644 --- a/phpunit.dist.xml +++ b/phpunit.dist.xml @@ -9,7 +9,7 @@ displayDetailsOnPhpunitDeprecations="true"> - tests/LongitudeOne/SpatialEncoder/Tests + tests/ diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/EncoderTest.php b/tests/Unit/EncoderTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/EncoderTest.php rename to tests/Unit/EncoderTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Exception/ExceptionTest.php b/tests/Unit/Exception/ExceptionTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Exception/ExceptionTest.php rename to tests/Unit/Exception/ExceptionTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Ewkb/EwkbRegressionTest.php b/tests/Unit/Strategy/Ewkb/EwkbRegressionTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Ewkb/EwkbRegressionTest.php rename to tests/Unit/Strategy/Ewkb/EwkbRegressionTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Ewkb/Examples/GeographyXyTest.php b/tests/Unit/Strategy/Ewkb/Examples/GeographyXyTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Ewkb/Examples/GeographyXyTest.php rename to tests/Unit/Strategy/Ewkb/Examples/GeographyXyTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Ewkb/Examples/GeographyXymTest.php b/tests/Unit/Strategy/Ewkb/Examples/GeographyXymTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Ewkb/Examples/GeographyXymTest.php rename to tests/Unit/Strategy/Ewkb/Examples/GeographyXymTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Ewkb/Examples/GeographyXyzTest.php b/tests/Unit/Strategy/Ewkb/Examples/GeographyXyzTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Ewkb/Examples/GeographyXyzTest.php rename to tests/Unit/Strategy/Ewkb/Examples/GeographyXyzTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Ewkb/Examples/GeographyXyzmTest.php b/tests/Unit/Strategy/Ewkb/Examples/GeographyXyzmTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Ewkb/Examples/GeographyXyzmTest.php rename to tests/Unit/Strategy/Ewkb/Examples/GeographyXyzmTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Ewkb/Examples/GeometryXyTest.php b/tests/Unit/Strategy/Ewkb/Examples/GeometryXyTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Ewkb/Examples/GeometryXyTest.php rename to tests/Unit/Strategy/Ewkb/Examples/GeometryXyTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Ewkb/Examples/GeometryXymTest.php b/tests/Unit/Strategy/Ewkb/Examples/GeometryXymTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Ewkb/Examples/GeometryXymTest.php rename to tests/Unit/Strategy/Ewkb/Examples/GeometryXymTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Ewkb/Examples/GeometryXyzTest.php b/tests/Unit/Strategy/Ewkb/Examples/GeometryXyzTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Ewkb/Examples/GeometryXyzTest.php rename to tests/Unit/Strategy/Ewkb/Examples/GeometryXyzTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Ewkb/Examples/GeometryXyzmTest.php b/tests/Unit/Strategy/Ewkb/Examples/GeometryXyzmTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Ewkb/Examples/GeometryXyzmTest.php rename to tests/Unit/Strategy/Ewkb/Examples/GeometryXyzmTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/EwkbStrategyTest.php b/tests/Unit/Strategy/EwkbStrategyTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/EwkbStrategyTest.php rename to tests/Unit/Strategy/EwkbStrategyTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/EwktStrategyTest.php b/tests/Unit/Strategy/EwktStrategyTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/EwktStrategyTest.php rename to tests/Unit/Strategy/EwktStrategyTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/ExceptionContractTest.php b/tests/Unit/Strategy/GeoJson/ExceptionContractTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/ExceptionContractTest.php rename to tests/Unit/Strategy/GeoJson/ExceptionContractTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeographyCollectionTest.php b/tests/Unit/Strategy/GeoJson/GeographyCollectionTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeographyCollectionTest.php rename to tests/Unit/Strategy/GeoJson/GeographyCollectionTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeographyLineStringTest.php b/tests/Unit/Strategy/GeoJson/GeographyLineStringTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeographyLineStringTest.php rename to tests/Unit/Strategy/GeoJson/GeographyLineStringTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeographyMultiLineStringTest.php b/tests/Unit/Strategy/GeoJson/GeographyMultiLineStringTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeographyMultiLineStringTest.php rename to tests/Unit/Strategy/GeoJson/GeographyMultiLineStringTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeographyMultiPointTest.php b/tests/Unit/Strategy/GeoJson/GeographyMultiPointTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeographyMultiPointTest.php rename to tests/Unit/Strategy/GeoJson/GeographyMultiPointTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeographyMultiPolygonTest.php b/tests/Unit/Strategy/GeoJson/GeographyMultiPolygonTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeographyMultiPolygonTest.php rename to tests/Unit/Strategy/GeoJson/GeographyMultiPolygonTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeographyPointTest.php b/tests/Unit/Strategy/GeoJson/GeographyPointTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeographyPointTest.php rename to tests/Unit/Strategy/GeoJson/GeographyPointTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeographyPolygonTest.php b/tests/Unit/Strategy/GeoJson/GeographyPolygonTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeographyPolygonTest.php rename to tests/Unit/Strategy/GeoJson/GeographyPolygonTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeometryCollectionTest.php b/tests/Unit/Strategy/GeoJson/GeometryCollectionTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeometryCollectionTest.php rename to tests/Unit/Strategy/GeoJson/GeometryCollectionTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeometryLineStringTest.php b/tests/Unit/Strategy/GeoJson/GeometryLineStringTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeometryLineStringTest.php rename to tests/Unit/Strategy/GeoJson/GeometryLineStringTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeometryMultiLineStringTest.php b/tests/Unit/Strategy/GeoJson/GeometryMultiLineStringTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeometryMultiLineStringTest.php rename to tests/Unit/Strategy/GeoJson/GeometryMultiLineStringTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeometryMultiPointTest.php b/tests/Unit/Strategy/GeoJson/GeometryMultiPointTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeometryMultiPointTest.php rename to tests/Unit/Strategy/GeoJson/GeometryMultiPointTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeometryMultiPolygonTest.php b/tests/Unit/Strategy/GeoJson/GeometryMultiPolygonTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeometryMultiPolygonTest.php rename to tests/Unit/Strategy/GeoJson/GeometryMultiPolygonTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeometryPointTest.php b/tests/Unit/Strategy/GeoJson/GeometryPointTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeometryPointTest.php rename to tests/Unit/Strategy/GeoJson/GeometryPointTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeometryPolygonTest.php b/tests/Unit/Strategy/GeoJson/GeometryPolygonTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/GeoJson/GeometryPolygonTest.php rename to tests/Unit/Strategy/GeoJson/GeometryPolygonTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/MySQL/GeographyCoordinateOrderTest.php b/tests/Unit/Strategy/MySQL/GeographyCoordinateOrderTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/MySQL/GeographyCoordinateOrderTest.php rename to tests/Unit/Strategy/MySQL/GeographyCoordinateOrderTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/MySQL/GeographyInvalidInputTest.php b/tests/Unit/Strategy/MySQL/GeographyInvalidInputTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/MySQL/GeographyInvalidInputTest.php rename to tests/Unit/Strategy/MySQL/GeographyInvalidInputTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/MySQL/GeometryCoordinateOrderTest.php b/tests/Unit/Strategy/MySQL/GeometryCoordinateOrderTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/MySQL/GeometryCoordinateOrderTest.php rename to tests/Unit/Strategy/MySQL/GeometryCoordinateOrderTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/MySQL/GeometryInvalidInputTest.php b/tests/Unit/Strategy/MySQL/GeometryInvalidInputTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/MySQL/GeometryInvalidInputTest.php rename to tests/Unit/Strategy/MySQL/GeometryInvalidInputTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/MySQLStrategyTest.php b/tests/Unit/Strategy/MySQLStrategyTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/MySQLStrategyTest.php rename to tests/Unit/Strategy/MySQLStrategyTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkb/Examples/GeographyXyTest.php b/tests/Unit/Strategy/Wkb/Examples/GeographyXyTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkb/Examples/GeographyXyTest.php rename to tests/Unit/Strategy/Wkb/Examples/GeographyXyTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkb/Examples/GeographyXymTest.php b/tests/Unit/Strategy/Wkb/Examples/GeographyXymTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkb/Examples/GeographyXymTest.php rename to tests/Unit/Strategy/Wkb/Examples/GeographyXymTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkb/Examples/GeographyXyzTest.php b/tests/Unit/Strategy/Wkb/Examples/GeographyXyzTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkb/Examples/GeographyXyzTest.php rename to tests/Unit/Strategy/Wkb/Examples/GeographyXyzTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkb/Examples/GeographyXyzmTest.php b/tests/Unit/Strategy/Wkb/Examples/GeographyXyzmTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkb/Examples/GeographyXyzmTest.php rename to tests/Unit/Strategy/Wkb/Examples/GeographyXyzmTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkb/Examples/GeometryXyTest.php b/tests/Unit/Strategy/Wkb/Examples/GeometryXyTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkb/Examples/GeometryXyTest.php rename to tests/Unit/Strategy/Wkb/Examples/GeometryXyTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkb/Examples/GeometryXymTest.php b/tests/Unit/Strategy/Wkb/Examples/GeometryXymTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkb/Examples/GeometryXymTest.php rename to tests/Unit/Strategy/Wkb/Examples/GeometryXymTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkb/Examples/GeometryXyzTest.php b/tests/Unit/Strategy/Wkb/Examples/GeometryXyzTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkb/Examples/GeometryXyzTest.php rename to tests/Unit/Strategy/Wkb/Examples/GeometryXyzTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkb/Examples/GeometryXyzmTest.php b/tests/Unit/Strategy/Wkb/Examples/GeometryXyzmTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkb/Examples/GeometryXyzmTest.php rename to tests/Unit/Strategy/Wkb/Examples/GeometryXyzmTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkb/WkbRegressionTest.php b/tests/Unit/Strategy/Wkb/WkbRegressionTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkb/WkbRegressionTest.php rename to tests/Unit/Strategy/Wkb/WkbRegressionTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/WkbStrategyTest.php b/tests/Unit/Strategy/WkbStrategyTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/WkbStrategyTest.php rename to tests/Unit/Strategy/WkbStrategyTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkt/Examples/GeographyXyTest.php b/tests/Unit/Strategy/Wkt/Examples/GeographyXyTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkt/Examples/GeographyXyTest.php rename to tests/Unit/Strategy/Wkt/Examples/GeographyXyTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkt/Examples/GeographyXymTest.php b/tests/Unit/Strategy/Wkt/Examples/GeographyXymTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkt/Examples/GeographyXymTest.php rename to tests/Unit/Strategy/Wkt/Examples/GeographyXymTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkt/Examples/GeographyXyzTest.php b/tests/Unit/Strategy/Wkt/Examples/GeographyXyzTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkt/Examples/GeographyXyzTest.php rename to tests/Unit/Strategy/Wkt/Examples/GeographyXyzTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkt/Examples/GeographyXyzmTest.php b/tests/Unit/Strategy/Wkt/Examples/GeographyXyzmTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkt/Examples/GeographyXyzmTest.php rename to tests/Unit/Strategy/Wkt/Examples/GeographyXyzmTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkt/Examples/GeometryXyTest.php b/tests/Unit/Strategy/Wkt/Examples/GeometryXyTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkt/Examples/GeometryXyTest.php rename to tests/Unit/Strategy/Wkt/Examples/GeometryXyTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkt/Examples/GeometryXymTest.php b/tests/Unit/Strategy/Wkt/Examples/GeometryXymTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkt/Examples/GeometryXymTest.php rename to tests/Unit/Strategy/Wkt/Examples/GeometryXymTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkt/Examples/GeometryXyzTest.php b/tests/Unit/Strategy/Wkt/Examples/GeometryXyzTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkt/Examples/GeometryXyzTest.php rename to tests/Unit/Strategy/Wkt/Examples/GeometryXyzTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkt/Examples/GeometryXyzmTest.php b/tests/Unit/Strategy/Wkt/Examples/GeometryXyzmTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/Wkt/Examples/GeometryXyzmTest.php rename to tests/Unit/Strategy/Wkt/Examples/GeometryXyzmTest.php diff --git a/tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/WktStrategyTest.php b/tests/Unit/Strategy/WktStrategyTest.php similarity index 100% rename from tests/LongitudeOne/SpatialEncoder/Tests/Unit/Strategy/WktStrategyTest.php rename to tests/Unit/Strategy/WktStrategyTest.php