Skip to content

Commit

Permalink
Merge pull request #28 from stof/php_8
Browse files Browse the repository at this point in the history
Add support for PHP 8
  • Loading branch information
stof authored Oct 14, 2021
2 parents f3c75e2 + 323480c commit a986553
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: '7.4'
php-version: '8.0'
- run: composer validate --strict --no-check-lock

tests:
Expand All @@ -23,12 +23,12 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ '7.4' ]
php: [ '7.4', '8.0', '8.1' ]
min_stability: [ '' ]
name_suffix: [ '' ]
composer_flags: [ '' ]
include:
- php: '7.4'
- php: '8.0'
min_stability: 'dev'
name_suffix: ' (dev deps)'
- php: '7.4'
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
}
],
"require": {
"php": "^7.4",
"php": "^7.4 || ^8.0",
"symfony/framework-bundle": "^4.4.29 || ^5.3.4",
"symfony/console": "^4.4.29 || ^5.3.4",
"symfony/config": "^4.4.29 || ^5.3.4",
"symfony/dependency-injection": "^4.4.29 || ^5.3.4",
"symfony/finder": "^4.4.29 || ^5.3.4",
"symfony/http-kernel": "^4.4.29 || ^5.3.4",
"symfony/translation": "^4.4.32 || ^5.3.4",
"symfony/yaml": "^4.4.29 || ^5.3.4"
},
Expand Down

0 comments on commit a986553

Please sign in to comment.