From 3bea43fcacfbe66da5fb37676bdf8e6dd101738e Mon Sep 17 00:00:00 2001 From: "anthropic-code-agent[bot]" <242468646+Claude@users.noreply.github.com> Date: Wed, 25 Mar 2026 07:41:57 +0000 Subject: [PATCH] Remove EchoSQLLogger and all references Co-authored-by: shyim <6224096+shyim@users.noreply.github.com> Agent-Logs-Url: https://github.com/FriendsOfShopware/FroshDevelopmentHelper/sessions/e3f822df-83e1-44bc-8762-ac7dbca95089 --- README.md | 11 ----------- src/Doctrine/EchoSQLLogger.php | 29 ----------------------------- 2 files changed, 40 deletions(-) delete mode 100644 src/Doctrine/EchoSQLLogger.php diff --git a/README.md b/README.md index f60c547..3426da3 100644 --- a/README.md +++ b/README.md @@ -57,17 +57,6 @@ Checks the difference of that definition with the database and creates a migrati Asks for the block you want to extend and creates the twig extension file for you -### SQL Logger for Console Debugging - -Prints executed SQL to the console, in such a way that they can be easily copied to other SQL tools for further -debugging. This is similar to the symfony debug bar, but useful in CLI commands and tests. - -Usage: - - Kernel::getConnection()->getConfiguration()->setSQLLogger( - new \Frosh\DevelopmentHelper\Doctrine\EchoSQLLogger() - ); - ## Known issues ### Some HTML is not rendered correctly when this plugin is active 💣 diff --git a/src/Doctrine/EchoSQLLogger.php b/src/Doctrine/EchoSQLLogger.php deleted file mode 100644 index 42e8304..0000000 --- a/src/Doctrine/EchoSQLLogger.php +++ /dev/null @@ -1,29 +0,0 @@ -replaceQueryParameters( - $sql, - $params ?? [] - ) - . ';' - . PHP_EOL; - } - - public function stopQuery(): void - { - } -}