Skip to content

Commit 410be1f

Browse files
committed
Require PHP 7.2.24+
1 parent 44e6127 commit 410be1f

File tree

4 files changed

+2059
-967
lines changed

4 files changed

+2059
-967
lines changed

.github/workflows/deployment.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ jobs:
9999
- php: '8.0'
100100
wp: 'trunk'
101101
mysql: '5.6'
102-
- php: '5.6'
103-
wp: '3.7'
102+
- php: '7.2'
103+
wp: '4.9'
104104
mysql: '5.6'
105105
runs-on: ubuntu-22.04
106106
env:
@@ -117,20 +117,7 @@ jobs:
117117
sudo apt-get update
118118
sudo apt-get install ghostscript -y
119119
120-
- name: Set up PHP environment (PHP 5.6 - 7.1)
121-
if: ${{ matrix.php < '7.2' }}
122-
uses: shivammathur/setup-php@v2
123-
with:
124-
php-version: '${{ matrix.php }}'
125-
extensions: imagick, mysql, zip
126-
coverage: none
127-
tools: composer:2.2
128-
env:
129-
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
130-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
131-
132-
- name: Set up PHP environment (PHP 7.2+)
133-
if: ${{ matrix.php >= '7.2' }}
120+
- name: Set up PHP environment
134121
uses: shivammathur/setup-php@v2
135122
with:
136123
php-version: '${{ matrix.php }}'

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"homepage": "https://wp-cli.org",
99
"license": "MIT",
1010
"require": {
11-
"php": ">=5.6",
11+
"php": ">=7.2.24",
1212
"wp-cli/cache-command": "^2",
1313
"wp-cli/checksum-command": "^2.1",
1414
"wp-cli/config-command": "^2.1",
@@ -50,7 +50,7 @@
5050
"johnpbloch/wordpress-core-installer": true
5151
},
5252
"platform": {
53-
"php": "5.6"
53+
"php": "7.2.24"
5454
},
5555
"process-timeout": 7200,
5656
"sort-packages": true

0 commit comments

Comments
 (0)