diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d288a7..f9abe40 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.scrutinizer.yml b/.scrutinizer.yml index b98cc12..7b8b460 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -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' diff --git a/composer.json b/composer.json index 820b473..d731270 100644 --- a/composer.json +++ b/composer.json @@ -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" },