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
738f01e5
Unverified
Commit
738f01e5
authored
Nov 20, 2019
by
Andreas Braun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update deprecation messages to refer to DBAL
parent
9be84e76
Changes
4
Show 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 @
738f01e5
...
...
@@ -195,7 +195,7 @@ class PDOStatement extends \PDOStatement implements Statement
if
(
!
isset
(
self
::
PARAM_TYPE_MAP
[
$type
]))
{
// TODO: next major: throw an exception
@
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
),
E_USER_DEPRECATED
);
...
...
@@ -216,7 +216,7 @@ class PDOStatement extends \PDOStatement implements Statement
// TODO: next major: throw an exception
@
trigger_error
(
sprintf
(
'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
),
E_USER_DEPRECATED
);
...
...
lib/Doctrine/DBAL/Schema/Column.php
View file @
738f01e5
...
...
@@ -80,7 +80,7 @@ class Column extends AbstractAsset
// next major: throw an exception
@
trigger_error
(
sprintf
(
'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
),
E_USER_DEPRECATED
);
...
...
tests/Doctrine/Tests/DBAL/Functional/PDOStatementTest.php
View file @
738f01e5
...
...
@@ -30,7 +30,7 @@ class PDOStatementTest extends DbalFunctionalTestCase
/**
* @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
{
...
...
tests/Doctrine/Tests/DBAL/Schema/ColumnTest.php
View file @
738f01e5
...
...
@@ -62,7 +62,7 @@ class ColumnTest extends TestCase
/**
* @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
{
...
...
@@ -73,7 +73,7 @@ class ColumnTest extends TestCase
/**
* @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
{
...
...
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