From 55477bb9eeebe0868492b67f2577d6ca32872390 Mon Sep 17 00:00:00 2001 From: Damian Taggart <4309872+attackant@users.noreply.github.com> Date: Mon, 30 Oct 2023 14:42:53 -0600 Subject: [PATCH] Update composer dependencies and PHP version This commit updates the composer.json file. The dependencies versions have been changed to more recent versions and the required PHP version has been updated too. These changes support more recent and secure code usage conventions. --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index c32c3285..cc5b1382 100644 --- a/composer.json +++ b/composer.json @@ -5,13 +5,13 @@ "type" : "wordpress-plugin", "license" : "GPL-3.0-or-later", "require" : { - "composer/installers": "~1.0", - "php": ">=7.1" + "composer/installers": "^1.12.0", + "php": "^8.0" }, "require-dev": { - "phpspec/prophecy": "~1.0", - "alleyinteractive/alley-coding-standards": "^0.3.0", - "yoast/phpunit-polyfills": "^1.0" + "phpspec/prophecy": "^1.17.0", + "alleyinteractive/alley-coding-standards": "^2.0.1", + "yoast/phpunit-polyfills": "^2.0" }, "scripts": { "phpcbf" : "phpcbf .",