diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 6233d87..6b3257f 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -64,6 +64,7 @@ jobs: phpunit: name: Unit tests for PHP version ${{ matrix.php-versions }} on ${{ matrix.operating-system }} runs-on: ${{ matrix.operating-system }} + continue-on-error: ${{ matrix.php-versions == '8.0' }} strategy: matrix: operating-system: @@ -71,6 +72,9 @@ jobs: - windows-latest - macOS-latest php-versions: ['7.2', '7.3', '7.4'] + include: + - operating-system: ubuntu-latest + php-versions: '8.0' env: extensions: mbstring key: cache-v1 # can be any string, change to clear the extension cache. @@ -100,7 +104,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-versions }} - extension: ${{ env.extensions }} + extensions: ${{ env.extensions }} ini-values: memory_limit=2G, display_errors=On, error_reporting=-1 - name: Restore/cache tools folder diff --git a/composer.json b/composer.json index bab7bb6..d28ca31 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ } ], "require": { - "php": "^7.2", + "php": "^7.2 || ^8.0", "phpdocumentor/type-resolver": "^1.0", "webmozart/assert": "^1", "phpdocumentor/reflection-common": "^2.0", diff --git a/composer.lock b/composer.lock index 2e503f5..ca4c650 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d3993465262ab8d351dd8e034da50e7a", + "content-hash": "78aabc4704aa0d46758076fa18d49076", "packages": [ { "name": "phpdocumentor/reflection-common", @@ -262,20 +262,6 @@ "constructor", "instantiate" ], - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", - "type": "tidelift" - } - ], "time": "2020-05-29T17:27:14+00:00" }, { @@ -398,9 +384,8 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "^7.2", + "php": "^7.2 || ^8.0", "ext-filter": "*" }, - "platform-dev": [], - "plugin-api-version": "1.1.0" + "platform-dev": [] }