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