From 13531be24dde8268ec70406681f5bcfbe8ef26c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toma=CC=81s=CC=8C=20Ludvik?= Date: Tue, 5 Nov 2024 09:40:55 +0100 Subject: [PATCH 1/2] updated symfony to 6.4 --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 12c1881..d9b9497 100644 --- a/composer.json +++ b/composer.json @@ -32,11 +32,11 @@ "shopsys/category-feed-luigis-box": "16.0.x-dev", "shopsys/product-feed-luigis-box": "16.0.x-dev", "overblog/dataloader-bundle": "^0.6.0", - "symfony/config": "^5.4", - "symfony/dependency-injection": "^5.4", - "symfony/http-foundation": "^5.4", - "symfony/http-kernel": "^5.4", - "symfony/routing": "^5.4" + "symfony/config": "^6.4", + "symfony/dependency-injection": "^6.4", + "symfony/http-foundation": "^6.4", + "symfony/http-kernel": "^6.4", + "symfony/routing": "^6.4" }, "require-dev": { "phpunit/phpunit": "^11.2.1" From 0ec833b058cbb209944b61ad4b3d7cb1fd27e0c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toma=CC=81s=CC=8C=20Ludvik?= Date: Tue, 5 Nov 2024 12:43:00 +0100 Subject: [PATCH 2/2] fixed types and wrong usages reported by PHPStan --- src/Component/LuigisBox/LuigisBoxClient.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Component/LuigisBox/LuigisBoxClient.php b/src/Component/LuigisBox/LuigisBoxClient.php index e51d848..0dafb50 100644 --- a/src/Component/LuigisBox/LuigisBoxClient.php +++ b/src/Component/LuigisBox/LuigisBoxClient.php @@ -4,6 +4,7 @@ namespace Shopsys\LuigisBoxBundle\Component\LuigisBox; +use Monolog\Logger; use Shopsys\ArticleFeed\LuigisBoxBundle\Model\LuigisBoxArticleFeedItem; use Shopsys\BrandFeed\LuigisBoxBundle\Model\LuigisBoxBrandFeedItem; use Shopsys\CategoryFeed\LuigisBoxBundle\Model\FeedItem\LuigisBoxCategoryFeedItem; @@ -17,7 +18,6 @@ use Shopsys\LuigisBoxBundle\Model\Product\Filter\LuigisBoxFacetsToProductFilterOptionsMapper; use Shopsys\LuigisBoxBundle\Model\Type\TypeInLuigisBoxEnum; use Shopsys\ProductFeed\LuigisBoxBundle\Model\FeedItem\LuigisBoxProductFeedItem; -use Symfony\Bridge\Monolog\Logger; use Symfony\Contracts\HttpClient\HttpClientInterface; use Throwable; @@ -29,7 +29,7 @@ class LuigisBoxClient * @param string $luigisBoxApiUrl * @param array $trackerIdsByDomainIds * @param \Shopsys\FrameworkBundle\Component\Domain\Domain $domain - * @param \Symfony\Bridge\Monolog\Logger $logger + * @param \Monolog\Logger $logger * @param \Shopsys\LuigisBoxBundle\Model\Endpoint\LuigisBoxEndpointEnum $luigisBoxEndpointEnum * @param \Symfony\Component\HttpClient\TraceableHttpClient $httpClient */