Skip to content

Commit

Permalink
php8 support (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
reliq authored Mar 7, 2021
1 parent 2d24e34 commit 91a5f47
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,20 @@ jobs:
matrix:
laravel-version: ['^6.0', '^7.0', '^8.0']
preference: ['stable']
php-versions: ['7.4']
name: Laravel ${{ matrix.laravel-version }} (${{ matrix.preference }}) on PHP ${{ matrix.php-versions }}
php-version: ['7.4', '8.0']
exclude:
- laravel-version: ^6.0
php-version: 8.0
- laravel-version: ^7.0
php-version: 8.0
name: Laravel ${{ matrix.laravel-version }} (${{ matrix.preference }}) on PHP ${{ matrix.php-version }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
php-version: ${{ matrix.php-version }}
extensions: mbstring, xdebug
coverage: xdebug
- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}
],
"require": {
"php": "^7.4",
"php": "^7.4 || ^8.0",
"illuminate/support": "6 - 8",
"intervention/image": "^2.4",
"intervention/imagecache": "^2.3",
Expand All @@ -32,7 +32,7 @@
},
"require-dev": {
"orchestra/testbench": "4 - 6",
"phpro/grumphp": "^0.19.1",
"phpro/grumphp": "^1.0",
"phpspec/prophecy-phpunit": "^2.0",
"phpunit/phpunit": "^9.3",
"symplify/easy-coding-standard": "^8.1"
Expand Down
3 changes: 2 additions & 1 deletion grumphp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ grumphp:
ecs:
config: ~
level: ~
whitelist_patterns: [ ]
paths: [ ]
files_on_pre_commit: false
triggered_by: [ 'php' ]
clear-cache: false
no-progress-bar: true
Expand Down

0 comments on commit 91a5f47

Please sign in to comment.