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
7f6e19f1
Unverified
Commit
7f6e19f1
authored
Apr 15, 2019
by
Michael Moravec
Committed by
Sergei Morozov
Nov 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove deprecated AbstractPlatform::DATE_INTERVAL_UNIT_* and AbstractPlatform::TRIM_* constants
parent
00b60121
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
60 deletions
+1
-60
UPGRADE.md
UPGRADE.md
+1
-0
AbstractPlatform.php
lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
+0
-60
No files found.
UPGRADE.md
View file @
7f6e19f1
...
...
@@ -4,6 +4,7 @@
*
Removed
`json_array`
type and all associated hacks.
*
Removed
`Connection::TRANSACTION_*`
constants.
*
Removed
`AbstractPlatform::DATE_INTERVAL_UNIT_*`
and
`AbstractPlatform::TRIM_*`
constants.
## BC BREAK `Connection::ping()` returns `void`.
...
...
lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
View file @
7f6e19f1
...
...
@@ -70,66 +70,6 @@ abstract class AbstractPlatform
public
const
CREATE_FOREIGNKEYS
=
2
;
/**
* @deprecated Use DateIntervalUnit::INTERVAL_UNIT_SECOND.
*/
public
const
DATE_INTERVAL_UNIT_SECOND
=
DateIntervalUnit
::
SECOND
;
/**
* @deprecated Use DateIntervalUnit::MINUTE.
*/
public
const
DATE_INTERVAL_UNIT_MINUTE
=
DateIntervalUnit
::
MINUTE
;
/**
* @deprecated Use DateIntervalUnit::HOUR.
*/
public
const
DATE_INTERVAL_UNIT_HOUR
=
DateIntervalUnit
::
HOUR
;
/**
* @deprecated Use DateIntervalUnit::DAY.
*/
public
const
DATE_INTERVAL_UNIT_DAY
=
DateIntervalUnit
::
DAY
;
/**
* @deprecated Use DateIntervalUnit::WEEK.
*/
public
const
DATE_INTERVAL_UNIT_WEEK
=
DateIntervalUnit
::
WEEK
;
/**
* @deprecated Use DateIntervalUnit::MONTH.
*/
public
const
DATE_INTERVAL_UNIT_MONTH
=
DateIntervalUnit
::
MONTH
;
/**
* @deprecated Use DateIntervalUnit::QUARTER.
*/
public
const
DATE_INTERVAL_UNIT_QUARTER
=
DateIntervalUnit
::
QUARTER
;
/**
* @deprecated Use DateIntervalUnit::QUARTER.
*/
public
const
DATE_INTERVAL_UNIT_YEAR
=
DateIntervalUnit
::
YEAR
;
/**
* @deprecated Use TrimMode::UNSPECIFIED.
*/
public
const
TRIM_UNSPECIFIED
=
TrimMode
::
UNSPECIFIED
;
/**
* @deprecated Use TrimMode::LEADING.
*/
public
const
TRIM_LEADING
=
TrimMode
::
LEADING
;
/**
* @deprecated Use TrimMode::TRAILING.
*/
public
const
TRIM_TRAILING
=
TrimMode
::
TRAILING
;
/**
* @deprecated Use TrimMode::BOTH.
*/
public
const
TRIM_BOTH
=
TrimMode
::
BOTH
;
/** @var string[]|null */
protected
$doctrineTypeMapping
=
null
;
...
...
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