Skip to content

Commit

Permalink
Drop lower PHP/Laravel versions (barryvdh#1386)
Browse files Browse the repository at this point in the history
* Drop lower PHP versions

* Dev stability

* Fix versions
  • Loading branch information
barryvdh authored Feb 4, 2023
1 parent 8aeccb1 commit eb01216
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 52 deletions.
36 changes: 9 additions & 27 deletions .github/workflows/run-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,11 @@ jobs:
COMPOSER_NO_INTERACTION: 1
strategy:
matrix:
php: [8.1, 8.0, 7.4, 7.3, 7.2]
lumen: [9.*, 8.*, 7.*]
php: [8.2, 8.1, 8.0]
lumen: [9.*]
exclude:
- lumen: 8.*
php: 7.2
- lumen: 9.*
php: 7.2
- lumen: 9.*
php: 7.3
- lumen: 9.*
php: 7.4
- lumen: 7.*
- lumen: 10.*
php: 8.0
- lumen: 7.*
php: 8.1
name: P${{ matrix.php }} - Lumen${{ matrix.lumen }}
steps:
- name: Checkout code
Expand All @@ -49,7 +39,7 @@ jobs:

- name: Install dependencies
run: |
composer create-project --prefer-dist laravel/lumen:${{ matrix.lumen }} --no-progress sample
composer create-project --prefer-dist laravel/lumen:${{ matrix.lumen }} --stability=dev --no-progress sample
cd sample
composer config minimum-stability dev
composer update --prefer-stable --prefer-dist --no-progress
Expand All @@ -75,19 +65,11 @@ jobs:
COMPOSER_NO_INTERACTION: 1
strategy:
matrix:
php: [8.1, 8.0, 7.4, 7.3, 7.2]
laravel: [9.*, 8.*, 7.*]
php: [8.2, 8.1, 8.0]
laravel: [10.*, 9.*]
exclude:
- laravel: 8.*
php: 7.2
- laravel: 9.*
php: 7.2
- laravel: 9.*
php: 7.3
- laravel: 9.*
php: 7.4
- laravel: 7.*
php: 8.1
- laravel: 10.*
php: 8.0
name: P${{ matrix.php }} - Laravel${{ matrix.laravel }}
steps:
- name: Checkout code
Expand All @@ -104,7 +86,7 @@ jobs:

- name: Install dependencies
run: |
composer create-project --prefer-dist laravel/laravel:${{ matrix.laravel }} --no-progress sample
composer create-project --prefer-dist laravel/laravel:${{ matrix.laravel }} --stability=dev --no-progress sample
cd sample
composer config minimum-stability dev
composer update --prefer-stable --prefer-dist --no-progress
Expand Down
22 changes: 2 additions & 20 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,10 @@ jobs:

strategy:
matrix:
php: [8.2, 8.1, 8.0, 7.4, 7.3, 7.2]
laravel: [^10, ^9, ^8, ^7]
php: [8.2, 8.1, 8.0]
laravel: [^10, ^9]
dependency-version: [prefer-lowest, prefer-stable]
exclude:
- laravel: ^7
php: 8.1
- laravel: ^7
php: 8.2
- laravel: ^8
php: 7.2
- laravel: ^9
php: 7.2
- laravel: ^9
php: 7.3
- laravel: ^9
php: 7.4
- laravel: ^10
php: 7.2
- laravel: ^10
php: 7.3
- laravel: ^10
php: 7.4
- laravel: ^10
php: 8.0

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
}
],
"require": {
"php": ">=7.2.5",
"php": "^8.0",
"maximebf/debugbar": "^1.17.2",
"illuminate/routing": "^7|^8.67|^9|^10",
"illuminate/session": "^7|^8.67|^9|^10",
"illuminate/support": "^7|^8.67|^9|^10",
"symfony/finder": "^5|^6"
"illuminate/routing": "^9|^10",
"illuminate/session": "^9|^10",
"illuminate/support": "^9|^10",
"symfony/finder": "^6"
},
"require-dev": {
"mockery/mockery": "^1.3.3",
Expand Down

0 comments on commit eb01216

Please sign in to comment.