diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 456f292..abd783d 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -14,5 +14,6 @@ jobs: with: PHP_EXTENSIONS: "mbstring" SYMFONY_KERNEL: "Nucleos\\AllInklBundle\\Tests\\App\\AppKernel" + SYMFONY_VERSIONS: "6.4,7.0" secrets: CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}" diff --git a/composer.json b/composer.json index d9f3797..bda150c 100644 --- a/composer.json +++ b/composer.json @@ -45,27 +45,27 @@ "sonata-project/block-bundle": "^4.21 || ^5.0", "sonata-project/doctrine-extensions": "^1.1 || ^2.0", "sonata-project/form-extensions": "^1.19 || ^2.0", - "symfony/config": "^5.4 || ^6.2", - "symfony/console": "^5.4 || ^6.2", - "symfony/dependency-injection": "^5.4 || ^6.2", - "symfony/expression-language": "^5.4 || ^6.2", - "symfony/form": "^5.4 || ^6.2", - "symfony/framework-bundle": "^5.4.19 || ^6.2.5", - "symfony/http-foundation": "^5.4 || ^6.2", - "symfony/http-kernel": "^5.4 || ^6.2", - "symfony/mailer": "^5.4 || ^6.2", - "symfony/mime": "^5.4 || ^6.2", - "symfony/options-resolver": "^5.4 || ^6.2", + "symfony/config": "^6.4 || ^7.0", + "symfony/console": "^6.4 || ^7.0", + "symfony/dependency-injection": "^6.4 || ^7.0", + "symfony/expression-language": "^6.4 || ^7.0", + "symfony/form": "^6.4 || ^7.0", + "symfony/framework-bundle": "^6.4 || ^7.0", + "symfony/http-foundation": "^6.4 || ^7.0", + "symfony/http-kernel": "^6.4 || ^7.0", + "symfony/mailer": "^6.4 || ^7.0", + "symfony/mime": "^6.4 || ^7.0", + "symfony/options-resolver": "^6.4 || ^7.0", "symfony/translation-contracts": "^1.1 || ^2.0 || ^3.0", - "symfony/twig-bridge": "^5.4 || ^6.2", + "symfony/twig-bridge": "^6.4 || ^7.0", "twig/intl-extra": "^2.4 || ^3.0", "twig/twig": "^2.4 || ^3.0" }, "require-dev": { "ergebnis/composer-normalize": "^2.0.1", - "symfony/browser-kit": "^5.4 || ^6.2", - "symfony/translation": "^5.4 || ^6.2", - "symfony/yaml": "^5.4 || ^6.2" + "symfony/browser-kit": "^6.4 || ^7.0", + "symfony/translation": "^6.4 || ^7.0", + "symfony/yaml": "^6.4 || ^7.0" }, "autoload": { "psr-4": { diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 5c23020..63fd4a8 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -20,6 +20,11 @@ parameters: count: 1 path: src/Mailer/SymfonyMailer.php + - + message: "#^Method Nucleos\\\\AllInklBundle\\\\NucleosAllInklBundle\\:\\:getContainerExtension\\(\\) should return Symfony\\\\Component\\\\DependencyInjection\\\\Extension\\\\ExtensionInterface\\|null but returns Symfony\\\\Component\\\\DependencyInjection\\\\Extension\\\\ExtensionInterface\\|false\\.$#" + count: 1 + path: src/NucleosAllInklBundle.php + - message: "#^Method Nucleos\\\\AllInklBundle\\\\Service\\\\AbstractService\\:\\:call\\(\\) has parameter \\$parameter with no value type specified in iterable type array\\.$#" count: 1