From dab5d861c3522e3171f7e81d1db7a5724416aef8 Mon Sep 17 00:00:00 2001 From: Theodore Brown Date: Mon, 21 Oct 2024 23:21:35 -0500 Subject: [PATCH] Rename source code directory for consistency --- .php-cs-fixer.php | 2 +- composer.json | 2 +- psalm.xml | 2 +- {lib => src}/BulkInsertResult.php | 0 {lib => src}/InsertResult.php | 0 {lib => src}/Options.php | 0 {lib => src}/PeachySql.php | 0 {lib => src}/QueryBuilder/Delete.php | 0 {lib => src}/QueryBuilder/Insert.php | 0 {lib => src}/QueryBuilder/Query.php | 0 {lib => src}/QueryBuilder/Select.php | 0 {lib => src}/QueryBuilder/Selector.php | 0 {lib => src}/QueryBuilder/SqlParams.php | 0 {lib => src}/QueryBuilder/Update.php | 0 {lib => src}/QueryableSelector.php | 0 {lib => src}/SqlException.php | 0 {lib => src}/Statement.php | 0 17 files changed, 3 insertions(+), 3 deletions(-) rename {lib => src}/BulkInsertResult.php (100%) rename {lib => src}/InsertResult.php (100%) rename {lib => src}/Options.php (100%) rename {lib => src}/PeachySql.php (100%) rename {lib => src}/QueryBuilder/Delete.php (100%) rename {lib => src}/QueryBuilder/Insert.php (100%) rename {lib => src}/QueryBuilder/Query.php (100%) rename {lib => src}/QueryBuilder/Select.php (100%) rename {lib => src}/QueryBuilder/Selector.php (100%) rename {lib => src}/QueryBuilder/SqlParams.php (100%) rename {lib => src}/QueryBuilder/Update.php (100%) rename {lib => src}/QueryableSelector.php (100%) rename {lib => src}/SqlException.php (100%) rename {lib => src}/Statement.php (100%) diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 98b932d..770eccf 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -2,7 +2,7 @@ $finder = PhpCsFixer\Finder::create() ->path([ - 'lib/', + 'src/', 'test/', ]) ->ignoreVCSIgnored(true) diff --git a/composer.json b/composer.json index c2db5ad..18333a9 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ }, "autoload": { "psr-4": { - "DevTheorem\\PeachySQL\\": "lib/" + "DevTheorem\\PeachySQL\\": "src/" } }, "autoload-dev": { diff --git a/psalm.xml b/psalm.xml index aef5bbf..59a5961 100644 --- a/psalm.xml +++ b/psalm.xml @@ -10,7 +10,7 @@ xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" > - + diff --git a/lib/BulkInsertResult.php b/src/BulkInsertResult.php similarity index 100% rename from lib/BulkInsertResult.php rename to src/BulkInsertResult.php diff --git a/lib/InsertResult.php b/src/InsertResult.php similarity index 100% rename from lib/InsertResult.php rename to src/InsertResult.php diff --git a/lib/Options.php b/src/Options.php similarity index 100% rename from lib/Options.php rename to src/Options.php diff --git a/lib/PeachySql.php b/src/PeachySql.php similarity index 100% rename from lib/PeachySql.php rename to src/PeachySql.php diff --git a/lib/QueryBuilder/Delete.php b/src/QueryBuilder/Delete.php similarity index 100% rename from lib/QueryBuilder/Delete.php rename to src/QueryBuilder/Delete.php diff --git a/lib/QueryBuilder/Insert.php b/src/QueryBuilder/Insert.php similarity index 100% rename from lib/QueryBuilder/Insert.php rename to src/QueryBuilder/Insert.php diff --git a/lib/QueryBuilder/Query.php b/src/QueryBuilder/Query.php similarity index 100% rename from lib/QueryBuilder/Query.php rename to src/QueryBuilder/Query.php diff --git a/lib/QueryBuilder/Select.php b/src/QueryBuilder/Select.php similarity index 100% rename from lib/QueryBuilder/Select.php rename to src/QueryBuilder/Select.php diff --git a/lib/QueryBuilder/Selector.php b/src/QueryBuilder/Selector.php similarity index 100% rename from lib/QueryBuilder/Selector.php rename to src/QueryBuilder/Selector.php diff --git a/lib/QueryBuilder/SqlParams.php b/src/QueryBuilder/SqlParams.php similarity index 100% rename from lib/QueryBuilder/SqlParams.php rename to src/QueryBuilder/SqlParams.php diff --git a/lib/QueryBuilder/Update.php b/src/QueryBuilder/Update.php similarity index 100% rename from lib/QueryBuilder/Update.php rename to src/QueryBuilder/Update.php diff --git a/lib/QueryableSelector.php b/src/QueryableSelector.php similarity index 100% rename from lib/QueryableSelector.php rename to src/QueryableSelector.php diff --git a/lib/SqlException.php b/src/SqlException.php similarity index 100% rename from lib/SqlException.php rename to src/SqlException.php diff --git a/lib/Statement.php b/src/Statement.php similarity index 100% rename from lib/Statement.php rename to src/Statement.php