Bump minimum PHP to 7.4

This commit is contained in:
Michael Babker 2021-12-06 16:34:38 -06:00
parent 7c964514e9
commit f40306ad5e
No known key found for this signature in database
GPG Key ID: 00E151E3933DB00B
2 changed files with 1 additions and 13 deletions

View File

@ -15,11 +15,6 @@ jobs:
- server - server
php: php:
- 7.4 - 7.4
- 7.3
- 7.2
- 7.1
- 7.0
- 5.6
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Setup PHP - name: Setup PHP
@ -33,11 +28,4 @@ jobs:
- run: sh tests/ab/run_ab_tests.sh - run: sh tests/ab/run_ab_tests.sh
env: env:
ABTEST: ${{ matrix.env }} ABTEST: ${{ matrix.env }}
SKIP_DEFLATE: _skip_deflate
if: ${{ matrix.php <= 5.6 }}
- run: sh tests/ab/run_ab_tests.sh
env:
ABTEST: ${{ matrix.env }}
if: ${{ matrix.php >= 7.0 }}
- run: vendor/bin/phpunit --verbose - run: vendor/bin/phpunit --verbose

View File

@ -26,7 +26,7 @@
} }
}, },
"require": { "require": {
"php": ">=5.4.2", "php": ">=7.4",
"guzzlehttp/psr7": "^2 || ^1.7" "guzzlehttp/psr7": "^2 || ^1.7"
}, },
"require-dev": { "require-dev": {