Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Commit

Permalink
Drop support for PHP 7.1 and older
Browse files Browse the repository at this point in the history
  • Loading branch information
stof committed Dec 17, 2021
1 parent 6c2c41d commit 220b696
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
php: [ '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0' ]
php: [ '7.2', '7.3', '7.4', '8.0' ]
symfony_deprecations_helper: [ '' ]
include:
- php: 8.1
Expand All @@ -40,11 +40,6 @@ jobs:
# PHP 7.1 development web server segfaults if timezone not set.
ini-values: date.timezone=Europe/Paris, error_reporting=-1, display_errors=On

- name: Configure for PHP >= 7.1
if: "${{ matrix.php >= '7.1' && matrix.symfony_version == '' }}"
run: |
composer require --no-update --dev symfony/error-handler "^4.4 || ^5.0"
- name: Install dependencies
run: |
composer update --no-interaction --prefer-dist
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@
],

"require": {
"php": ">=5.4",
"php": ">=7.2",
"behat/mink-browserkit-driver": "~1.2@dev",
"fabpot/goutte": "~1.0.4|~2.0|~3.1"
},

"require-dev": {
"mink/driver-testsuite": "dev-master"
"mink/driver-testsuite": "dev-master",
"symfony/error-handler": "^4.4 || ^5.0"
},

"autoload": {
Expand Down

0 comments on commit 220b696

Please sign in to comment.