diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b88a67a7..bf79cc19 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,3 +4,13 @@ updates: directory: "/" schedule: interval: weekly + - package-ecosystem: "composer" + directory: "/" + allow: + - dependency-name: "*phpstan*" + schedule: + interval: weekly + groups: + composer: + patterns: + - "*phpstan*" diff --git a/composer.json b/composer.json index 7809d603..a2853e65 100644 --- a/composer.json +++ b/composer.json @@ -33,9 +33,9 @@ "friendsofphp/php-cs-fixer": "^2.19||^3.40", "masterminds/html5": "^2.8", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^1.3", - "phpstan/phpstan-phpunit": "^1.0", - "phpstan/phpstan-symfony": "^1.0", + "phpstan/phpstan": "1.11.3", + "phpstan/phpstan-phpunit": "1.4.0", + "phpstan/phpstan-symfony": "1.4.3", "phpunit/phpunit": "^8.5.14||^9.3.9", "symfony/browser-kit": "^4.4.20||^5.0.11||^6.0||^7.0", "symfony/cache": "^4.4.20||^5.0.11||^6.0||^7.0", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index a3147cca..4c723f1e 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -155,6 +155,11 @@ parameters: count: 2 path: src/DependencyInjection/SentryExtension.php + - + message: "#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, Closure\\(array\\)\\: mixed given\\.$#" + count: 1 + path: src/ErrorTypesParser.php + - message: "#^Call to an undefined method Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\KernelEvent\\:\\:isMasterRequest\\(\\)\\.$#" count: 1