Update header comments, again

This commit is contained in:
Timothy Warren 2018-01-19 16:50:34 -05:00
parent 4df07b6c72
commit 80d27d9bfe
15 changed files with 47 additions and 62 deletions

View File

@ -27,6 +27,6 @@ after_script:
matrix: matrix:
allow_failures: allow_failures:
- php: 7.2 - php: 7
- php: nightly - php: nightly
- php: hhvm - php: hhvm

View File

@ -1,37 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit <phpunit
addUncoveredFilesFromWhitelist="true"
colors="true" colors="true"
stopOnFailure="false" stopOnFailure="false"
bootstrap="../tests/bootstrap.php"> bootstrap="../tests/bootstrap.php">
<filter> <filter>
<whitelist> <whitelist>
<directory suffix=".php">../src/*</directory> <directory suffix=".php">../src/*</directory>
<file>autoload.php</file>
</whitelist> </whitelist>
</filter> </filter>
<testsuites> <testsuites>
<testsuite name="CoreTests"> <testsuite name="CoreTests">
<file>../tests/core/core_test.php</file> <file>../tests/CoreTest.php</file>
<file>../tests/core/query_parser_test.php</file> <file>../tests/ConnectionManagerTest.php</file>
<file>../tests/core/connection_manager_test.php</file> <file>../tests/QueryParserTest.php</file>
</testsuite> </testsuite>
<testsuite name="MySQLTests"> <testsuite name="MySQL Tests">
<file>../tests/databases/mysql/MySQLTest.php</file> <directory>../tests/Drivers/MySQL/</directory>
<file>../tests/databases/mysql/MySQLQBTest.php</file>
</testsuite> </testsuite>
<testsuite name="PgSQLTests"> <testsuite name="PgSQL Tests">
<file>../tests/databases/pgsql/PgSQLTest.php</file> <directory>../tests/Drivers/PgSQL/</directory>
<file>../tests/databases/pgsql/PgSQLQBTest.php</file>
</testsuite> </testsuite>
<testsuite name="SQLiteTests"> <testsuite name="SQLite Tests">
<file>../tests/databases/sqlite/SQLiteTest.php</file> <directory>../tests/Drivers/SQLite/</directory>
<file>../tests/databases/sqlite/SQLiteQBTest.php</file>
</testsuite> </testsuite>
<testsuite name="FirebirdTests"> <!-- <testsuite name="FirebirdTests">
<file>../tests/databases/firebird/FirebirdTest.php</file> <file>../tests/databases/firebird/FirebirdTest.php</file>
<file>../tests/databases/firebird/FirebirdQBTest.php</file> <file>../tests/databases/firebird/FirebirdQBTest.php</file>
</testsuite> </testsuite>
<!-- <testsuite name="OCITests"> <testsuite name="OCITests">
<file>../tests/databases/oci/OCITest.php</file> <file>../tests/databases/oci/OCITest.php</file>
<file>../tests/databases/oci/OCIQBTest.php</file> <file>../tests/databases/oci/OCIQBTest.php</file>
</testsuite> --> </testsuite> -->

View File

@ -2,9 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
$file_patterns = [ $file_patterns = [
'src/**/*.php',
'src/*.php', 'src/*.php',
'tests/**/*.php',
'tests/*.php', 'tests/*.php',
'Robofile.php' 'Robofile.php'
]; ];

View File

@ -4,15 +4,14 @@
* *
* SQL Query Builder / Database Abstraction Layer * SQL Query Builder / Database Abstraction Layer
* *
* PHP version 7 * PHP version 7.1
* *
* @package Query * @package Query
* @author Timothy J. Warren <tim@timshomepage.net> * @author Timothy J. Warren <tim@timshomepage.net>
* @copyright 2012 - 2016 Timothy J. Warren * @copyright 2012 - 2018 Timothy J. Warren
* @license http://www.opensource.org/licenses/mit-license.html MIT License * @license http://www.opensource.org/licenses/mit-license.html MIT License
* @link https://git.timshomepage.net/aviat4ion/Query * @link https://git.timshomepage.net/aviat4ion/Query
*/ */
namespace Query\Tests; namespace Query\Tests;
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------

View File

@ -4,15 +4,14 @@
* *
* SQL Query Builder / Database Abstraction Layer * SQL Query Builder / Database Abstraction Layer
* *
* PHP version 7 * PHP version 7.1
* *
* @package Query * @package Query
* @author Timothy J. Warren <tim@timshomepage.net> * @author Timothy J. Warren <tim@timshomepage.net>
* @copyright 2012 - 2016 Timothy J. Warren * @copyright 2012 - 2018 Timothy J. Warren
* @license http://www.opensource.org/licenses/mit-license.html MIT License * @license http://www.opensource.org/licenses/mit-license.html MIT License
* @link https://git.timshomepage.net/aviat4ion/Query * @link https://git.timshomepage.net/aviat4ion/Query
*/ */
namespace Query\Tests; namespace Query\Tests;
use PDO; use PDO;

View File

@ -4,15 +4,14 @@
* *
* SQL Query Builder / Database Abstraction Layer * SQL Query Builder / Database Abstraction Layer
* *
* PHP version 7 * PHP version 7.1
* *
* @package Query * @package Query
* @author Timothy J. Warren <tim@timshomepage.net> * @author Timothy J. Warren <tim@timshomepage.net>
* @copyright 2012 - 2016 Timothy J. Warren * @copyright 2012 - 2018 Timothy J. Warren
* @license http://www.opensource.org/licenses/mit-license.html MIT License * @license http://www.opensource.org/licenses/mit-license.html MIT License
* @link https://git.timshomepage.net/aviat4ion/Query * @link https://git.timshomepage.net/aviat4ion/Query
*/ */
namespace Query\Tests; namespace Query\Tests;
use DomainException; use DomainException;

View File

@ -4,15 +4,14 @@
* *
* SQL Query Builder / Database Abstraction Layer * SQL Query Builder / Database Abstraction Layer
* *
* PHP version 7 * PHP version 7.1
* *
* @package Query * @package Query
* @author Timothy J. Warren <tim@timshomepage.net> * @author Timothy J. Warren <tim@timshomepage.net>
* @copyright 2012 - 2016 Timothy J. Warren * @copyright 2012 - 2018 Timothy J. Warren
* @license http://www.opensource.org/licenses/mit-license.html MIT License * @license http://www.opensource.org/licenses/mit-license.html MIT License
* @link https://git.timshomepage.net/aviat4ion/Query * @link https://git.timshomepage.net/aviat4ion/Query
*/ */
namespace Query\Tests; namespace Query\Tests;

View File

@ -4,15 +4,14 @@
* *
* SQL Query Builder / Database Abstraction Layer * SQL Query Builder / Database Abstraction Layer
* *
* PHP version 7 * PHP version 7.1
* *
* @package Query * @package Query
* @author Timothy J. Warren <tim@timshomepage.net> * @author Timothy J. Warren <tim@timshomepage.net>
* @copyright 2012 - 2016 Timothy J. Warren * @copyright 2012 - 2018 Timothy J. Warren
* @license http://www.opensource.org/licenses/mit-license.html MIT License * @license http://www.opensource.org/licenses/mit-license.html MIT License
* @link https://git.timshomepage.net/aviat4ion/Query * @link https://git.timshomepage.net/aviat4ion/Query
*/ */
namespace Query\Tests\Drivers\MySQL; namespace Query\Tests\Drivers\MySQL;
use InvalidArgumentException; use InvalidArgumentException;

View File

@ -4,15 +4,14 @@
* *
* SQL Query Builder / Database Abstraction Layer * SQL Query Builder / Database Abstraction Layer
* *
* PHP version 7 * PHP version 7.1
* *
* @package Query * @package Query
* @author Timothy J. Warren <tim@timshomepage.net> * @author Timothy J. Warren <tim@timshomepage.net>
* @copyright 2012 - 2016 Timothy J. Warren * @copyright 2012 - 2018 Timothy J. Warren
* @license http://www.opensource.org/licenses/mit-license.html MIT License * @license http://www.opensource.org/licenses/mit-license.html MIT License
* @link https://git.timshomepage.net/aviat4ion/Query * @link https://git.timshomepage.net/aviat4ion/Query
*/ */
namespace Query\Tests\Drivers\MySQL; namespace Query\Tests\Drivers\MySQL;
use PDO; use PDO;

View File

@ -4,15 +4,14 @@
* *
* SQL Query Builder / Database Abstraction Layer * SQL Query Builder / Database Abstraction Layer
* *
* PHP version 7 * PHP version 7.1
* *
* @package Query * @package Query
* @author Timothy J. Warren <tim@timshomepage.net> * @author Timothy J. Warren <tim@timshomepage.net>
* @copyright 2012 - 2016 Timothy J. Warren * @copyright 2012 - 2018 Timothy J. Warren
* @license http://www.opensource.org/licenses/mit-license.html MIT License * @license http://www.opensource.org/licenses/mit-license.html MIT License
* @link https://git.timshomepage.net/aviat4ion/Query * @link https://git.timshomepage.net/aviat4ion/Query
*/ */
namespace Query\Tests\Drivers\PgSQL; namespace Query\Tests\Drivers\PgSQL;
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------

View File

@ -4,15 +4,14 @@
* *
* SQL Query Builder / Database Abstraction Layer * SQL Query Builder / Database Abstraction Layer
* *
* PHP version 7 * PHP version 7.1
* *
* @package Query * @package Query
* @author Timothy J. Warren <tim@timshomepage.net> * @author Timothy J. Warren <tim@timshomepage.net>
* @copyright 2012 - 2016 Timothy J. Warren * @copyright 2012 - 2018 Timothy J. Warren
* @license http://www.opensource.org/licenses/mit-license.html MIT License * @license http://www.opensource.org/licenses/mit-license.html MIT License
* @link https://git.timshomepage.net/aviat4ion/Query * @link https://git.timshomepage.net/aviat4ion/Query
*/ */
namespace Query\Tests\Drivers\PgSQL; namespace Query\Tests\Drivers\PgSQL;
use PDO; use PDO;

View File

@ -4,15 +4,14 @@
* *
* SQL Query Builder / Database Abstraction Layer * SQL Query Builder / Database Abstraction Layer
* *
* PHP version 7 * PHP version 7.1
* *
* @package Query * @package Query
* @author Timothy J. Warren <tim@timshomepage.net> * @author Timothy J. Warren <tim@timshomepage.net>
* @copyright 2012 - 2016 Timothy J. Warren * @copyright 2012 - 2018 Timothy J. Warren
* @license http://www.opensource.org/licenses/mit-license.html MIT License * @license http://www.opensource.org/licenses/mit-license.html MIT License
* @link https://git.timshomepage.net/aviat4ion/Query * @link https://git.timshomepage.net/aviat4ion/Query
*/ */
namespace Query\Tests\Drivers\SQLite; namespace Query\Tests\Drivers\SQLite;
use PDO; use PDO;

View File

@ -4,15 +4,14 @@
* *
* SQL Query Builder / Database Abstraction Layer * SQL Query Builder / Database Abstraction Layer
* *
* PHP version 7 * PHP version 7.1
* *
* @package Query * @package Query
* @author Timothy J. Warren <tim@timshomepage.net> * @author Timothy J. Warren <tim@timshomepage.net>
* @copyright 2012 - 2016 Timothy J. Warren * @copyright 2012 - 2018 Timothy J. Warren
* @license http://www.opensource.org/licenses/mit-license.html MIT License * @license http://www.opensource.org/licenses/mit-license.html MIT License
* @link https://git.timshomepage.net/aviat4ion/Query * @link https://git.timshomepage.net/aviat4ion/Query
*/ */
namespace Query\Tests\Drivers\SQLite; namespace Query\Tests\Drivers\SQLite;
use PDO; use PDO;

View File

@ -4,15 +4,14 @@
* *
* SQL Query Builder / Database Abstraction Layer * SQL Query Builder / Database Abstraction Layer
* *
* PHP version 7 * PHP version 7.1
* *
* @package Query * @package Query
* @author Timothy J. Warren <tim@timshomepage.net> * @author Timothy J. Warren <tim@timshomepage.net>
* @copyright 2012 - 2016 Timothy J. Warren * @copyright 2012 - 2018 Timothy J. Warren
* @license http://www.opensource.org/licenses/mit-license.html MIT License * @license http://www.opensource.org/licenses/mit-license.html MIT License
* @link https://git.timshomepage.net/aviat4ion/Query * @link https://git.timshomepage.net/aviat4ion/Query
*/ */
namespace Query\Tests; namespace Query\Tests;
use PHPUnit\Framework\TestCase as PHPUnit_TestCase; use PHPUnit\Framework\TestCase as PHPUnit_TestCase;

View File

@ -2,15 +2,16 @@
/** /**
* Query * Query
* *
* Free Query Builder / Database Abstraction Layer * SQL Query Builder / Database Abstraction Layer
*
* PHP version 7.1
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren <tim@timshomepage.net>
* @copyright Copyright (c) 2012 - 2013 * @copyright 2012 - 2018 Timothy J. Warren
* @link https://github.com/aviat4ion/Query * @license http://www.opensource.org/licenses/mit-license.html MIT License
* @license http://philsturgeon.co.uk/code/dbad-license * @link https://git.timshomepage.net/aviat4ion/Query
*/ */
namespace { namespace {
/** /**
* Unit test bootstrap - Using php simpletest * Unit test bootstrap - Using php simpletest