Skip to content

Commit

Permalink
Manually fix issues with lines that are too long.
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Aug 28, 2022
1 parent 35741d6 commit ec507e2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/Platforms/AbstractMySQLPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,8 @@ public function getCreateTablesSQL(array $tables): array
'doctrine/dbal',
'https://github.com/doctrine/dbal/pull/5414',
'Relying on the DBAL not generating DDL for foreign keys on MySQL engines'
. ' other than InnoDB is deprecated. Define foreign key constraints only if they are necessary.',
. ' other than InnoDB is deprecated.'
. ' Define foreign key constraints only if they are necessary.',
);
}
}
Expand Down Expand Up @@ -497,7 +498,8 @@ protected function _getCreateTableSQL($name, array $columns, array $options = []
'doctrine/dbal',
'https://github.com/doctrine/dbal/pull/5414',
'Relying on the DBAL not generating DDL for foreign keys on MySQL engines'
. ' other than InnoDB is deprecated. Define foreign key constraints only if they are necessary.',
. ' other than InnoDB is deprecated.'
. ' Define foreign key constraints only if they are necessary.',
);
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/Statement.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ public function execute($params = null): Result
Deprecation::triggerIfCalledFromOutside(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pull/4580',
'Statement::execute() is deprecated, use Statement::executeQuery() or Statement::executeStatement() instead',
'%s() is deprecated, use Statement::executeQuery() or Statement::executeStatement() instead',
__METHOD__,
);

if ($params !== null) {
Expand Down
3 changes: 2 additions & 1 deletion tests/Functional/Schema/SchemaManagerFunctionalTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,8 @@ public function testDiffListTableColumns(callable $comparatorFactory): void
{
if ($this->connection->getDatabasePlatform() instanceof OraclePlatform) {
self::markTestSkipped(
'Does not work with Oracle, since it cannot detect DateTime, Date and Time differences (at the moment).',
'Does not work with Oracle,'
. ' since it cannot detect DateTime, Date and Time differences (at the moment).',
);
}

Expand Down

0 comments on commit ec507e2

Please sign in to comment.