Skip to content

Commit cd31635

Browse files
committed
update minimum requirements to PHP 7.2 and WP 5.1
1 parent 8cdb0fa commit cd31635

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ jobs:
66
strategy:
77
matrix:
88
include:
9-
- php: '5.6'
10-
wordpress: '4.7'
9+
- php: '7.2'
10+
wordpress: '5.1'
1111
- php: '7.4'
1212
wordpress: '5.9'
1313
- php: '8.0'
@@ -16,7 +16,7 @@ jobs:
1616
wordpress: '6.4'
1717
- php: '8.3'
1818
wordpress: 'latest'
19-
- php: '8.3'
19+
- php: '8.4'
2020
wordpress: 'nightly'
2121
steps:
2222
- name: Checkout

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@
2222
"forum": "https://wordpress.org/support/plugin/cachify"
2323
},
2424
"require": {
25-
"php": ">=5.6",
26-
"composer/installers": "^v1|^v2"
25+
"php": ">=7.2",
26+
"composer/installers": "^v2"
2727
},
2828
"require-dev": {
2929
"dealerdirect/phpcodesniffer-composer-installer": "^v1.0",
3030
"matthiasmullie/minify": "^1.3",
31-
"phpunit/phpunit": "^5|^7|^9",
31+
"phpunit/phpunit": "^7|^9",
3232
"squizlabs/php_codesniffer": "^3.11",
3333
"phpcompatibility/phpcompatibility-wp": "^2.1",
3434
"wp-coding-standards/wpcs": "^3.1",
35-
"yoast/phpunit-polyfills": "^2.0"
35+
"yoast/phpunit-polyfills": "^4.0"
3636
},
3737
"scripts": {
3838
"post-install-cmd": [

phpcs.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<exclude-pattern>vendor/*</exclude-pattern>
2121

2222
<!-- WordPress coding standards -->
23-
<config name="minimum_supported_wp_version" value="4.7"/>
23+
<config name="minimum_supported_wp_version" value="5.1"/>
2424
<rule ref="WordPress">
2525
<exclude name="PSR2.Classes.PropertyDeclaration.Underscore"/>
2626
<exclude name="PSR2.Methods.MethodDeclaration.Underscore"/>
@@ -33,6 +33,6 @@
3333
</rule>
3434

3535
<!-- Include sniffs for PHP cross-version compatibility. -->
36-
<config name="testVersion" value="5.6-"/>
36+
<config name="testVersion" value="7.2-"/>
3737
<rule ref="PHPCompatibilityWP"/>
3838
</ruleset>

readme.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
* Contributors: pluginkollektiv
33
* Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=TD4AMD2D8EMZW
44
* Tags: cache, caching, performance, optimize, speed
5-
* Requires at least: 4.7
5+
* Requires at least: 5.1
66
* Tested up to: 6.7
7-
* Requires PHP: 5.6
7+
* Requires PHP: 7.2
88
* Stable tag: 2.4.1
99
* License: GPLv2 or later
1010
* License URI: https://www.gnu.org/licenses/gpl-2.0.html

0 commit comments

Comments
 (0)