diff --git a/composer.json b/composer.json index b86a5aa795..3bcbdeb744 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,7 @@ "friendsofsymfony/http-cache-bundle": "^3.0", "friendsofsymfony/jsrouting-bundle": "^3.5", "ibexa/doctrine-schema": "~5.0.x-dev", - "jms/translation-bundle": "^2.4", + "ibexa/jms-translation-bundle": "^2.6", "league/flysystem-memory": "^2.0.6", "liip/imagine-bundle": "^2.3", "nelmio/cors-bundle": "^2.0", @@ -37,27 +37,27 @@ "pagerfanta/pagerfanta": "^3.6.2", "psr/event-dispatcher": "^1.0", "symfony-cmf/routing": "^3.0", - "symfony/cache": "^7.3", - "symfony/console": "^7.3", - "symfony/dependency-injection": "^7.3", - "symfony/event-dispatcher": "^7.3", - "symfony/expression-language": "^7.3", - "symfony/framework-bundle": "^7.3", - "symfony/http-client": "^7.3", - "symfony/http-foundation": "^7.3", - "symfony/http-kernel": "^7.3", - "symfony/mime": "^7.3", + "symfony/cache": "^7.4", + "symfony/console": "^7.4", + "symfony/dependency-injection": "^7.4", + "symfony/event-dispatcher": "^7.4", + "symfony/expression-language": "^7.4", + "symfony/framework-bundle": "^7.4", + "symfony/http-client": "^7.4", + "symfony/http-foundation": "^7.4", + "symfony/http-kernel": "^7.4", + "symfony/mime": "^7.4", "symfony/polyfill-php80": "^1.27", - "symfony/process": "^7.3", - "symfony/security-bundle": "^7.3", - "symfony/security-core": "^7.3", - "symfony/security-http": "^7.3", - "symfony/serializer": "^7.3", + "symfony/process": "^7.4", + "symfony/security-bundle": "^7.4", + "symfony/security-core": "^7.4", + "symfony/security-http": "^7.4", + "symfony/serializer": "^7.4", "symfony/templating": "^6.4.0", - "symfony/translation": "^7.3", - "symfony/validator": "^7.3", - "symfony/var-dumper": "^7.3", - "symfony/yaml": "^7.3", + "symfony/translation": "^7.4", + "symfony/validator": "^7.4", + "symfony/var-dumper": "^7.4", + "symfony/yaml": "^7.4", "twig/extra-bundle": "^3.0", "twig/twig": ">=3.0 <3.16 || ^3.19.0", "ibexa/polyfill-php82": "^1.0" @@ -73,8 +73,8 @@ "phpstan/phpstan-phpunit": "^2.0", "phpstan/phpstan-symfony": "^2.0", "phpunit/phpunit": "^9.6", - "symfony/phpunit-bridge": "^7.3", - "symfony/runtime": "^7.3" + "symfony/phpunit-bridge": "^7.4", + "symfony/runtime": "^7.4" }, "conflict": { "doctrine/dbal": "2.7.0", @@ -82,11 +82,7 @@ "ezsystems/ezplatform-kernel": "*", "ezsystems/ezpublish-legacy": "*", "friendsofphp/php-cs-fixer": "3.5.0", - "phpunit/phpunit": "8.4.0", - "symfony/dependency-injection": "5.3.7", - "symfony/security-core": "5.3.0", - "symfony/validator": "^7.4", - "symfony/finder": "7.3.10 || 7.4.4" + "phpunit/phpunit": "8.4.0" }, "autoload": { "psr-4": { diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index f0465ee7cb..d9526bfb44 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -192,7 +192,6 @@ parameters: count: 1 path: src/bundle/Core/Command/ResizeOriginalImagesCommand.php - - message: '#^Parameter \#2 \$data of function fwrite expects string, string\|false given\.$#' identifier: argument.type @@ -2713,7 +2712,6 @@ parameters: count: 1 path: src/bundle/Core/Features/Context/RoleContext.php - - message: '#^Method Ibexa\\Bundle\\Core\\Features\\Context\\UserContext\:\:assertUserWithNameDoesntExist\(\) has no return type specified\.$#' identifier: missingType.return @@ -3212,6 +3210,18 @@ parameters: count: 1 path: src/bundle/Core/Imagine/Filter/AbstractFilter.php + - + message: '#^Parameter \#2 \$configuredVariations of method Ibexa\\Bundle\\Core\\Imagine\\Filter\\FilterConfiguration\:\:getVariationFilters\(\) expects array\\}\>, non\-empty\-array given\.$#' + identifier: argument.type + count: 1 + path: src/bundle/Core/Imagine/Filter/FilterConfiguration.php + + - + message: '#^Parameter \#2 \$configuredVariations of method Ibexa\\Bundle\\Core\\Imagine\\Filter\\FilterConfiguration\:\:getVariationPostProcessors\(\) expects array\\}\>, non\-empty\-array given\.$#' + identifier: argument.type + count: 1 + path: src/bundle/Core/Imagine/Filter/FilterConfiguration.php + - message: '#^Method Ibexa\\Bundle\\Core\\Imagine\\Filter\\FilterInterface\:\:getOptions\(\) return type has no value type specified in iterable type array\.$#' identifier: missingType.iterableValue @@ -3410,7 +3420,6 @@ parameters: count: 1 path: src/bundle/Core/Imagine/PlaceholderProvider/GenericProvider.php - - message: '#^Parameter \#1 \$width of class Imagine\\Image\\Box constructor expects int, int\|null given\.$#' identifier: argument.type @@ -3459,7 +3468,6 @@ parameters: count: 1 path: src/bundle/Core/Imagine/PlaceholderProvider/RemoteProvider.php - - message: '#^Cannot access offset string on Ibexa\\Bundle\\Core\\Imagine\\PlaceholderProvider\.$#' identifier: offsetAccess.nonOffsetAccessible @@ -14956,7 +14964,6 @@ parameters: count: 1 path: src/lib/Persistence/Legacy/Notification/Gateway/DoctrineDatabase.php - - message: '#^Method Ibexa\\Core\\Persistence\\Legacy\\Notification\\Mapper\:\:extractNotificationFromRow\(\) has parameter \$row with no value type specified in iterable type array\.$#' identifier: missingType.iterableValue @@ -15185,7 +15192,6 @@ parameters: count: 1 path: src/lib/Persistence/Legacy/URL/Gateway/DoctrineDatabase.php - - message: '#^Method Ibexa\\Core\\Persistence\\Legacy\\URL\\Gateway\\ExceptionConversion\:\:findUsages\(\) return type has no value type specified in iterable type array\.$#' identifier: missingType.iterableValue @@ -17844,7 +17850,6 @@ parameters: count: 1 path: src/lib/Repository/User/PasswordValidator.php - - message: '#^Call to an undefined method Ibexa\\Contracts\\Core\\Repository\\ContentService\:\:internalLoadContentById\(\)\.$#' identifier: method.notFound @@ -19345,7 +19350,6 @@ parameters: count: 1 path: src/lib/Search/Legacy/Content/Gateway/DoctrineDatabase.php - - message: '#^Method Ibexa\\Core\\Search\\Legacy\\Content\\Gateway\\ExceptionConversion\:\:find\(\) has parameter \$languageFilter with no value type specified in iterable type array\.$#' identifier: missingType.iterableValue @@ -19622,7 +19626,6 @@ parameters: count: 1 path: src/lib/Search/Legacy/Content/Location/Gateway/DoctrineDatabase.php - - message: '#^Method Ibexa\\Core\\Search\\Legacy\\Content\\Location\\Gateway\\ExceptionConversion\:\:find\(\) has parameter \$languageFilter with no value type specified in iterable type array\.$#' identifier: missingType.iterableValue