Skip to content

Commit

Permalink
Merge pull request #15 from grifart/php8
Browse files Browse the repository at this point in the history
support PHP 8
  • Loading branch information
jiripudil authored Nov 30, 2020
2 parents eae1209 + 31fc9e1 commit 7e9990b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 14 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Tests
on:
pull_request:
branches: [master]
push:
branches: [master]

jobs:
verify:
runs-on: ubuntu-latest
strategy:
matrix:
php:
- '7.1'
- '7.2'
- '7.3'
- '7.4'
- '8.0'
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- run: composer install --no-interaction
- run: composer run verify
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test": "vendor/bin/phpstan analyse -c tests/phpstan-config.neon --error-format oneline --no-progress --no-interaction"
},
"require": {
"php": "^7.1",
"php": "^7.1 || ^8.0",
"phpstan/phpstan": "^0.12"
},
"license": "MIT",
Expand Down

0 comments on commit 7e9990b

Please sign in to comment.