From c306513f58a89e64ade4722706a8641f59fe552d Mon Sep 17 00:00:00 2001 From: Adrian Hernandez Lopez <16022257+AdrianHL@users.noreply.github.com> Date: Mon, 16 Dec 2019 17:00:40 +0000 Subject: [PATCH] Remove PHP 5.6 ToDo not longer needed Remove a ToDo that was not longer needed mentioning Throwable changes; but there are no changes needed. --- src/Knp/Snappy/AbstractGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Knp/Snappy/AbstractGenerator.php b/src/Knp/Snappy/AbstractGenerator.php index 3a00b45e..a3f76ba6 100644 --- a/src/Knp/Snappy/AbstractGenerator.php +++ b/src/Knp/Snappy/AbstractGenerator.php @@ -176,7 +176,7 @@ public function generate($input, $output, array $options = [], $overwrite = fals list($status, $stdout, $stderr) = $this->executeCommand($command); $this->checkProcessStatus($status, $stdout, $stderr, $command); $this->checkOutput($output, $command); - } catch (\Exception $e) { // @TODO: should be replaced by \Throwable when support for php5.6 is dropped + } catch (\Exception $e) { $this->logger->error(sprintf('An error happened while generating "%s".', $output), [ 'command' => $command, 'status' => isset($status) ? $status : null,