From 203ad7d594a743a361b1f4e61b7e9cffe774ecc8 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Thu, 16 Dec 2021 21:46:52 +0100 Subject: [PATCH] Updated dependencies --- CHANGELOG.md | 2 +- composer.json | 12 ++++++------ module/CLI/test/CliTestUtilsTrait.php | 2 ++ 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd39ed58..fad83e95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), and this * *Nothing* ### Changed -* *Nothing* +* [#1268](https://github.com/shlinkio/shlink/issues/1268) Updated dependencies, including symfony/console 6 and mezzio/mezzio-swoole 4. ### Deprecated * *Nothing* diff --git a/composer.json b/composer.json index 9652af32..a2fbe583 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "mezzio/mezzio": "^3.7", "mezzio/mezzio-fastroute": "^3.3", "mezzio/mezzio-problem-details": "^1.5", - "mezzio/mezzio-swoole": "^3.5", + "mezzio/mezzio-swoole": "^4.0", "mlocati/ip-lib": "^1.17", "monolog/monolog": "^2.3", "nikolaposa/monolog-factory": "^3.1", @@ -54,12 +54,12 @@ "shlinkio/shlink-importer": "^2.5", "shlinkio/shlink-installer": "^6.3", "shlinkio/shlink-ip-geolocation": "^2.2", - "symfony/console": "^5.4", - "symfony/filesystem": "^6.0 || ^5.4", - "symfony/lock": "^6.0 || ^5.4", + "symfony/console": "^6.0", + "symfony/filesystem": "^6.0", + "symfony/lock": "^6.0", "symfony/mercure": "^0.6", - "symfony/process": "^6.0 || ^5.4", - "symfony/string": "^6.0 || ^5.4" + "symfony/process": "^6.0", + "symfony/string": "^6.0" }, "require-dev": { "cebe/php-openapi": "^1.5", diff --git a/module/CLI/test/CliTestUtilsTrait.php b/module/CLI/test/CliTestUtilsTrait.php index 412131dc..ec7dd9d9 100644 --- a/module/CLI/test/CliTestUtilsTrait.php +++ b/module/CLI/test/CliTestUtilsTrait.php @@ -9,6 +9,7 @@ use Prophecy\PhpUnit\ProphecyTrait; use Prophecy\Prophecy\ObjectProphecy; use Symfony\Component\Console\Application; use Symfony\Component\Console\Command\Command; +use Symfony\Component\Console\Input\InputDefinition; use Symfony\Component\Console\Tester\CommandTester; trait CliTestUtilsTrait @@ -25,6 +26,7 @@ trait CliTestUtilsTrait $command->getDefinition()->willReturn($name); $command->isEnabled()->willReturn(true); $command->getAliases()->willReturn([]); + $command->getDefinition()->willReturn(new InputDefinition()); $command->setApplication(Argument::type(Application::class))->willReturn(function (): void { });