diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index e64fee5..537703f 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-version: [7.4] + php-version: [8.0] steps: - name: Checkout sources @@ -44,7 +44,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-version: [7.4] + php-version: [8.0] steps: - name: Checkout sources diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e0b6ce3..7334a02 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - php-version: [7.3, 7.4] + php-version: [7.3, 7.4, 8.0] illuminate_version: [6.*, 7.*, 8.*] composer_flags: ['', '--prefer-lowest'] name: PHP ${{ matrix.php-version }} | Illuminate ${{ matrix.illuminate_version }} ${{ matrix.composer_flags }} @@ -68,7 +68,7 @@ jobs: run: phpdbg -dmemory_limit=4G -qrr vendor/bin/phpunit -c phpunit.xml --log-junit ./results/results.xml --coverage-clover ./results/coverage.xml - name: Store results - if: matrix.php-version == '7.4' && matrix.illuminate_version == '8.*' && matrix.composer_flags == '' + if: matrix.php-version == '8.0' && matrix.illuminate_version == '8.*' && matrix.composer_flags == '' uses: actions/upload-artifact@v2 with: name: results @@ -83,7 +83,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-version: [7.4] + php-version: [8.0] steps: - name: Checkout repository diff --git a/composer.json b/composer.json index 0a3a7f6..7d81e6a 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ } ], "require": { - "php": ">= 7.2.0", + "php": "^7.2 || ^8.0", "fideloper/proxy": "^4.4", "guzzlehttp/guzzle": "^6.3 || ^7.0", "illuminate/console": "^5.5 || ^6.0 || ^7.0 || ^8.0", @@ -24,7 +24,7 @@ }, "require-dev": { "laravel/framework": "^5.5 || ^6.0 || ^7.0 || ^8.0", - "mockery/mockery": "^1.2", + "mockery/mockery": "^1.4", "nunomaduro/larastan": "^0", "ocramius/package-versions": "^1.5 || ^2.1", "orchestra/testbench": "^3.5 || ^5.0 || ^6.0 || ^4.0",