Skip to content

Commit

Permalink
Bump minimum PHP to 7.4 (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbabker authored Jul 15, 2021
1 parent cb744d0 commit bfe9d39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [7.1, 7.2, 7.3, 7.4, 8.0]
php: [7.4, 8.0]
symfony: [3.4.*, 4.4.*, 5.2.*, 5.3.*]
composer-flags: ['--prefer-stable']
can-fail: [false]
include:
- php: 7.1
- php: 7.4
symfony: 3.4.*
composer-flags: '--prefer-stable --prefer-lowest'
can-fail: false
Expand All @@ -25,10 +25,6 @@ jobs:
exclude:
- php: 8.0
symfony: 3.4.*
- php: 7.1
symfony: 5.2.*
- php: 7.1
symfony: 5.3.*

name: "PHP ${{ matrix.php }} - Symfony ${{ matrix.symfony }}${{ matrix.composer-flags != '' && format(' - Composer {0}', matrix.composer-flags) || '' }}"

Expand All @@ -50,11 +46,6 @@ jobs:
extensions: curl, iconv, mbstring, mongodb, pdo, pdo_sqlite, sqlite, zip
coverage: none

- name: Install Mongo PHP adapter
if: matrix.php == '7.1'
run: |
composer require --dev --no-update alcaeus/mongo-php-adapter
- name: Install dependencies
run: |
composer global require --no-scripts --no-plugins symfony/flex
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"MIT"
],
"require" : {
"php": ">=7.1.3",
"php": ">=7.4",
"lexik/jwt-authentication-bundle": "^1.1|^2.0",
"symfony/config": "^3.4|^4.4|^5.2",
"symfony/console": "^3.4|^4.4|^5.2",
Expand Down

0 comments on commit bfe9d39

Please sign in to comment.