From 80d27d9bfe1a6f508cb1502ffbacb9396f99f7d1 Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Fri, 19 Jan 2018 16:50:34 -0500 Subject: [PATCH] Update header comments, again --- .travis.yml | 2 +- build/phpunit.xml | 27 +++++++++---------- build/update_header_comments.php | 2 -- tests/BaseDriverTest.php | 5 ++-- tests/BaseQueryBuilderTest.php | 5 ++-- tests/ConnectionManagerTest.php | 13 +++++---- tests/CoreTest.php | 5 ++-- tests/Drivers/MySQL/MySQLDriverTest.php | 5 ++-- tests/Drivers/MySQL/MySQLQueryBuilderTest.php | 5 ++-- tests/Drivers/PgSQL/PgSQLDriverTest.php | 5 ++-- tests/Drivers/PgSQL/PgSQLQueryBuilderTest.php | 5 ++-- tests/Drivers/SQLite/SQLiteDriverTest.php | 5 ++-- .../Drivers/SQLite/SQLiteQueryBuilderTest.php | 5 ++-- tests/TestCase.php | 5 ++-- tests/index.php | 15 ++++++----- 15 files changed, 47 insertions(+), 62 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6e7ea63..21c3e5a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,6 @@ after_script: matrix: allow_failures: - - php: 7.2 + - php: 7 - php: nightly - php: hhvm diff --git a/build/phpunit.xml b/build/phpunit.xml index bebea28..b18682b 100644 --- a/build/phpunit.xml +++ b/build/phpunit.xml @@ -1,37 +1,34 @@ ../src/* - autoload.php - ../tests/core/core_test.php - ../tests/core/query_parser_test.php - ../tests/core/connection_manager_test.php + ../tests/CoreTest.php + ../tests/ConnectionManagerTest.php + ../tests/QueryParserTest.php - - ../tests/databases/mysql/MySQLTest.php - ../tests/databases/mysql/MySQLQBTest.php + + ../tests/Drivers/MySQL/ - - ../tests/databases/pgsql/PgSQLTest.php - ../tests/databases/pgsql/PgSQLQBTest.php + + ../tests/Drivers/PgSQL/ - - ../tests/databases/sqlite/SQLiteTest.php - ../tests/databases/sqlite/SQLiteQBTest.php + + ../tests/Drivers/SQLite/ - + diff --git a/build/update_header_comments.php b/build/update_header_comments.php index 80645cb..25c631c 100644 --- a/build/update_header_comments.php +++ b/build/update_header_comments.php @@ -2,9 +2,7 @@ declare(strict_types=1); $file_patterns = [ - 'src/**/*.php', 'src/*.php', - 'tests/**/*.php', 'tests/*.php', 'Robofile.php' ]; diff --git a/tests/BaseDriverTest.php b/tests/BaseDriverTest.php index c3eda51..85e58e6 100644 --- a/tests/BaseDriverTest.php +++ b/tests/BaseDriverTest.php @@ -4,15 +4,14 @@ * * SQL Query Builder / Database Abstraction Layer * - * PHP version 7 + * PHP version 7.1 * * @package Query * @author Timothy J. Warren - * @copyright 2012 - 2016 Timothy J. Warren + * @copyright 2012 - 2018 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @link https://git.timshomepage.net/aviat4ion/Query */ - namespace Query\Tests; // -------------------------------------------------------------------------- diff --git a/tests/BaseQueryBuilderTest.php b/tests/BaseQueryBuilderTest.php index c76d9dc..75071ef 100644 --- a/tests/BaseQueryBuilderTest.php +++ b/tests/BaseQueryBuilderTest.php @@ -4,15 +4,14 @@ * * SQL Query Builder / Database Abstraction Layer * - * PHP version 7 + * PHP version 7.1 * * @package Query * @author Timothy J. Warren - * @copyright 2012 - 2016 Timothy J. Warren + * @copyright 2012 - 2018 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @link https://git.timshomepage.net/aviat4ion/Query */ - namespace Query\Tests; use PDO; diff --git a/tests/ConnectionManagerTest.php b/tests/ConnectionManagerTest.php index 599a140..cd7f246 100644 --- a/tests/ConnectionManagerTest.php +++ b/tests/ConnectionManagerTest.php @@ -4,15 +4,14 @@ * * SQL Query Builder / Database Abstraction Layer * - * PHP version 7 + * PHP version 7.1 * - * @package Query - * @author Timothy J. Warren - * @copyright 2012 - 2016 Timothy J. Warren - * @license http://www.opensource.org/licenses/mit-license.html MIT License - * @link https://git.timshomepage.net/aviat4ion/Query + * @package Query + * @author Timothy J. Warren + * @copyright 2012 - 2018 Timothy J. Warren + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link https://git.timshomepage.net/aviat4ion/Query */ - namespace Query\Tests; use DomainException; diff --git a/tests/CoreTest.php b/tests/CoreTest.php index 718cbde..52274e9 100644 --- a/tests/CoreTest.php +++ b/tests/CoreTest.php @@ -4,15 +4,14 @@ * * SQL Query Builder / Database Abstraction Layer * - * PHP version 7 + * PHP version 7.1 * * @package Query * @author Timothy J. Warren - * @copyright 2012 - 2016 Timothy J. Warren + * @copyright 2012 - 2018 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @link https://git.timshomepage.net/aviat4ion/Query */ - namespace Query\Tests; diff --git a/tests/Drivers/MySQL/MySQLDriverTest.php b/tests/Drivers/MySQL/MySQLDriverTest.php index 5c21207..aad4df5 100644 --- a/tests/Drivers/MySQL/MySQLDriverTest.php +++ b/tests/Drivers/MySQL/MySQLDriverTest.php @@ -4,15 +4,14 @@ * * SQL Query Builder / Database Abstraction Layer * - * PHP version 7 + * PHP version 7.1 * * @package Query * @author Timothy J. Warren - * @copyright 2012 - 2016 Timothy J. Warren + * @copyright 2012 - 2018 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @link https://git.timshomepage.net/aviat4ion/Query */ - namespace Query\Tests\Drivers\MySQL; use InvalidArgumentException; diff --git a/tests/Drivers/MySQL/MySQLQueryBuilderTest.php b/tests/Drivers/MySQL/MySQLQueryBuilderTest.php index 521de1c..89ef900 100644 --- a/tests/Drivers/MySQL/MySQLQueryBuilderTest.php +++ b/tests/Drivers/MySQL/MySQLQueryBuilderTest.php @@ -4,15 +4,14 @@ * * SQL Query Builder / Database Abstraction Layer * - * PHP version 7 + * PHP version 7.1 * * @package Query * @author Timothy J. Warren - * @copyright 2012 - 2016 Timothy J. Warren + * @copyright 2012 - 2018 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @link https://git.timshomepage.net/aviat4ion/Query */ - namespace Query\Tests\Drivers\MySQL; use PDO; diff --git a/tests/Drivers/PgSQL/PgSQLDriverTest.php b/tests/Drivers/PgSQL/PgSQLDriverTest.php index 3ba913c..75ef841 100644 --- a/tests/Drivers/PgSQL/PgSQLDriverTest.php +++ b/tests/Drivers/PgSQL/PgSQLDriverTest.php @@ -4,15 +4,14 @@ * * SQL Query Builder / Database Abstraction Layer * - * PHP version 7 + * PHP version 7.1 * * @package Query * @author Timothy J. Warren - * @copyright 2012 - 2016 Timothy J. Warren + * @copyright 2012 - 2018 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @link https://git.timshomepage.net/aviat4ion/Query */ - namespace Query\Tests\Drivers\PgSQL; // -------------------------------------------------------------------------- diff --git a/tests/Drivers/PgSQL/PgSQLQueryBuilderTest.php b/tests/Drivers/PgSQL/PgSQLQueryBuilderTest.php index d76a906..bfb0889 100644 --- a/tests/Drivers/PgSQL/PgSQLQueryBuilderTest.php +++ b/tests/Drivers/PgSQL/PgSQLQueryBuilderTest.php @@ -4,15 +4,14 @@ * * SQL Query Builder / Database Abstraction Layer * - * PHP version 7 + * PHP version 7.1 * * @package Query * @author Timothy J. Warren - * @copyright 2012 - 2016 Timothy J. Warren + * @copyright 2012 - 2018 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @link https://git.timshomepage.net/aviat4ion/Query */ - namespace Query\Tests\Drivers\PgSQL; use PDO; diff --git a/tests/Drivers/SQLite/SQLiteDriverTest.php b/tests/Drivers/SQLite/SQLiteDriverTest.php index 5a97280..338a62e 100644 --- a/tests/Drivers/SQLite/SQLiteDriverTest.php +++ b/tests/Drivers/SQLite/SQLiteDriverTest.php @@ -4,15 +4,14 @@ * * SQL Query Builder / Database Abstraction Layer * - * PHP version 7 + * PHP version 7.1 * * @package Query * @author Timothy J. Warren - * @copyright 2012 - 2016 Timothy J. Warren + * @copyright 2012 - 2018 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @link https://git.timshomepage.net/aviat4ion/Query */ - namespace Query\Tests\Drivers\SQLite; use PDO; diff --git a/tests/Drivers/SQLite/SQLiteQueryBuilderTest.php b/tests/Drivers/SQLite/SQLiteQueryBuilderTest.php index 876a977..909a1b0 100644 --- a/tests/Drivers/SQLite/SQLiteQueryBuilderTest.php +++ b/tests/Drivers/SQLite/SQLiteQueryBuilderTest.php @@ -4,15 +4,14 @@ * * SQL Query Builder / Database Abstraction Layer * - * PHP version 7 + * PHP version 7.1 * * @package Query * @author Timothy J. Warren - * @copyright 2012 - 2016 Timothy J. Warren + * @copyright 2012 - 2018 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @link https://git.timshomepage.net/aviat4ion/Query */ - namespace Query\Tests\Drivers\SQLite; use PDO; diff --git a/tests/TestCase.php b/tests/TestCase.php index 201b1a5..c9441be 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -4,15 +4,14 @@ * * SQL Query Builder / Database Abstraction Layer * - * PHP version 7 + * PHP version 7.1 * * @package Query * @author Timothy J. Warren - * @copyright 2012 - 2016 Timothy J. Warren + * @copyright 2012 - 2018 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @link https://git.timshomepage.net/aviat4ion/Query */ - namespace Query\Tests; use PHPUnit\Framework\TestCase as PHPUnit_TestCase; diff --git a/tests/index.php b/tests/index.php index 3ca3bec..7ee008e 100644 --- a/tests/index.php +++ b/tests/index.php @@ -2,15 +2,16 @@ /** * Query * - * Free Query Builder / Database Abstraction Layer + * SQL Query Builder / Database Abstraction Layer * - * @package Query - * @author Timothy J. Warren - * @copyright Copyright (c) 2012 - 2013 - * @link https://github.com/aviat4ion/Query - * @license http://philsturgeon.co.uk/code/dbad-license + * PHP version 7.1 + * + * @package Query + * @author Timothy J. Warren + * @copyright 2012 - 2018 Timothy J. Warren + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link https://git.timshomepage.net/aviat4ion/Query */ - namespace { /** * Unit test bootstrap - Using php simpletest