From c213b5928d3656817acbba6a22a14ca1222addc4 Mon Sep 17 00:00:00 2001 From: "J. King" Date: Sat, 11 Feb 2017 14:48:48 -0500 Subject: [PATCH] move code out of vendor tree into lib --- .gitignore | 1 - composer.json | 2 +- {vendor/JKingWeb/NewsSync => lib}/Conf.php | 0 {vendor/JKingWeb/NewsSync => lib}/Conf/Exception.php | 0 {vendor/JKingWeb/NewsSync => lib}/Database.php | 0 {vendor/JKingWeb/NewsSync => lib}/Db/Common.php | 0 {vendor/JKingWeb/NewsSync => lib}/Db/CommonPDO.php | 0 {vendor/JKingWeb/NewsSync => lib}/Db/CommonSQLite3.php | 0 {vendor/JKingWeb/NewsSync => lib}/Db/Driver.php | 0 {vendor/JKingWeb/NewsSync => lib}/Db/DriverSQLite3.php | 0 {vendor/JKingWeb/NewsSync => lib}/Db/DriverSQLite3PDO.php | 0 {vendor/JKingWeb/NewsSync => lib}/Db/Exception.php | 0 {vendor/JKingWeb/NewsSync => lib}/Db/Result.php | 0 {vendor/JKingWeb/NewsSync => lib}/Db/ResultSQLite3.php | 0 {vendor/JKingWeb/NewsSync => lib}/Db/Statement.php | 0 {vendor/JKingWeb/NewsSync => lib}/Db/StatementSQLite3.php | 0 {vendor/JKingWeb/NewsSync => lib}/Db/Update/Exception.php | 0 {vendor/JKingWeb/NewsSync => lib}/Exception.php | 0 {vendor/JKingWeb/NewsSync => lib}/ExceptionFatal.php | 0 {vendor/JKingWeb/NewsSync => lib}/Lang.php | 0 {vendor/JKingWeb/NewsSync => lib}/Lang/Exception.php | 0 {vendor/JKingWeb/NewsSync => lib}/RuntimeData.php | 0 {vendor/JKingWeb/NewsSync => lib}/User.php | 0 {vendor/JKingWeb/NewsSync => lib}/User/Driver.php | 0 {vendor/JKingWeb/NewsSync => lib}/User/DriverInternal.php | 0 {vendor/JKingWeb/NewsSync => lib}/User/Exception.php | 0 {vendor/JKingWeb/NewsSync => lib}/User/ExceptionAuthz.php | 0 {vendor/JKingWeb/NewsSync => lib}/User/InternalFunctions.php | 0 28 files changed, 1 insertion(+), 2 deletions(-) rename {vendor/JKingWeb/NewsSync => lib}/Conf.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/Conf/Exception.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/Database.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/Db/Common.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/Db/CommonPDO.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/Db/CommonSQLite3.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/Db/Driver.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/Db/DriverSQLite3.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/Db/DriverSQLite3PDO.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/Db/Exception.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/Db/Result.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/Db/ResultSQLite3.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/Db/Statement.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/Db/StatementSQLite3.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/Db/Update/Exception.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/Exception.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/ExceptionFatal.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/Lang.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/Lang/Exception.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/RuntimeData.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/User.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/User/Driver.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/User/DriverInternal.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/User/Exception.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/User/ExceptionAuthz.php (100%) rename {vendor/JKingWeb/NewsSync => lib}/User/InternalFunctions.php (100%) diff --git a/.gitignore b/.gitignore index d50f0fba..be3cd199 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ #dependencies vendor -!vendor/jkingweb/newssync composer.lock #temp files diff --git a/composer.json b/composer.json index 92b21d39..4630a331 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,7 @@ }, "autoload": { "psr-4": { - "JKingWeb\\NewsSync\\": "vendor/jkingweb/newssync/" + "JKingWeb\\NewsSync\\": "lib/" } } } \ No newline at end of file diff --git a/vendor/JKingWeb/NewsSync/Conf.php b/lib/Conf.php similarity index 100% rename from vendor/JKingWeb/NewsSync/Conf.php rename to lib/Conf.php diff --git a/vendor/JKingWeb/NewsSync/Conf/Exception.php b/lib/Conf/Exception.php similarity index 100% rename from vendor/JKingWeb/NewsSync/Conf/Exception.php rename to lib/Conf/Exception.php diff --git a/vendor/JKingWeb/NewsSync/Database.php b/lib/Database.php similarity index 100% rename from vendor/JKingWeb/NewsSync/Database.php rename to lib/Database.php diff --git a/vendor/JKingWeb/NewsSync/Db/Common.php b/lib/Db/Common.php similarity index 100% rename from vendor/JKingWeb/NewsSync/Db/Common.php rename to lib/Db/Common.php diff --git a/vendor/JKingWeb/NewsSync/Db/CommonPDO.php b/lib/Db/CommonPDO.php similarity index 100% rename from vendor/JKingWeb/NewsSync/Db/CommonPDO.php rename to lib/Db/CommonPDO.php diff --git a/vendor/JKingWeb/NewsSync/Db/CommonSQLite3.php b/lib/Db/CommonSQLite3.php similarity index 100% rename from vendor/JKingWeb/NewsSync/Db/CommonSQLite3.php rename to lib/Db/CommonSQLite3.php diff --git a/vendor/JKingWeb/NewsSync/Db/Driver.php b/lib/Db/Driver.php similarity index 100% rename from vendor/JKingWeb/NewsSync/Db/Driver.php rename to lib/Db/Driver.php diff --git a/vendor/JKingWeb/NewsSync/Db/DriverSQLite3.php b/lib/Db/DriverSQLite3.php similarity index 100% rename from vendor/JKingWeb/NewsSync/Db/DriverSQLite3.php rename to lib/Db/DriverSQLite3.php diff --git a/vendor/JKingWeb/NewsSync/Db/DriverSQLite3PDO.php b/lib/Db/DriverSQLite3PDO.php similarity index 100% rename from vendor/JKingWeb/NewsSync/Db/DriverSQLite3PDO.php rename to lib/Db/DriverSQLite3PDO.php diff --git a/vendor/JKingWeb/NewsSync/Db/Exception.php b/lib/Db/Exception.php similarity index 100% rename from vendor/JKingWeb/NewsSync/Db/Exception.php rename to lib/Db/Exception.php diff --git a/vendor/JKingWeb/NewsSync/Db/Result.php b/lib/Db/Result.php similarity index 100% rename from vendor/JKingWeb/NewsSync/Db/Result.php rename to lib/Db/Result.php diff --git a/vendor/JKingWeb/NewsSync/Db/ResultSQLite3.php b/lib/Db/ResultSQLite3.php similarity index 100% rename from vendor/JKingWeb/NewsSync/Db/ResultSQLite3.php rename to lib/Db/ResultSQLite3.php diff --git a/vendor/JKingWeb/NewsSync/Db/Statement.php b/lib/Db/Statement.php similarity index 100% rename from vendor/JKingWeb/NewsSync/Db/Statement.php rename to lib/Db/Statement.php diff --git a/vendor/JKingWeb/NewsSync/Db/StatementSQLite3.php b/lib/Db/StatementSQLite3.php similarity index 100% rename from vendor/JKingWeb/NewsSync/Db/StatementSQLite3.php rename to lib/Db/StatementSQLite3.php diff --git a/vendor/JKingWeb/NewsSync/Db/Update/Exception.php b/lib/Db/Update/Exception.php similarity index 100% rename from vendor/JKingWeb/NewsSync/Db/Update/Exception.php rename to lib/Db/Update/Exception.php diff --git a/vendor/JKingWeb/NewsSync/Exception.php b/lib/Exception.php similarity index 100% rename from vendor/JKingWeb/NewsSync/Exception.php rename to lib/Exception.php diff --git a/vendor/JKingWeb/NewsSync/ExceptionFatal.php b/lib/ExceptionFatal.php similarity index 100% rename from vendor/JKingWeb/NewsSync/ExceptionFatal.php rename to lib/ExceptionFatal.php diff --git a/vendor/JKingWeb/NewsSync/Lang.php b/lib/Lang.php similarity index 100% rename from vendor/JKingWeb/NewsSync/Lang.php rename to lib/Lang.php diff --git a/vendor/JKingWeb/NewsSync/Lang/Exception.php b/lib/Lang/Exception.php similarity index 100% rename from vendor/JKingWeb/NewsSync/Lang/Exception.php rename to lib/Lang/Exception.php diff --git a/vendor/JKingWeb/NewsSync/RuntimeData.php b/lib/RuntimeData.php similarity index 100% rename from vendor/JKingWeb/NewsSync/RuntimeData.php rename to lib/RuntimeData.php diff --git a/vendor/JKingWeb/NewsSync/User.php b/lib/User.php similarity index 100% rename from vendor/JKingWeb/NewsSync/User.php rename to lib/User.php diff --git a/vendor/JKingWeb/NewsSync/User/Driver.php b/lib/User/Driver.php similarity index 100% rename from vendor/JKingWeb/NewsSync/User/Driver.php rename to lib/User/Driver.php diff --git a/vendor/JKingWeb/NewsSync/User/DriverInternal.php b/lib/User/DriverInternal.php similarity index 100% rename from vendor/JKingWeb/NewsSync/User/DriverInternal.php rename to lib/User/DriverInternal.php diff --git a/vendor/JKingWeb/NewsSync/User/Exception.php b/lib/User/Exception.php similarity index 100% rename from vendor/JKingWeb/NewsSync/User/Exception.php rename to lib/User/Exception.php diff --git a/vendor/JKingWeb/NewsSync/User/ExceptionAuthz.php b/lib/User/ExceptionAuthz.php similarity index 100% rename from vendor/JKingWeb/NewsSync/User/ExceptionAuthz.php rename to lib/User/ExceptionAuthz.php diff --git a/vendor/JKingWeb/NewsSync/User/InternalFunctions.php b/lib/User/InternalFunctions.php similarity index 100% rename from vendor/JKingWeb/NewsSync/User/InternalFunctions.php rename to lib/User/InternalFunctions.php