mirror of
https://ghproxy.net/https://github.com/wp-cli/wp-cli-bundle.git
synced 2025-08-18 05:51:10 +08:00
Require PHP 7.2.24+
This commit is contained in:
parent
44e61272f9
commit
410be1fd79
4 changed files with 1951 additions and 859 deletions
19
.github/workflows/deployment.yml
vendored
19
.github/workflows/deployment.yml
vendored
|
@ -99,8 +99,8 @@ jobs:
|
|||
- php: '8.0'
|
||||
wp: 'trunk'
|
||||
mysql: '5.6'
|
||||
- php: '5.6'
|
||||
wp: '3.7'
|
||||
- php: '7.2'
|
||||
wp: '4.9'
|
||||
mysql: '5.6'
|
||||
runs-on: ubuntu-22.04
|
||||
env:
|
||||
|
@ -117,20 +117,7 @@ jobs:
|
|||
sudo apt-get update
|
||||
sudo apt-get install ghostscript -y
|
||||
|
||||
- name: Set up PHP environment (PHP 5.6 - 7.1)
|
||||
if: ${{ matrix.php < '7.2' }}
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '${{ matrix.php }}'
|
||||
extensions: imagick, mysql, zip
|
||||
coverage: none
|
||||
tools: composer:2.2
|
||||
env:
|
||||
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Set up PHP environment (PHP 7.2+)
|
||||
if: ${{ matrix.php >= '7.2' }}
|
||||
- name: Set up PHP environment
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '${{ matrix.php }}'
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"homepage": "https://wp-cli.org",
|
||||
"license": "MIT",
|
||||
"require": {
|
||||
"php": ">=5.6",
|
||||
"php": ">=7.2.24",
|
||||
"wp-cli/cache-command": "^2",
|
||||
"wp-cli/checksum-command": "^2.1",
|
||||
"wp-cli/config-command": "^2.1",
|
||||
|
@ -50,7 +50,7 @@
|
|||
"johnpbloch/wordpress-core-installer": true
|
||||
},
|
||||
"platform": {
|
||||
"php": "5.6"
|
||||
"php": "7.2.24"
|
||||
},
|
||||
"process-timeout": 7200,
|
||||
"sort-packages": true
|
||||
|
|
2785
composer.lock
generated
2785
composer.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -38,7 +38,7 @@
|
|||
|
||||
<!-- For help understanding the `testVersion` configuration setting:
|
||||
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.2-"/>
|
||||
|
||||
<!--
|
||||
#############################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue