diff --git a/composer.json b/composer.json index 65f822e..27ae566 100644 --- a/composer.json +++ b/composer.json @@ -10,31 +10,31 @@ } ], "require": { - "php": "^7.2", - "symfony/framework-bundle": "^3.4 || ^4.3 || ^5.0", - "symfony/validator": "^3.4 || ^4.3 || ^5.0", - "symfony/translation": "^3.4 || ^4.3 || ^5.0", - "symfony/twig-bundle": "^3.4 || ^4.3 || ^5.0", - "symfony/finder": "^3.4 || ^4.3 || ^5.0", - "symfony/intl": "^3.4 || ^4.3 || ^5.0", + "php": "^7.2 || ^8.0", + "symfony/framework-bundle": "^3.4.47 || ^4.4.20 || ^5.2.5", + "symfony/validator": "^3.4.47 || ^4.4.20 || ^5.2.5", + "symfony/translation": "^3.4.47 || ^4.4.20 || ^5.2.5", + "symfony/twig-bundle": "^3.4.47 || ^4.4.20 || ^5.2.5", + "symfony/finder": "^3.4.47 || ^4.4.20 || ^5.2.5", + "symfony/intl": "^3.4.47 || ^4.4.20 || ^5.2.5", "php-translation/symfony-storage": "^2.1", "php-translation/extractor": "^2.0", "nyholm/nsa": "^1.1", - "twig/twig": "^2.11 || ^3.0" + "twig/twig": "^2.14.4 || ^3.3" }, "require-dev": { "symfony/phpunit-bridge": "^5.2", "bamarni/composer-bin-plugin": "^1.3", "php-translation/translator": "^1.0", - "php-http/curl-client": "^1.7", - "php-http/message": "^1.6", + "php-http/curl-client": "^1.7 || ^2.0", + "php-http/message": "^1.11", "php-http/message-factory": "^1.0.2", - "symfony/console": "^3.4 || ^4.3 || ^5.0", - "symfony/twig-bridge": "^3.4 || ^4.3 || ^5.0", - "symfony/asset": "^3.4 || ^4.3 || ^5.0", - "symfony/dependency-injection": "^3.4 || ^4.3 || ^5.0", - "symfony/web-profiler-bundle": "^3.4 || ^4.3 || ^5.0", + "symfony/console": "^3.4.47 || ^4.4.20 || ^5.2.5", + "symfony/twig-bridge": "^3.4.47 || ^4.4.20 || ^5.2.5", + "symfony/asset": "^3.4.47 || ^4.4.20 || ^5.2.5", + "symfony/dependency-injection": "^3.4.47 || ^4.4.20 || ^5.2.5", + "symfony/web-profiler-bundle": "^3.4.47 || ^4.4.20 || ^5.2.5", "matthiasnoback/symfony-dependency-injection-test": "^4.1", "matthiasnoback/symfony-config-test": "^4.1", "nyholm/psr7": "^1.1", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 2dd6a23..88381d0 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -145,3 +145,5 @@ parameters: count: 2 path: Twig/TranslationExtension.php + excludes_analyse: + - Translator/TranslatorInterface.php