Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.2
php-version: 7.4
coverage: none

# This action also handles the caching of the Yarn dependencies.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
matrix:
# Lint against the highest/lowest supported versions of each PHP major.
# And also do a run against "nightly" (the current dev version of PHP).
php_version: ['7.2', '7.4', '8.0', '8.4', 'nightly']
php_version: [ '7.4', '8.0', '8.4', 'nightly']

name: "Lint: PHP ${{ matrix.php_version }}"

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ jobs:

strategy:
matrix:
php_version: ['7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
php_version: ['7.4', '8.0', '8.1', '8.2', '8.3']
coverage: [false]

# Run code coverage only on high/low PHP.
include:
- php_version: 7.2
- php_version: 7.4
coverage: true
- php_version: 8.4
coverage: true
Expand Down Expand Up @@ -127,12 +127,12 @@ jobs:
strategy:
matrix:
include:
- php_version: "7.2"
- php_version: "7.4"
wp_version: "6.5"
multisite: true
coverage: true

- php_version: "7.3"
- php_version: "7.4"
wp_version: "trunk"
multisite: true
coverage: false
Expand Down Expand Up @@ -175,9 +175,9 @@ jobs:

services:
mysql:
# Use MySQL 5.6 for PHP 7.2, use MySQL 5.7 for PHP 7.3 < 7.4, otherwise MySQL 8.0.
# Use MySQL 5.6 for PHP 7.4, use MySQL 5.7 for PHP 8.0, otherwise MySQL 8.0.
# Also see: https://core.trac.wordpress.org/ticket/52496
image: mysql:${{ ( matrix.php_version == '7.2' && '5.6' ) || ( matrix.php_version < '7.4' && '5.7' ) || '8.0' }}
image: mysql:${{ ( matrix.php_version == '7.4' && '5.6' ) || ( matrix.php_version == '8.0' && '5.7' ) || '8.0' }}
env:
MYSQL_ALLOW_EMPTY_PASSWORD: false
ports:
Expand All @@ -187,7 +187,7 @@ jobs:
steps:
- name: Install subversion
run: sudo apt-get install -y subversion

- name: Checkout code
uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"security": "https://yoast.com/security-program/"
},
"require": {
"php": "^7.2.5 || ^8.0",
"php": "^7.4 || ^8.0",
"composer/installers": "^1.12.0 || ^2.0"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion duplicate-post.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Author URI: https://yoa.st/team-yoast-duplicate
* Text Domain: duplicate-post
* Requires at least: 6.6
* Requires PHP: 7.2.5
* Requires PHP: 7.4
*
* Copyright 2020-2024 Yoast BV (email : [email protected])
*
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: duplicate post, copy, clone
Requires at least: 6.6
Tested up to: 6.8
Stable tag: 4.5
Requires PHP: 7.2.5
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down