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
b130d983
Unverified
Commit
b130d983
authored
Mar 08, 2018
by
Benjamin Morel
Committed by
Sergei Morozov
Nov 24, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make SQLLogger implementations final
parent
32c473cb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
+4
-3
UPGRADE.md
UPGRADE.md
+1
-0
DebugStack.php
lib/Doctrine/DBAL/Logging/DebugStack.php
+1
-1
EchoSQLLogger.php
lib/Doctrine/DBAL/Logging/EchoSQLLogger.php
+1
-1
LoggerChain.php
lib/Doctrine/DBAL/Logging/LoggerChain.php
+1
-1
No files found.
UPGRADE.md
View file @
b130d983
...
...
@@ -12,6 +12,7 @@ The Doctrine\DBAL\Version class is no longer available: please refrain from chec
## BC BREAK: the SQLLogger interface has changed
The methods are the same but use scalar type hints, return types, and non-nullable arrays.
SQLLogger implementations are now final.
Before:
...
...
lib/Doctrine/DBAL/Logging/DebugStack.php
View file @
b130d983
...
...
@@ -7,7 +7,7 @@ use function microtime;
/**
* Includes executed SQLs in a Debug Stack.
*/
class
DebugStack
implements
SQLLogger
final
class
DebugStack
implements
SQLLogger
{
/**
* Executed SQL queries.
...
...
lib/Doctrine/DBAL/Logging/EchoSQLLogger.php
View file @
b130d983
...
...
@@ -8,7 +8,7 @@ use function var_dump;
/**
* A SQL logger that logs to the standard output using echo/var_dump.
*/
class
EchoSQLLogger
implements
SQLLogger
final
class
EchoSQLLogger
implements
SQLLogger
{
/**
* {@inheritdoc}
...
...
lib/Doctrine/DBAL/Logging/LoggerChain.php
View file @
b130d983
...
...
@@ -5,7 +5,7 @@ namespace Doctrine\DBAL\Logging;
/**
* Chains multiple SQLLogger.
*/
class
LoggerChain
implements
SQLLogger
final
class
LoggerChain
implements
SQLLogger
{
/** @var SQLLogger[] */
private
$loggers
=
[];
...
...
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