Unverified Commit 567bfade authored by Marco Pivetta's avatar Marco Pivetta Committed by GitHub

Merge pull request #3739 from alcaeus/change-deprecation-messages

Update deprecation messages to refer to DBAL
parents 9be84e76 738f01e5
...@@ -195,7 +195,7 @@ class PDOStatement extends \PDOStatement implements Statement ...@@ -195,7 +195,7 @@ class PDOStatement extends \PDOStatement implements Statement
if (! isset(self::PARAM_TYPE_MAP[$type])) { if (! isset(self::PARAM_TYPE_MAP[$type])) {
// TODO: next major: throw an exception // TODO: next major: throw an exception
@trigger_error(sprintf( @trigger_error(sprintf(
'Using a PDO parameter type (%d given) is deprecated and will cause an error in Doctrine 3.0', 'Using a PDO parameter type (%d given) is deprecated and will cause an error in Doctrine DBAL 3.0',
$type $type
), E_USER_DEPRECATED); ), E_USER_DEPRECATED);
...@@ -216,7 +216,7 @@ class PDOStatement extends \PDOStatement implements Statement ...@@ -216,7 +216,7 @@ class PDOStatement extends \PDOStatement implements Statement
// TODO: next major: throw an exception // TODO: next major: throw an exception
@trigger_error(sprintf( @trigger_error(sprintf(
'Using a PDO fetch mode or their combination (%d given)' . 'Using a PDO fetch mode or their combination (%d given)' .
' is deprecated and will cause an error in Doctrine 3.0', ' is deprecated and will cause an error in Doctrine DBAL 3.0',
$fetchMode $fetchMode
), E_USER_DEPRECATED); ), E_USER_DEPRECATED);
......
...@@ -80,7 +80,7 @@ class Column extends AbstractAsset ...@@ -80,7 +80,7 @@ class Column extends AbstractAsset
// next major: throw an exception // next major: throw an exception
@trigger_error(sprintf( @trigger_error(sprintf(
'The "%s" column option is not supported,' . 'The "%s" column option is not supported,' .
' setting it is deprecated and will cause an error in Doctrine 3.0', ' setting it is deprecated and will cause an error in Doctrine DBAL 3.0',
$name $name
), E_USER_DEPRECATED); ), E_USER_DEPRECATED);
......
...@@ -30,7 +30,7 @@ class PDOStatementTest extends DbalFunctionalTestCase ...@@ -30,7 +30,7 @@ class PDOStatementTest extends DbalFunctionalTestCase
/** /**
* @group legacy * @group legacy
* @expectedDeprecation Using a PDO fetch mode or their combination (%d given) is deprecated and will cause an error in Doctrine 3.0 * @expectedDeprecation Using a PDO fetch mode or their combination (%d given) is deprecated and will cause an error in Doctrine DBAL 3.0
*/ */
public function testPDOSpecificModeIsAccepted() : void public function testPDOSpecificModeIsAccepted() : void
{ {
......
...@@ -62,7 +62,7 @@ class ColumnTest extends TestCase ...@@ -62,7 +62,7 @@ class ColumnTest extends TestCase
/** /**
* @group legacy * @group legacy
* @expectedDeprecation The "unknown_option" column option is not supported, setting it is deprecated and will cause an error in Doctrine 3.0 * @expectedDeprecation The "unknown_option" column option is not supported, setting it is deprecated and will cause an error in Doctrine DBAL 3.0
*/ */
public function testSettingUnknownOptionIsStillSupported() : void public function testSettingUnknownOptionIsStillSupported() : void
{ {
...@@ -73,7 +73,7 @@ class ColumnTest extends TestCase ...@@ -73,7 +73,7 @@ class ColumnTest extends TestCase
/** /**
* @group legacy * @group legacy
* @expectedDeprecation The "unknown_option" column option is not supported, setting it is deprecated and will cause an error in Doctrine 3.0 * @expectedDeprecation The "unknown_option" column option is not supported, setting it is deprecated and will cause an error in Doctrine DBAL 3.0
*/ */
public function testOptionsShouldNotBeIgnored() : void public function testOptionsShouldNotBeIgnored() : void
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment