Renamed the Doctrine\Tests\DBAL namespace to Doctrine\DBAL\Tests

parent f2d089b3
......@@ -58,7 +58,7 @@
"psr-4": { "Doctrine\\DBAL\\": "src" }
},
"autoload-dev": {
"psr-4": { "Doctrine\\Tests\\DBAL\\": "tests" }
"psr-4": { "Doctrine\\DBAL\\Tests\\": "tests" }
},
"extra": {
"branch-alias": {
......
......@@ -15,12 +15,12 @@ For an already supported platform but unsupported driver you only
need to implement the first three interfaces, since the SQL
Generation and Schema Management is already supported by the
respective platform and schema instances. You can also make use of
several Abstract Unittests in the ``\Doctrine\Tests\DBAL`` package
several Abstract Unittests in the ``\Doctrine\DBAL\Tests`` package
to check if your platform behaves like all the others which is
necessary for SchemaTool support, namely:
- ``\Doctrine\Tests\DBAL\Platforms\AbstractPlatformTestCase``
- ``\Doctrine\Tests\DBAL\Functional\Schema\AbstractSchemaManagerTestCase``
- ``\Doctrine\DBAL\Tests\Platforms\AbstractPlatformTestCase``
- ``\Doctrine\DBAL\Tests\Functional\Schema\AbstractSchemaManagerTestCase``
We would be very happy if any support for new databases would be
contributed back to Doctrine to make it an even better product.
......
......@@ -59,7 +59,7 @@
</filter>
<listeners>
<listener class="Doctrine\Tests\DBAL\PerformanceTestListener"/>
<listener class="Doctrine\DBAL\Tests\PerformanceTestListener"/>
</listeners>
<groups>
......
<?php
namespace Doctrine\Tests\DBAL\Cache;
namespace Doctrine\DBAL\Tests\Cache;
use Doctrine\DBAL\Cache\QueryCacheProfile;
use Doctrine\DBAL\ParameterType;
......
<?php
namespace Doctrine\Tests\DBAL;
namespace Doctrine\DBAL\Tests;
use Doctrine\DBAL\Configuration;
use PHPUnit\Framework\TestCase;
......
<?php
namespace Doctrine\Tests\DBAL;
namespace Doctrine\DBAL\Tests;
use Doctrine\Common\Cache\Cache;
use Doctrine\Common\EventManager;
......
<?php
namespace Doctrine\Tests\DBAL;
namespace Doctrine\DBAL\Tests;
use Doctrine\DBAL\DBALException;
use Doctrine\DBAL\Driver;
......
<?php
namespace Doctrine\Tests\DBAL\Driver;
namespace Doctrine\DBAL\Tests\Driver;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Driver;
......
<?php
namespace Doctrine\Tests\DBAL\Driver;
namespace Doctrine\DBAL\Tests\Driver;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\DBALException;
......
<?php
namespace Doctrine\Tests\DBAL\Driver;
namespace Doctrine\DBAL\Tests\Driver;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Driver;
......
<?php
namespace Doctrine\Tests\DBAL\Driver\AbstractOracleDriver;
namespace Doctrine\DBAL\Tests\Driver\AbstractOracleDriver;
use Doctrine\DBAL\Driver\AbstractOracleDriver\EasyConnectString;
use PHPUnit\Framework\TestCase;
......
<?php
namespace Doctrine\Tests\DBAL\Driver;
namespace Doctrine\DBAL\Tests\Driver;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Driver;
......
<?php
namespace Doctrine\Tests\DBAL\Driver;
namespace Doctrine\DBAL\Tests\Driver;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Driver;
......
<?php
namespace Doctrine\Tests\DBAL\Driver;
namespace Doctrine\DBAL\Tests\Driver;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Driver;
......
<?php
namespace Doctrine\Tests\DBAL\Driver;
namespace Doctrine\DBAL\Tests\Driver;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Driver;
......
<?php
namespace Doctrine\Tests\DBAL\Driver;
namespace Doctrine\DBAL\Tests\Driver;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Driver;
......
<?php
namespace Doctrine\Tests\DBAL\Driver\IBMDB2;
namespace Doctrine\DBAL\Tests\Driver\IBMDB2;
use Doctrine\DBAL\Driver\IBMDB2\DB2Connection;
use PHPUnit\Framework\MockObject\MockObject;
......
<?php
namespace Doctrine\Tests\DBAL\Driver\IBMDB2;
namespace Doctrine\DBAL\Tests\Driver\IBMDB2;
use Doctrine\DBAL\Driver as DriverInterface;
use Doctrine\DBAL\Driver\IBMDB2\DB2Driver;
use Doctrine\Tests\DBAL\Driver\AbstractDB2DriverTest;
use Doctrine\DBAL\Tests\Driver\AbstractDB2DriverTest;
class DB2DriverTest extends AbstractDB2DriverTest
{
......
<?php
namespace Doctrine\Tests\DBAL\Driver\Mysqli;
namespace Doctrine\DBAL\Tests\Driver\Mysqli;
use Doctrine\DBAL\Driver as DriverInterface;
use Doctrine\DBAL\Driver\Mysqli\Driver;
use Doctrine\Tests\DBAL\Driver\AbstractMySQLDriverTest;
use Doctrine\DBAL\Tests\Driver\AbstractMySQLDriverTest;
class DriverTest extends AbstractMySQLDriverTest
{
......
<?php
namespace Doctrine\Tests\DBAL\Driver\Mysqli;
namespace Doctrine\DBAL\Tests\Driver\Mysqli;
use Doctrine\DBAL\Driver\Mysqli\MysqliConnection;
use Doctrine\DBAL\Driver\Mysqli\MysqliException;
use Doctrine\DBAL\Platforms\MySqlPlatform;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use PHPUnit\Framework\MockObject\MockObject;
use function extension_loaded;
use function restore_error_handler;
......
<?php
namespace Doctrine\Tests\DBAL\Driver\OCI8;
namespace Doctrine\DBAL\Tests\Driver\OCI8;
use Doctrine\DBAL\Driver as DriverInterface;
use Doctrine\DBAL\Driver\OCI8\Driver;
use Doctrine\Tests\DBAL\Driver\AbstractOracleDriverTest;
use Doctrine\DBAL\Tests\Driver\AbstractOracleDriverTest;
class DriverTest extends AbstractOracleDriverTest
{
......
<?php
namespace Doctrine\Tests\DBAL\Driver\OCI8;
namespace Doctrine\DBAL\Tests\Driver\OCI8;
use Doctrine\DBAL\Driver\OCI8\OCI8Connection;
use PHPUnit\Framework\MockObject\MockObject;
......
<?php
namespace Doctrine\Tests\DBAL\Driver\OCI8;
namespace Doctrine\DBAL\Tests\Driver\OCI8;
use Doctrine\DBAL\Driver\OCI8\OCI8Connection;
use Doctrine\DBAL\Driver\OCI8\OCI8Exception;
......
<?php
namespace Doctrine\Tests\DBAL\Driver;
namespace Doctrine\DBAL\Tests\Driver;
use Doctrine\DBAL\Driver\PDOException;
use PHPUnit\Framework\MockObject\MockObject;
......
<?php
namespace Doctrine\Tests\DBAL\Driver\PDOMySql;
namespace Doctrine\DBAL\Tests\Driver\PDOMySql;
use Doctrine\DBAL\Driver as DriverInterface;
use Doctrine\DBAL\Driver\PDOMySql\Driver;
use Doctrine\Tests\DBAL\Driver\AbstractMySQLDriverTest;
use Doctrine\DBAL\Tests\Driver\AbstractMySQLDriverTest;
class DriverTest extends AbstractMySQLDriverTest
{
......
<?php
namespace Doctrine\Tests\DBAL\Driver\PDOOracle;
namespace Doctrine\DBAL\Tests\Driver\PDOOracle;
use Doctrine\DBAL\Driver as DriverInterface;
use Doctrine\DBAL\Driver\PDOOracle\Driver;
use Doctrine\Tests\DBAL\Driver\AbstractOracleDriverTest;
use Doctrine\DBAL\Tests\Driver\AbstractOracleDriverTest;
class DriverTest extends AbstractOracleDriverTest
{
......
<?php
namespace Doctrine\Tests\DBAL\Driver\PDOPgSql;
namespace Doctrine\DBAL\Tests\Driver\PDOPgSql;
use Doctrine\DBAL\Driver as DriverInterface;
use Doctrine\DBAL\Driver\PDOConnection;
use Doctrine\DBAL\Driver\PDOPgSql\Driver;
use Doctrine\Tests\DBAL\Driver\AbstractPostgreSQLDriverTest;
use Doctrine\DBAL\Tests\Driver\AbstractPostgreSQLDriverTest;
use PDO;
use PDOException;
use function defined;
......
<?php
namespace Doctrine\Tests\DBAL\Driver\PDOSqlite;
namespace Doctrine\DBAL\Tests\Driver\PDOSqlite;
use Doctrine\DBAL\Driver as DriverInterface;
use Doctrine\DBAL\Driver\PDOSqlite\Driver;
use Doctrine\Tests\DBAL\Driver\AbstractSQLiteDriverTest;
use Doctrine\DBAL\Tests\Driver\AbstractSQLiteDriverTest;
class DriverTest extends AbstractSQLiteDriverTest
{
......
<?php
namespace Doctrine\Tests\DBAL\Driver\PDOSqlsrv;
namespace Doctrine\DBAL\Tests\Driver\PDOSqlsrv;
use Doctrine\DBAL\Driver as DriverInterface;
use Doctrine\DBAL\Driver\PDOSqlsrv\Driver;
use Doctrine\Tests\DBAL\Driver\AbstractSQLServerDriverTest;
use Doctrine\DBAL\Tests\Driver\AbstractSQLServerDriverTest;
class DriverTest extends AbstractSQLServerDriverTest
{
......
<?php
namespace Doctrine\Tests\DBAL\Driver\SQLAnywhere;
namespace Doctrine\DBAL\Tests\Driver\SQLAnywhere;
use Doctrine\DBAL\Driver as DriverInterface;
use Doctrine\DBAL\Driver\SQLAnywhere\Driver;
use Doctrine\Tests\DBAL\Driver\AbstractSQLAnywhereDriverTest;
use Doctrine\DBAL\Tests\Driver\AbstractSQLAnywhereDriverTest;
class DriverTest extends AbstractSQLAnywhereDriverTest
{
......
<?php
namespace Doctrine\Tests\DBAL\Driver\SQLAnywhere;
namespace Doctrine\DBAL\Tests\Driver\SQLAnywhere;
use Doctrine\DBAL\Driver\SQLAnywhere\SQLAnywhereConnection;
use PHPUnit\Framework\MockObject\MockObject;
......
<?php
namespace Doctrine\Tests\DBAL\Driver\SQLSrv;
namespace Doctrine\DBAL\Tests\Driver\SQLSrv;
use Doctrine\DBAL\Driver as DriverInterface;
use Doctrine\DBAL\Driver\SQLSrv\Driver;
use Doctrine\Tests\DBAL\Driver\AbstractSQLServerDriverTest;
use Doctrine\DBAL\Tests\Driver\AbstractSQLServerDriverTest;
class DriverTest extends AbstractSQLServerDriverTest
{
......
<?php
namespace Doctrine\Tests\DBAL\Driver\SQLSrv;
namespace Doctrine\DBAL\Tests\Driver\SQLSrv;
use Doctrine\DBAL\Driver\SQLSrv\SQLSrvConnection;
use PHPUnit\Framework\MockObject\MockObject;
......
<?php
namespace Doctrine\Tests\DBAL\Driver;
namespace Doctrine\DBAL\Tests\Driver;
use Doctrine\DBAL\Driver\IBMDB2\DB2Statement;
use Doctrine\DBAL\Driver\Mysqli\MysqliStatement;
......
<?php
namespace Doctrine\Tests\DBAL;
namespace Doctrine\DBAL\Tests;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Connections\MasterSlaveConnection;
......
<?php
namespace Doctrine\Tests\DBAL\Events;
namespace Doctrine\DBAL\Tests\Events;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Event\ConnectionEventArgs;
......
<?php
namespace Doctrine\Tests\DBAL\Events;
namespace Doctrine\DBAL\Tests\Events;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Event\ConnectionEventArgs;
......
<?php
namespace Doctrine\Tests\DBAL\Events;
namespace Doctrine\DBAL\Tests\Events;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Event\ConnectionEventArgs;
......
<?php
namespace Doctrine\Tests\DBAL\Exception;
namespace Doctrine\DBAL\Tests\Exception;
use Doctrine\DBAL\Exception\InvalidArgumentException;
use PHPUnit\Framework\TestCase;
......
<?php
namespace Doctrine\Tests\DBAL\Functional;
namespace Doctrine\DBAL\Tests\Functional;
use Doctrine\DBAL\Driver\OCI8\Driver as OCI8Driver;
use Doctrine\DBAL\Driver\PDOOracle\Driver as PDOOracleDriver;
use Doctrine\DBAL\FetchMode;
use Doctrine\DBAL\ParameterType;
use Doctrine\DBAL\Schema\Table;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use Doctrine\DBAL\Types\Type;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use function fopen;
use function str_repeat;
use function stream_get_contents;
......
<?php
namespace Doctrine\Tests\DBAL\Functional;
namespace Doctrine\DBAL\Tests\Functional;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\ConnectionException;
......@@ -11,9 +11,9 @@ use Doctrine\DBAL\ParameterType;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Platforms\SqlitePlatform;
use Doctrine\DBAL\Platforms\SQLServer2012Platform;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use Doctrine\DBAL\Tests\TestUtil;
use Doctrine\DBAL\Types\Types;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\Tests\DBAL\TestUtil;
use Error;
use Exception;
use PDO;
......
<?php
namespace Doctrine\Tests\DBAL\Functional;
namespace Doctrine\DBAL\Tests\Functional;
use DateTime;
use Doctrine\DBAL\Connection;
......@@ -16,8 +16,8 @@ use Doctrine\DBAL\Platforms\SqlitePlatform;
use Doctrine\DBAL\Platforms\TrimMode;
use Doctrine\DBAL\Schema\Table;
use Doctrine\DBAL\Statement;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use Doctrine\DBAL\Types\Types;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use PDO;
use const CASE_LOWER;
use const PHP_EOL;
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Driver;
namespace Doctrine\DBAL\Tests\Functional\Driver;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Driver;
use Doctrine\DBAL\Driver\Connection as DriverConnection;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
abstract class AbstractDriverTest extends FunctionalTestCase
{
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Driver\IBMDB2;
namespace Doctrine\DBAL\Tests\Functional\Driver\IBMDB2;
use Doctrine\DBAL\Driver;
use Doctrine\DBAL\Driver\IBMDB2\DB2Driver;
use Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest;
use Doctrine\DBAL\Tests\Functional\Driver\AbstractDriverTest;
use function extension_loaded;
class DB2DriverTest extends AbstractDriverTest
......
......@@ -2,10 +2,10 @@
declare(strict_types=1);
namespace Doctrine\Tests\DBAL\Functional\Driver\IBMDB2;
namespace Doctrine\DBAL\Tests\Functional\Driver\IBMDB2;
use Doctrine\DBAL\Driver\IBMDB2\DB2Driver;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use function extension_loaded;
class DB2StatementTest extends FunctionalTestCase
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Driver\Mysqli;
namespace Doctrine\DBAL\Tests\Functional\Driver\Mysqli;
use Doctrine\DBAL\Driver\Mysqli\Driver;
use Doctrine\DBAL\Driver\Mysqli\MysqliConnection;
use Doctrine\DBAL\Driver\Mysqli\MysqliException;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use const MYSQLI_OPT_CONNECT_TIMEOUT;
use function extension_loaded;
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Driver\Mysqli;
namespace Doctrine\DBAL\Tests\Functional\Driver\Mysqli;
use Doctrine\DBAL\Driver as DriverInterface;
use Doctrine\DBAL\Driver\Mysqli\Driver;
use Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest;
use Doctrine\DBAL\Tests\Functional\Driver\AbstractDriverTest;
use function extension_loaded;
class DriverTest extends AbstractDriverTest
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Driver\OCI8;
namespace Doctrine\DBAL\Tests\Functional\Driver\OCI8;
use Doctrine\DBAL\Driver as DriverInterface;
use Doctrine\DBAL\Driver\OCI8\Driver;
use Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest;
use Doctrine\DBAL\Tests\Functional\Driver\AbstractDriverTest;
use function extension_loaded;
class DriverTest extends AbstractDriverTest
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Driver\OCI8;
namespace Doctrine\DBAL\Tests\Functional\Driver\OCI8;
use Doctrine\DBAL\Driver\OCI8\Driver;
use Doctrine\DBAL\Driver\OCI8\OCI8Connection;
use Doctrine\DBAL\Schema\Table;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use function extension_loaded;
class OCI8ConnectionTest extends FunctionalTestCase
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Driver\OCI8;
namespace Doctrine\DBAL\Tests\Functional\Driver\OCI8;
use Doctrine\DBAL\Driver\OCI8\Driver;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use function extension_loaded;
class StatementTest extends FunctionalTestCase
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Driver;
namespace Doctrine\DBAL\Tests\Functional\Driver;
use Doctrine\DBAL\Driver\PDOConnection;
use Doctrine\DBAL\Driver\PDOException;
use Doctrine\DBAL\Driver\PDOOracle\Driver as PDOOracleDriver;
use Doctrine\DBAL\Driver\PDOPgSql\Driver as PDOPgSQLDriver;
use Doctrine\DBAL\Driver\PDOSqlsrv\Driver as PDOSQLSRVDriver;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use PDO;
use function get_class;
use function sprintf;
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Driver\PDOMySql;
namespace Doctrine\DBAL\Tests\Functional\Driver\PDOMySql;
use Doctrine\DBAL\Driver as DriverInterface;
use Doctrine\DBAL\Driver\PDOMySql\Driver;
use Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest;
use Doctrine\DBAL\Tests\Functional\Driver\AbstractDriverTest;
use function extension_loaded;
class DriverTest extends AbstractDriverTest
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Driver\PDOOracle;
namespace Doctrine\DBAL\Tests\Functional\Driver\PDOOracle;
use Doctrine\DBAL\Driver as DriverInterface;
use Doctrine\DBAL\Driver\PDOOracle\Driver;
use Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest;
use Doctrine\DBAL\Tests\Functional\Driver\AbstractDriverTest;
use function extension_loaded;
class DriverTest extends AbstractDriverTest
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Driver\PDOPgSql;
namespace Doctrine\DBAL\Tests\Functional\Driver\PDOPgSql;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Driver as DriverInterface;
use Doctrine\DBAL\Driver\PDOPgSql\Driver;
use Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest;
use Doctrine\Tests\DBAL\TestUtil;
use Doctrine\DBAL\Tests\Functional\Driver\AbstractDriverTest;
use Doctrine\DBAL\Tests\TestUtil;
use function array_key_exists;
use function extension_loaded;
use function microtime;
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Driver;
namespace Doctrine\DBAL\Tests\Functional\Driver;
use Doctrine\DBAL\DriverManager;
use Doctrine\DBAL\FetchMode;
use Doctrine\DBAL\Platforms\PostgreSQL94Platform;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use function extension_loaded;
class PDOPgsqlConnectionTest extends FunctionalTestCase
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Driver\PDOSqlite;
namespace Doctrine\DBAL\Tests\Functional\Driver\PDOSqlite;
use Doctrine\DBAL\Driver as DriverInterface;
use Doctrine\DBAL\Driver\PDOSqlite\Driver;
use Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest;
use Doctrine\DBAL\Tests\Functional\Driver\AbstractDriverTest;
use function extension_loaded;
class DriverTest extends AbstractDriverTest
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Driver\PDOSqlsrv;
namespace Doctrine\DBAL\Tests\Functional\Driver\PDOSqlsrv;
use Doctrine\DBAL\Driver as DriverInterface;
use Doctrine\DBAL\Driver\Connection;
use Doctrine\DBAL\Driver\PDOConnection;
use Doctrine\DBAL\Driver\PDOSqlsrv\Driver;
use Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest;
use Doctrine\DBAL\Tests\Functional\Driver\AbstractDriverTest;
use PDO;
use function assert;
use function extension_loaded;
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Driver\SQLAnywhere;
namespace Doctrine\DBAL\Tests\Functional\Driver\SQLAnywhere;
use Doctrine\DBAL\Driver\SQLAnywhere\Driver;
use Doctrine\DBAL\DriverManager;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use function extension_loaded;
class ConnectionTest extends FunctionalTestCase
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Driver\SQLAnywhere;
namespace Doctrine\DBAL\Tests\Functional\Driver\SQLAnywhere;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Driver as DriverInterface;
use Doctrine\DBAL\Driver\SQLAnywhere\Driver;
use Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest;
use Doctrine\DBAL\Tests\Functional\Driver\AbstractDriverTest;
use function extension_loaded;
class DriverTest extends AbstractDriverTest
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Driver\SQLAnywhere;
namespace Doctrine\DBAL\Tests\Functional\Driver\SQLAnywhere;
use Doctrine\DBAL\Driver\SQLAnywhere\Driver;
use Doctrine\DBAL\DriverManager;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use function extension_loaded;
class StatementTest extends FunctionalTestCase
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Driver\SQLSrv;
namespace Doctrine\DBAL\Tests\Functional\Driver\SQLSrv;
use Doctrine\DBAL\Driver as DriverInterface;
use Doctrine\DBAL\Driver\SQLSrv\Driver;
use Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest;
use Doctrine\DBAL\Tests\Functional\Driver\AbstractDriverTest;
use function extension_loaded;
class DriverTest extends AbstractDriverTest
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Driver\SQLSrv;
namespace Doctrine\DBAL\Tests\Functional\Driver\SQLSrv;
use Doctrine\DBAL\Driver\SQLSrv\Driver;
use Doctrine\DBAL\Driver\SQLSrv\SQLSrvException;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use function extension_loaded;
class StatementTest extends FunctionalTestCase
......
<?php
namespace Doctrine\Tests\DBAL\Functional;
namespace Doctrine\DBAL\Tests\Functional;
use Doctrine\DBAL\Driver\ExceptionConverterDriver;
use Doctrine\DBAL\Driver\ServerInfoAwareConnection;
......@@ -11,7 +11,7 @@ use Doctrine\DBAL\Platforms\PostgreSQL94Platform;
use Doctrine\DBAL\Platforms\SqlitePlatform;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\DBAL\Schema\Table;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use Throwable;
use const PHP_OS;
use function array_merge;
......
<?php
namespace Doctrine\Tests\DBAL\Functional;
namespace Doctrine\DBAL\Tests\Functional;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use function sprintf;
final class LikeWildcardsEscapingTest extends FunctionalTestCase
......
<?php
namespace Doctrine\Tests\DBAL\Functional;
namespace Doctrine\DBAL\Tests\Functional;
use Doctrine\DBAL\Logging\SQLLogger;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
class LoggingTest extends FunctionalTestCase
{
......
<?php
namespace Doctrine\Tests\DBAL\Functional;
namespace Doctrine\DBAL\Tests\Functional;
use Doctrine\DBAL\Connections\MasterSlaveConnection;
use Doctrine\DBAL\Driver\Statement;
use Doctrine\DBAL\DriverManager;
use Doctrine\DBAL\Schema\Table;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use Throwable;
use const CASE_LOWER;
use function array_change_key_case;
......
<?php
namespace Doctrine\Tests\DBAL\Functional;
namespace Doctrine\DBAL\Tests\Functional;
use Doctrine\DBAL\Schema\Table;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use const CASE_LOWER;
use function array_change_key_case;
use function count;
......
<?php
namespace Doctrine\Tests\DBAL\Functional;
namespace Doctrine\DBAL\Tests\Functional;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\FetchMode;
use Doctrine\DBAL\ParameterType;
use Doctrine\DBAL\Schema\Table;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use Throwable;
use const CASE_LOWER;
use function array_change_key_case;
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Platform;
namespace Doctrine\DBAL\Tests\Functional\Platform;
use DateTimeImmutable;
use Doctrine\DBAL\Schema\Table;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use function sprintf;
class DateExpressionTest extends FunctionalTestCase
......
......@@ -2,15 +2,15 @@
declare(strict_types=1);
namespace Doctrine\Tests\DBAL\Functional\Platform;
namespace Doctrine\DBAL\Tests\Functional\Platform;
use Doctrine\DBAL\FetchMode;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Platforms\MySqlPlatform;
use Doctrine\DBAL\Platforms\OraclePlatform;
use Doctrine\DBAL\Schema\Table;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use Doctrine\DBAL\Types\Types;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use function sprintf;
class DefaultExpressionTest extends FunctionalTestCase
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Platform;
namespace Doctrine\DBAL\Tests\Functional\Platform;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Schema\Comparator;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use function in_array;
final class NewPrimaryKeyWithNewAutoIncrementColumnTest extends FunctionalTestCase
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Platform;
namespace Doctrine\DBAL\Tests\Functional\Platform;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
class QuotingTest extends FunctionalTestCase
{
......
<?php
namespace Doctrine\Tests\DBAL\Functional;
namespace Doctrine\DBAL\Tests\Functional;
use Doctrine\DBAL\ColumnCase;
use Doctrine\DBAL\Connection;
......@@ -8,7 +8,7 @@ use Doctrine\DBAL\DriverManager;
use Doctrine\DBAL\FetchMode;
use Doctrine\DBAL\Portability\Connection as ConnectionPortability;
use Doctrine\DBAL\Schema\Table;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use Throwable;
use function strlen;
......
<?php
namespace Doctrine\Tests\DBAL\Functional;
namespace Doctrine\DBAL\Tests\Functional;
use Doctrine\Common\Cache\ArrayCache;
use Doctrine\DBAL\Cache\QueryCacheProfile;
......@@ -8,7 +8,7 @@ use Doctrine\DBAL\Driver\ResultStatement;
use Doctrine\DBAL\FetchMode;
use Doctrine\DBAL\Logging\DebugStack;
use Doctrine\DBAL\Schema\Table;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use const CASE_LOWER;
use function array_change_key_case;
use function array_merge;
......
......@@ -2,12 +2,12 @@
declare(strict_types=1);
namespace Doctrine\Tests\DBAL\Functional\Schema;
namespace Doctrine\DBAL\Tests\Functional\Schema;
use Doctrine\DBAL\Schema\AbstractSchemaManager;
use Doctrine\DBAL\Schema\Comparator;
use Doctrine\DBAL\Schema\Table;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
class ComparatorTest extends FunctionalTestCase
{
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Schema;
namespace Doctrine\DBAL\Tests\Functional\Schema;
use Doctrine\DBAL\Schema\Table;
use Doctrine\DBAL\Types\BooleanType;
......
......@@ -2,10 +2,10 @@
declare(strict_types=1);
namespace Doctrine\Tests\DBAL\Functional\Schema;
namespace Doctrine\DBAL\Tests\Functional\Schema;
use Doctrine\DBAL\Schema\Table;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use function sprintf;
class DefaultValueTest extends FunctionalTestCase
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Schema\MySQL;
namespace Doctrine\DBAL\Tests\Functional\Schema\MySQL;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Types\Type;
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Schema;
namespace Doctrine\DBAL\Tests\Functional\Schema;
use DateTime;
use Doctrine\DBAL\Platforms\MariaDb1027Platform;
......@@ -8,10 +8,10 @@ use Doctrine\DBAL\Platforms\MySqlPlatform;
use Doctrine\DBAL\Schema\Comparator;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\DBAL\Schema\Table;
use Doctrine\DBAL\Tests\Functional\Schema\MySQL\PointType;
use Doctrine\DBAL\Types\BlobType;
use Doctrine\DBAL\Types\Type;
use Doctrine\DBAL\Types\Types;
use Doctrine\Tests\DBAL\Functional\Schema\MySQL\PointType;
class MySqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
{
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Schema;
namespace Doctrine\DBAL\Tests\Functional\Schema;
use Doctrine\DBAL\Schema;
use Doctrine\DBAL\Schema\Table;
use Doctrine\DBAL\Tests\TestUtil;
use Doctrine\DBAL\Types\BinaryType;
use Doctrine\DBAL\Types\Types;
use Doctrine\Tests\DBAL\TestUtil;
use function array_map;
class OracleSchemaManagerTest extends SchemaManagerFunctionalTestCase
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Schema;
namespace Doctrine\DBAL\Tests\Functional\Schema;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Platforms\PostgreSQL94Platform;
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Schema;
namespace Doctrine\DBAL\Tests\Functional\Schema;
use Doctrine\DBAL\Schema\Index;
use Doctrine\DBAL\Schema\Table;
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Schema;
namespace Doctrine\DBAL\Tests\Functional\Schema;
use Doctrine\DBAL\Schema\Column;
use Doctrine\DBAL\Schema\ColumnDiff;
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Schema;
namespace Doctrine\DBAL\Tests\Functional\Schema;
use Doctrine\Common\EventManager;
use Doctrine\DBAL\DBALException;
......@@ -19,6 +19,7 @@ use Doctrine\DBAL\Schema\Sequence;
use Doctrine\DBAL\Schema\Table;
use Doctrine\DBAL\Schema\TableDiff;
use Doctrine\DBAL\Schema\View;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use Doctrine\DBAL\Types\ArrayType;
use Doctrine\DBAL\Types\BinaryType;
use Doctrine\DBAL\Types\DateIntervalType;
......@@ -29,7 +30,6 @@ use Doctrine\DBAL\Types\ObjectType;
use Doctrine\DBAL\Types\StringType;
use Doctrine\DBAL\Types\TextType;
use Doctrine\DBAL\Types\Type;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use function array_filter;
use function array_keys;
use function array_map;
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Schema;
namespace Doctrine\DBAL\Tests\Functional\Schema;
use Doctrine\DBAL\DBALException;
use Doctrine\DBAL\Driver\Connection;
......
<?php
namespace Doctrine\Tests\DBAL\Functional;
namespace Doctrine\DBAL\Tests\Functional;
use Doctrine\DBAL\Driver\PDOOracle\Driver as PDOOracleDriver;
use Doctrine\DBAL\Driver\Statement;
use Doctrine\DBAL\FetchMode;
use Doctrine\DBAL\ParameterType;
use Doctrine\DBAL\Schema\Table;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use Doctrine\DBAL\Types\Type;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use function base64_decode;
use function stream_get_contents;
......
<?php
namespace Doctrine\Tests\DBAL\Functional;
namespace Doctrine\DBAL\Tests\Functional;
use Doctrine\DBAL\Id\TableGenerator;
use Doctrine\DBAL\Id\TableGeneratorSchemaVisitor;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use Throwable;
/**
......
<?php
namespace Doctrine\Tests\DBAL\Functional;
namespace Doctrine\DBAL\Tests\Functional;
use Doctrine\DBAL\Schema\Table;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use Doctrine\DBAL\Types\Type;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Throwable;
class TemporaryTableTest extends FunctionalTestCase
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Ticket;
namespace Doctrine\DBAL\Tests\Functional\Ticket;
use Doctrine\DBAL\Schema\Table;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
/**
* @group DBAL-168
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Ticket;
namespace Doctrine\DBAL\Tests\Functional\Ticket;
use Doctrine\DBAL\Schema\Table;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
/**
* @group DBAL-202
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Ticket;
namespace Doctrine\DBAL\Tests\Functional\Ticket;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use function in_array;
use function preg_match;
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Ticket;
namespace Doctrine\DBAL\Tests\Functional\Ticket;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Platforms\AbstractPlatform;
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Ticket;
namespace Doctrine\DBAL\Tests\Functional\Ticket;
use Doctrine\DBAL\Schema\Comparator;
use Doctrine\DBAL\Schema\Table;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
/**
* @group DBAL-510
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Ticket;
namespace Doctrine\DBAL\Tests\Functional\Ticket;
use Doctrine\DBAL\DBALException;
use Doctrine\DBAL\ParameterType;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use PDO;
use function in_array;
......
<?php
namespace Doctrine\Tests\DBAL\Functional\Ticket;
namespace Doctrine\DBAL\Tests\Functional\Ticket;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use function in_array;
/**
......
<?php
namespace Doctrine\Tests\DBAL\Functional;
namespace Doctrine\DBAL\Tests\Functional;
use Doctrine\DBAL\Platforms\MySqlPlatform;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use function sleep;
class TransactionTest extends FunctionalTestCase
......
<?php
namespace Doctrine\Tests\DBAL\Functional;
namespace Doctrine\DBAL\Tests\Functional;
use DateTime;
use Doctrine\DBAL\Driver\PDOOracle\Driver as PDOOracleDriver;
use Doctrine\DBAL\Schema\Table;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use Doctrine\DBAL\Types\Type;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use stdClass;
use function str_repeat;
......
......@@ -2,13 +2,13 @@
declare(strict_types=1);
namespace Doctrine\Tests\DBAL\Functional\Types;
namespace Doctrine\DBAL\Tests\Functional\Types;
use Doctrine\DBAL\Driver\IBMDB2\DB2Driver;
use Doctrine\DBAL\Driver\PDOOracle\Driver as PDOOracleDriver;
use Doctrine\DBAL\ParameterType;
use Doctrine\DBAL\Schema\Table;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use function is_resource;
use function random_bytes;
use function str_replace;
......
<?php
namespace Doctrine\Tests\DBAL\Functional;
namespace Doctrine\DBAL\Tests\Functional;
use DateTime;
use Doctrine\DBAL\Driver\DriverException;
use Doctrine\DBAL\ParameterType;
use Doctrine\DBAL\Schema\Sequence;
use Doctrine\DBAL\Schema\Table;
use Doctrine\DBAL\Tests\FunctionalTestCase;
use Doctrine\DBAL\Types\Type;
use Doctrine\Tests\DBAL\FunctionalTestCase;
use Throwable;
use function array_filter;
use function strtolower;
......
<?php
namespace Doctrine\Tests\DBAL;
namespace Doctrine\DBAL\Tests;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Logging\DebugStack;
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment