From 0b6a3448847fe020ad722cad0ac4eed239c03c69 Mon Sep 17 00:00:00 2001 From: Austin Passy <367897+thefrosty@users.noreply.github.com> Date: Wed, 24 Apr 2024 10:20:11 -0700 Subject: [PATCH] Update dev-dependencies, and bump PHP to ^8.1 --- CHANGELOG.md | 3 +++ composer.json | 19 +++++++++---------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d75b30..bc42177 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). # UNRELEASED +## 4.0.0 - 2024-04-24 +- Require PHP >= 8.1 + ## 3.10.0 - 2023-11-10 - Add new Text Array field type. diff --git a/composer.json b/composer.json index 70dd953..047b6ad 100644 --- a/composer.json +++ b/composer.json @@ -18,29 +18,28 @@ }, "optimize-autoloader": true, "platform": { - "php": "8.0" + "php": "8.1" }, "sort-packages": true }, "minimum-stability": "dev", "require": { - "php": "^8.0", + "php": "^8.1", "ext-json": "*", "thefrosty/wp-utilities": "^3.0" }, "require-dev": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.7", - "ext-simplexml": "*", - "inpsyde/php-coding-standards": "^1.0", - "phpunit/php-code-coverage": "^9", + "dealerdirect/phpcodesniffer-composer-installer": "^1.0", + "inpsyde/php-coding-standards": "dev-development", + "phpunit/php-code-coverage": "^10", "phpcompatibility/php-compatibility": "*", - "phpunit/phpunit": "^9", + "phpunit/phpunit": "^10", "roave/security-advisories": "dev-master", - "roots/wordpress": "~6.2", + "roots/wordpress": "~6.5", "slevomat/coding-standard": "~8.12", "squizlabs/php_codesniffer": "^3.2", - "wp-phpunit/wp-phpunit": "~6.2", - "yoast/phpunit-polyfills": "^1.0.2 || ^2.0" + "wp-phpunit/wp-phpunit": "~6.5", + "yoast/phpunit-polyfills": "^2.0" }, "suggest": { "frontpack/composer-assets-plugin": "Composer plugin for copying of frontend assets into public directory."