Skip to content

Commit

Permalink
Fix CI tests and drop Laravel 8 support (#27)
Browse files Browse the repository at this point in the history
* Fix ci tests

* test

* fix test

* fix test

* fix L8 min version

* fix

* revert

* drop L8 support
  • Loading branch information
norbybaru authored Oct 9, 2024
1 parent af0ac50 commit 0a2a8df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,9 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.0, 8.1]
laravel: [8.*, 9.*, 10.*]
php: [8.0, 8.1, 8.2]
laravel: [9.*, 10.*]
dependency-version: [prefer-lowest, prefer-stable]
include:
- dbal: ignore
- laravel: 8.*
testbench: ^6.0
dbal: install
- laravel: 9.*
dbal: install
exclude:
- laravel: 10.*
php: 8.0
Expand Down Expand Up @@ -54,7 +47,6 @@ jobs:
- name: Install Composer dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
if [[ ${{matrix.dbal}} = 'install' ]]; then composer require doctrine/dbal; fi
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Run PHPUnit tests
Expand Down
2 changes: 0 additions & 2 deletions .styleci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ preset: psr12
version: 8
enabled:
- alpha_ordered_imports
- binary_operator_spaces
- blank_line_before_return
- cast_spaces
- hash_to_slash_comment
Expand Down Expand Up @@ -55,5 +54,4 @@ enabled:
- trim_array_spaces
- unalign_double_arrow
- unalign_equals
- unary_operator_spaces
- whitespace_after_comma_in_array
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
],
"require": {
"php": "^8.0",
"illuminate/events": "^8|^9|^10.0",
"illuminate/support": "^8|^9|^10.0",
"illuminate/events": "^9.52|^10.0",
"illuminate/support": "^9.52|^10.0",
"symfony/event-dispatcher": "^5.1",
"symfony/workflow": "^5.1",
"symfony/property-access": "^5.1"
Expand Down

0 comments on commit 0a2a8df

Please sign in to comment.