Skip to content

Commit

Permalink
Merge pull request #175 from Automattic/change-supported-php-versions
Browse files Browse the repository at this point in the history
Update supported PHP version to 7.4 and WP 5.9 minimum
  • Loading branch information
GaryJones authored Feb 7, 2024
2 parents 31e3224 + af02502 commit 713f950
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
matrix:
wordpress: ["5.5", "5.6", "5.7"]
php: ["5.6", "7.0", "7.1", "7.2", "7.3", "7.4"]
php: ["7.4", "8.0", "8.1"]
include:
- php: "8.0"
# Ignore platform requirements, so that PHPUnit 7.5 can be installed on PHP 8.0 (and above).
Expand Down
2 changes: 1 addition & 1 deletion .phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<rule ref="PHPCompatibilityWP"/>
<!-- For help in understanding this testVersion:
https://github.com/PHPCompatibility/PHPCompatibility#sniffing-your-code-for-compatibility-with-specific-php-versions -->
<config name="testVersion" value="5.6-"/>
<config name="testVersion" value="7.4-"/>

<!-- Rules: WordPress Coding Standards - see
https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards -->
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}
],
"require": {
"php": ">=5.6",
"php": ">=7.4",
"composer/installers": "~1.0"
},
"require-dev": {
Expand Down
1 change: 1 addition & 0 deletions msm-sitemap.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
Version: 1.4.1
Stable tag: 1.4.1
License: GPLv2
Requires PHP: 7.4
*/

if ( defined( 'WP_CLI' ) && true === WP_CLI ) {
Expand Down

0 comments on commit 713f950

Please sign in to comment.