From 6b1699ae6df399648448eb4865d38a45f3382eac Mon Sep 17 00:00:00 2001 From: Go Kudo Date: Thu, 19 Oct 2023 19:36:39 +0900 Subject: [PATCH] apply PSR-4 --- composer.json | 4 ++-- src/{Colopl/TiDB => }/Connection.php | 0 src/{Colopl/TiDB => }/Connector.php | 0 src/{Colopl/TiDB => }/Query/Builder.php | 0 src/{Colopl/TiDB => }/Query/Grammar.php | 0 src/{Colopl/TiDB => }/Query/Processor.php | 0 src/{Colopl/TiDB => }/Schema/Blueprint.php | 0 src/{Colopl/TiDB => }/Schema/Builder.php | 0 src/{Colopl/TiDB => }/Schema/ColumnDefinition.php | 0 src/{Colopl/TiDB => }/Schema/Grammar.php | 0 src/{Colopl/TiDB => }/TiDBServiceProvider.php | 0 tests/{Colopl/TiDB => }/ConnectionTest.php | 0 tests/{Colopl/TiDB => }/Schema/BlueprintTest.php | 0 tests/{Colopl/TiDB => }/TestCase.php | 0 tests/{Colopl/TiDB => }/config.php | 0 tests/{Colopl/TiDB => }/test.ddl | 0 16 files changed, 2 insertions(+), 2 deletions(-) rename src/{Colopl/TiDB => }/Connection.php (100%) rename src/{Colopl/TiDB => }/Connector.php (100%) rename src/{Colopl/TiDB => }/Query/Builder.php (100%) rename src/{Colopl/TiDB => }/Query/Grammar.php (100%) rename src/{Colopl/TiDB => }/Query/Processor.php (100%) rename src/{Colopl/TiDB => }/Schema/Blueprint.php (100%) rename src/{Colopl/TiDB => }/Schema/Builder.php (100%) rename src/{Colopl/TiDB => }/Schema/ColumnDefinition.php (100%) rename src/{Colopl/TiDB => }/Schema/Grammar.php (100%) rename src/{Colopl/TiDB => }/TiDBServiceProvider.php (100%) rename tests/{Colopl/TiDB => }/ConnectionTest.php (100%) rename tests/{Colopl/TiDB => }/Schema/BlueprintTest.php (100%) rename tests/{Colopl/TiDB => }/TestCase.php (100%) rename tests/{Colopl/TiDB => }/config.php (100%) rename tests/{Colopl/TiDB => }/test.ddl (100%) diff --git a/composer.json b/composer.json index a4b42c6..559ac64 100644 --- a/composer.json +++ b/composer.json @@ -18,12 +18,12 @@ }, "autoload": { "psr-4": { - "Colopl\\TiDB\\": "src/Colopl/TiDB" + "Colopl\\TiDB\\": "src/" } }, "autoload-dev": { "psr-4": { - "Colopl\\TiDB\\Tests\\": "tests/Colopl/TiDB" + "Colopl\\TiDB\\Tests\\": "tests/" } }, "extra": { diff --git a/src/Colopl/TiDB/Connection.php b/src/Connection.php similarity index 100% rename from src/Colopl/TiDB/Connection.php rename to src/Connection.php diff --git a/src/Colopl/TiDB/Connector.php b/src/Connector.php similarity index 100% rename from src/Colopl/TiDB/Connector.php rename to src/Connector.php diff --git a/src/Colopl/TiDB/Query/Builder.php b/src/Query/Builder.php similarity index 100% rename from src/Colopl/TiDB/Query/Builder.php rename to src/Query/Builder.php diff --git a/src/Colopl/TiDB/Query/Grammar.php b/src/Query/Grammar.php similarity index 100% rename from src/Colopl/TiDB/Query/Grammar.php rename to src/Query/Grammar.php diff --git a/src/Colopl/TiDB/Query/Processor.php b/src/Query/Processor.php similarity index 100% rename from src/Colopl/TiDB/Query/Processor.php rename to src/Query/Processor.php diff --git a/src/Colopl/TiDB/Schema/Blueprint.php b/src/Schema/Blueprint.php similarity index 100% rename from src/Colopl/TiDB/Schema/Blueprint.php rename to src/Schema/Blueprint.php diff --git a/src/Colopl/TiDB/Schema/Builder.php b/src/Schema/Builder.php similarity index 100% rename from src/Colopl/TiDB/Schema/Builder.php rename to src/Schema/Builder.php diff --git a/src/Colopl/TiDB/Schema/ColumnDefinition.php b/src/Schema/ColumnDefinition.php similarity index 100% rename from src/Colopl/TiDB/Schema/ColumnDefinition.php rename to src/Schema/ColumnDefinition.php diff --git a/src/Colopl/TiDB/Schema/Grammar.php b/src/Schema/Grammar.php similarity index 100% rename from src/Colopl/TiDB/Schema/Grammar.php rename to src/Schema/Grammar.php diff --git a/src/Colopl/TiDB/TiDBServiceProvider.php b/src/TiDBServiceProvider.php similarity index 100% rename from src/Colopl/TiDB/TiDBServiceProvider.php rename to src/TiDBServiceProvider.php diff --git a/tests/Colopl/TiDB/ConnectionTest.php b/tests/ConnectionTest.php similarity index 100% rename from tests/Colopl/TiDB/ConnectionTest.php rename to tests/ConnectionTest.php diff --git a/tests/Colopl/TiDB/Schema/BlueprintTest.php b/tests/Schema/BlueprintTest.php similarity index 100% rename from tests/Colopl/TiDB/Schema/BlueprintTest.php rename to tests/Schema/BlueprintTest.php diff --git a/tests/Colopl/TiDB/TestCase.php b/tests/TestCase.php similarity index 100% rename from tests/Colopl/TiDB/TestCase.php rename to tests/TestCase.php diff --git a/tests/Colopl/TiDB/config.php b/tests/config.php similarity index 100% rename from tests/Colopl/TiDB/config.php rename to tests/config.php diff --git a/tests/Colopl/TiDB/test.ddl b/tests/test.ddl similarity index 100% rename from tests/Colopl/TiDB/test.ddl rename to tests/test.ddl