Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
9f3188ab
Unverified
Commit
9f3188ab
authored
Apr 01, 2018
by
Michael Moravec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add imports for global functions & constants
parent
fd0f0f31
Changes
202
Hide whitespace changes
Inline
Side-by-side
Showing
202 changed files
with
906 additions
and
0 deletions
+906
-0
ArrayStatement.php
lib/Doctrine/DBAL/Cache/ArrayStatement.php
+4
-0
ResultCacheStatement.php
lib/Doctrine/DBAL/Cache/ResultCacheStatement.php
+3
-0
Connection.php
lib/Doctrine/DBAL/Connection.php
+7
-0
MasterSlaveConnection.php
lib/Doctrine/DBAL/Connections/MasterSlaveConnection.php
+3
-0
DBALException.php
lib/Doctrine/DBAL/DBALException.php
+8
-0
AbstractMySQLDriver.php
lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php
+3
-0
AbstractPostgreSQLDriver.php
lib/Doctrine/DBAL/Driver/AbstractPostgreSQLDriver.php
+3
-0
AbstractSQLAnywhereDriver.php
lib/Doctrine/DBAL/Driver/AbstractSQLAnywhereDriver.php
+2
-0
AbstractSQLServerDriver.php
lib/Doctrine/DBAL/Driver/AbstractSQLServerDriver.php
+2
-0
AbstractSQLiteDriver.php
lib/Doctrine/DBAL/Driver/AbstractSQLiteDriver.php
+1
-0
DB2Connection.php
lib/Doctrine/DBAL/Driver/IBMDB2/DB2Connection.php
+17
-0
DB2Statement.php
lib/Doctrine/DBAL/Driver/IBMDB2/DB2Statement.php
+24
-0
MysqliConnection.php
lib/Doctrine/DBAL/Driver/Mysqli/MysqliConnection.php
+13
-0
MysqliStatement.php
lib/Doctrine/DBAL/Driver/Mysqli/MysqliStatement.php
+5
-0
Driver.php
lib/Doctrine/DBAL/Driver/OCI8/Driver.php
+1
-0
OCI8Connection.php
lib/Doctrine/DBAL/Driver/OCI8/OCI8Connection.php
+18
-0
OCI8Statement.php
lib/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php
+30
-0
PDOConnection.php
lib/Doctrine/DBAL/Driver/PDOConnection.php
+2
-0
Driver.php
lib/Doctrine/DBAL/Driver/PDOPgSql/Driver.php
+1
-0
Driver.php
lib/Doctrine/DBAL/Driver/PDOSqlite/Driver.php
+1
-0
Connection.php
lib/Doctrine/DBAL/Driver/PDOSqlsrv/Connection.php
+2
-0
Driver.php
lib/Doctrine/DBAL/Driver/SQLAnywhere/Driver.php
+3
-0
SQLAnywhereConnection.php
...octrine/DBAL/Driver/SQLAnywhere/SQLAnywhereConnection.php
+15
-0
SQLAnywhereException.php
...Doctrine/DBAL/Driver/SQLAnywhere/SQLAnywhereException.php
+6
-0
SQLAnywhereStatement.php
...Doctrine/DBAL/Driver/SQLAnywhere/SQLAnywhereStatement.php
+25
-0
SQLSrvConnection.php
lib/Doctrine/DBAL/Driver/SQLSrv/SQLSrvConnection.php
+15
-0
SQLSrvException.php
lib/Doctrine/DBAL/Driver/SQLSrv/SQLSrvException.php
+3
-0
SQLSrvStatement.php
lib/Doctrine/DBAL/Driver/SQLSrv/SQLSrvStatement.php
+23
-0
DriverManager.php
lib/Doctrine/DBAL/DriverManager.php
+12
-0
OracleSessionInit.php
lib/Doctrine/DBAL/Event/Listeners/OracleSessionInit.php
+4
-0
SchemaAlterTableAddColumnEventArgs.php
...octrine/DBAL/Event/SchemaAlterTableAddColumnEventArgs.php
+2
-0
SchemaAlterTableChangeColumnEventArgs.php
...rine/DBAL/Event/SchemaAlterTableChangeColumnEventArgs.php
+2
-0
SchemaAlterTableEventArgs.php
lib/Doctrine/DBAL/Event/SchemaAlterTableEventArgs.php
+2
-0
SchemaAlterTableRemoveColumnEventArgs.php
...rine/DBAL/Event/SchemaAlterTableRemoveColumnEventArgs.php
+2
-0
SchemaAlterTableRenameColumnEventArgs.php
...rine/DBAL/Event/SchemaAlterTableRenameColumnEventArgs.php
+2
-0
SchemaCreateTableColumnEventArgs.php
lib/Doctrine/DBAL/Event/SchemaCreateTableColumnEventArgs.php
+2
-0
SchemaCreateTableEventArgs.php
lib/Doctrine/DBAL/Event/SchemaCreateTableEventArgs.php
+2
-0
SchemaDropTableEventArgs.php
lib/Doctrine/DBAL/Event/SchemaDropTableEventArgs.php
+1
-0
TableGenerator.php
lib/Doctrine/DBAL/Id/TableGenerator.php
+2
-0
DebugStack.php
lib/Doctrine/DBAL/Logging/DebugStack.php
+2
-0
EchoSQLLogger.php
lib/Doctrine/DBAL/Logging/EchoSQLLogger.php
+3
-0
AbstractPlatform.php
lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
+19
-0
DB2Platform.php
lib/Doctrine/DBAL/Platforms/DB2Platform.php
+8
-0
DrizzlePlatform.php
lib/Doctrine/DBAL/Platforms/DrizzlePlatform.php
+13
-0
KeywordList.php
lib/Doctrine/DBAL/Platforms/Keywords/KeywordList.php
+4
-0
PostgreSQL92Keywords.php
...Doctrine/DBAL/Platforms/Keywords/PostgreSQL92Keywords.php
+2
-0
PostgreSQL94Keywords.php
...Doctrine/DBAL/Platforms/Keywords/PostgreSQL94Keywords.php
+3
-0
ReservedKeywordsValidator.php
...ine/DBAL/Platforms/Keywords/ReservedKeywordsValidator.php
+2
-0
SQLAnywhere11Keywords.php
...octrine/DBAL/Platforms/Keywords/SQLAnywhere11Keywords.php
+3
-0
SQLAnywhere12Keywords.php
...octrine/DBAL/Platforms/Keywords/SQLAnywhere12Keywords.php
+3
-0
SQLAnywhere16Keywords.php
...octrine/DBAL/Platforms/Keywords/SQLAnywhere16Keywords.php
+2
-0
SQLServer2005Keywords.php
...octrine/DBAL/Platforms/Keywords/SQLServer2005Keywords.php
+3
-0
SQLServer2008Keywords.php
...octrine/DBAL/Platforms/Keywords/SQLServer2008Keywords.php
+2
-0
SQLServer2012Keywords.php
...octrine/DBAL/Platforms/Keywords/SQLServer2012Keywords.php
+2
-0
MySqlPlatform.php
lib/Doctrine/DBAL/Platforms/MySqlPlatform.php
+15
-0
OraclePlatform.php
lib/Doctrine/DBAL/Platforms/OraclePlatform.php
+11
-0
PostgreSQL91Platform.php
lib/Doctrine/DBAL/Platforms/PostgreSQL91Platform.php
+2
-0
PostgreSqlPlatform.php
lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php
+16
-0
SQLAnywherePlatform.php
lib/Doctrine/DBAL/Platforms/SQLAnywherePlatform.php
+14
-0
SQLServer2012Platform.php
lib/Doctrine/DBAL/Platforms/SQLServer2012Platform.php
+4
-0
SQLServerPlatform.php
lib/Doctrine/DBAL/Platforms/SQLServerPlatform.php
+21
-0
SqlitePlatform.php
lib/Doctrine/DBAL/Platforms/SqlitePlatform.php
+11
-0
Connection.php
lib/Doctrine/DBAL/Portability/Connection.php
+3
-0
Statement.php
lib/Doctrine/DBAL/Portability/Statement.php
+4
-0
CompositeExpression.php
lib/Doctrine/DBAL/Query/Expression/CompositeExpression.php
+3
-0
ExpressionBuilder.php
lib/Doctrine/DBAL/Query/Expression/ExpressionBuilder.php
+2
-0
QueryBuilder.php
lib/Doctrine/DBAL/Query/QueryBuilder.php
+12
-0
QueryException.php
lib/Doctrine/DBAL/Query/QueryException.php
+1
-0
SQLParserUtils.php
lib/Doctrine/DBAL/SQLParserUtils.php
+16
-0
SQLParserUtilsException.php
lib/Doctrine/DBAL/SQLParserUtilsException.php
+2
-0
AbstractAsset.php
lib/Doctrine/DBAL/Schema/AbstractAsset.php
+10
-0
AbstractSchemaManager.php
lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php
+11
-0
Column.php
lib/Doctrine/DBAL/Schema/Column.php
+6
-0
ColumnDiff.php
lib/Doctrine/DBAL/Schema/ColumnDiff.php
+2
-0
Comparator.php
lib/Doctrine/DBAL/Schema/Comparator.php
+9
-0
DB2SchemaManager.php
lib/Doctrine/DBAL/Schema/DB2SchemaManager.php
+7
-0
DrizzleSchemaManager.php
lib/Doctrine/DBAL/Schema/DrizzleSchemaManager.php
+3
-0
ForeignKeyConstraint.php
lib/Doctrine/DBAL/Schema/ForeignKeyConstraint.php
+8
-0
Index.php
lib/Doctrine/DBAL/Schema/Index.php
+6
-0
MySqlSchemaManager.php
lib/Doctrine/DBAL/Schema/MySqlSchemaManager.php
+12
-0
OracleSchemaManager.php
lib/Doctrine/DBAL/Schema/OracleSchemaManager.php
+10
-0
PostgreSqlSchemaManager.php
lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php
+17
-0
SQLAnywhereSchemaManager.php
lib/Doctrine/DBAL/Schema/SQLAnywhereSchemaManager.php
+1
-0
SQLServerSchemaManager.php
lib/Doctrine/DBAL/Schema/SQLServerSchemaManager.php
+8
-0
Schema.php
lib/Doctrine/DBAL/Schema/Schema.php
+3
-0
SchemaDiff.php
lib/Doctrine/DBAL/Schema/SchemaDiff.php
+1
-0
SchemaException.php
lib/Doctrine/DBAL/Schema/SchemaException.php
+3
-0
Sequence.php
lib/Doctrine/DBAL/Schema/Sequence.php
+3
-0
SqliteSchemaManager.php
lib/Doctrine/DBAL/Schema/SqliteSchemaManager.php
+19
-0
SingleDatabaseSynchronizer.php
...e/DBAL/Schema/Synchronizer/SingleDatabaseSynchronizer.php
+1
-0
Table.php
lib/Doctrine/DBAL/Schema/Table.php
+9
-0
CreateSchemaSqlCollector.php
...Doctrine/DBAL/Schema/Visitor/CreateSchemaSqlCollector.php
+1
-0
DropSchemaSqlCollector.php
lib/Doctrine/DBAL/Schema/Visitor/DropSchemaSqlCollector.php
+1
-0
Graphviz.php
lib/Doctrine/DBAL/Schema/Visitor/Graphviz.php
+6
-0
PoolingShardConnection.php
lib/Doctrine/DBAL/Sharding/PoolingShardConnection.php
+3
-0
SQLAzureFederationsSynchronizer.php
...BAL/Sharding/SQLAzure/SQLAzureFederationsSynchronizer.php
+1
-0
SQLAzureShardManager.php
lib/Doctrine/DBAL/Sharding/SQLAzure/SQLAzureShardManager.php
+3
-0
MultiTenantVisitor.php
...rine/DBAL/Sharding/SQLAzure/Schema/MultiTenantVisitor.php
+1
-0
Statement.php
lib/Doctrine/DBAL/Statement.php
+2
-0
ImportCommand.php
lib/Doctrine/DBAL/Tools/Console/Command/ImportCommand.php
+6
-0
ReservedWordsCommand.php
...trine/DBAL/Tools/Console/Command/ReservedWordsCommand.php
+3
-0
RunSqlCommand.php
lib/Doctrine/DBAL/Tools/Console/Command/RunSqlCommand.php
+4
-0
ArrayType.php
lib/Doctrine/DBAL/Types/ArrayType.php
+4
-0
BinaryType.php
lib/Doctrine/DBAL/Types/BinaryType.php
+5
-0
BlobType.php
lib/Doctrine/DBAL/Types/BlobType.php
+5
-0
ConversionException.php
lib/Doctrine/DBAL/Types/ConversionException.php
+9
-0
DateTimeType.php
lib/Doctrine/DBAL/Types/DateTimeType.php
+1
-0
JsonArrayType.php
lib/Doctrine/DBAL/Types/JsonArrayType.php
+3
-0
JsonType.php
lib/Doctrine/DBAL/Types/JsonType.php
+7
-0
ObjectType.php
lib/Doctrine/DBAL/Types/ObjectType.php
+4
-0
SimpleArrayType.php
lib/Doctrine/DBAL/Types/SimpleArrayType.php
+4
-0
TextType.php
lib/Doctrine/DBAL/Types/TextType.php
+2
-0
Type.php
lib/Doctrine/DBAL/Types/Type.php
+4
-0
VarDateTimeImmutableType.php
lib/Doctrine/DBAL/Types/VarDateTimeImmutableType.php
+1
-0
VarDateTimeType.php
lib/Doctrine/DBAL/Types/VarDateTimeType.php
+1
-0
Version.php
lib/Doctrine/DBAL/Version.php
+4
-0
ConnectionTest.php
tests/Doctrine/Tests/DBAL/ConnectionTest.php
+1
-0
DBALExceptionTest.php
tests/Doctrine/Tests/DBAL/DBALExceptionTest.php
+3
-0
AbstractDriverTest.php
tests/Doctrine/Tests/DBAL/Driver/AbstractDriverTest.php
+2
-0
DB2ConnectionTest.php
...s/Doctrine/Tests/DBAL/Driver/IBMDB2/DB2ConnectionTest.php
+1
-0
MysqliConnectionTest.php
...octrine/Tests/DBAL/Driver/Mysqli/MysqliConnectionTest.php
+3
-0
OCI8ConnectionTest.php
tests/Doctrine/Tests/DBAL/Driver/OCI8/OCI8ConnectionTest.php
+1
-0
OCI8StatementTest.php
tests/Doctrine/Tests/DBAL/Driver/OCI8/OCI8StatementTest.php
+1
-0
PDOExceptionTest.php
tests/Doctrine/Tests/DBAL/Driver/PDOExceptionTest.php
+1
-0
DriverTest.php
tests/Doctrine/Tests/DBAL/Driver/PDOPgSql/DriverTest.php
+1
-0
SQLAnywhereConnectionTest.php
...sts/DBAL/Driver/SQLAnywhere/SQLAnywhereConnectionTest.php
+1
-0
SQLSrvConnectionTest.php
...octrine/Tests/DBAL/Driver/SQLSrv/SQLSrvConnectionTest.php
+1
-0
DriverManagerTest.php
tests/Doctrine/Tests/DBAL/DriverManagerTest.php
+3
-0
OracleSessionInitTest.php
tests/Doctrine/Tests/DBAL/Events/OracleSessionInitTest.php
+1
-0
BlobTest.php
tests/Doctrine/Tests/DBAL/Functional/BlobTest.php
+3
-0
ConnectionTest.php
tests/Doctrine/Tests/DBAL/Functional/ConnectionTest.php
+1
-0
DataAccessTest.php
tests/Doctrine/Tests/DBAL/Functional/DataAccessTest.php
+12
-0
DB2DriverTest.php
...ine/Tests/DBAL/Functional/Driver/IBMDB2/DB2DriverTest.php
+1
-0
DB2StatementTest.php
.../Tests/DBAL/Functional/Driver/IBMDB2/DB2StatementTest.php
+1
-0
ConnectionTest.php
...ne/Tests/DBAL/Functional/Driver/Mysqli/ConnectionTest.php
+1
-0
DriverTest.php
...ctrine/Tests/DBAL/Functional/Driver/Mysqli/DriverTest.php
+1
-0
DriverTest.php
...Doctrine/Tests/DBAL/Functional/Driver/OCI8/DriverTest.php
+1
-0
OCI8ConnectionTest.php
.../Tests/DBAL/Functional/Driver/OCI8/OCI8ConnectionTest.php
+1
-0
StatementTest.php
...trine/Tests/DBAL/Functional/Driver/OCI8/StatementTest.php
+1
-0
PDOConnectionTest.php
...ctrine/Tests/DBAL/Functional/Driver/PDOConnectionTest.php
+2
-0
DriverTest.php
...rine/Tests/DBAL/Functional/Driver/PDOMySql/DriverTest.php
+1
-0
DriverTest.php
...ine/Tests/DBAL/Functional/Driver/PDOOracle/DriverTest.php
+1
-0
DriverTest.php
...rine/Tests/DBAL/Functional/Driver/PDOPgSql/DriverTest.php
+4
-0
PDOPgsqlConnectionTest.php
...e/Tests/DBAL/Functional/Driver/PDOPgsqlConnectionTest.php
+1
-0
DriverTest.php
...ine/Tests/DBAL/Functional/Driver/PDOSqlite/DriverTest.php
+1
-0
Driver.php
...octrine/Tests/DBAL/Functional/Driver/PDOSqlsrv/Driver.php
+1
-0
ConnectionTest.php
...sts/DBAL/Functional/Driver/SQLAnywhere/ConnectionTest.php
+1
-0
DriverTest.php
...e/Tests/DBAL/Functional/Driver/SQLAnywhere/DriverTest.php
+1
-0
StatementTest.php
...ests/DBAL/Functional/Driver/SQLAnywhere/StatementTest.php
+1
-0
Driver.php
...s/Doctrine/Tests/DBAL/Functional/Driver/SQLSrv/Driver.php
+1
-0
StatementTest.php
...ine/Tests/DBAL/Functional/Driver/SQLSrv/StatementTest.php
+1
-0
ExceptionTest.php
tests/Doctrine/Tests/DBAL/Functional/ExceptionTest.php
+8
-0
MasterSlaveConnectionTest.php
...trine/Tests/DBAL/Functional/MasterSlaveConnectionTest.php
+6
-0
ModifyLimitQueryTest.php
...s/Doctrine/Tests/DBAL/Functional/ModifyLimitQueryTest.php
+3
-0
NamedParametersTest.php
tests/Doctrine/Tests/DBAL/Functional/NamedParametersTest.php
+2
-0
PortabilityTest.php
tests/Doctrine/Tests/DBAL/Functional/PortabilityTest.php
+1
-0
ResultCacheTest.php
tests/Doctrine/Tests/DBAL/Functional/ResultCacheTest.php
+6
-0
MySqlSchemaManagerTest.php
...e/Tests/DBAL/Functional/Schema/MySqlSchemaManagerTest.php
+1
-0
OracleSchemaManagerTest.php
.../Tests/DBAL/Functional/Schema/OracleSchemaManagerTest.php
+1
-0
PostgreSqlSchemaManagerTest.php
...ts/DBAL/Functional/Schema/PostgreSqlSchemaManagerTest.php
+4
-0
SQLServerSchemaManagerTest.php
...sts/DBAL/Functional/Schema/SQLServerSchemaManagerTest.php
+1
-0
SchemaManagerFunctionalTestCase.php
...BAL/Functional/Schema/SchemaManagerFunctionalTestCase.php
+14
-0
SqliteSchemaManagerTest.php
.../Tests/DBAL/Functional/Schema/SqliteSchemaManagerTest.php
+4
-0
StatementTest.php
tests/Doctrine/Tests/DBAL/Functional/StatementTest.php
+2
-0
DBAL421Test.php
tests/Doctrine/Tests/DBAL/Functional/Ticket/DBAL421Test.php
+2
-0
DBAL630Test.php
tests/Doctrine/Tests/DBAL/Functional/Ticket/DBAL630Test.php
+1
-0
DBAL752Test.php
tests/Doctrine/Tests/DBAL/Functional/Ticket/DBAL752Test.php
+1
-0
TypeConversionTest.php
tests/Doctrine/Tests/DBAL/Functional/TypeConversionTest.php
+1
-0
WriteTest.php
tests/Doctrine/Tests/DBAL/Functional/WriteTest.php
+2
-0
AbstractMySQLPlatformTestCase.php
...ne/Tests/DBAL/Platforms/AbstractMySQLPlatformTestCase.php
+1
-0
AbstractPlatformTestCase.php
...octrine/Tests/DBAL/Platforms/AbstractPlatformTestCase.php
+4
-0
OraclePlatformTest.php
tests/Doctrine/Tests/DBAL/Platforms/OraclePlatformTest.php
+4
-0
SQLAnywherePlatformTest.php
...Doctrine/Tests/DBAL/Platforms/SQLAnywherePlatformTest.php
+3
-0
ComparatorTest.php
tests/Doctrine/Tests/DBAL/Schema/ComparatorTest.php
+1
-0
MySqlInheritCharsetTest.php
tests/Doctrine/Tests/DBAL/Schema/MySqlInheritCharsetTest.php
+1
-0
MySqlSchemaManagerTest.php
tests/Doctrine/Tests/DBAL/Schema/MySqlSchemaManagerTest.php
+1
-0
SchemaTest.php
tests/Doctrine/Tests/DBAL/Schema/SchemaTest.php
+2
-0
TableTest.php
tests/Doctrine/Tests/DBAL/Schema/TableTest.php
+2
-0
RemoveNamespacedAssetsTest.php
.../Tests/DBAL/Schema/Visitor/RemoveNamespacedAssetsTest.php
+1
-0
AbstractTestCase.php
...octrine/Tests/DBAL/Sharding/SQLAzure/AbstractTestCase.php
+1
-0
FunctionalTest.php
.../Doctrine/Tests/DBAL/Sharding/SQLAzure/FunctionalTest.php
+1
-0
ArrayTest.php
tests/Doctrine/Tests/DBAL/Types/ArrayTest.php
+4
-0
BaseDateTypeTestCase.php
tests/Doctrine/Tests/DBAL/Types/BaseDateTypeTestCase.php
+2
-0
BinaryTest.php
tests/Doctrine/Tests/DBAL/Types/BinaryTest.php
+3
-0
BlobTest.php
tests/Doctrine/Tests/DBAL/Types/BlobTest.php
+4
-0
ConversionExceptionTest.php
tests/Doctrine/Tests/DBAL/Types/ConversionExceptionTest.php
+1
-0
DateImmutableTypeTest.php
tests/Doctrine/Tests/DBAL/Types/DateImmutableTypeTest.php
+1
-0
DateTest.php
tests/Doctrine/Tests/DBAL/Types/DateTest.php
+1
-0
DateTimeImmutableTypeTest.php
...s/Doctrine/Tests/DBAL/Types/DateTimeImmutableTypeTest.php
+1
-0
DateTimeTzImmutableTypeTest.php
...Doctrine/Tests/DBAL/Types/DateTimeTzImmutableTypeTest.php
+1
-0
GuidTypeTest.php
tests/Doctrine/Tests/DBAL/Types/GuidTypeTest.php
+1
-0
JsonArrayTest.php
tests/Doctrine/Tests/DBAL/Types/JsonArrayTest.php
+3
-0
JsonTest.php
tests/Doctrine/Tests/DBAL/Types/JsonTest.php
+3
-0
ObjectTest.php
tests/Doctrine/Tests/DBAL/Types/ObjectTest.php
+4
-0
TimeImmutableTypeTest.php
tests/Doctrine/Tests/DBAL/Types/TimeImmutableTypeTest.php
+1
-0
DbalFunctionalTestCase.php
tests/Doctrine/Tests/DbalFunctionalTestCase.php
+10
-0
DbalPerformanceTestCase.php
tests/Doctrine/Tests/DbalPerformanceTestCase.php
+1
-0
DbalPerformanceTestListener.php
tests/Doctrine/Tests/DbalPerformanceTestListener.php
+3
-0
ConnectionMock.php
tests/Doctrine/Tests/Mocks/ConnectionMock.php
+1
-0
TestUtil.php
tests/Doctrine/Tests/TestUtil.php
+3
-0
CommentedType.php
tests/Doctrine/Tests/Types/CommentedType.php
+1
-0
MySqlPointType.php
tests/Doctrine/Tests/Types/MySqlPointType.php
+1
-0
No files found.
lib/Doctrine/DBAL/Cache/ArrayStatement.php
View file @
9f3188ab
...
...
@@ -21,6 +21,10 @@ namespace Doctrine\DBAL\Cache;
use
Doctrine\DBAL\Driver\ResultStatement
;
use
Doctrine\DBAL\FetchMode
;
use
function
array_merge
;
use
function
array_values
;
use
function
count
;
use
function
reset
;
class
ArrayStatement
implements
\IteratorAggregate
,
ResultStatement
{
...
...
lib/Doctrine/DBAL/Cache/ResultCacheStatement.php
View file @
9f3188ab
...
...
@@ -23,6 +23,9 @@ use Doctrine\DBAL\Driver\Statement;
use
Doctrine\DBAL\Driver\ResultStatement
;
use
Doctrine\Common\Cache\Cache
;
use
Doctrine\DBAL\FetchMode
;
use
function
array_merge
;
use
function
array_values
;
use
function
reset
;
/**
* Cache statement for SQL results.
...
...
lib/Doctrine/DBAL/Connection.php
View file @
9f3188ab
...
...
@@ -32,6 +32,13 @@ use Doctrine\DBAL\Cache\ArrayStatement;
use
Doctrine\DBAL\Cache\CacheException
;
use
Doctrine\DBAL\Driver\PingableConnection
;
use
Throwable
;
use
function
array_key_exists
;
use
function
array_merge
;
use
function
func_get_args
;
use
function
implode
;
use
function
is_int
;
use
function
is_string
;
use
function
key
;
/**
* A wrapper around a Doctrine\DBAL\Driver\Connection that adds features like
...
...
lib/Doctrine/DBAL/Connections/MasterSlaveConnection.php
View file @
9f3188ab
...
...
@@ -25,6 +25,9 @@ use Doctrine\DBAL\Configuration;
use
Doctrine\Common\EventManager
;
use
Doctrine\DBAL\Event\ConnectionEventArgs
;
use
Doctrine\DBAL\Events
;
use
function
array_rand
;
use
function
count
;
use
function
func_get_args
;
/**
* Master-Slave Connection
...
...
lib/Doctrine/DBAL/DBALException.php
View file @
9f3188ab
...
...
@@ -23,6 +23,14 @@ use Doctrine\DBAL\Exception;
use
Doctrine\DBAL\Driver
;
use
Doctrine\DBAL\Driver\ExceptionConverterDriver
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
function
array_map
;
use
function
bin2hex
;
use
function
implode
;
use
function
is_resource
;
use
function
is_string
;
use
function
json_encode
;
use
function
sprintf
;
use
function
str_split
;
class
DBALException
extends
\Exception
{
...
...
lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php
View file @
9f3188ab
...
...
@@ -27,6 +27,9 @@ use Doctrine\DBAL\Platforms\MySQL57Platform;
use
Doctrine\DBAL\Platforms\MySqlPlatform
;
use
Doctrine\DBAL\Schema\MySqlSchemaManager
;
use
Doctrine\DBAL\VersionAwarePlatformDriver
;
use
function
preg_match
;
use
function
stripos
;
use
function
version_compare
;
/**
* Abstract base implementation of the {@link Doctrine\DBAL\Driver} interface for MySQL based drivers.
...
...
lib/Doctrine/DBAL/Driver/AbstractPostgreSQLDriver.php
View file @
9f3188ab
...
...
@@ -29,6 +29,9 @@ use Doctrine\DBAL\Platforms\PostgreSQL94Platform;
use
Doctrine\DBAL\Platforms\PostgreSqlPlatform
;
use
Doctrine\DBAL\Schema\PostgreSqlSchemaManager
;
use
Doctrine\DBAL\VersionAwarePlatformDriver
;
use
function
preg_match
;
use
function
strpos
;
use
function
version_compare
;
/**
* Abstract base implementation of the {@link Doctrine\DBAL\Driver} interface for PostgreSQL based drivers.
...
...
lib/Doctrine/DBAL/Driver/AbstractSQLAnywhereDriver.php
View file @
9f3188ab
...
...
@@ -28,6 +28,8 @@ use Doctrine\DBAL\Platforms\SQLAnywhere16Platform;
use
Doctrine\DBAL\Platforms\SQLAnywherePlatform
;
use
Doctrine\DBAL\Schema\SQLAnywhereSchemaManager
;
use
Doctrine\DBAL\VersionAwarePlatformDriver
;
use
function
preg_match
;
use
function
version_compare
;
/**
* Abstract base implementation of the {@link Doctrine\DBAL\Driver} interface for SAP Sybase SQL Anywhere based drivers.
...
...
lib/Doctrine/DBAL/Driver/AbstractSQLServerDriver.php
View file @
9f3188ab
...
...
@@ -27,6 +27,8 @@ use Doctrine\DBAL\Platforms\SQLServer2012Platform;
use
Doctrine\DBAL\Platforms\SQLServerPlatform
;
use
Doctrine\DBAL\Schema\SQLServerSchemaManager
;
use
Doctrine\DBAL\VersionAwarePlatformDriver
;
use
function
preg_match
;
use
function
version_compare
;
/**
* Abstract base implementation of the {@link Doctrine\DBAL\Driver} interface for Microsoft SQL Server based drivers.
...
...
lib/Doctrine/DBAL/Driver/AbstractSQLiteDriver.php
View file @
9f3188ab
...
...
@@ -23,6 +23,7 @@ use Doctrine\DBAL\Driver;
use
Doctrine\DBAL\Exception
;
use
Doctrine\DBAL\Platforms\SqlitePlatform
;
use
Doctrine\DBAL\Schema\SqliteSchemaManager
;
use
function
strpos
;
/**
* Abstract base implementation of the {@link Doctrine\DBAL\Driver} interface for SQLite based drivers.
...
...
lib/Doctrine/DBAL/Driver/IBMDB2/DB2Connection.php
View file @
9f3188ab
...
...
@@ -22,6 +22,23 @@ namespace Doctrine\DBAL\Driver\IBMDB2;
use
Doctrine\DBAL\Driver\Connection
;
use
Doctrine\DBAL\Driver\ServerInfoAwareConnection
;
use
Doctrine\DBAL\ParameterType
;
use
const
DB2_AUTOCOMMIT_OFF
;
use
const
DB2_AUTOCOMMIT_ON
;
use
function
db2_autocommit
;
use
function
db2_commit
;
use
function
db2_conn_error
;
use
function
db2_conn_errormsg
;
use
function
db2_connect
;
use
function
db2_escape_string
;
use
function
db2_exec
;
use
function
db2_last_insert_id
;
use
function
db2_num_rows
;
use
function
db2_pconnect
;
use
function
db2_prepare
;
use
function
db2_rollback
;
use
function
db2_server_info
;
use
function
db2_stmt_errormsg
;
use
function
func_get_args
;
class
DB2Connection
implements
Connection
,
ServerInfoAwareConnection
{
...
...
lib/Doctrine/DBAL/Driver/IBMDB2/DB2Statement.php
View file @
9f3188ab
...
...
@@ -23,6 +23,30 @@ use Doctrine\DBAL\Driver\Statement;
use
Doctrine\DBAL\Driver\StatementIterator
;
use
Doctrine\DBAL\FetchMode
;
use
Doctrine\DBAL\ParameterType
;
use
const
DB2_CHAR
;
use
const
DB2_LONG
;
use
const
DB2_PARAM_IN
;
use
function
array_change_key_case
;
use
function
call_user_func_array
;
use
function
db2_bind_param
;
use
function
db2_execute
;
use
function
db2_fetch_array
;
use
function
db2_fetch_assoc
;
use
function
db2_fetch_both
;
use
function
db2_fetch_object
;
use
function
db2_free_result
;
use
function
db2_num_fields
;
use
function
db2_num_rows
;
use
function
db2_stmt_error
;
use
function
db2_stmt_errormsg
;
use
function
func_get_args
;
use
function
func_num_args
;
use
function
gettype
;
use
function
is_object
;
use
function
is_string
;
use
function
ksort
;
use
function
sprintf
;
use
function
strtolower
;
class
DB2Statement
implements
\IteratorAggregate
,
Statement
{
...
...
lib/Doctrine/DBAL/Driver/Mysqli/MysqliConnection.php
View file @
9f3188ab
...
...
@@ -23,6 +23,19 @@ use Doctrine\DBAL\Driver\Connection as Connection;
use
Doctrine\DBAL\Driver\PingableConnection
;
use
Doctrine\DBAL\Driver\ServerInfoAwareConnection
;
use
Doctrine\DBAL\ParameterType
;
use
function
defined
;
use
function
floor
;
use
function
func_get_args
;
use
function
in_array
;
use
function
ini_get
;
use
function
mysqli_errno
;
use
function
mysqli_error
;
use
function
mysqli_init
;
use
function
mysqli_options
;
use
function
restore_error_handler
;
use
function
set_error_handler
;
use
function
sprintf
;
use
function
stripos
;
/**
* @author Kim Hemsø Rasmussen <kimhemsoe@gmail.com>
...
...
lib/Doctrine/DBAL/Driver/Mysqli/MysqliStatement.php
View file @
9f3188ab
...
...
@@ -23,6 +23,11 @@ use Doctrine\DBAL\Driver\Statement;
use
Doctrine\DBAL\Driver\StatementIterator
;
use
Doctrine\DBAL\FetchMode
;
use
Doctrine\DBAL\ParameterType
;
use
function
array_combine
;
use
function
array_fill
;
use
function
call_user_func_array
;
use
function
count
;
use
function
str_repeat
;
/**
* @author Kim Hemsø Rasmussen <kimhemsoe@gmail.com>
...
...
lib/Doctrine/DBAL/Driver/OCI8/Driver.php
View file @
9f3188ab
...
...
@@ -21,6 +21,7 @@ namespace Doctrine\DBAL\Driver\OCI8;
use
Doctrine\DBAL\DBALException
;
use
Doctrine\DBAL\Driver\AbstractOracleDriver
;
use
const
OCI_DEFAULT
;
/**
* A Doctrine DBAL driver for the Oracle OCI8 PHP extensions.
...
...
lib/Doctrine/DBAL/Driver/OCI8/OCI8Connection.php
View file @
9f3188ab
...
...
@@ -22,6 +22,24 @@ namespace Doctrine\DBAL\Driver\OCI8;
use
Doctrine\DBAL\Driver\Connection
;
use
Doctrine\DBAL\Driver\ServerInfoAwareConnection
;
use
Doctrine\DBAL\ParameterType
;
use
const
OCI_COMMIT_ON_SUCCESS
;
use
const
OCI_DEFAULT
;
use
const
OCI_NO_AUTO_COMMIT
;
use
function
addcslashes
;
use
function
define
;
use
function
defined
;
use
function
func_get_args
;
use
function
is_float
;
use
function
is_int
;
use
function
oci_commit
;
use
function
oci_connect
;
use
function
oci_error
;
use
function
oci_pconnect
;
use
function
oci_rollback
;
use
function
oci_server_version
;
use
function
preg_match
;
use
function
sprintf
;
use
function
str_replace
;
/**
* OCI8 implementation of the Connection interface.
...
...
lib/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php
View file @
9f3188ab
...
...
@@ -24,6 +24,36 @@ use Doctrine\DBAL\Driver\StatementIterator;
use
Doctrine\DBAL\FetchMode
;
use
Doctrine\DBAL\ParameterType
;
use
IteratorAggregate
;
use
const
OCI_ASSOC
;
use
const
OCI_B_BLOB
;
use
const
OCI_BOTH
;
use
const
OCI_D_LOB
;
use
const
OCI_FETCHSTATEMENT_BY_COLUMN
;
use
const
OCI_FETCHSTATEMENT_BY_ROW
;
use
const
OCI_NUM
;
use
const
OCI_RETURN_LOBS
;
use
const
OCI_RETURN_NULLS
;
use
const
OCI_TEMP_BLOB
;
use
const
PREG_OFFSET_CAPTURE
;
use
function
array_key_exists
;
use
function
count
;
use
function
implode
;
use
function
is_numeric
;
use
function
oci_bind_by_name
;
use
function
oci_cancel
;
use
function
oci_error
;
use
function
oci_execute
;
use
function
oci_fetch_all
;
use
function
oci_fetch_array
;
use
function
oci_fetch_object
;
use
function
oci_new_descriptor
;
use
function
oci_num_fields
;
use
function
oci_num_rows
;
use
function
oci_parse
;
use
function
preg_match
;
use
function
preg_quote
;
use
function
sprintf
;
use
function
substr
;
/**
* The OCI8 implementation of the Statement interface.
...
...
lib/Doctrine/DBAL/Driver/PDOConnection.php
View file @
9f3188ab
...
...
@@ -21,6 +21,8 @@ namespace Doctrine\DBAL\Driver;
use
Doctrine\DBAL\ParameterType
;
use
PDO
;
use
function
count
;
use
function
func_get_args
;
/**
* PDO implementation of the Connection interface.
...
...
lib/Doctrine/DBAL/Driver/PDOPgSql/Driver.php
View file @
9f3188ab
...
...
@@ -24,6 +24,7 @@ use Doctrine\DBAL\Driver\PDOConnection;
use
Doctrine\DBAL\DBALException
;
use
PDOException
;
use
PDO
;
use
function
defined
;
/**
* Driver that connects through pdo_pgsql.
...
...
lib/Doctrine/DBAL/Driver/PDOSqlite/Driver.php
View file @
9f3188ab
...
...
@@ -23,6 +23,7 @@ use Doctrine\DBAL\DBALException;
use
Doctrine\DBAL\Driver\AbstractSQLiteDriver
;
use
Doctrine\DBAL\Driver\PDOConnection
;
use
PDOException
;
use
function
array_merge
;
/**
* The PDO Sqlite driver.
...
...
lib/Doctrine/DBAL/Driver/PDOSqlsrv/Connection.php
View file @
9f3188ab
...
...
@@ -21,6 +21,8 @@ namespace Doctrine\DBAL\Driver\PDOSqlsrv;
use
Doctrine\DBAL\Driver\PDOConnection
;
use
Doctrine\DBAL\ParameterType
;
use
function
strpos
;
use
function
substr
;
/**
* Sqlsrv Connection implementation.
...
...
lib/Doctrine/DBAL/Driver/SQLAnywhere/Driver.php
View file @
9f3188ab
...
...
@@ -21,6 +21,9 @@ namespace Doctrine\DBAL\Driver\SQLAnywhere;
use
Doctrine\DBAL\DBALException
;
use
Doctrine\DBAL\Driver\AbstractSQLAnywhereDriver
;
use
function
array_keys
;
use
function
array_map
;
use
function
implode
;
/**
* A Doctrine DBAL driver for the SAP Sybase SQL Anywhere PHP extension.
...
...
lib/Doctrine/DBAL/Driver/SQLAnywhere/SQLAnywhereConnection.php
View file @
9f3188ab
...
...
@@ -22,6 +22,21 @@ namespace Doctrine\DBAL\Driver\SQLAnywhere;
use
Doctrine\DBAL\Driver\Connection
;
use
Doctrine\DBAL\Driver\ServerInfoAwareConnection
;
use
Doctrine\DBAL\ParameterType
;
use
function
func_get_args
;
use
function
is_float
;
use
function
is_int
;
use
function
is_resource
;
use
function
sasql_affected_rows
;
use
function
sasql_commit
;
use
function
sasql_connect
;
use
function
sasql_error
;
use
function
sasql_errorcode
;
use
function
sasql_escape_string
;
use
function
sasql_insert_id
;
use
function
sasql_pconnect
;
use
function
sasql_real_query
;
use
function
sasql_rollback
;
use
function
sasql_set_option
;
/**
* SAP Sybase SQL Anywhere implementation of the Connection interface.
...
...
lib/Doctrine/DBAL/Driver/SQLAnywhere/SQLAnywhereException.php
View file @
9f3188ab
...
...
@@ -20,6 +20,12 @@
namespace
Doctrine\DBAL\Driver\SQLAnywhere
;
use
Doctrine\DBAL\Driver\AbstractDriverException
;
use
function
is_resource
;
use
function
sasql_error
;
use
function
sasql_errorcode
;
use
function
sasql_sqlstate
;
use
function
sasql_stmt_errno
;
use
function
sasql_stmt_error
;
/**
* SAP Sybase SQL Anywhere driver exception.
...
...
lib/Doctrine/DBAL/Driver/SQLAnywhere/SQLAnywhereStatement.php
View file @
9f3188ab
...
...
@@ -24,6 +24,31 @@ use Doctrine\DBAL\Driver\StatementIterator;
use
Doctrine\DBAL\FetchMode
;
use
Doctrine\DBAL\ParameterType
;
use
IteratorAggregate
;
use
const
SASQL_BOTH
;
use
function
array_key_exists
;
use
function
call_user_func_array
;
use
function
func_get_args
;
use
function
func_num_args
;
use
function
gettype
;
use
function
is_array
;
use
function
is_numeric
;
use
function
is_object
;
use
function
is_resource
;
use
function
is_string
;
use
function
sasql_fetch_array
;
use
function
sasql_fetch_assoc
;
use
function
sasql_fetch_object
;
use
function
sasql_fetch_row
;
use
function
sasql_prepare
;
use
function
sasql_stmt_affected_rows
;
use
function
sasql_stmt_bind_param_ex
;
use
function
sasql_stmt_errno
;
use
function
sasql_stmt_error
;
use
function
sasql_stmt_execute
;
use
function
sasql_stmt_field_count
;
use
function
sasql_stmt_reset
;
use
function
sasql_stmt_result_metadata
;
use
function
sprintf
;
/**
* SAP SQL Anywhere implementation of the Statement interface.
...
...
lib/Doctrine/DBAL/Driver/SQLSrv/SQLSrvConnection.php
View file @
9f3188ab
...
...
@@ -22,6 +22,21 @@ namespace Doctrine\DBAL\Driver\SQLSrv;
use
Doctrine\DBAL\Driver\Connection
;
use
Doctrine\DBAL\Driver\ServerInfoAwareConnection
;
use
Doctrine\DBAL\ParameterType
;
use
const
SQLSRV_ERR_ERRORS
;
use
function
func_get_args
;
use
function
is_float
;
use
function
is_int
;
use
function
sprintf
;
use
function
sqlsrv_begin_transaction
;
use
function
sqlsrv_commit
;
use
function
sqlsrv_configure
;
use
function
sqlsrv_connect
;
use
function
sqlsrv_errors
;
use
function
sqlsrv_query
;
use
function
sqlsrv_rollback
;
use
function
sqlsrv_rows_affected
;
use
function
sqlsrv_server_info
;
use
function
str_replace
;
/**
* SQL Server implementation for the Connection interface.
...
...
lib/Doctrine/DBAL/Driver/SQLSrv/SQLSrvException.php
View file @
9f3188ab
...
...
@@ -21,6 +21,9 @@ namespace Doctrine\DBAL\Driver\SQLSrv;
use
Doctrine\DBAL\Driver\AbstractDriverException
;
use
const
SQLSRV_ERR_ERRORS
;
use
function
rtrim
;
use
function
sqlsrv_errors
;
class
SQLSrvException
extends
AbstractDriverException
{
...
...
lib/Doctrine/DBAL/Driver/SQLSrv/SQLSrvStatement.php
View file @
9f3188ab
...
...
@@ -24,7 +24,30 @@ use Doctrine\DBAL\FetchMode;
use
Doctrine\DBAL\ParameterType
;
use
IteratorAggregate
;
use
Doctrine\DBAL\Driver\Statement
;
use
const
SQLSRV_ENC_BINARY
;
use
const
SQLSRV_ERR_ERRORS
;
use
const
SQLSRV_FETCH_ASSOC
;
use
const
SQLSRV_FETCH_BOTH
;
use
const
SQLSRV_FETCH_NUMERIC
;
use
const
SQLSRV_PARAM_IN
;
use
function
array_key_exists
;
use
function
count
;
use
function
func_get_args
;
use
function
in_array
;
use
function
is_numeric
;
use
function
sqlsrv_errors
;
use
function
sqlsrv_execute
;
use
function
sqlsrv_fetch
;
use
function
sqlsrv_fetch_array
;
use
function
sqlsrv_fetch_object
;
use
function
sqlsrv_get_field
;
use
function
sqlsrv_next_result
;
use
function
sqlsrv_num_fields
;
use
function
SQLSRV_PHPTYPE_STREAM
;
use
function
sqlsrv_prepare
;
use
function
sqlsrv_rows_affected
;
use
function
SQLSRV_SQLTYPE_VARBINARY
;
use
function
stripos
;
/**
* SQL Server Statement.
...
...
lib/Doctrine/DBAL/DriverManager.php
View file @
9f3188ab
...
...
@@ -20,6 +20,18 @@
namespace
Doctrine\DBAL
;
use
Doctrine\Common\EventManager
;
use
function
array_keys
;
use
function
array_map
;
use
function
array_merge
;
use
function
class_implements
;
use
function
in_array
;
use
function
is_subclass_of
;
use
function
parse_str
;
use
function
parse_url
;
use
function
preg_replace
;
use
function
str_replace
;
use
function
strpos
;
use
function
substr
;
/**
* Factory for creating Doctrine\DBAL\Connection instances.
...
...
lib/Doctrine/DBAL/Event/Listeners/OracleSessionInit.php
View file @
9f3188ab
...
...
@@ -22,6 +22,10 @@ namespace Doctrine\DBAL\Event\Listeners;
use
Doctrine\DBAL\Event\ConnectionEventArgs
;
use
Doctrine\DBAL\Events
;
use
Doctrine\Common\EventSubscriber
;
use
function
array_change_key_case
;
use
function
array_merge
;
use
function
count
;
use
function
implode
;
/**
* Should be used when Oracle Server default environment does not match the Doctrine requirements.
...
...
lib/Doctrine/DBAL/Event/SchemaAlterTableAddColumnEventArgs.php
View file @
9f3188ab
...
...
@@ -22,6 +22,8 @@ namespace Doctrine\DBAL\Event;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Schema\Column
;
use
Doctrine\DBAL\Schema\TableDiff
;
use
function
array_merge
;
use
function
is_array
;
/**
* Event Arguments used when SQL queries for adding table columns are generated inside Doctrine\DBAL\Platform\*Platform.
...
...
lib/Doctrine/DBAL/Event/SchemaAlterTableChangeColumnEventArgs.php
View file @
9f3188ab
...
...
@@ -22,6 +22,8 @@ namespace Doctrine\DBAL\Event;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Schema\ColumnDiff
;
use
Doctrine\DBAL\Schema\TableDiff
;
use
function
array_merge
;
use
function
is_array
;
/**
* Event Arguments used when SQL queries for changing table columns are generated inside Doctrine\DBAL\Platform\*Platform.
...
...
lib/Doctrine/DBAL/Event/SchemaAlterTableEventArgs.php
View file @
9f3188ab
...
...
@@ -21,6 +21,8 @@ namespace Doctrine\DBAL\Event;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Schema\TableDiff
;
use
function
array_merge
;
use
function
is_array
;
/**
* Event Arguments used when SQL queries for creating tables are generated inside Doctrine\DBAL\Platform\*Platform.
...
...
lib/Doctrine/DBAL/Event/SchemaAlterTableRemoveColumnEventArgs.php
View file @
9f3188ab
...
...
@@ -22,6 +22,8 @@ namespace Doctrine\DBAL\Event;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Schema\Column
;
use
Doctrine\DBAL\Schema\TableDiff
;
use
function
array_merge
;
use
function
is_array
;
/**
* Event Arguments used when SQL queries for removing table columns are generated inside Doctrine\DBAL\Platform\*Platform.
...
...
lib/Doctrine/DBAL/Event/SchemaAlterTableRenameColumnEventArgs.php
View file @
9f3188ab
...
...
@@ -22,6 +22,8 @@ namespace Doctrine\DBAL\Event;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Schema\Column
;
use
Doctrine\DBAL\Schema\TableDiff
;
use
function
array_merge
;
use
function
is_array
;
/**
* Event Arguments used when SQL queries for renaming table columns are generated inside Doctrine\DBAL\Platform\*Platform.
...
...
lib/Doctrine/DBAL/Event/SchemaCreateTableColumnEventArgs.php
View file @
9f3188ab
...
...
@@ -22,6 +22,8 @@ namespace Doctrine\DBAL\Event;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Schema\Column
;
use
Doctrine\DBAL\Schema\Table
;
use
function
array_merge
;
use
function
is_array
;
/**
* Event Arguments used when SQL queries for creating table columns are generated inside Doctrine\DBAL\Platform\AbstractPlatform.
...
...
lib/Doctrine/DBAL/Event/SchemaCreateTableEventArgs.php
View file @
9f3188ab
...
...
@@ -21,6 +21,8 @@ namespace Doctrine\DBAL\Event;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Schema\Table
;
use
function
array_merge
;
use
function
is_array
;
/**
* Event Arguments used when SQL queries for creating tables are generated inside Doctrine\DBAL\Platform\AbstractPlatform.
...
...
lib/Doctrine/DBAL/Event/SchemaDropTableEventArgs.php
View file @
9f3188ab
...
...
@@ -21,6 +21,7 @@ namespace Doctrine\DBAL\Event;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Schema\Table
;
use
function
is_string
;
/**
* Event Arguments used when the SQL query for dropping tables are generated inside Doctrine\DBAL\Platform\AbstractPlatform.
...
...
lib/Doctrine/DBAL/Id/TableGenerator.php
View file @
9f3188ab
...
...
@@ -23,6 +23,8 @@ use Doctrine\DBAL\DriverManager;
use
Doctrine\DBAL\Connection
;
use
Doctrine\DBAL\FetchMode
;
use
Doctrine\DBAL\LockMode
;
use
const
CASE_LOWER
;
use
function
array_change_key_case
;
/**
* Table ID Generator for those poor languages that are missing sequences.
...
...
lib/Doctrine/DBAL/Logging/DebugStack.php
View file @
9f3188ab
...
...
@@ -19,6 +19,8 @@
namespace
Doctrine\DBAL\Logging
;
use
function
microtime
;
/**
* Includes executed SQLs in a Debug Stack.
*
...
...
lib/Doctrine/DBAL/Logging/EchoSQLLogger.php
View file @
9f3188ab
...
...
@@ -19,6 +19,9 @@
namespace
Doctrine\DBAL\Logging
;
use
const
PHP_EOL
;
use
function
var_dump
;
/**
* A SQL logger that logs to the standard output using echo/var_dump.
*
...
...
lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
View file @
9f3188ab
...
...
@@ -43,10 +43,29 @@ use Doctrine\DBAL\TransactionIsolationLevel;
use
Doctrine\DBAL\Types
;
use
Doctrine\DBAL\Types\Type
;
use
function
addcslashes
;
use
function
array_map
;
use
function
array_merge
;
use
function
array_unique
;
use
function
array_values
;
use
function
count
;
use
function
explode
;
use
function
func_get_args
;
use
function
get_class
;
use
function
implode
;
use
function
in_array
;
use
function
is_array
;
use
function
is_bool
;
use
function
is_int
;
use
function
is_string
;
use
function
join
;
use
function
preg_quote
;
use
function
preg_replace
;
use
function
sprintf
;
use
function
str_replace
;
use
function
strlen
;
use
function
strpos
;
use
function
strtolower
;
use
function
strtoupper
;
/**
* Base class for all DatabasePlatforms. The DatabasePlatforms are the central
...
...
lib/Doctrine/DBAL/Platforms/DB2Platform.php
View file @
9f3188ab
...
...
@@ -26,6 +26,14 @@ use Doctrine\DBAL\Schema\Index;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\Types\Type
;
use
function
array_merge
;
use
function
count
;
use
function
current
;
use
function
explode
;
use
function
implode
;
use
function
sprintf
;
use
function
strpos
;
use
function
strtoupper
;
class
DB2Platform
extends
AbstractPlatform
{
...
...
lib/Doctrine/DBAL/Platforms/DrizzlePlatform.php
View file @
9f3188ab
...
...
@@ -24,6 +24,19 @@ use Doctrine\DBAL\Schema\Index;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\Types\BinaryType
;
use
function
array_merge
;
use
function
array_unique
;
use
function
array_values
;
use
function
count
;
use
function
func_get_args
;
use
function
implode
;
use
function
is_array
;
use
function
is_bool
;
use
function
is_numeric
;
use
function
is_string
;
use
function
join
;
use
function
sprintf
;
use
function
trim
;
/**
* Drizzle platform
...
...
lib/Doctrine/DBAL/Platforms/Keywords/KeywordList.php
View file @
9f3188ab
...
...
@@ -19,6 +19,10 @@
namespace
Doctrine\DBAL\Platforms\Keywords
;
use
function
array_flip
;
use
function
array_map
;
use
function
strtoupper
;
/**
* Abstract interface for a SQL reserved keyword dictionary.
*
...
...
lib/Doctrine/DBAL/Platforms/Keywords/PostgreSQL92Keywords.php
View file @
9f3188ab
...
...
@@ -19,6 +19,8 @@
namespace
Doctrine\DBAL\Platforms\Keywords
;
use
function
array_merge
;
/**
* PostgreSQL 9.2 reserved keywords list.
*
...
...
lib/Doctrine/DBAL/Platforms/Keywords/PostgreSQL94Keywords.php
View file @
9f3188ab
...
...
@@ -19,6 +19,9 @@
namespace
Doctrine\DBAL\Platforms\Keywords
;
use
function
array_diff
;
use
function
array_merge
;
/**
* PostgreSQL 9.4 reserved keywords list.
*
...
...
lib/Doctrine/DBAL/Platforms/Keywords/ReservedKeywordsValidator.php
View file @
9f3188ab
...
...
@@ -26,6 +26,8 @@ use Doctrine\DBAL\Schema\ForeignKeyConstraint;
use
Doctrine\DBAL\Schema\Schema
;
use
Doctrine\DBAL\Schema\Sequence
;
use
Doctrine\DBAL\Schema\Index
;
use
function
implode
;
use
function
str_replace
;
class
ReservedKeywordsValidator
implements
Visitor
{
...
...
lib/Doctrine/DBAL/Platforms/Keywords/SQLAnywhere11Keywords.php
View file @
9f3188ab
...
...
@@ -19,6 +19,9 @@
namespace
Doctrine\DBAL\Platforms\Keywords
;
use
function
array_diff
;
use
function
array_merge
;
/**
* SAP Sybase SQL Anywhere 11 reserved keywords list.
*
...
...
lib/Doctrine/DBAL/Platforms/Keywords/SQLAnywhere12Keywords.php
View file @
9f3188ab
...
...
@@ -19,6 +19,9 @@
namespace
Doctrine\DBAL\Platforms\Keywords
;
use
function
array_diff
;
use
function
array_merge
;
/**
* SAP Sybase SQL Anywhere 12 reserved keywords list.
*
...
...
lib/Doctrine/DBAL/Platforms/Keywords/SQLAnywhere16Keywords.php
View file @
9f3188ab
...
...
@@ -19,6 +19,8 @@
namespace
Doctrine\DBAL\Platforms\Keywords
;
use
function
array_merge
;
/**
* SAP Sybase SQL Anywhere 16 reserved keywords list.
*
...
...
lib/Doctrine/DBAL/Platforms/Keywords/SQLServer2005Keywords.php
View file @
9f3188ab
...
...
@@ -19,6 +19,9 @@
namespace
Doctrine\DBAL\Platforms\Keywords
;
use
function
array_diff
;
use
function
array_merge
;
/**
* Microsoft SQL Server 2005 reserved keyword dictionary.
*
...
...
lib/Doctrine/DBAL/Platforms/Keywords/SQLServer2008Keywords.php
View file @
9f3188ab
...
...
@@ -19,6 +19,8 @@
namespace
Doctrine\DBAL\Platforms\Keywords
;
use
function
array_merge
;
/**
* Microsoft SQL Server 2008 reserved keyword dictionary.
*
...
...
lib/Doctrine/DBAL/Platforms/Keywords/SQLServer2012Keywords.php
View file @
9f3188ab
...
...
@@ -19,6 +19,8 @@
namespace
Doctrine\DBAL\Platforms\Keywords
;
use
function
array_merge
;
/**
* Microsoft SQL Server 2012 reserved keyword dictionary.
*
...
...
lib/Doctrine/DBAL/Platforms/MySqlPlatform.php
View file @
9f3188ab
...
...
@@ -26,6 +26,21 @@ use Doctrine\DBAL\Schema\TableDiff;
use
Doctrine\DBAL\TransactionIsolationLevel
;
use
Doctrine\DBAL\Types\BlobType
;
use
Doctrine\DBAL\Types\TextType
;
use
function
array_diff_key
;
use
function
array_merge
;
use
function
array_unique
;
use
function
array_values
;
use
function
count
;
use
function
func_get_args
;
use
function
implode
;
use
function
in_array
;
use
function
is_numeric
;
use
function
is_string
;
use
function
join
;
use
function
sprintf
;
use
function
str_replace
;
use
function
strtoupper
;
use
function
trim
;
/**
* The MySqlPlatform provides the behavior, features and SQL dialect of the
...
...
lib/Doctrine/DBAL/Platforms/OraclePlatform.php
View file @
9f3188ab
...
...
@@ -28,6 +28,17 @@ use Doctrine\DBAL\Schema\Table;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\TransactionIsolationLevel
;
use
Doctrine\DBAL\Types\BinaryType
;
use
function
array_merge
;
use
function
count
;
use
function
explode
;
use
function
implode
;
use
function
preg_match
;
use
function
sprintf
;
use
function
str_replace
;
use
function
strlen
;
use
function
strpos
;
use
function
strtoupper
;
use
function
substr
;
/**
* OraclePlatform.
...
...
lib/Doctrine/DBAL/Platforms/PostgreSQL91Platform.php
View file @
9f3188ab
...
...
@@ -19,6 +19,8 @@
namespace
Doctrine\DBAL\Platforms
;
use
function
explode
;
/**
* Provides the behavior, features and SQL dialect of the PostgreSQL 9.1 database platform.
*
...
...
lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php
View file @
9f3188ab
...
...
@@ -30,6 +30,22 @@ use Doctrine\DBAL\Types\BigIntType;
use
Doctrine\DBAL\Types\BlobType
;
use
Doctrine\DBAL\Types\IntegerType
;
use
Doctrine\DBAL\Types\Type
;
use
function
array_diff
;
use
function
array_merge
;
use
function
array_unique
;
use
function
array_values
;
use
function
count
;
use
function
explode
;
use
function
implode
;
use
function
in_array
;
use
function
is_array
;
use
function
is_bool
;
use
function
is_numeric
;
use
function
is_string
;
use
function
str_replace
;
use
function
strpos
;
use
function
strtolower
;
use
function
trim
;
/**
* PostgreSqlPlatform.
...
...
lib/Doctrine/DBAL/Platforms/SQLAnywherePlatform.php
View file @
9f3188ab
...
...
@@ -30,6 +30,20 @@ use Doctrine\DBAL\Schema\Index;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\TransactionIsolationLevel
;
use
function
array_merge
;
use
function
array_unique
;
use
function
array_values
;
use
function
count
;
use
function
explode
;
use
function
func_get_args
;
use
function
get_class
;
use
function
implode
;
use
function
is_string
;
use
function
preg_replace
;
use
function
strlen
;
use
function
strpos
;
use
function
strtoupper
;
use
function
substr
;
/**
* The SQLAnywherePlatform provides the behavior, features and SQL dialect of the
...
...
lib/Doctrine/DBAL/Platforms/SQLServer2012Platform.php
View file @
9f3188ab
...
...
@@ -20,6 +20,10 @@
namespace
Doctrine\DBAL\Platforms
;
use
Doctrine\DBAL\Schema\Sequence
;
use
const
PREG_OFFSET_CAPTURE
;
use
function
preg_match
;
use
function
preg_match_all
;
use
function
substr_count
;
/**
* Platform to ensure compatibility of Doctrine with Microsoft SQL Server 2012 version.
...
...
lib/Doctrine/DBAL/Platforms/SQLServerPlatform.php
View file @
9f3188ab
...
...
@@ -28,10 +28,31 @@ use Doctrine\DBAL\Schema\Index;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\Types
;
use
function
array_merge
;
use
function
array_unique
;
use
function
array_values
;
use
function
count
;
use
function
crc32
;
use
function
dechex
;
use
function
explode
;
use
function
func_get_args
;
use
function
implode
;
use
function
is_array
;
use
function
is_bool
;
use
function
is_null
;
use
function
is_numeric
;
use
function
is_string
;
use
function
preg_match
;
use
function
preg_replace
;
use
function
sprintf
;
use
function
str_replace
;
use
function
stripos
;
use
function
stristr
;
use
function
strlen
;
use
function
strpos
;
use
function
strtoupper
;
use
function
substr
;
use
function
substr_count
;
/**
* The SQLServerPlatform provides the behavior, features and SQL dialect of the
...
...
lib/Doctrine/DBAL/Platforms/SqlitePlatform.php
View file @
9f3188ab
...
...
@@ -29,6 +29,17 @@ use Doctrine\DBAL\Schema\Table;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\TransactionIsolationLevel
;
use
Doctrine\DBAL\Types
;
use
function
array_merge
;
use
function
array_unique
;
use
function
array_values
;
use
function
implode
;
use
function
is_numeric
;
use
function
sprintf
;
use
function
sqrt
;
use
function
str_replace
;
use
function
strlen
;
use
function
strpos
;
use
function
strtolower
;
/**
* The SqlitePlatform class describes the specifics and dialects of the SQLite
...
...
lib/Doctrine/DBAL/Portability/Connection.php
View file @
9f3188ab
...
...
@@ -21,6 +21,9 @@ namespace Doctrine\DBAL\Portability;
use
Doctrine\DBAL\Cache\QueryCacheProfile
;
use
Doctrine\DBAL\ColumnCase
;
use
const
CASE_LOWER
;
use
const
CASE_UPPER
;
use
function
func_get_args
;
/**
* Portability wrapper for a Connection.
...
...
lib/Doctrine/DBAL/Portability/Statement.php
View file @
9f3188ab
...
...
@@ -21,6 +21,10 @@ namespace Doctrine\DBAL\Portability;
use
Doctrine\DBAL\FetchMode
;
use
Doctrine\DBAL\ParameterType
;
use
function
array_change_key_case
;
use
function
is_null
;
use
function
is_string
;
use
function
rtrim
;
/**
* Portability wrapper for a Statement.
...
...
lib/Doctrine/DBAL/Query/Expression/CompositeExpression.php
View file @
9f3188ab
...
...
@@ -19,6 +19,9 @@
namespace
Doctrine\DBAL\Query\Expression
;
use
function
count
;
use
function
implode
;
/**
* Composite expression is responsible to build a group of similar expression.
*
...
...
lib/Doctrine/DBAL/Query/Expression/ExpressionBuilder.php
View file @
9f3188ab
...
...
@@ -21,7 +21,9 @@ namespace Doctrine\DBAL\Query\Expression;
use
Doctrine\DBAL\Connection
;
use
function
func_get_arg
;
use
function
func_get_args
;
use
function
func_num_args
;
use
function
implode
;
use
function
sprintf
;
/**
...
...
lib/Doctrine/DBAL/Query/QueryBuilder.php
View file @
9f3188ab
...
...
@@ -22,6 +22,18 @@ namespace Doctrine\DBAL\Query;
use
Doctrine\DBAL\ParameterType
;
use
Doctrine\DBAL\Query\Expression\CompositeExpression
;
use
Doctrine\DBAL\Connection
;
use
function
array_key_exists
;
use
function
array_keys
;
use
function
array_unshift
;
use
function
func_get_args
;
use
function
func_num_args
;
use
function
implode
;
use
function
is_array
;
use
function
is_null
;
use
function
is_object
;
use
function
key
;
use
function
strtoupper
;
use
function
substr
;
/**
* QueryBuilder class is responsible to dynamically create SQL queries.
...
...
lib/Doctrine/DBAL/Query/QueryException.php
View file @
9f3188ab
...
...
@@ -20,6 +20,7 @@
namespace
Doctrine\DBAL\Query
;
use
Doctrine\DBAL\DBALException
;
use
function
implode
;
/**
* @since 2.1.4
...
...
lib/Doctrine/DBAL/SQLParserUtils.php
View file @
9f3188ab
...
...
@@ -19,6 +19,22 @@
namespace
Doctrine\DBAL
;
use
const
PREG_OFFSET_CAPTURE
;
use
function
array_fill
;
use
function
array_key_exists
;
use
function
array_merge
;
use
function
array_slice
;
use
function
array_values
;
use
function
count
;
use
function
implode
;
use
function
is_int
;
use
function
key
;
use
function
ksort
;
use
function
preg_match_all
;
use
function
strlen
;
use
function
strpos
;
use
function
substr
;
/**
* Utility class that parses sql statements with regard to types and parameters.
*
...
...
lib/Doctrine/DBAL/SQLParserUtilsException.php
View file @
9f3188ab
...
...
@@ -21,6 +21,8 @@
namespace
Doctrine\DBAL
;
use
function
sprintf
;
/**
* Doctrine\DBAL\ConnectionException
*
...
...
lib/Doctrine/DBAL/Schema/AbstractAsset.php
View file @
9f3188ab
...
...
@@ -20,6 +20,16 @@
namespace
Doctrine\DBAL\Schema
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
function
array_map
;
use
function
crc32
;
use
function
dechex
;
use
function
explode
;
use
function
implode
;
use
function
str_replace
;
use
function
strpos
;
use
function
strtolower
;
use
function
strtoupper
;
use
function
substr
;
/**
* The abstract asset allows to reset the name of all assets without publishing this to the public userland.
...
...
lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php
View file @
9f3188ab
...
...
@@ -24,6 +24,17 @@ use Doctrine\DBAL\Event\SchemaColumnDefinitionEventArgs;
use
Doctrine\DBAL\Event\SchemaIndexDefinitionEventArgs
;
use
Doctrine\DBAL\DBALException
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
function
array_filter
;
use
function
array_map
;
use
function
array_values
;
use
function
call_user_func_array
;
use
function
count
;
use
function
func_get_args
;
use
function
is_array
;
use
function
is_null
;
use
function
preg_match
;
use
function
str_replace
;
use
function
strtolower
;
/**
* Base class for schema managers. Schema managers are used to inspect and/or
...
...
lib/Doctrine/DBAL/Schema/Column.php
View file @
9f3188ab
...
...
@@ -20,6 +20,12 @@
namespace
Doctrine\DBAL\Schema
;
use
Doctrine\DBAL\Types\Type
;
use
const
E_USER_DEPRECATED
;
use
function
array_merge
;
use
function
is_numeric
;
use
function
method_exists
;
use
function
sprintf
;
use
function
trigger_error
;
/**
* Object representation of a database column.
...
...
lib/Doctrine/DBAL/Schema/ColumnDiff.php
View file @
9f3188ab
...
...
@@ -19,6 +19,8 @@
namespace
Doctrine\DBAL\Schema
;
use
function
in_array
;
/**
* Represents the change of a column.
*
...
...
lib/Doctrine/DBAL/Schema/Comparator.php
View file @
9f3188ab
...
...
@@ -20,6 +20,15 @@
namespace
Doctrine\DBAL\Schema
;
use
Doctrine\DBAL\Types
;
use
function
array_intersect_key
;
use
function
array_key_exists
;
use
function
array_keys
;
use
function
array_map
;
use
function
array_merge
;
use
function
array_shift
;
use
function
array_unique
;
use
function
count
;
use
function
strtolower
;
/**
* Compares two Schemas and return an instance of SchemaDiff.
...
...
lib/Doctrine/DBAL/Schema/DB2SchemaManager.php
View file @
9f3188ab
...
...
@@ -19,6 +19,13 @@
namespace
Doctrine\DBAL\Schema
;
use
function
array_change_key_case
;
use
function
is_resource
;
use
function
strpos
;
use
function
strtolower
;
use
function
substr
;
use
function
trim
;
/**
* IBM Db2 Schema Manager.
*
...
...
lib/Doctrine/DBAL/Schema/DrizzleSchemaManager.php
View file @
9f3188ab
...
...
@@ -20,6 +20,9 @@
namespace
Doctrine\DBAL\Schema
;
use
Doctrine\DBAL\Types\Type
;
use
function
explode
;
use
function
strtolower
;
use
function
trim
;
/**
* Schema manager for the Drizzle RDBMS.
...
...
lib/Doctrine/DBAL/Schema/ForeignKeyConstraint.php
View file @
9f3188ab
...
...
@@ -20,6 +20,14 @@
namespace
Doctrine\DBAL\Schema
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
function
array_combine
;
use
function
array_keys
;
use
function
array_map
;
use
function
end
;
use
function
explode
;
use
function
in_array
;
use
function
strtolower
;
use
function
strtoupper
;
/**
* An abstraction class for a foreign key constraint.
...
...
lib/Doctrine/DBAL/Schema/Index.php
View file @
9f3188ab
...
...
@@ -20,6 +20,12 @@
namespace
Doctrine\DBAL\Schema
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
function
array_keys
;
use
function
array_map
;
use
function
array_search
;
use
function
count
;
use
function
is_string
;
use
function
strtolower
;
class
Index
extends
AbstractAsset
implements
Constraint
{
...
...
lib/Doctrine/DBAL/Schema/MySqlSchemaManager.php
View file @
9f3188ab
...
...
@@ -22,6 +22,18 @@ namespace Doctrine\DBAL\Schema;
use
Doctrine\DBAL\Platforms\MariaDb1027Platform
;
use
Doctrine\DBAL\Platforms\MySqlPlatform
;
use
Doctrine\DBAL\Types\Type
;
use
const
CASE_LOWER
;
use
function
array_change_key_case
;
use
function
array_shift
;
use
function
array_values
;
use
function
end
;
use
function
preg_match
;
use
function
preg_replace
;
use
function
str_replace
;
use
function
stripslashes
;
use
function
strpos
;
use
function
strtok
;
use
function
strtolower
;
/**
* Schema manager for the MySql RDBMS.
...
...
lib/Doctrine/DBAL/Schema/OracleSchemaManager.php
View file @
9f3188ab
...
...
@@ -22,6 +22,16 @@ namespace Doctrine\DBAL\Schema;
use
Doctrine\DBAL\DBALException
;
use
Doctrine\DBAL\Driver\DriverException
;
use
Doctrine\DBAL\Types\Type
;
use
const
CASE_LOWER
;
use
function
array_change_key_case
;
use
function
array_values
;
use
function
is_null
;
use
function
preg_match
;
use
function
sprintf
;
use
function
strpos
;
use
function
strtolower
;
use
function
strtoupper
;
use
function
trim
;
/**
* Oracle Schema Manager.
...
...
lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php
View file @
9f3188ab
...
...
@@ -21,6 +21,23 @@ namespace Doctrine\DBAL\Schema;
use
Doctrine\DBAL\Exception\DriverException
;
use
Doctrine\DBAL\Types\Type
;
use
const
CASE_LOWER
;
use
function
array_change_key_case
;
use
function
array_filter
;
use
function
array_keys
;
use
function
array_map
;
use
function
array_shift
;
use
function
explode
;
use
function
in_array
;
use
function
join
;
use
function
preg_match
;
use
function
preg_replace
;
use
function
str_replace
;
use
function
stripos
;
use
function
strlen
;
use
function
strpos
;
use
function
strtolower
;
use
function
trim
;
/**
* PostgreSQL Schema Manager.
...
...
lib/Doctrine/DBAL/Schema/SQLAnywhereSchemaManager.php
View file @
9f3188ab
...
...
@@ -20,6 +20,7 @@
namespace
Doctrine\DBAL\Schema
;
use
Doctrine\DBAL\Types\Type
;
use
function
preg_replace
;
/**
* SAP Sybase SQL Anywhere schema manager.
...
...
lib/Doctrine/DBAL/Schema/SQLServerSchemaManager.php
View file @
9f3188ab
...
...
@@ -22,6 +22,14 @@ namespace Doctrine\DBAL\Schema;
use
Doctrine\DBAL\DBALException
;
use
Doctrine\DBAL\Driver\DriverException
;
use
Doctrine\DBAL\Types\Type
;
use
function
count
;
use
function
in_array
;
use
function
preg_replace
;
use
function
sprintf
;
use
function
str_replace
;
use
function
strpos
;
use
function
strtok
;
use
function
trim
;
/**
* SQL Server Schema Manager.
...
...
lib/Doctrine/DBAL/Schema/Schema.php
View file @
9f3188ab
...
...
@@ -24,6 +24,9 @@ use Doctrine\DBAL\Schema\Visitor\DropSchemaSqlCollector;
use
Doctrine\DBAL\Schema\Visitor\NamespaceVisitor
;
use
Doctrine\DBAL\Schema\Visitor\Visitor
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
function
array_keys
;
use
function
strpos
;
use
function
strtolower
;
/**
* Object representation of a database schema.
...
...
lib/Doctrine/DBAL/Schema/SchemaDiff.php
View file @
9f3188ab
...
...
@@ -20,6 +20,7 @@
namespace
Doctrine\DBAL\Schema
;
use
\Doctrine\DBAL\Platforms\AbstractPlatform
;
use
function
array_merge
;
/**
* Schema Diff.
...
...
lib/Doctrine/DBAL/Schema/SchemaException.php
View file @
9f3188ab
...
...
@@ -19,6 +19,9 @@
namespace
Doctrine\DBAL\Schema
;
use
function
implode
;
use
function
sprintf
;
class
SchemaException
extends
\Doctrine\DBAL\DBALException
{
const
TABLE_DOESNT_EXIST
=
10
;
...
...
lib/Doctrine/DBAL/Schema/Sequence.php
View file @
9f3188ab
...
...
@@ -20,6 +20,9 @@
namespace
Doctrine\DBAL\Schema
;
use
Doctrine\DBAL\Schema\Visitor\Visitor
;
use
function
count
;
use
function
is_numeric
;
use
function
sprintf
;
/**
* Sequence structure.
...
...
lib/Doctrine/DBAL/Schema/SqliteSchemaManager.php
View file @
9f3188ab
...
...
@@ -24,6 +24,25 @@ use Doctrine\DBAL\FetchMode;
use
Doctrine\DBAL\Types\StringType
;
use
Doctrine\DBAL\Types\TextType
;
use
Doctrine\DBAL\Types\Type
;
use
const
CASE_LOWER
;
use
function
array_change_key_case
;
use
function
array_map
;
use
function
array_reverse
;
use
function
array_values
;
use
function
explode
;
use
function
file_exists
;
use
function
preg_match
;
use
function
preg_match_all
;
use
function
preg_quote
;
use
function
preg_replace
;
use
function
rtrim
;
use
function
sprintf
;
use
function
str_replace
;
use
function
strpos
;
use
function
strtolower
;
use
function
trim
;
use
function
unlink
;
use
function
usort
;
/**
* Sqlite SchemaManager.
...
...
lib/Doctrine/DBAL/Schema/Synchronizer/SingleDatabaseSynchronizer.php
View file @
9f3188ab
...
...
@@ -23,6 +23,7 @@ use Doctrine\DBAL\Connection;
use
Doctrine\DBAL\Schema\Schema
;
use
Doctrine\DBAL\Schema\Comparator
;
use
Doctrine\DBAL\Schema\Visitor\DropSchemaSqlCollector
;
use
function
count
;
/**
* Schema Synchronizer for Default DBAL Connection.
...
...
lib/Doctrine/DBAL/Schema/Table.php
View file @
9f3188ab
...
...
@@ -22,6 +22,15 @@ namespace Doctrine\DBAL\Schema;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\DBAL\Schema\Visitor\Visitor
;
use
Doctrine\DBAL\DBALException
;
use
const
ARRAY_FILTER_USE_KEY
;
use
function
array_filter
;
use
function
array_merge
;
use
function
in_array
;
use
function
is_numeric
;
use
function
is_string
;
use
function
preg_match
;
use
function
strlen
;
use
function
strtolower
;
/**
* Object Representation of a table.
...
...
lib/Doctrine/DBAL/Schema/Visitor/CreateSchemaSqlCollector.php
View file @
9f3188ab
...
...
@@ -23,6 +23,7 @@ use Doctrine\DBAL\Platforms\AbstractPlatform;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Schema\ForeignKeyConstraint
;
use
Doctrine\DBAL\Schema\Sequence
;
use
function
array_merge
;
class
CreateSchemaSqlCollector
extends
AbstractVisitor
{
...
...
lib/Doctrine/DBAL/Schema/Visitor/DropSchemaSqlCollector.php
View file @
9f3188ab
...
...
@@ -24,6 +24,7 @@ use Doctrine\DBAL\Schema\Table;
use
Doctrine\DBAL\Schema\ForeignKeyConstraint
;
use
Doctrine\DBAL\Schema\Sequence
;
use
Doctrine\DBAL\Schema\SchemaException
;
use
function
strlen
;
/**
* Gathers SQL statements that allow to completely drop the current schema.
...
...
lib/Doctrine/DBAL/Schema/Visitor/Graphviz.php
View file @
9f3188ab
...
...
@@ -22,6 +22,12 @@ namespace Doctrine\DBAL\Schema\Visitor;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Schema\Schema
;
use
Doctrine\DBAL\Schema\ForeignKeyConstraint
;
use
function
current
;
use
function
file_put_contents
;
use
function
in_array
;
use
function
mt_rand
;
use
function
sha1
;
use
function
strtolower
;
/**
* Create a Graphviz output of a Schema.
...
...
lib/Doctrine/DBAL/Sharding/PoolingShardConnection.php
View file @
9f3188ab
...
...
@@ -26,6 +26,9 @@ use Doctrine\DBAL\Driver;
use
Doctrine\DBAL\Event\ConnectionEventArgs
;
use
Doctrine\DBAL\Events
;
use
Doctrine\DBAL\Sharding\ShardChoser\ShardChoser
;
use
function
array_merge
;
use
function
is_numeric
;
use
function
is_string
;
/**
* Sharding implementation that pools many different connections
...
...
lib/Doctrine/DBAL/Sharding/SQLAzure/SQLAzureFederationsSynchronizer.php
View file @
9f3188ab
...
...
@@ -26,6 +26,7 @@ use Doctrine\DBAL\Types\Type;
use
Doctrine\DBAL\Schema\Synchronizer\AbstractSchemaSynchronizer
;
use
Doctrine\DBAL\Schema\Synchronizer\SingleDatabaseSynchronizer
;
use
Doctrine\DBAL\Schema\Synchronizer\SchemaSynchronizer
;
use
function
array_merge
;
/**
* SQL Azure Schema Synchronizer.
...
...
lib/Doctrine/DBAL/Sharding/SQLAzure/SQLAzureShardManager.php
View file @
9f3188ab
...
...
@@ -23,6 +23,9 @@ use Doctrine\DBAL\Connection;
use
Doctrine\DBAL\Sharding\ShardingException
;
use
Doctrine\DBAL\Sharding\ShardManager
;
use
Doctrine\DBAL\Types\Type
;
use
function
is_bool
;
use
function
is_scalar
;
use
function
sprintf
;
/**
* Sharding using the SQL Azure Federations support.
...
...
lib/Doctrine/DBAL/Sharding/SQLAzure/Schema/MultiTenantVisitor.php
View file @
9f3188ab
...
...
@@ -26,6 +26,7 @@ use Doctrine\DBAL\Schema\Column;
use
Doctrine\DBAL\Schema\ForeignKeyConstraint
;
use
Doctrine\DBAL\Schema\Sequence
;
use
Doctrine\DBAL\Schema\Index
;
use
function
in_array
;
/**
* Converts a single tenant schema into a multi-tenant schema for SQL Azure
...
...
lib/Doctrine/DBAL/Statement.php
View file @
9f3188ab
...
...
@@ -21,6 +21,8 @@ namespace Doctrine\DBAL;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\DBAL\Driver\Statement
as
DriverStatement
;
use
function
is_array
;
use
function
is_string
;
/**
* A thin wrapper around a Doctrine\DBAL\Driver\Statement that adds support
...
...
lib/Doctrine/DBAL/Tools/Console/Command/ImportCommand.php
View file @
9f3188ab
...
...
@@ -23,6 +23,12 @@ use Symfony\Component\Console\Command\Command;
use
Symfony\Component\Console\Input\InputArgument
;
use
Symfony\Component\Console\Input\InputInterface
;
use
Symfony\Component\Console\Output\OutputInterface
;
use
const
PHP_EOL
;
use
function
file_exists
;
use
function
file_get_contents
;
use
function
is_readable
;
use
function
realpath
;
use
function
sprintf
;
/**
* Task for executing arbitrary SQL that can come from a file or directly from
...
...
lib/Doctrine/DBAL/Tools/Console/Command/ReservedWordsCommand.php
View file @
9f3188ab
...
...
@@ -24,6 +24,9 @@ use Symfony\Component\Console\Command\Command;
use
Symfony\Component\Console\Input\InputInterface
;
use
Symfony\Component\Console\Input\InputOption
;
use
Symfony\Component\Console\Output\OutputInterface
;
use
function
array_keys
;
use
function
count
;
use
function
implode
;
class
ReservedWordsCommand
extends
Command
{
...
...
lib/Doctrine/DBAL/Tools/Console/Command/RunSqlCommand.php
View file @
9f3188ab
...
...
@@ -24,6 +24,10 @@ use Symfony\Component\Console\Input\InputArgument;
use
Symfony\Component\Console\Input\InputInterface
;
use
Symfony\Component\Console\Output\OutputInterface
;
use
Symfony\Component\Console\Input\InputOption
;
use
function
is_numeric
;
use
function
ob_get_clean
;
use
function
ob_start
;
use
function
stripos
;
/**
* Task for executing arbitrary SQL that can come from a file or directly from
...
...
lib/Doctrine/DBAL/Types/ArrayType.php
View file @
9f3188ab
...
...
@@ -20,6 +20,10 @@
namespace
Doctrine\DBAL\Types
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
function
is_resource
;
use
function
serialize
;
use
function
stream_get_contents
;
use
function
unserialize
;
/**
* Type that maps a PHP array to a clob SQL type.
...
...
lib/Doctrine/DBAL/Types/BinaryType.php
View file @
9f3188ab
...
...
@@ -21,6 +21,11 @@ namespace Doctrine\DBAL\Types;
use
Doctrine\DBAL\ParameterType
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
function
fopen
;
use
function
fseek
;
use
function
fwrite
;
use
function
is_resource
;
use
function
is_string
;
/**
* Type that maps ab SQL BINARY/VARBINARY to a PHP resource stream.
...
...
lib/Doctrine/DBAL/Types/BlobType.php
View file @
9f3188ab
...
...
@@ -21,6 +21,11 @@ namespace Doctrine\DBAL\Types;
use
Doctrine\DBAL\ParameterType
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
function
fopen
;
use
function
fseek
;
use
function
fwrite
;
use
function
is_resource
;
use
function
is_string
;
/**
* Type that maps an SQL BLOB to a PHP resource stream.
...
...
lib/Doctrine/DBAL/Types/ConversionException.php
View file @
9f3188ab
...
...
@@ -29,6 +29,15 @@
*/
namespace
Doctrine\DBAL\Types
;
use
function
get_class
;
use
function
gettype
;
use
function
implode
;
use
function
is_object
;
use
function
is_scalar
;
use
function
sprintf
;
use
function
strlen
;
use
function
substr
;
class
ConversionException
extends
\Doctrine\DBAL\DBALException
{
/**
...
...
lib/Doctrine/DBAL/Types/DateTimeType.php
View file @
9f3188ab
...
...
@@ -20,6 +20,7 @@
namespace
Doctrine\DBAL\Types
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
function
date_create
;
/**
* Type that maps an SQL DATETIME/TIMESTAMP to a PHP DateTime object.
...
...
lib/Doctrine/DBAL/Types/JsonArrayType.php
View file @
9f3188ab
...
...
@@ -20,6 +20,9 @@
namespace
Doctrine\DBAL\Types
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
function
is_resource
;
use
function
json_decode
;
use
function
stream_get_contents
;
/**
* Array Type which can be used to generate json arrays.
...
...
lib/Doctrine/DBAL/Types/JsonType.php
View file @
9f3188ab
...
...
@@ -20,6 +20,13 @@
namespace
Doctrine\DBAL\Types
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
const
JSON_ERROR_NONE
;
use
function
is_resource
;
use
function
json_decode
;
use
function
json_encode
;
use
function
json_last_error
;
use
function
json_last_error_msg
;
use
function
stream_get_contents
;
/**
* Type generating json objects values
...
...
lib/Doctrine/DBAL/Types/ObjectType.php
View file @
9f3188ab
...
...
@@ -20,6 +20,10 @@
namespace
Doctrine\DBAL\Types
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
function
is_resource
;
use
function
serialize
;
use
function
stream_get_contents
;
use
function
unserialize
;
/**
* Type that maps a PHP object to a clob SQL type.
...
...
lib/Doctrine/DBAL/Types/SimpleArrayType.php
View file @
9f3188ab
...
...
@@ -20,6 +20,10 @@
namespace
Doctrine\DBAL\Types
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
function
explode
;
use
function
implode
;
use
function
is_resource
;
use
function
stream_get_contents
;
/**
* Array Type which can be used for simple values.
...
...
lib/Doctrine/DBAL/Types/TextType.php
View file @
9f3188ab
...
...
@@ -20,6 +20,8 @@
namespace
Doctrine\DBAL\Types
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
function
is_resource
;
use
function
stream_get_contents
;
/**
* Type that maps an SQL CLOB to a PHP string.
...
...
lib/Doctrine/DBAL/Types/Type.php
View file @
9f3188ab
...
...
@@ -22,6 +22,10 @@ namespace Doctrine\DBAL\Types;
use
Doctrine\DBAL\ParameterType
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\DBALException
;
use
function
end
;
use
function
explode
;
use
function
get_class
;
use
function
str_replace
;
/**
* The base class for so-called Doctrine mapping types.
...
...
lib/Doctrine/DBAL/Types/VarDateTimeImmutableType.php
View file @
9f3188ab
...
...
@@ -20,6 +20,7 @@
namespace
Doctrine\DBAL\Types
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
function
date_create_immutable
;
/**
* Immutable type of {@see VarDateTimeType}.
...
...
lib/Doctrine/DBAL/Types/VarDateTimeType.php
View file @
9f3188ab
...
...
@@ -20,6 +20,7 @@
namespace
Doctrine\DBAL\Types
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
function
date_create
;
/**
* Variable DateTime Type using date_create() instead of DateTime::createFromFormat().
...
...
lib/Doctrine/DBAL/Version.php
View file @
9f3188ab
...
...
@@ -19,6 +19,10 @@
namespace
Doctrine\DBAL
;
use
function
str_replace
;
use
function
strtolower
;
use
function
version_compare
;
/**
* Class to store and retrieve the version of Doctrine.
*
...
...
tests/Doctrine/Tests/DBAL/ConnectionTest.php
View file @
9f3188ab
...
...
@@ -19,6 +19,7 @@ use Doctrine\DBAL\ParameterType;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\Tests\Mocks\DriverMock
;
use
Doctrine\Tests\Mocks\VersionAwarePlatformDriverMock
;
use
function
call_user_func_array
;
/**
* @requires extension pdo_mysql
...
...
tests/Doctrine/Tests/DBAL/DBALExceptionTest.php
View file @
9f3188ab
...
...
@@ -7,6 +7,9 @@ use Doctrine\DBAL\Exception\DriverException;
use
Doctrine\DBAL\Driver\DriverException
as
InnerDriverException
;
use
Doctrine\Tests\DbalTestCase
;
use
Doctrine\DBAL\Driver
;
use
function
chr
;
use
function
fopen
;
use
function
sprintf
;
class
DBALExceptionTest
extends
DbalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Driver/AbstractDriverTest.php
View file @
9f3188ab
...
...
@@ -7,6 +7,8 @@ use Doctrine\DBAL\Driver\DriverException;
use
Doctrine\DBAL\Driver\ExceptionConverterDriver
;
use
Doctrine\DBAL\VersionAwarePlatformDriver
;
use
Doctrine\Tests\DbalTestCase
;
use
function
get_class
;
use
function
sprintf
;
abstract
class
AbstractDriverTest
extends
DbalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Driver/IBMDB2/DB2ConnectionTest.php
View file @
9f3188ab
...
...
@@ -3,6 +3,7 @@
namespace
Doctrine\Tests\DBAL\Driver\IBMDB2
;
use
Doctrine\Tests\DbalTestCase
;
use
function
extension_loaded
;
class
DB2ConnectionTest
extends
DbalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Driver/Mysqli/MysqliConnectionTest.php
View file @
9f3188ab
...
...
@@ -6,6 +6,9 @@ use Doctrine\DBAL\Driver\Mysqli\MysqliConnection;
use
Doctrine\DBAL\Driver\Mysqli\MysqliException
;
use
Doctrine\DBAL\Platforms\MySqlPlatform
;
use
Doctrine\Tests\DbalFunctionalTestCase
;
use
function
extension_loaded
;
use
function
restore_error_handler
;
use
function
set_error_handler
;
class
MysqliConnectionTest
extends
DbalFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Driver/OCI8/OCI8ConnectionTest.php
View file @
9f3188ab
...
...
@@ -3,6 +3,7 @@
namespace
Doctrine\Tests\DBAL\Driver\OCI8
;
use
Doctrine\Tests\DbalTestCase
;
use
function
extension_loaded
;
class
OCI8ConnectionTest
extends
DbalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Driver/OCI8/OCI8StatementTest.php
View file @
9f3188ab
...
...
@@ -5,6 +5,7 @@ namespace Doctrine\Tests\DBAL;
use
Doctrine\DBAL\Driver\OCI8\OCI8Exception
;
use
Doctrine\DBAL\Driver\OCI8\OCI8Statement
;
use
Doctrine\Tests\DbalTestCase
;
use
function
extension_loaded
;
class
OCI8StatementTest
extends
DbalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Driver/PDOExceptionTest.php
View file @
9f3188ab
...
...
@@ -4,6 +4,7 @@ namespace Doctrine\Tests\DBAL\Driver;
use
Doctrine\DBAL\Driver\PDOException
;
use
Doctrine\Tests\DbalTestCase
;
use
function
extension_loaded
;
class
PDOExceptionTest
extends
DbalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Driver/PDOPgSql/DriverTest.php
View file @
9f3188ab
...
...
@@ -6,6 +6,7 @@ use Doctrine\DBAL\Driver\PDOPgSql\Driver;
use
Doctrine\Tests\DBAL\Driver\AbstractPostgreSQLDriverTest
;
use
PDO
;
use
PDOException
;
use
function
defined
;
class
DriverTest
extends
AbstractPostgreSQLDriverTest
{
...
...
tests/Doctrine/Tests/DBAL/Driver/SQLAnywhere/SQLAnywhereConnectionTest.php
View file @
9f3188ab
...
...
@@ -3,6 +3,7 @@
namespace
Doctrine\Tests\DBAL\Driver\SQLAnywhere
;
use
Doctrine\Tests\DbalTestCase
;
use
function
extension_loaded
;
class
SQLAnywhereConnectionTest
extends
DbalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Driver/SQLSrv/SQLSrvConnectionTest.php
View file @
9f3188ab
...
...
@@ -3,6 +3,7 @@
namespace
Doctrine\Tests\DBAL\Driver\SQLSrv
;
use
Doctrine\Tests\DbalTestCase
;
use
function
extension_loaded
;
class
SQLSrvConnectionTest
extends
DbalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/DriverManagerTest.php
View file @
9f3188ab
...
...
@@ -13,6 +13,9 @@ use Doctrine\Tests\DbalTestCase;
use
Doctrine\Tests\Mocks\ConnectionMock
;
use
Doctrine\Tests\Mocks\DriverMock
;
use
stdClass
;
use
function
extension_loaded
;
use
function
in_array
;
use
function
is_array
;
class
DriverManagerTest
extends
DbalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Events/OracleSessionInitTest.php
View file @
9f3188ab
...
...
@@ -6,6 +6,7 @@ use Doctrine\DBAL\Event\ConnectionEventArgs;
use
Doctrine\DBAL\Event\Listeners\OracleSessionInit
;
use
Doctrine\DBAL\Events
;
use
Doctrine\Tests\DbalTestCase
;
use
function
sprintf
;
class
OracleSessionInitTest
extends
DbalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/BlobTest.php
View file @
9f3188ab
...
...
@@ -4,6 +4,9 @@ namespace Doctrine\Tests\DBAL\Functional;
use
Doctrine\DBAL\ParameterType
;
use
Doctrine\DBAL\Types\Type
;
use
const
CASE_LOWER
;
use
function
array_change_key_case
;
use
function
stream_get_contents
;
/**
* @group DBAL-6
...
...
tests/Doctrine/Tests/DBAL/Functional/ConnectionTest.php
View file @
9f3188ab
...
...
@@ -7,6 +7,7 @@ use Doctrine\DBAL\DriverManager;
use
Doctrine\DBAL\ParameterType
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Types\Type
;
use
function
in_array
;
class
ConnectionTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/DataAccessTest.php
View file @
9f3188ab
...
...
@@ -8,6 +8,18 @@ use Doctrine\DBAL\ParameterType;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Platforms\TrimMode
;
use
Doctrine\DBAL\Types\Type
;
use
const
CASE_LOWER
;
use
const
PHP_EOL
;
use
function
array_change_key_case
;
use
function
array_filter
;
use
function
array_keys
;
use
function
count
;
use
function
date
;
use
function
implode
;
use
function
is_numeric
;
use
function
json_encode
;
use
function
property_exists
;
use
function
strtotime
;
class
DataAccessTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Driver/IBMDB2/DB2DriverTest.php
View file @
9f3188ab
...
...
@@ -4,6 +4,7 @@ namespace Doctrine\Tests\DBAL\Functional\Driver\IBMDB2;
use
Doctrine\DBAL\Driver\IBMDB2\DB2Driver
;
use
Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest
;
use
function
extension_loaded
;
class
DB2DriverTest
extends
AbstractDriverTest
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Driver/IBMDB2/DB2StatementTest.php
View file @
9f3188ab
...
...
@@ -7,6 +7,7 @@ namespace Doctrine\Tests\DBAL\Functional\Driver\IBMDB2;
use
Doctrine\DBAL\Driver\IBMDB2\DB2Driver
;
use
Doctrine\Tests\DbalFunctionalTestCase
;
use
PHPUnit\Framework\Error\Notice
;
use
function
extension_loaded
;
class
DB2StatementTest
extends
DbalFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Driver/Mysqli/ConnectionTest.php
View file @
9f3188ab
<?php
namespace
Doctrine\Tests\DBAL\Functional\Driver\Mysqli
;
use
function
extension_loaded
;
class
ConnectionTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Driver/Mysqli/DriverTest.php
View file @
9f3188ab
...
...
@@ -4,6 +4,7 @@ namespace Doctrine\Tests\DBAL\Functional\Driver\Mysqli;
use
Doctrine\DBAL\Driver\Mysqli\Driver
;
use
Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest
;
use
function
extension_loaded
;
class
DriverTest
extends
AbstractDriverTest
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Driver/OCI8/DriverTest.php
View file @
9f3188ab
...
...
@@ -4,6 +4,7 @@ namespace Doctrine\Tests\DBAL\Functional\Driver\OCI8;
use
Doctrine\DBAL\Driver\OCI8\Driver
;
use
Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest
;
use
function
extension_loaded
;
class
DriverTest
extends
AbstractDriverTest
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Driver/OCI8/OCI8ConnectionTest.php
View file @
9f3188ab
...
...
@@ -5,6 +5,7 @@ namespace Doctrine\Tests\DBAL\Functional\Driver\OCI8;
use
Doctrine\DBAL\Driver\OCI8\Driver
;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\Tests\DbalFunctionalTestCase
;
use
function
extension_loaded
;
class
OCI8ConnectionTest
extends
DbalFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Driver/OCI8/StatementTest.php
View file @
9f3188ab
...
...
@@ -4,6 +4,7 @@ namespace Doctrine\Tests\DBAL\Functional\Driver\OCI8;
use
Doctrine\DBAL\Driver\OCI8\Driver
;
use
Doctrine\Tests\DbalFunctionalTestCase
;
use
function
extension_loaded
;
class
StatementTest
extends
DbalFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Driver/PDOConnectionTest.php
View file @
9f3188ab
...
...
@@ -4,6 +4,8 @@ namespace Doctrine\Tests\DBAL\Functional\Driver;
use
Doctrine\DBAL\Driver\PDOConnection
;
use
Doctrine\Tests\DbalFunctionalTestCase
;
use
function
extension_loaded
;
use
function
sprintf
;
class
PDOConnectionTest
extends
DbalFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Driver/PDOMySql/DriverTest.php
View file @
9f3188ab
...
...
@@ -4,6 +4,7 @@ namespace Doctrine\Tests\DBAL\Functional\Driver\PDOMySql;
use
Doctrine\DBAL\Driver\PDOMySql\Driver
;
use
Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest
;
use
function
extension_loaded
;
class
DriverTest
extends
AbstractDriverTest
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Driver/PDOOracle/DriverTest.php
View file @
9f3188ab
...
...
@@ -4,6 +4,7 @@ namespace Doctrine\Tests\DBAL\Functional\Driver\PDOOracle;
use
Doctrine\DBAL\Driver\PDOOracle\Driver
;
use
Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest
;
use
function
extension_loaded
;
class
DriverTest
extends
AbstractDriverTest
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Driver/PDOPgSql/DriverTest.php
View file @
9f3188ab
...
...
@@ -6,6 +6,10 @@ use Doctrine\DBAL\Connection;
use
Doctrine\DBAL\Driver\PDOPgSql\Driver
;
use
Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest
;
use
Doctrine\Tests\TestUtil
;
use
function
array_key_exists
;
use
function
extension_loaded
;
use
function
microtime
;
use
function
sprintf
;
class
DriverTest
extends
AbstractDriverTest
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Driver/PDOPgsqlConnectionTest.php
View file @
9f3188ab
...
...
@@ -6,6 +6,7 @@ use Doctrine\DBAL\DriverManager;
use
Doctrine\DBAL\FetchMode
;
use
Doctrine\DBAL\Platforms\PostgreSqlPlatform
;
use
Doctrine\Tests\DbalFunctionalTestCase
;
use
function
extension_loaded
;
class
PDOPgsqlConnectionTest
extends
DbalFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Driver/PDOSqlite/DriverTest.php
View file @
9f3188ab
...
...
@@ -4,6 +4,7 @@ namespace Doctrine\Tests\DBAL\Functional\Driver\PDOSqlite;
use
Doctrine\DBAL\Driver\PDOSqlite\Driver
;
use
Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest
;
use
function
extension_loaded
;
class
DriverTest
extends
AbstractDriverTest
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Driver/PDOSqlsrv/Driver.php
View file @
9f3188ab
...
...
@@ -4,6 +4,7 @@ namespace Doctrine\Tests\DBAL\Functional\Driver\PDOSqlsrv;
use
Doctrine\DBAL\Driver\PDOSqlsrv\Driver
;
use
Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest
;
use
function
extension_loaded
;
class
DriverTest
extends
AbstractDriverTest
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Driver/SQLAnywhere/ConnectionTest.php
View file @
9f3188ab
...
...
@@ -4,6 +4,7 @@ namespace Doctrine\Tests\DBAL\Functional\Driver\SQLAnywhere;
use
Doctrine\DBAL\Driver\SQLAnywhere\Driver
;
use
Doctrine\DBAL\DriverManager
;
use
function
extension_loaded
;
class
ConnectionTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Driver/SQLAnywhere/DriverTest.php
View file @
9f3188ab
...
...
@@ -5,6 +5,7 @@ namespace Doctrine\Tests\DBAL\Functional\Driver\SQLAnywhere;
use
Doctrine\DBAL\Connection
;
use
Doctrine\DBAL\Driver\SQLAnywhere\Driver
;
use
Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest
;
use
function
extension_loaded
;
class
DriverTest
extends
AbstractDriverTest
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Driver/SQLAnywhere/StatementTest.php
View file @
9f3188ab
...
...
@@ -4,6 +4,7 @@ namespace Doctrine\Tests\DBAL\Functional\Driver\SQLAnywhere;
use
Doctrine\DBAL\Driver\SQLAnywhere\Driver
;
use
Doctrine\DBAL\DriverManager
;
use
function
extension_loaded
;
class
StatementTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Driver/SQLSrv/Driver.php
View file @
9f3188ab
...
...
@@ -4,6 +4,7 @@ namespace Doctrine\Tests\DBAL\Functional\Driver\SQLSrv;
use
Doctrine\DBAL\Driver\SQLSrv\Driver
;
use
Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest
;
use
function
extension_loaded
;
class
DriverTest
extends
AbstractDriverTest
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Driver/SQLSrv/StatementTest.php
View file @
9f3188ab
...
...
@@ -5,6 +5,7 @@ namespace Doctrine\Tests\DBAL\Functional\Driver\SQLSrv;
use
Doctrine\DBAL\Driver\SQLSrv\Driver
;
use
Doctrine\DBAL\Driver\SQLSrv\SQLSrvException
;
use
Doctrine\Tests\DbalFunctionalTestCase
;
use
function
extension_loaded
;
class
StatementTest
extends
DbalFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/ExceptionTest.php
View file @
9f3188ab
...
...
@@ -4,6 +4,14 @@ namespace Doctrine\Tests\DBAL\Functional;
use
Doctrine\DBAL\Driver\ExceptionConverterDriver
;
use
Doctrine\DBAL\Exception
;
use
Doctrine\DBAL\Schema\Table
;
use
function
array_merge
;
use
function
chmod
;
use
function
defined
;
use
function
file_exists
;
use
function
sprintf
;
use
function
sys_get_temp_dir
;
use
function
touch
;
use
function
unlink
;
class
ExceptionTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/MasterSlaveConnectionTest.php
View file @
9f3188ab
...
...
@@ -5,6 +5,12 @@ namespace Doctrine\Tests\DBAL\Functional;
use
Doctrine\DBAL\Connections\MasterSlaveConnection
;
use
Doctrine\DBAL\DriverManager
;
use
Doctrine\Tests\DbalFunctionalTestCase
;
use
const
CASE_LOWER
;
use
function
array_change_key_case
;
use
function
sprintf
;
use
function
strlen
;
use
function
strtolower
;
use
function
substr
;
/**
* @group DBAL-20
...
...
tests/Doctrine/Tests/DBAL/Functional/ModifyLimitQueryTest.php
View file @
9f3188ab
<?php
namespace
Doctrine\Tests\DBAL\Functional
;
use
const
CASE_LOWER
;
use
function
array_change_key_case
;
use
function
count
;
class
ModifyLimitQueryTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/NamedParametersTest.php
View file @
9f3188ab
...
...
@@ -6,6 +6,8 @@ use Doctrine\DBAL\Connection;
use
Doctrine\DBAL\FetchMode
;
use
Doctrine\DBAL\ParameterType
;
use
Doctrine\DBAL\Schema\Table
;
use
const
CASE_LOWER
;
use
function
array_change_key_case
;
/**
* @group DDC-1372
...
...
tests/Doctrine/Tests/DBAL/Functional/PortabilityTest.php
View file @
9f3188ab
...
...
@@ -7,6 +7,7 @@ use Doctrine\DBAL\Connection;
use
Doctrine\DBAL\DriverManager
;
use
Doctrine\DBAL\FetchMode
;
use
Doctrine\DBAL\Portability\Connection
as
ConnectionPortability
;
use
function
strlen
;
/**
* @group DBAL-56
...
...
tests/Doctrine/Tests/DBAL/Functional/ResultCacheTest.php
View file @
9f3188ab
...
...
@@ -5,6 +5,12 @@ namespace Doctrine\Tests\DBAL\Functional;
use
Doctrine\DBAL\Cache\QueryCacheProfile
;
use
Doctrine\DBAL\FetchMode
;
use
Doctrine\DBAL\Logging\DebugStack
;
use
const
CASE_LOWER
;
use
function
array_change_key_case
;
use
function
array_merge
;
use
function
array_shift
;
use
function
array_values
;
use
function
is_array
;
/**
* @group DDC-217
...
...
tests/Doctrine/Tests/DBAL/Functional/Schema/MySqlSchemaManagerTest.php
View file @
9f3188ab
...
...
@@ -9,6 +9,7 @@ use Doctrine\DBAL\Schema\Schema;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\Types\MySqlPointType
;
use
function
implode
;
class
MySqlSchemaManagerTest
extends
SchemaManagerFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Schema/OracleSchemaManagerTest.php
View file @
9f3188ab
...
...
@@ -6,6 +6,7 @@ use Doctrine\DBAL\Schema;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\TestUtil
;
use
function
array_map
;
class
OracleSchemaManagerTest
extends
SchemaManagerFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Schema/PostgreSqlSchemaManagerTest.php
View file @
9f3188ab
...
...
@@ -9,6 +9,10 @@ use Doctrine\DBAL\Schema\Comparator;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\Types\Type
;
use
function
array_map
;
use
function
array_pop
;
use
function
count
;
use
function
strtolower
;
class
PostgreSqlSchemaManagerTest
extends
SchemaManagerFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Schema/SQLServerSchemaManagerTest.php
View file @
9f3188ab
...
...
@@ -7,6 +7,7 @@ use Doctrine\DBAL\Schema\ColumnDiff;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\Types\Type
;
use
function
current
;
class
SQLServerSchemaManagerTest
extends
SchemaManagerFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Schema/SchemaManagerFunctionalTestCase.php
View file @
9f3188ab
...
...
@@ -14,6 +14,20 @@ use Doctrine\DBAL\Schema\Sequence;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\Types\Type
;
use
function
array_filter
;
use
function
array_keys
;
use
function
array_map
;
use
function
array_search
;
use
function
count
;
use
function
current
;
use
function
end
;
use
function
explode
;
use
function
get_class
;
use
function
in_array
;
use
function
str_replace
;
use
function
strlen
;
use
function
strtolower
;
use
function
substr
;
class
SchemaManagerFunctionalTestCase
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Schema/SqliteSchemaManagerTest.php
View file @
9f3188ab
...
...
@@ -4,6 +4,10 @@ namespace Doctrine\Tests\DBAL\Functional\Schema;
use
Doctrine\DBAL\Schema
;
use
Doctrine\DBAL\Types\Type
;
use
function
array_map
;
use
function
dirname
;
use
function
extension_loaded
;
use
function
version_compare
;
class
SqliteSchemaManagerTest
extends
SchemaManagerFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/StatementTest.php
View file @
9f3188ab
...
...
@@ -7,6 +7,8 @@ use Doctrine\DBAL\FetchMode;
use
Doctrine\DBAL\ParameterType
;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Types\Type
;
use
function
base64_decode
;
use
function
stream_get_contents
;
class
StatementTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Ticket/DBAL421Test.php
View file @
9f3188ab
<?php
namespace
Doctrine\Tests\DBAL\Functional\Ticket
;
use
function
in_array
;
use
function
preg_match
;
/**
* @group DBAL-421
...
...
tests/Doctrine/Tests/DBAL/Functional/Ticket/DBAL630Test.php
View file @
9f3188ab
...
...
@@ -5,6 +5,7 @@ namespace Doctrine\Tests\DBAL\Functional\Ticket;
use
Doctrine\DBAL\DBALException
;
use
Doctrine\DBAL\ParameterType
;
use
PDO
;
use
function
in_array
;
/**
* @group DBAL-630
...
...
tests/Doctrine/Tests/DBAL/Functional/Ticket/DBAL752Test.php
View file @
9f3188ab
<?php
namespace
Doctrine\Tests\DBAL\Functional\Ticket
;
use
function
in_array
;
/**
* @group DBAL-752
...
...
tests/Doctrine/Tests/DBAL/Functional/TypeConversionTest.php
View file @
9f3188ab
...
...
@@ -3,6 +3,7 @@
namespace
Doctrine\Tests\DBAL\Functional
;
use
Doctrine\DBAL\Types\Type
;
use
function
str_repeat
;
class
TypeConversionTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/WriteTest.php
View file @
9f3188ab
...
...
@@ -4,6 +4,8 @@ namespace Doctrine\Tests\DBAL\Functional;
use
Doctrine\DBAL\ParameterType
;
use
Doctrine\DBAL\Types\Type
;
use
function
array_filter
;
use
function
strtolower
;
class
WriteTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Platforms/AbstractMySQLPlatformTestCase.php
View file @
9f3188ab
...
...
@@ -9,6 +9,7 @@ use Doctrine\DBAL\Schema\Index;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\TransactionIsolationLevel
;
use
function
array_shift
;
abstract
class
AbstractMySQLPlatformTestCase
extends
AbstractPlatformTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Platforms/AbstractPlatformTestCase.php
View file @
9f3188ab
...
...
@@ -14,6 +14,10 @@ use Doctrine\DBAL\Schema\Table;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\Types\CommentedType
;
use
function
get_class
;
use
function
implode
;
use
function
sprintf
;
use
function
str_repeat
;
abstract
class
AbstractPlatformTestCase
extends
\Doctrine\Tests\DbalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Platforms/OraclePlatformTest.php
View file @
9f3188ab
...
...
@@ -10,6 +10,10 @@ use Doctrine\DBAL\Schema\ForeignKeyConstraint;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\TransactionIsolationLevel
;
use
Doctrine\DBAL\Types\Type
;
use
function
array_walk
;
use
function
preg_replace
;
use
function
strtoupper
;
use
function
uniqid
;
class
OraclePlatformTest
extends
AbstractPlatformTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Platforms/SQLAnywherePlatformTest.php
View file @
9f3188ab
...
...
@@ -16,6 +16,9 @@ use Doctrine\DBAL\Schema\Table;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\TransactionIsolationLevel
;
use
Doctrine\DBAL\Types\Type
;
use
function
mt_rand
;
use
function
strlen
;
use
function
substr
;
class
SQLAnywherePlatformTest
extends
AbstractPlatformTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Schema/ComparatorTest.php
View file @
9f3188ab
...
...
@@ -31,6 +31,7 @@ use Doctrine\DBAL\Schema\Sequence;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\Types\Type
;
use
function
array_keys
;
/**
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
...
...
tests/Doctrine/Tests/DBAL/Schema/MySqlInheritCharsetTest.php
View file @
9f3188ab
...
...
@@ -13,6 +13,7 @@ use Doctrine\DBAL\Schema\MySqlSchemaManager;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Types\Type
;
use
PHPUnit\Framework\TestCase
;
use
function
array_merge
;
class
MySqlInheritCharsetTest
extends
TestCase
{
...
...
tests/Doctrine/Tests/DBAL/Schema/MySqlSchemaManagerTest.php
View file @
9f3188ab
...
...
@@ -5,6 +5,7 @@ namespace Doctrine\Tests\DBAL\Schema;
use
Doctrine\Common\EventManager
;
use
Doctrine\DBAL\Configuration
;
use
Doctrine\DBAL\Schema\MySqlSchemaManager
;
use
function
array_map
;
class
MySqlSchemaManagerTest
extends
\PHPUnit\Framework\TestCase
{
...
...
tests/Doctrine/Tests/DBAL/Schema/SchemaTest.php
View file @
9f3188ab
...
...
@@ -5,6 +5,8 @@ namespace Doctrine\Tests\DBAL\Schema;
use
Doctrine\DBAL\Schema\Schema
;
use
Doctrine\DBAL\Schema\Sequence
;
use
Doctrine\DBAL\Schema\Table
;
use
function
current
;
use
function
strlen
;
class
SchemaTest
extends
\PHPUnit\Framework\TestCase
{
...
...
tests/Doctrine/Tests/DBAL/Schema/TableTest.php
View file @
9f3188ab
...
...
@@ -8,6 +8,8 @@ use Doctrine\DBAL\Schema\ForeignKeyConstraint;
use
Doctrine\DBAL\Schema\Index
;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Types\Type
;
use
function
array_shift
;
use
function
current
;
class
TableTest
extends
\Doctrine\Tests\DbalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Schema/Visitor/RemoveNamespacedAssetsTest.php
View file @
9f3188ab
...
...
@@ -6,6 +6,7 @@ use Doctrine\DBAL\Platforms\MySqlPlatform;
use
Doctrine\DBAL\Schema\Schema
;
use
Doctrine\DBAL\Schema\SchemaConfig
;
use
Doctrine\DBAL\Schema\Visitor\RemoveNamespacedAssets
;
use
function
array_keys
;
class
RemoveNamespacedAssetsTest
extends
\PHPUnit\Framework\TestCase
{
...
...
tests/Doctrine/Tests/DBAL/Sharding/SQLAzure/AbstractTestCase.php
View file @
9f3188ab
...
...
@@ -5,6 +5,7 @@ namespace Doctrine\Tests\DBAL\Sharding\SQLAzure;
use
Doctrine\DBAL\DriverManager
;
use
Doctrine\DBAL\Schema\Schema
;
use
Doctrine\DBAL\Sharding\SQLAzure\SQLAzureShardManager
;
use
function
strpos
;
abstract
class
AbstractTestCase
extends
\PHPUnit\Framework\TestCase
{
...
...
tests/Doctrine/Tests/DBAL/Sharding/SQLAzure/FunctionalTest.php
View file @
9f3188ab
...
...
@@ -2,6 +2,7 @@
namespace
Doctrine\Tests\DBAL\Sharding\SQLAzure
;
use
Doctrine\DBAL\Sharding\SQLAzure\SQLAzureFederationsSynchronizer
;
use
function
count
;
class
FunctionalTest
extends
AbstractTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Types/ArrayTest.php
View file @
9f3188ab
...
...
@@ -5,6 +5,10 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
use
const
E_ALL
;
use
const
E_STRICT
;
use
function
error_reporting
;
use
function
serialize
;
class
ArrayTest
extends
\Doctrine\Tests\DbalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Types/BaseDateTypeTestCase.php
View file @
9f3188ab
...
...
@@ -3,6 +3,8 @@
namespace
Doctrine\Tests\DBAL\Types
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
use
function
date_default_timezone_get
;
use
function
date_default_timezone_set
;
abstract
class
BaseDateTypeTestCase
extends
\PHPUnit\Framework\TestCase
{
...
...
tests/Doctrine/Tests/DBAL/Types/BinaryTest.php
View file @
9f3188ab
...
...
@@ -5,6 +5,9 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\ParameterType
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
use
function
base64_encode
;
use
function
fopen
;
use
function
stream_get_contents
;
class
BinaryTest
extends
\Doctrine\Tests\DbalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Types/BlobTest.php
View file @
9f3188ab
...
...
@@ -4,6 +4,10 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
use
function
base64_encode
;
use
function
chr
;
use
function
fopen
;
use
function
stream_get_contents
;
class
BlobTest
extends
\Doctrine\Tests\DbalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Types/ConversionExceptionTest.php
View file @
9f3188ab
...
...
@@ -3,6 +3,7 @@
namespace
Doctrine\Tests\DBAL\Types
;
use
Doctrine\DBAL\Types\ConversionException
;
use
function
tmpfile
;
class
ConversionExceptionTest
extends
\PHPUnit\Framework\TestCase
{
...
...
tests/Doctrine/Tests/DBAL/Types/DateImmutableTypeTest.php
View file @
9f3188ab
...
...
@@ -7,6 +7,7 @@ use Doctrine\DBAL\Platforms\AbstractPlatform;
use
Doctrine\DBAL\Types\ConversionException
;
use
Doctrine\DBAL\Types\DateImmutableType
;
use
Doctrine\DBAL\Types\Type
;
use
function
get_class
;
class
DateImmutableTypeTest
extends
\PHPUnit\Framework\TestCase
{
...
...
tests/Doctrine/Tests/DBAL/Types/DateTest.php
View file @
9f3188ab
...
...
@@ -3,6 +3,7 @@
namespace
Doctrine\Tests\DBAL\Types
;
use
Doctrine\DBAL\Types\Type
;
use
function
date_default_timezone_set
;
class
DateTest
extends
BaseDateTypeTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Types/DateTimeImmutableTypeTest.php
View file @
9f3188ab
...
...
@@ -7,6 +7,7 @@ use Doctrine\DBAL\Platforms\AbstractPlatform;
use
Doctrine\DBAL\Types\ConversionException
;
use
Doctrine\DBAL\Types\DateTimeImmutableType
;
use
Doctrine\DBAL\Types\Type
;
use
function
get_class
;
class
DateTimeImmutableTypeTest
extends
\PHPUnit\Framework\TestCase
{
...
...
tests/Doctrine/Tests/DBAL/Types/DateTimeTzImmutableTypeTest.php
View file @
9f3188ab
...
...
@@ -7,6 +7,7 @@ use Doctrine\DBAL\Platforms\AbstractPlatform;
use
Doctrine\DBAL\Types\ConversionException
;
use
Doctrine\DBAL\Types\DateTimeTzImmutableType
;
use
Doctrine\DBAL\Types\Type
;
use
function
get_class
;
class
DateTimeTzImmutableTypeTest
extends
\PHPUnit\Framework\TestCase
{
...
...
tests/Doctrine/Tests/DBAL/Types/GuidTypeTest.php
View file @
9f3188ab
...
...
@@ -4,6 +4,7 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
use
function
get_class
;
class
GuidTest
extends
\Doctrine\Tests\DbalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Types/JsonArrayTest.php
View file @
9f3188ab
...
...
@@ -5,6 +5,9 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\ParameterType
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
use
function
base64_encode
;
use
function
fopen
;
use
function
json_encode
;
class
JsonArrayTest
extends
\Doctrine\Tests\DbalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Types/JsonTest.php
View file @
9f3188ab
...
...
@@ -5,6 +5,9 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\ParameterType
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
use
function
base64_encode
;
use
function
fopen
;
use
function
json_encode
;
class
JsonTest
extends
\Doctrine\Tests\DbalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Types/ObjectTest.php
View file @
9f3188ab
...
...
@@ -4,6 +4,10 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
use
const
E_ALL
;
use
const
E_STRICT
;
use
function
error_reporting
;
use
function
serialize
;
class
ObjectTest
extends
\Doctrine\Tests\DbalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Types/TimeImmutableTypeTest.php
View file @
9f3188ab
...
...
@@ -7,6 +7,7 @@ use Doctrine\DBAL\Platforms\AbstractPlatform;
use
Doctrine\DBAL\Types\ConversionException
;
use
Doctrine\DBAL\Types\TimeImmutableType
;
use
Doctrine\DBAL\Types\Type
;
use
function
get_class
;
class
TimeImmutableTypeTest
extends
\PHPUnit\Framework\TestCase
{
...
...
tests/Doctrine/Tests/DbalFunctionalTestCase.php
View file @
9f3188ab
<?php
namespace
Doctrine\Tests
;
use
const
PHP_EOL
;
use
function
array_map
;
use
function
array_reverse
;
use
function
count
;
use
function
get_class
;
use
function
implode
;
use
function
is_object
;
use
function
is_scalar
;
use
function
strpos
;
use
function
var_export
;
class
DbalFunctionalTestCase
extends
DbalTestCase
{
...
...
tests/Doctrine/Tests/DbalPerformanceTestCase.php
View file @
9f3188ab
<?php
namespace
Doctrine\Tests
;
use
function
microtime
;
/**
* Base class for all DBAL performance tests.
...
...
tests/Doctrine/Tests/DbalPerformanceTestListener.php
View file @
9f3188ab
...
...
@@ -5,6 +5,9 @@ namespace Doctrine\Tests;
use
PHPUnit\Framework\Test
;
use
PHPUnit\Framework\TestListener
;
use
PHPUnit\Framework\TestListenerDefaultImplementation
;
use
function
get_class
;
use
function
printf
;
use
function
str_replace
;
/**
* Listener for collecting and reporting results of performance tests
...
...
tests/Doctrine/Tests/Mocks/ConnectionMock.php
View file @
9f3188ab
<?php
namespace
Doctrine\Tests\Mocks
;
use
function
is_string
;
class
ConnectionMock
extends
\Doctrine\DBAL\Connection
{
...
...
tests/Doctrine/Tests/TestUtil.php
View file @
9f3188ab
...
...
@@ -5,6 +5,9 @@ namespace Doctrine\Tests;
use
Doctrine\DBAL\Connection
;
use
Doctrine\DBAL\DriverManager
;
use
PHPUnit\Framework\Assert
;
use
function
explode
;
use
function
extension_loaded
;
use
function
unlink
;
/**
* TestUtil is a class with static utility methods used during tests.
...
...
tests/Doctrine/Tests/Types/CommentedType.php
View file @
9f3188ab
...
...
@@ -4,6 +4,7 @@ namespace Doctrine\Tests\Types;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Types\Type
;
use
function
strtoupper
;
class
CommentedType
extends
Type
{
...
...
tests/Doctrine/Tests/Types/MySqlPointType.php
View file @
9f3188ab
...
...
@@ -4,6 +4,7 @@ namespace Doctrine\Tests\Types;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Types\Type
;
use
function
strtoupper
;
class
MySqlPointType
extends
Type
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment