Skip to content

Commit

Permalink
Keep the requirements at PHP 5.6 and WP 4.6 until we have a practical…
Browse files Browse the repository at this point in the history
… reason to bump them
  • Loading branch information
kasparsd committed Sep 19, 2024
1 parent 6a95e7f commit b280472
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"minimum-stability": "dev",
"prefer-stable" : true,
"require": {
"php": ">=7.2.24|^8"
"php": ">=5.6"
},
"require-dev": {
"automattic/vipwpcs": "^3.0",
Expand All @@ -37,7 +37,7 @@
},
"scripts": {
"lint": "phpcs",
"lint-compat": "phpcs -p --standard=PHPCompatibilityWP --runtime-set testVersion 7.2- --extensions=php --ignore='tests/,dist/,includes/Yubico/,vendor/,node_modules/' .",
"lint-compat": "phpcs -p --standard=PHPCompatibilityWP --runtime-set testVersion 5.6- --extensions=php --ignore='tests/,dist/,includes/Yubico/,vendor/,node_modules/' .",
"lint-phpstan": "phpstan analyse --verbose --memory-limit=1G",
"test": "vendor/bin/phpunit",
"test:watch": [
Expand Down
4 changes: 2 additions & 2 deletions two-factor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: 6.3
* Requires PHP: 7.2
* Requires at least: 4.6
* Requires PHP: 5.6
* Author: WordPress.org Contributors
* Author URI: https://github.com/wordpress/two-factor/graphs/contributors
* License: GPL-2.0-or-later
Expand Down

0 comments on commit b280472

Please sign in to comment.