From 66c383153208b478e0fd9d80169001390914a064 Mon Sep 17 00:00:00 2001 From: Bart Jaskulski <bjaskulski@protonmail.com> Date: Tue, 19 Nov 2024 10:22:13 +0100 Subject: [PATCH] build: update composer packages Signed-off-by: Bart Jaskulski <bjaskulski@protonmail.com> --- composer.json | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index 98872a8..d15e4ed 100644 --- a/composer.json +++ b/composer.json @@ -7,15 +7,13 @@ } ], "require": { - "php": ">=5.5" + "php": ">=7.4 || ^8" }, "require-dev": { - "phpunit/phpunit": "<7", - "wp-coding-standards/wpcs": "^0.14.1", - "squizlabs/php_codesniffer": "^3.0.2", - "mockery/mockery": "*", - "10up/wp_mock": "*", - "wimg/php-compatibility": "^8" + "phpunit/phpunit": "^9", + "10up/wp_mock": "^1", + "wpdesk/wp-code-sniffer": "^1", + "wpdesk/phpstan-rules": "^1" }, "autoload": { "psr-4": { @@ -25,8 +23,6 @@ "src/Plugin/WithoutNamespace" ] }, - "autoload-dev": { - }, "extra": { "text-domain": "wpdesk-wp-builder", "translations-folder": "lang", @@ -43,5 +39,11 @@ }, "archive": { "exclude": ["/tests"] + }, + "config": { + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true, + "phpstan/extension-installer": true + } } } -- GitLab