From 59e54242f36bbb206333b1622277bf4eef8e86ba 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 4ba28536..6b793736 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 520ff2ce..6069f339 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; } }