From 12fb2dfe5e16183de69e784a7b84046c43d97e8e Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 24 Jun 2024 22:46:42 +0200 Subject: [PATCH] Fix build --- composer.json | 6 +++--- phpstan.neon.dist | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 7a4d025d..91034848 100644 --- a/composer.json +++ b/composer.json @@ -105,13 +105,13 @@ "require-dev": { "composer/composer": "^1.10.27 || ^2.7", "composer/semver": "^1.7.2 || ^3.4.0", - "symfony/phpunit-bridge": "^5.3", + "symfony/phpunit-bridge": "^7.1.1", "phpstan/phpstan": "^1.11", "symfony/process": "^5 || ^6 || ^7", "phpstan/phpstan-phpunit": "^1" }, "scripts": { - "test": "vendor/bin/simple-phpunit", - "phpstan": "vendor/bin/phpstan analyse" + "test": "@php vendor/bin/simple-phpunit", + "phpstan": "@php vendor/bin/phpstan analyse" } } diff --git a/phpstan.neon.dist b/phpstan.neon.dist index b15782ac..51554790 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -9,4 +9,5 @@ parameters: - '~Test::[a-zA-Z0-9]+Provider\(\) return type~' includes: + - phpstan-baseline.neon - vendor/phpstan/phpstan-phpunit/extension.neon