From 3766f476a7a80dea5d8b414e7a594820cc81fb20 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 3 Jan 2022 08:08:08 +0100 Subject: update to 6.0.2 open https://github.com/llaville/php-compatinfo/issues/316 regression, compatibility with Symfony 4 --- php-bartlett-PHP-CompatInfo-6.0.2-sf4.patch | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 php-bartlett-PHP-CompatInfo-6.0.2-sf4.patch (limited to 'php-bartlett-PHP-CompatInfo-6.0.2-sf4.patch') diff --git a/php-bartlett-PHP-CompatInfo-6.0.2-sf4.patch b/php-bartlett-PHP-CompatInfo-6.0.2-sf4.patch new file mode 100644 index 0000000..298dc70 --- /dev/null +++ b/php-bartlett-PHP-CompatInfo-6.0.2-sf4.patch @@ -0,0 +1,36 @@ +From b110f1e6cebf3e9e0a946ecb64ba2eebb085589f Mon Sep 17 00:00:00 2001 +From: Laurent Laville +Date: Mon, 13 Dec 2021 12:25:26 +0100 +Subject: [PATCH] fix Symfony 4 compatibility (see issue #310) (#311) + +--- + src/Application/Event/Dispatcher/EventDispatcher.php | 2 +- + src/Presentation/Console/Style.php | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/Application/Event/Dispatcher/EventDispatcher.php b/src/Application/Event/Dispatcher/EventDispatcher.php +index 2353e2b8..e6558d03 100644 +--- a/src/Application/Event/Dispatcher/EventDispatcher.php ++++ b/src/Application/Event/Dispatcher/EventDispatcher.php +@@ -75,7 +75,7 @@ public function __construct( + /** + * {@inheritDoc} + */ +- public function dispatch(object $event, string $eventName = null): object ++ public function dispatch($event, string $eventName = null): object + { + $triggered = false; + foreach ($this->extensionLoader->getNames() as $extensionName) { +diff --git a/src/Presentation/Console/Style.php b/src/Presentation/Console/Style.php +index 89bafcd2..14e6c427 100644 +--- a/src/Presentation/Console/Style.php ++++ b/src/Presentation/Console/Style.php +@@ -13,7 +13,7 @@ final class Style extends SymfonyStyle implements StyleInterface + /** + * {@inheritDoc} + */ +- public function createProgressBar(int $max = 0) ++ public function createProgressBar($max = 0) + { + $progressBar = parent::createProgressBar($max); + -- cgit