From 8899cd6ee2a85ebb2e84928961578eccc212a6b8 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Thu, 10 Jun 2021 14:57:24 +0300 Subject: [PATCH] fix for phpmd --- composer.json | 2 +- src/Command/CompilerPromptCommand.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ef47488..8f5e302 100644 --- a/composer.json +++ b/composer.json @@ -113,4 +113,4 @@ "bin-dir": "vendor/bin", "process-timeout": 600 } -} +} \ No newline at end of file diff --git a/src/Command/CompilerPromptCommand.php b/src/Command/CompilerPromptCommand.php index 484d9a4..5133108 100644 --- a/src/Command/CompilerPromptCommand.php +++ b/src/Command/CompilerPromptCommand.php @@ -57,6 +57,8 @@ class CompilerPromptCommand extends Command * @param \Symfony\Component\Console\Output\OutputInterface $output * * @return int + * + * @SuppressWarnings(PHPMD.ElseExpression) */ protected function execute(InputInterface $input, OutputInterface $output): int {