From 54eaf66c044467c9e3559ac1726bcc4507e9ec97 Mon Sep 17 00:00:00 2001 From: tommmic Date: Tue, 25 Oct 2022 10:38:02 +0200 Subject: [PATCH 1/2] =?UTF-8?q?Dopln=C4=9Bn=C3=AD=20interface=20k=20pro=20?= =?UTF-8?q?processor=C5=AFm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - všechny processory pro monolog musí a implementují interface na projektech následně toho využíváme při autowiringu --- src/Processors/BlueScreenProcessor.php | 2 +- src/Processors/ContextChannelProcessor.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Processors/BlueScreenProcessor.php b/src/Processors/BlueScreenProcessor.php index 1446f5d..199e65e 100644 --- a/src/Processors/BlueScreenProcessor.php +++ b/src/Processors/BlueScreenProcessor.php @@ -2,7 +2,7 @@ namespace Pd\MonologModule\Processors; -final class BlueScreenProcessor +final class BlueScreenProcessor implements \Monolog\Processor\ProcessorInterface { private \Tracy\BlueScreen $blueScreenRenderer; diff --git a/src/Processors/ContextChannelProcessor.php b/src/Processors/ContextChannelProcessor.php index d0b588c..17a4782 100644 --- a/src/Processors/ContextChannelProcessor.php +++ b/src/Processors/ContextChannelProcessor.php @@ -2,7 +2,7 @@ namespace Pd\MonologModule\Processors; -final class ContextChannelProcessor +final class ContextChannelProcessor implements \Monolog\Processor\ProcessorInterface { /** From 39e5a9be37abe36c8fc4bfa423722dc35c1b43f7 Mon Sep 17 00:00:00 2001 From: tommmic Date: Tue, 25 Oct 2022 10:42:13 +0200 Subject: [PATCH 2/2] =?UTF-8?q?Opr=C3=A1vn=C4=9Bn=C3=AD=20pro=20composer?= =?UTF-8?q?=20sniffer=20plugin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - viz. https://github.com/PHPCSStandards/composer-installer#readme --- composer.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/composer.json b/composer.json index 990d09e..28d1ffa 100644 --- a/composer.json +++ b/composer.json @@ -26,5 +26,10 @@ "psr-4": { "PdTests\\MonologModule\\": "tests" } + }, + "config": { + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } } }