Skip to content

Commit

Permalink
Merge pull request #71 from tezhm/php-8-support
Browse files Browse the repository at this point in the history
Adding PHP 8 support
  • Loading branch information
eigan authored Mar 17, 2021
2 parents 631967a + 24b5a87 commit c3f4497
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ jobs:
name: PHP ${{ matrix.php }} - doctrine/orm ${{ matrix.orm }}
strategy:
matrix:
php: ['7.2', '7.3', '7.4']
orm: ['2.6.0', '2.7.0']
php: ['7.2', '7.3', '7.4', '8.0']
orm: ['2.6.0', '2.7.0', '2.8.0']
exclude:
- php: '8.0'
orm: '2.6.0'
- php: '8.0'
orm: '2.7.0'
steps:
- uses: actions/checkout@v2
- name: Setup PHP
Expand Down
5 changes: 4 additions & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@ tools:
timeout: 600
runs: 4
build:
environment:
variables:
XDEBUG_MODE: 'coverage'
tests:
override:
-
command: 'phpunit --coverage-clover=phpunit-coverage.xml'
command: 'vendor/bin/phpunit --coverage-clover=phpunit-coverage.xml'
coverage:
file: 'phpunit-coverage.xml'
format: 'php-clover'
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
}
],
"require": {
"php": ">=7",
"doctrine/orm": "~2.6.0|~2.7.0",
"php": "^7.2|^8.0",
"doctrine/orm": "~2.6.0|~2.7.0|~2.8.0",
"doctrine/inflector": "^1.1",
"doctrine/persistence": "^1.3.5|^2.0"
},
Expand Down

0 comments on commit c3f4497

Please sign in to comment.