We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4ea393 commit e5e1562Copy full SHA for e5e1562
lib/Doctrine/DBAL/Logging/EchoSQLLogger.php
@@ -2,6 +2,8 @@
2
3
namespace Doctrine\DBAL\Logging;
4
5
+use Doctrine\Deprecations\Deprecation;
6
+
7
use function var_dump;
8
9
use const PHP_EOL;
@@ -13,6 +15,15 @@
13
15
*/
14
16
class EchoSQLLogger implements SQLLogger
17
{
18
+ public function __construct()
19
+ {
20
+ Deprecation::trigger(
21
+ 'doctrine/dbal',
22
+ 'https://github.com/doctrine/dbal/pull/3935',
23
+ 'EchoSQLLogger is deprecated without replacement, move code into your project if you rely on it.'
24
+ );
25
+ }
26
27
/**
28
* {@inheritdoc}
29
0 commit comments