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
567bfade
Unverified
Commit
567bfade
authored
Nov 20, 2019
by
Marco Pivetta
Committed by
GitHub
Nov 20, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3739 from alcaeus/change-deprecation-messages
Update deprecation messages to refer to DBAL
parents
9be84e76
738f01e5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
PDOStatement.php
lib/Doctrine/DBAL/Driver/PDOStatement.php
+2
-2
Column.php
lib/Doctrine/DBAL/Schema/Column.php
+1
-1
PDOStatementTest.php
tests/Doctrine/Tests/DBAL/Functional/PDOStatementTest.php
+1
-1
ColumnTest.php
tests/Doctrine/Tests/DBAL/Schema/ColumnTest.php
+2
-2
No files found.
lib/Doctrine/DBAL/Driver/PDOStatement.php
View file @
567bfade
...
@@ -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
);
...
...
lib/Doctrine/DBAL/Schema/Column.php
View file @
567bfade
...
@@ -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
);
...
...
tests/Doctrine/Tests/DBAL/Functional/PDOStatementTest.php
View file @
567bfade
...
@@ -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
{
{
...
...
tests/Doctrine/Tests/DBAL/Schema/ColumnTest.php
View file @
567bfade
...
@@ -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
{
{
...
...
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