From 790ea368a128725d76372b1c62ba76f3b8509c19 Mon Sep 17 00:00:00 2001 From: Kennard Vermeiren Date: Fri, 26 Jan 2024 10:16:48 +0100 Subject: [PATCH] Allow Symfony ^7.0 as dependency --- .gitignore | 1 + composer.json | 6 +++--- src/PhpunitMerger/Command/CoverageCommand.php | 2 +- src/PhpunitMerger/Command/LogCommand.php | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 30cd882..a89a0ce 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /.idea /.Log composer.lock +.phpunit.result.cache diff --git a/composer.json b/composer.json index 3412e24..1456b50 100644 --- a/composer.json +++ b/composer.json @@ -31,12 +31,12 @@ "ext-json": "*", "ext-simplexml": "*", "phpunit/php-code-coverage": "^9.0 || ^10.0", - "symfony/console": ">=2.7 <7.0", - "symfony/finder": ">=2.7 <7.0" + "symfony/console": ">=2.7 <8.0", + "symfony/finder": ">=2.7 <8.0" }, "require-dev": { "phpunit/phpunit": "^9.3 || ^10.0", - "symfony/filesystem": ">=2.7 <7.0", + "symfony/filesystem": ">=2.7 <8.0", "phpspec/prophecy": "^1.0", "php-parallel-lint/php-parallel-lint": "^1.4" }, diff --git a/src/PhpunitMerger/Command/CoverageCommand.php b/src/PhpunitMerger/Command/CoverageCommand.php index 144d6d6..ffc90e9 100644 --- a/src/PhpunitMerger/Command/CoverageCommand.php +++ b/src/PhpunitMerger/Command/CoverageCommand.php @@ -54,7 +54,7 @@ protected function configure() ); } - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $finder = new Finder(); $finder->files() diff --git a/src/PhpunitMerger/Command/LogCommand.php b/src/PhpunitMerger/Command/LogCommand.php index d30e6ef..8f5b2ff 100644 --- a/src/PhpunitMerger/Command/LogCommand.php +++ b/src/PhpunitMerger/Command/LogCommand.php @@ -38,7 +38,7 @@ protected function configure() ); } - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $finder = new Finder(); $finder->files()