From 374ac9ed2f4dce4ed46c5925d0121d12798639b8 Mon Sep 17 00:00:00 2001 From: Massimiliano Arione Date: Sat, 15 Oct 2022 10:21:22 +0200 Subject: [PATCH] fix error in baseline --- .github/workflows/build.yaml | 3 --- composer.json | 8 ++++---- phpstan-baseline.neon | 2 +- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f595aba5..b987d26f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -42,9 +42,6 @@ jobs: - description: 'Symfony 4.4' php: '7.4' symfony: 4.4.* - - description: 'Symfony 5.3' - php: '7.4' - symfony: 5.3.* - description: 'Symfony 5.4' php: '7.4' symfony: 5.4.* diff --git a/composer.json b/composer.json index da5aa938..e2e7a497 100644 --- a/composer.json +++ b/composer.json @@ -23,16 +23,16 @@ "php": "^7.4 || ^8.0" }, "conflict": { - "twig/twig": "<1.40 || >=2,<2.9" + "twig/twig": "<1.42.3 || >=2,<2.9" }, "require-dev": { - "phpstan/phpstan": "^1.4", + "phpstan/phpstan": "^1.8", "phpunit/phpunit": "^9.5", "psr/container": "^1.0", "symfony/http-foundation": "^4.4 || ^5.0 || ^6.0", - "symfony/phpunit-bridge": "^5.3", + "symfony/phpunit-bridge": "^6.1", "symfony/routing": "^4.4 || ^5.0 || ^6.0", - "twig/twig": "^1.40 || ^2.9 || ^3.0" + "twig/twig": "^1.42.3 || ^2.9 || ^3.0" }, "suggest": { "twig/twig": "for the TwigRenderer and the integration with your templates" diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index d3f4fbae..82fc7639 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -6,7 +6,7 @@ parameters: path: src/Knp/Menu/Matcher/Voter/RouteVoter.php - - message: "#^Strict comparison using \\=\\=\\= between false and array\\ will always evaluate to false\\.$#" + message: "#^Strict comparison using \\=\\=\\= between false and array\\ will always evaluate to false\\.$#" count: 1 path: src/Knp/Menu/MenuItem.php