diff --git a/lib/Doctrine/DBAL/Schema/SqliteSchemaManager.php b/lib/Doctrine/DBAL/Schema/SqliteSchemaManager.php index 1b8efe02e5d..fb2e1673565 100644 --- a/lib/Doctrine/DBAL/Schema/SqliteSchemaManager.php +++ b/lib/Doctrine/DBAL/Schema/SqliteSchemaManager.php @@ -22,6 +22,7 @@ use function preg_replace; use function rtrim; use function sprintf; +use function str_replace; use function strpos; use function strtolower; use function trim; diff --git a/tests/Doctrine/Tests/DBAL/Functional/Schema/DefaultValueTest.php b/tests/Doctrine/Tests/DBAL/Functional/Schema/DefaultValueTest.php index c282d42220c..3dd362e2263 100644 --- a/tests/Doctrine/Tests/DBAL/Functional/Schema/DefaultValueTest.php +++ b/tests/Doctrine/Tests/DBAL/Functional/Schema/DefaultValueTest.php @@ -40,6 +40,8 @@ protected function setUp() : void } /** + * @param mixed $expectedDefault + * * @dataProvider columnProvider */ public function testEscapedDefaultValueCanBeIntrospected(string $name, ?string $expectedDefault) : void @@ -55,6 +57,8 @@ public function testEscapedDefaultValueCanBeIntrospected(string $name, ?string $ } /** + * @param mixed $expectedDefault + * * @dataProvider columnProvider */ public function testEscapedDefaultValueCanBeInserted(string $name, ?string $expectedDefault) : void