Skip to content

Commit

Permalink
Add PHP8 compatibility (#112)
Browse files Browse the repository at this point in the history
* Add PHP8 compatibility

* Do not run duplicate workflow jobs
  • Loading branch information
martin-helmich authored Apr 5, 2021
1 parent 9893afb commit 8a7b5bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ name: PHP type checking and unit testing

on:
push:
branches:
- 'master'
pull_request:

jobs:
build:
strategy:
strategy:
matrix:
php-versions: ["7.2", "7.3", "7.4"]
php-versions: ["7.2", "7.3", "7.4", "8.0"]
symfony-versions: ["~3.0", "~4.0", "~5.0"]
runs-on: ubuntu-latest

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^7.2",
"php": "^7.2|^8.0",
"symfony/console": "~3.0|~4.0|~5.0",
"symfony/dependency-injection": "~3.0|~4.0|~5.0",
"symfony/config": "~3.0|~4.0|~5.0",
Expand Down

0 comments on commit 8a7b5bd

Please sign in to comment.