From 01918677680d67fbf654a57db0192eb895610e65 Mon Sep 17 00:00:00 2001 From: MaSi Date: Mon, 1 Feb 2021 11:58:47 +0100 Subject: [PATCH] Upgrade symfony dependency --- composer.json | 14 +++++++------- src/PHPFormatter/Command/PHPFormatterCommand.php | 4 +++- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index cb94fa6..edc0615 100644 --- a/composer.json +++ b/composer.json @@ -14,13 +14,13 @@ ], "require": { "php": ">=7.0", - "symfony/console": "^3.2||^4.0", - "symfony/process": "^3.2||^4.0", - "symfony/finder": "^3.2||^4.0", - "symfony/filesystem": "^3.2||^4.0", - "symfony/yaml": "^3.2||^4.0", - "symfony/event-dispatcher": "^3.2||^4.0", - "symfony/property-access": "^3.2||^4.0" + "symfony/console": "^4.4||^5.0", + "symfony/process": "^4.4||^5.0", + "symfony/finder": "^4.4||^5.0", + "symfony/filesystem": "^4.4||^5.0", + "symfony/yaml": "^4.4||^5.0", + "symfony/event-dispatcher": "^4.4||^5.0", + "symfony/property-access": "^4.4||^5.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^2.8.3", diff --git a/src/PHPFormatter/Command/PHPFormatterCommand.php b/src/PHPFormatter/Command/PHPFormatterCommand.php index 3111c4a..ca0502c 100644 --- a/src/PHPFormatter/Command/PHPFormatterCommand.php +++ b/src/PHPFormatter/Command/PHPFormatterCommand.php @@ -76,7 +76,7 @@ protected function configure() * @param InputInterface $input Input * @param OutputInterface $output Output * - * @return int|null|void + * @return int * * @throws Exception */ @@ -119,6 +119,8 @@ protected function execute(InputInterface $input, OutputInterface $output) $files, $fixer ); + + return 0; } /**