Skip to content

Commit

Permalink
Update header comments, again
Browse files Browse the repository at this point in the history
  • Loading branch information
timw4mail committed Jan 19, 2018
1 parent 4df07b6 commit 80d27d9
Show file tree
Hide file tree
Showing 15 changed files with 47 additions and 62 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -27,6 +27,6 @@ after_script:

matrix:
allow_failures:
- php: 7.2
- php: 7
- php: nightly
- php: hhvm
27 changes: 12 additions & 15 deletions build/phpunit.xml
@@ -1,37 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
addUncoveredFilesFromWhitelist="true"
colors="true"
stopOnFailure="false"
bootstrap="../tests/bootstrap.php">
<filter>
<whitelist>
<directory suffix=".php">../src/*</directory>
<file>autoload.php</file>
</whitelist>
</filter>
<testsuites>
<testsuite name="CoreTests">
<file>../tests/core/core_test.php</file>
<file>../tests/core/query_parser_test.php</file>
<file>../tests/core/connection_manager_test.php</file>
<file>../tests/CoreTest.php</file>
<file>../tests/ConnectionManagerTest.php</file>
<file>../tests/QueryParserTest.php</file>
</testsuite>
<testsuite name="MySQLTests">
<file>../tests/databases/mysql/MySQLTest.php</file>
<file>../tests/databases/mysql/MySQLQBTest.php</file>
<testsuite name="MySQL Tests">
<directory>../tests/Drivers/MySQL/</directory>
</testsuite>
<testsuite name="PgSQLTests">
<file>../tests/databases/pgsql/PgSQLTest.php</file>
<file>../tests/databases/pgsql/PgSQLQBTest.php</file>
<testsuite name="PgSQL Tests">
<directory>../tests/Drivers/PgSQL/</directory>
</testsuite>
<testsuite name="SQLiteTests">
<file>../tests/databases/sqlite/SQLiteTest.php</file>
<file>../tests/databases/sqlite/SQLiteQBTest.php</file>
<testsuite name="SQLite Tests">
<directory>../tests/Drivers/SQLite/</directory>
</testsuite>
<testsuite name="FirebirdTests">
<!-- <testsuite name="FirebirdTests">
<file>../tests/databases/firebird/FirebirdTest.php</file>
<file>../tests/databases/firebird/FirebirdQBTest.php</file>
</testsuite>
<!-- <testsuite name="OCITests">
<testsuite name="OCITests">
<file>../tests/databases/oci/OCITest.php</file>
<file>../tests/databases/oci/OCIQBTest.php</file>
</testsuite> -->
Expand Down
2 changes: 0 additions & 2 deletions build/update_header_comments.php
Expand Up @@ -2,9 +2,7 @@
declare(strict_types=1);

$file_patterns = [
'src/**/*.php',
'src/*.php',
'tests/**/*.php',
'tests/*.php',
'Robofile.php'
];
Expand Down
5 changes: 2 additions & 3 deletions tests/BaseDriverTest.php
Expand Up @@ -4,15 +4,14 @@
*
* SQL Query Builder / Database Abstraction Layer
*
* PHP version 7
* PHP version 7.1
*
* @package Query
* @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
* @link https://git.timshomepage.net/aviat4ion/Query
*/

namespace Query\Tests;

// --------------------------------------------------------------------------
Expand Down
5 changes: 2 additions & 3 deletions tests/BaseQueryBuilderTest.php
Expand Up @@ -4,15 +4,14 @@
*
* SQL Query Builder / Database Abstraction Layer
*
* PHP version 7
* PHP version 7.1
*
* @package Query
* @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
* @link https://git.timshomepage.net/aviat4ion/Query
*/

namespace Query\Tests;

use PDO;
Expand Down
13 changes: 6 additions & 7 deletions tests/ConnectionManagerTest.php
Expand Up @@ -4,15 +4,14 @@
*
* SQL Query Builder / Database Abstraction Layer
*
* PHP version 7
* PHP version 7.1
*
* @package Query
* @author Timothy J. Warren <tim@timshomepage.net>
* @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 <tim@timshomepage.net>
* @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;
Expand Down
5 changes: 2 additions & 3 deletions tests/CoreTest.php
Expand Up @@ -4,15 +4,14 @@
*
* SQL Query Builder / Database Abstraction Layer
*
* PHP version 7
* PHP version 7.1
*
* @package Query
* @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
* @link https://git.timshomepage.net/aviat4ion/Query
*/

namespace Query\Tests;


Expand Down
5 changes: 2 additions & 3 deletions tests/Drivers/MySQL/MySQLDriverTest.php
Expand Up @@ -4,15 +4,14 @@
*
* SQL Query Builder / Database Abstraction Layer
*
* PHP version 7
* PHP version 7.1
*
* @package Query
* @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
* @link https://git.timshomepage.net/aviat4ion/Query
*/

namespace Query\Tests\Drivers\MySQL;

use InvalidArgumentException;
Expand Down
5 changes: 2 additions & 3 deletions tests/Drivers/MySQL/MySQLQueryBuilderTest.php
Expand Up @@ -4,15 +4,14 @@
*
* SQL Query Builder / Database Abstraction Layer
*
* PHP version 7
* PHP version 7.1
*
* @package Query
* @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
* @link https://git.timshomepage.net/aviat4ion/Query
*/

namespace Query\Tests\Drivers\MySQL;

use PDO;
Expand Down
5 changes: 2 additions & 3 deletions tests/Drivers/PgSQL/PgSQLDriverTest.php
Expand Up @@ -4,15 +4,14 @@
*
* SQL Query Builder / Database Abstraction Layer
*
* PHP version 7
* PHP version 7.1
*
* @package Query
* @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
* @link https://git.timshomepage.net/aviat4ion/Query
*/

namespace Query\Tests\Drivers\PgSQL;

// --------------------------------------------------------------------------
Expand Down
5 changes: 2 additions & 3 deletions tests/Drivers/PgSQL/PgSQLQueryBuilderTest.php
Expand Up @@ -4,15 +4,14 @@
*
* SQL Query Builder / Database Abstraction Layer
*
* PHP version 7
* PHP version 7.1
*
* @package Query
* @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
* @link https://git.timshomepage.net/aviat4ion/Query
*/

namespace Query\Tests\Drivers\PgSQL;

use PDO;
Expand Down
5 changes: 2 additions & 3 deletions tests/Drivers/SQLite/SQLiteDriverTest.php
Expand Up @@ -4,15 +4,14 @@
*
* SQL Query Builder / Database Abstraction Layer
*
* PHP version 7
* PHP version 7.1
*
* @package Query
* @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
* @link https://git.timshomepage.net/aviat4ion/Query
*/

namespace Query\Tests\Drivers\SQLite;

use PDO;
Expand Down
5 changes: 2 additions & 3 deletions tests/Drivers/SQLite/SQLiteQueryBuilderTest.php
Expand Up @@ -4,15 +4,14 @@
*
* SQL Query Builder / Database Abstraction Layer
*
* PHP version 7
* PHP version 7.1
*
* @package Query
* @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
* @link https://git.timshomepage.net/aviat4ion/Query
*/

namespace Query\Tests\Drivers\SQLite;

use PDO;
Expand Down
5 changes: 2 additions & 3 deletions tests/TestCase.php
Expand Up @@ -4,15 +4,14 @@
*
* SQL Query Builder / Database Abstraction Layer
*
* PHP version 7
* PHP version 7.1
*
* @package Query
* @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
* @link https://git.timshomepage.net/aviat4ion/Query
*/

namespace Query\Tests;

use PHPUnit\Framework\TestCase as PHPUnit_TestCase;
Expand Down
15 changes: 8 additions & 7 deletions tests/index.php
Expand Up @@ -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 <tim@timshomepage.net>
* @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
Expand Down

0 comments on commit 80d27d9

Please sign in to comment.