diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1d1eb3d..181cabb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,11 +24,11 @@ jobs: name: Run tests uses: monicahq/workflows/.github/workflows/library.yml@v2 with: - php-versions: "['8.0', '8.1', '8.2']" - laravel-versions: "['8.*', '9.*', '10.*']" + php-versions: "['8.0', '8.1', '8.2', '8.3']" + laravel-versions: "['8.*', '9.*', '10.*', '11.*']" default-php-version: '8.2' default-laravel-version: '10.*' - matrix-exclude: "[{'php-version': '8.0', 'laravel-version': '10.*'}]" + matrix-exclude: "[{'php-version': '8.0', 'laravel-version': '10.*'},{'php-version': '8.0', 'laravel-version': '11.*'},{'php-version': '8.1', 'laravel-version': '11.*'}]" project: monicahq_laravel-cloudflare secrets: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/composer.json b/composer.json index 0ec19ce..d3c8280 100644 --- a/composer.json +++ b/composer.json @@ -21,19 +21,18 @@ ], "require": { "php": "^7.4 || ^8.0", - "illuminate/support": "^8.0 || ^9.0 || ^10.0" + "illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0" }, "require-dev": { "guzzlehttp/guzzle": "^6.3 || ^7.0", "mockery/mockery": "^1.4", - "nunomaduro/larastan": "^1.0 || ^2.4", + "larastan/larastan": "^1.0 || ^2.4", "ocramius/package-versions": "^1.5 || ^2.1", - "orchestra/testbench": "^6.0 || ^7.0 || ^8.0", + "orchestra/testbench": "^6.0 || ^7.0 || ^8.0 || ^9.0", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", "phpstan/phpstan-strict-rules": "^1.0", - "phpunit/phpunit": "^8.0 || ^9.0", - "thecodingmachine/phpstan-safe-rule": "^1.0", + "phpunit/phpunit": "^9.5 || ^10.0 || ^11.0", "vimeo/psalm": "^4.0 || ^5.6" }, "autoload": { diff --git a/phpstan.neon b/phpstan.neon index bf2cef0..3078a23 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,6 +1,5 @@ includes: - - ./vendor/nunomaduro/larastan/extension.neon - - ./vendor/thecodingmachine/phpstan-safe-rule/phpstan-safe-rule.neon + - ./vendor/larastan/larastan/extension.neon - ./vendor/phpstan/phpstan-phpunit/extension.neon - ./vendor/phpstan/phpstan-deprecation-rules/rules.neon - ./vendor/phpstan/phpstan-strict-rules/rules.neon