From e7a32d0b2f98cf1594a6e9db7965dd46fb97b479 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Fri, 30 Aug 2024 12:09:32 +0200 Subject: [PATCH] IBX-8784: Added `AbstractExceptionVisitor` template --- .php-cs-fixer.php | 1 + src/lib/Server/Output/ValueObjectVisitor/Exception.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 4ba28536a..6b793736c 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -11,6 +11,7 @@ $configFactory = new InternalConfigFactory(); $configFactory->withRules([ 'declare_strict_types' => false, + 'phpdoc_no_empty_return' => false, ]); return $configFactory diff --git a/src/lib/Server/Output/ValueObjectVisitor/Exception.php b/src/lib/Server/Output/ValueObjectVisitor/Exception.php index 520ff2ce7..6069f3392 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/Exception.php +++ b/src/lib/Server/Output/ValueObjectVisitor/Exception.php @@ -53,7 +53,7 @@ protected function canDisplayExceptionTrace(): bool protected function canDisplayPreviousException(): bool { - return $this->debug; + return true; } }