- 02 Nov, 2019 40 commits
-
-
Sergei Morozov authored
Improve consistency of exception message formatting.
-
Jonathan H. Wage authored
-
Sergei Morozov authored
Extract exception factory methods into specific exceptions
-
Sergei Morozov authored
Implemented support for persistent connections in PDO and mysqli drivers
-
Michael Moravec authored
Extract Doctrine\DBAL\DBALException::notSupported() Extract Doctrine\DBAL\DBALException::invalidPlatformVersionSpecified() Extract Doctrine\DBAL\DBALException::invalidPdoInstance() Extract Doctrine\DBAL\DBALException::invalidWrapperClass() Extract Doctrine\DBAL\DBALException::invalidDriverClass() Extract Doctrine\DBAL\DBALException::invalidTableName() Extract Doctrine\DBAL\DBALException::noColumnsSpecifiedForTable() Extract Doctrine\DBAL\DBALException::typeExists() Extract Doctrine\DBAL\DBALException::typeAlreadyRegistered() Extract Doctrine\DBAL\DBALException::typeNotRegistered() Extract Doctrine\DBAL\DBALException::unknownColumnType() Extract Doctrine\DBAL\DBALException::typeNotFound() Extract Doctrine\DBAL\DBALException::invalidPlatformType() Extract Doctrine\DBAL\DBALException::driverRequired() Extract Doctrine\DBAL\DBALException::unknownDriver() Extract Doctrine\DBAL\DBALException::invalidColumnIndex() Extract Doctrine\DBAL\Exception\ConnectionException::commitFailedRollbackOnly() Extract Doctrine\DBAL\Exception\ConnectionException::noActiveTransaction() Extract Doctrine\DBAL\Exception\ConnectionException::savepointsNotSupported() Extract Doctrine\DBAL\Exception\ConnectionException::mayNotAlterNestedTransactionWithSavepointsInTransaction() Extract Doctrine\DBAL\Exception\InvalidArgumentException::fromEmptyCriteria() Extract Doctrine\DBAL\Type\ConversionException::conversionFailed() Extract Doctrine\DBAL\Type\ConversionException::conversionFailedFormat() Extract Doctrine\DBAL\Type\ConversionException::conversionFailedInvalidType() Extract Doctrine\DBAL\Type\ConversionException::conversionFailedSerialization() Extract Doctrine\DBAL\Query\QueryException::unknownAlias() Extract Doctrine\DBAL\Query\QueryException::nonUniqueAlias() Extract Doctrine\DBAL\Sharding\ShardingException::notImplemented() Extract Doctrine\DBAL\Sharding\ShardingException::missingDefaultFederationName() Extract Doctrine\DBAL\Sharding\ShardingException::missingDefaultDistributionKey() Extract Doctrine\DBAL\Sharding\ShardingException::activeTransaction() Extract Doctrine\DBAL\Sharding\ShardingException::noShardDistributionValue() Extract Doctrine\DBAL\Sharding\ShardingException::missingDistributionType() Extract Doctrine\DBAL\Cache\CacheException::noCacheKey() Extract Doctrine\DBAL\Cache\CacheException::noResultDriverConfigured() Extract Doctrine\DBAL\Schema\SchemaException::tableDoesNotExist() Extract Doctrine\DBAL\Schema\SchemaException::indexNameInvalid() Extract Doctrine\DBAL\Schema\SchemaException::indexDoesNotExist() Extract Doctrine\DBAL\Schema\SchemaException::indexAlreadyExists() Extract Doctrine\DBAL\Schema\SchemaException::columnDoesNotExist() Extract Doctrine\DBAL\Schema\SchemaException::namespaceAlreadyExists() Extract Doctrine\DBAL\Schema\SchemaException::tableAlreadyExists() Extract Doctrine\DBAL\Schema\SchemaException::columnAlreadyExists() Extract Doctrine\DBAL\Schema\SchemaException::sequenceAlreadyExists() Extract Doctrine\DBAL\Schema\SchemaException::sequenceDoesNotExist() Extract Doctrine\DBAL\Schema\SchemaException::uniqueConstraintDoesNotExist() Extract Doctrine\DBAL\Schema\SchemaException::foreignKeyDoesNotExist() Extract Doctrine\DBAL\Schema\SchemaException::namedForeignKeyRequired() Extract Doctrine\DBAL\SQLParserUtilsException::missingParam() Extract Doctrine\DBAL\SQLParserUtilsException::missingType() Drop Doctrine\DBAL\DBALException::invalidPlatformSpecified() Drop Doctrine\DBAL\DBALException::limitOffsetInvalid() Drop Doctrine\DBAL\Schema\SchemaException::alterTableChangeNotSupported()
-
Jonathan H. Wage authored
Fix UniqueConstraint with empty name.
-
Sergei Morozov authored
-
Sergei Morozov authored
Added type hints to the Column class
-
Jonathan H. Wage authored
-
Jonathan H. Wage authored
Drop support for feferred misspelling in PostgreSqlPlatform::getAdvancedForeignKeyOptionsSQL()
-
Sergei Morozov authored
-
Jonathan H. Wage authored
PostgreSqlPlatform::getAdvancedForeignKeyOptionsSQL()
-
Sergei Morozov authored
Reworked AbstractSchemaManager::extractDoctrineTypeFromComment(), removed ::removeDoctrineTypeFromComment()
-
Marco Pivetta authored
Removed errorCode() and errorInfo() methods from Connection and Statement APIs
-
Sergei Morozov authored
Reworked `AbstractSchemaManager::extractDoctrineTypeFromComment()` removed `::removeDoctrineTypeFromComment()`
-
Marco Pivetta authored
Reworked driver exceptions
-
Sergei Morozov authored
-
Michael Moravec authored
Removed DB2SchemaManager::_getPortableForeignKeyRuleDef()
-
Sergei Morozov authored
-
Sergei Morozov authored
Enable strict types
-
Sergei Morozov authored
-
Michael Moravec authored
-
Marco Pivetta authored
Reworked AbstractPlatform::get*Expression() methods
-
Sergei Morozov authored
-
Marco Pivetta authored
Modified AbstractPlatform::getLocateExpression() and ::getSubstringExpression() signatures
-
Marco Pivetta authored
Changed the type of $char in AbstractPlatform::getTrimExpression()`from string|false to ?string
-
Sergei Morozov authored
-
Marco Pivetta authored
Connection::quote() can only quote strings
-
Sergei Morozov authored
Changed the type of `$char` in `AbstractPlatform::getTrimExpression()` from `string|false` to `?string`
-
Sergei Morozov authored
1. The argument is always available since the method is only called from listTableIndexes() which requires a table name. 2. The argument itself seems a workaround and only needed to bypass the fact that the SQLiteSchemaManager violates the method contract: instead of reformatting the provided data it fetches more data from the DB schema which requires a table name. This argument should be dropped completely later.
-
Sergei Morozov authored
-
Sergei Morozov authored
-
Sergei Morozov authored
Converted Connection and Statement methods which returned false in case of a failure into void
-
Sergei Morozov authored
-
Sergei Morozov authored
Moved rowCount() from Statement to ResultStatement
-
Marco Pivetta authored
Transaction-related Statement methods return void
-
Sergei Morozov authored
-
Sergei Morozov authored
-
Sergei Morozov authored
-
Sergei Morozov authored
Statement::fetchColumn() will throw an exception in the case of invalid index
-