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
ed9eb002
Unverified
Commit
ed9eb002
authored
Nov 25, 2019
by
Sergei Morozov
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.10'
parents
ab888962
0a5790ba
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
36 additions
and
29 deletions
+36
-29
PDOStatement.php
lib/Doctrine/DBAL/Driver/PDOStatement.php
+2
-2
Column.php
lib/Doctrine/DBAL/Schema/Column.php
+1
-1
Type.php
lib/Doctrine/DBAL/Types/Type.php
+24
-24
Types.php
lib/Doctrine/DBAL/Types/Types.php
+1
-1
ConnectionTest.php
tests/Doctrine/Tests/DBAL/Functional/ConnectionTest.php
+6
-0
install-pdo-oci.sh
tests/continuousphp/install-pdo-oci.sh
+2
-1
No files found.
lib/Doctrine/DBAL/Driver/PDOStatement.php
View file @
ed9eb002
...
...
@@ -206,7 +206,7 @@ class PDOStatement implements IteratorAggregate, 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
);
...
...
@@ -227,7 +227,7 @@ class PDOStatement implements IteratorAggregate, 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 @
ed9eb002
...
...
@@ -78,7 +78,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
);
...
...
lib/Doctrine/DBAL/Types/Type.php
View file @
ed9eb002
...
...
@@ -17,76 +17,76 @@ use function get_class;
*/
abstract
class
Type
{
/** @deprecated Use {@see
Default
Types::BIGINT} instead. */
/** @deprecated Use {@see Types::BIGINT} instead. */
public
const
BIGINT
=
Types
::
BIGINT
;
/** @deprecated Use {@see
Default
Types::BINARY} instead. */
/** @deprecated Use {@see Types::BINARY} instead. */
public
const
BINARY
=
Types
::
BINARY
;
/** @deprecated Use {@see
Default
Types::BLOB} instead. */
/** @deprecated Use {@see Types::BLOB} instead. */
public
const
BLOB
=
Types
::
BLOB
;
/** @deprecated Use {@see
Default
Types::BOOLEAN} instead. */
/** @deprecated Use {@see Types::BOOLEAN} instead. */
public
const
BOOLEAN
=
Types
::
BOOLEAN
;
/** @deprecated Use {@see
Default
Types::DATE_MUTABLE} instead. */
/** @deprecated Use {@see Types::DATE_MUTABLE} instead. */
public
const
DATE
=
Types
::
DATE_MUTABLE
;
/** @deprecated Use {@see
Default
Types::DATE_IMMUTABLE} instead. */
/** @deprecated Use {@see Types::DATE_IMMUTABLE} instead. */
public
const
DATE_IMMUTABLE
=
Types
::
DATE_IMMUTABLE
;
/** @deprecated Use {@see
Default
Types::DATEINTERVAL} instead. */
/** @deprecated Use {@see Types::DATEINTERVAL} instead. */
public
const
DATEINTERVAL
=
Types
::
DATEINTERVAL
;
/** @deprecated Use {@see
Default
Types::DATETIME_MUTABLE} instead. */
/** @deprecated Use {@see Types::DATETIME_MUTABLE} instead. */
public
const
DATETIME
=
Types
::
DATETIME_MUTABLE
;
/** @deprecated Use {@see
Default
Types::DATETIME_IMMUTABLE} instead. */
/** @deprecated Use {@see Types::DATETIME_IMMUTABLE} instead. */
public
const
DATETIME_IMMUTABLE
=
Types
::
DATETIME_IMMUTABLE
;
/** @deprecated Use {@see
Default
Types::DATETIMETZ_MUTABLE} instead. */
/** @deprecated Use {@see Types::DATETIMETZ_MUTABLE} instead. */
public
const
DATETIMETZ
=
Types
::
DATETIMETZ_MUTABLE
;
/** @deprecated Use {@see
Default
Types::DATETIMETZ_IMMUTABLE} instead. */
/** @deprecated Use {@see Types::DATETIMETZ_IMMUTABLE} instead. */
public
const
DATETIMETZ_IMMUTABLE
=
Types
::
DATETIMETZ_IMMUTABLE
;
/** @deprecated Use {@see
Default
Types::DECIMAL} instead. */
/** @deprecated Use {@see Types::DECIMAL} instead. */
public
const
DECIMAL
=
Types
::
DECIMAL
;
/** @deprecated Use {@see
Default
Types::FLOAT} instead. */
/** @deprecated Use {@see Types::FLOAT} instead. */
public
const
FLOAT
=
Types
::
FLOAT
;
/** @deprecated Use {@see
Default
Types::GUID} instead. */
/** @deprecated Use {@see Types::GUID} instead. */
public
const
GUID
=
Types
::
GUID
;
/** @deprecated Use {@see
Default
Types::INTEGER} instead. */
/** @deprecated Use {@see Types::INTEGER} instead. */
public
const
INTEGER
=
Types
::
INTEGER
;
/** @deprecated Use {@see
Default
Types::JSON} instead. */
/** @deprecated Use {@see Types::JSON} instead. */
public
const
JSON
=
Types
::
JSON
;
/** @deprecated Use {@see
Default
Types::OBJECT} instead. */
/** @deprecated Use {@see Types::OBJECT} instead. */
public
const
OBJECT
=
Types
::
OBJECT
;
/** @deprecated Use {@see
Default
Types::SIMPLE_ARRAY} instead. */
/** @deprecated Use {@see Types::SIMPLE_ARRAY} instead. */
public
const
SIMPLE_ARRAY
=
Types
::
SIMPLE_ARRAY
;
/** @deprecated Use {@see
Default
Types::SMALLINT} instead. */
/** @deprecated Use {@see Types::SMALLINT} instead. */
public
const
SMALLINT
=
Types
::
SMALLINT
;
/** @deprecated Use {@see
Default
Types::STRING} instead. */
/** @deprecated Use {@see Types::STRING} instead. */
public
const
STRING
=
Types
::
STRING
;
/** @deprecated Use {@see
Default
Types::ARRAY} instead. */
/** @deprecated Use {@see Types::ARRAY} instead. */
public
const
TARRAY
=
Types
::
ARRAY
;
/** @deprecated Use {@see
Default
Types::TEXT} instead. */
/** @deprecated Use {@see Types::TEXT} instead. */
public
const
TEXT
=
Types
::
TEXT
;
/** @deprecated Use {@see
Default
Types::TIME_MUTABLE} instead. */
/** @deprecated Use {@see Types::TIME_MUTABLE} instead. */
public
const
TIME
=
Types
::
TIME_MUTABLE
;
/** @deprecated Use {@see
Default
Types::TIME_IMMUTABLE} instead. */
/** @deprecated Use {@see Types::TIME_IMMUTABLE} instead. */
public
const
TIME_IMMUTABLE
=
Types
::
TIME_IMMUTABLE
;
/**
...
...
lib/Doctrine/DBAL/Types/Types.php
View file @
ed9eb002
...
...
@@ -34,7 +34,7 @@ final class Types
public
const
TIME_MUTABLE
=
'time'
;
public
const
TIME_IMMUTABLE
=
'time_immutable'
;
/** @deprecated json_array type is deprecated, use {@see
DefaultTypes
::JSON} instead. */
/** @deprecated json_array type is deprecated, use {@see
self
::JSON} instead. */
public
const
JSON_ARRAY
=
'json_array'
;
private
function
__construct
()
...
...
tests/Doctrine/Tests/DBAL/Functional/ConnectionTest.php
View file @
ed9eb002
...
...
@@ -19,7 +19,9 @@ use Exception;
use
PDO
;
use
RuntimeException
;
use
Throwable
;
use
function
file_exists
;
use
function
in_array
;
use
function
unlink
;
class
ConnectionTest
extends
DbalFunctionalTestCase
{
...
...
@@ -31,6 +33,10 @@ class ConnectionTest extends DbalFunctionalTestCase
protected
function
tearDown
()
:
void
{
if
(
file_exists
(
'/tmp/test_nesting.sqlite'
))
{
unlink
(
'/tmp/test_nesting.sqlite'
);
}
parent
::
tearDown
();
$this
->
resetSharedConn
();
}
...
...
tests/continuousphp/install-pdo-oci.sh
View file @
ed9eb002
...
...
@@ -2,4 +2,5 @@
set
-euo
pipefail
phpbrew ext
install
pdo_oci
--
--with-pdo-oci
=
instantclient,/usr/local/instantclient
docker-php-ext-configure pdo_oci
--with-pdo-oci
=
instantclient,/usr/local/instantclient
sudo
-E
env
PHP_INI_DIR
=
/usr/local/etc/php docker-php-ext-install pdo_oci
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