Skip to content

Commit

Permalink
feat: allow PHP 8, close #21 (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kocal authored Mar 23, 2021
1 parent 9c828e6 commit 140c168
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,19 @@ jobs:
# Test the latest stable release
- PHP_VERSION: 7.3
- PHP_VERSION: 7.4
- PHP_VERSION: 8.0
COVERAGE: true
PHPUNIT_FLAGS: -v --coverage-text

# Test specific Symfony versions
- PHP_VERSION: 7.4
SYMFONY_VERSION: 4.4.* # Last 4.x version
- PHP_VERSION: 7.4
SYMFONY_VERSION: 5.0.* # Last 5.x version
SYMFONY_VERSION: 5.* # Last 5.x version
- PHP_VERSION: 8.0
SYMFONY_VERSION: 4.4.* # Last 4.x version
- PHP_VERSION: 8.0
SYMFONY_VERSION: 5.* # Last 5.x version

# Latest commit to master (disabled until GitHub Actions support allowed_failures)
# - PHP_VERSION: 7.4
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
]
},
"require": {
"php": "^7.3",
"php": "^7.3 || ^8.0",
"ext-json": "*",
"symfony/mailer": "^4.4 || ^5.0",
"webmozart/assert": "^1.8"
},
"require-dev": {
"behat/behat": "^3.6",
"friends-of-behat/symfony-extension": "^2.1",
"friends-of-behat/symfony-extension": "^2.2",
"friendsofphp/php-cs-fixer": "^2.16",
"phpspec/phpspec": "^6.1",
"phpstan/phpstan": "^0.12.23",
Expand Down

0 comments on commit 140c168

Please sign in to comment.