diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml index 6e57467..bd3eeae 100644 --- a/.github/workflows/pr-tests.yml +++ b/.github/workflows/pr-tests.yml @@ -11,12 +11,14 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.0] - laravel: [8.*] - stability: [prefer-lowest, prefer-stable] + php: [8.1, 8.0] + laravel: [9.*, 8.*] + stability: [prefer-stable] include: + - laravel: 9.* + testbench: 7.* - laravel: 8.* - testbench: ^6.6 + testbench: 6.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} steps: - name: Checkout code diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 671a124..0f80471 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,12 +11,14 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.0] - laravel: [8.*] - stability: [prefer-lowest, prefer-stable] + php: [8.1, 8.0] + laravel: [9.*, 8.*] + stability: [prefer-stable] include: + - laravel: 9.* + testbench: 7.* - laravel: 8.* - testbench: ^6.6 + testbench: 6.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} steps: - name: Checkout code diff --git a/composer.json b/composer.json index 82c6537..c6ce647 100644 --- a/composer.json +++ b/composer.json @@ -42,14 +42,14 @@ "require-dev": { "gajus/dindent": "^2.0", "phpunit/phpunit": "^9.5", - "orchestra/testbench": "^6.0", - "nunomaduro/collision": "^5.10", + "orchestra/testbench": "^6.0|^7.0", + "nunomaduro/collision": "^5.10|^6.1", "roave/security-advisories": "dev-latest", - "nunomaduro/larastan": "^0.7.15" + "nunomaduro/larastan": "^1.0|^2.0" }, "require": { - "php": "^8.0", - "illuminate/support": "^8.68", + "php": "^8.0.2", + "illuminate/support": "^8.0|^9.0", "guzzlehttp/guzzle": "~6.0|~7.0" } } diff --git a/phpstan.neon b/phpstan.neon index 892ea4b..69526d4 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -16,3 +16,4 @@ parameters: excludePaths: # - ./*/*/FileToBeExcluded.php checkMissingIterableValueType: false + checkGenericClassInNonGenericObjectType: false