From e0b7ffd55fbbe4dd599341457b32184872a83086 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Thu, 22 Aug 2024 12:56:30 +1000 Subject: [PATCH] Bump minimum WP to 6.3, minimum PHP to 7.2. (#625) * Bump minimum WP to 6.3, minimum PHP to 7.2.24. * Composer: Update minimum PHP requirement. --- composer.json | 4 ++-- two-factor.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 0bc125d7..80a3838b 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "minimum-stability": "dev", "prefer-stable" : true, "require": { - "php": ">=5.6" + "php": ">=7.2.24|^8" }, "require-dev": { "automattic/vipwpcs": "^3.0", @@ -43,7 +43,7 @@ }, "scripts": { "lint": "phpcs", - "lint-compat": "phpcs -p --standard=PHPCompatibilityWP --runtime-set testVersion 5.6- --extensions=php --ignore='tests/,dist/,includes/Yubico/,vendor/,wordpress/,node_modules/' .", + "lint-compat": "phpcs -p --standard=PHPCompatibilityWP --runtime-set testVersion 7.2- --extensions=php --ignore='tests/,dist/,includes/Yubico/,vendor/,wordpress/,node_modules/' .", "test": "phpunit", "test:watch": [ "Composer\\Config::disableProcessTimeout", diff --git a/two-factor.php b/two-factor.php index 3f3754ac..380ad4c2 100644 --- a/two-factor.php +++ b/two-factor.php @@ -12,8 +12,8 @@ * Plugin URI: https://wordpress.org/plugins/two-factor/ * Description: Enable Two-Factor Authentication using time-based one-time passwords, Universal 2nd Factor (FIDO U2F, YubiKey), email, and backup verification codes. * Version: 0.9.1 - * Requires at least: 4.6 - * Requires PHP: 5.6 + * Requires at least: 6.3 + * Requires PHP: 7.2 * Author: Plugin Contributors * Author URI: https://github.com/wordpress/two-factor/graphs/contributors * License: GPL-2.0-or-later