From 866f2500cf7ed4fff3aae74ee9cca519bab3beba Mon Sep 17 00:00:00 2001 From: Bart Jaskulski <bjaskulski@protonmail.com> Date: Mon, 30 Oct 2023 14:01:06 +0100 Subject: [PATCH] build: add phpstan as direct dependency/update phpunit Signed-off-by: Bart Jaskulski <bjaskulski@protonmail.com> --- composer.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 40e183e..0d397d7 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,8 @@ "cweagans/composer-patches": true, "wpdesk/wp-codeception": true, "wpdesk/wp-wpdesk-composer": true, - "kylekatarnls/update-helper": true + "kylekatarnls/update-helper": true, + "phpstan/extension-installer": true }, "platform-check": false }, @@ -45,8 +46,11 @@ }, "require-dev": { "10up/wp_mock": "*", - "phpunit/phpunit": "<7", + "phpstan/extension-installer": "^1.3", + "phpstan/phpstan": "^1", + "phpunit/phpunit": "^8 | ^9", "roave/security-advisories": "dev-latest", + "szepeviktor/phpstan-wordpress": "^1.3", "wpdesk/wp-builder": "^2.0.0", "wpdesk/wp-codeception": "^2.7.4", "wpdesk/wp-plugin-flow-free": "^1.0.2", -- GitLab