Skip to content

Commit b58ce52

Browse files
authored
feat: add Laravel 11 support (#282)
1 parent 93b303c commit b58ce52

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
name: Run tests
2525
uses: monicahq/workflows/.github/workflows/library.yml@v2
2626
with:
27-
php-versions: "['8.0', '8.1', '8.2']"
28-
laravel-versions: "['8.*', '9.*', '10.*']"
27+
php-versions: "['8.0', '8.1', '8.2', '8.3']"
28+
laravel-versions: "['8.*', '9.*', '10.*', '11.*']"
2929
default-php-version: '8.2'
3030
default-laravel-version: '10.*'
31-
matrix-exclude: "[{'php-version': '8.0', 'laravel-version': '10.*'}]"
31+
matrix-exclude: "[{'php-version': '8.0', 'laravel-version': '10.*'},{'php-version': '8.0', 'laravel-version': '11.*'},{'php-version': '8.1', 'laravel-version': '11.*'}]"
3232
project: monicahq_laravel-cloudflare
3333
secrets:
3434
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

composer.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,18 @@
2121
],
2222
"require": {
2323
"php": "^7.4 || ^8.0",
24-
"illuminate/support": "^8.0 || ^9.0 || ^10.0"
24+
"illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0"
2525
},
2626
"require-dev": {
2727
"guzzlehttp/guzzle": "^6.3 || ^7.0",
2828
"mockery/mockery": "^1.4",
29-
"nunomaduro/larastan": "^1.0 || ^2.4",
29+
"larastan/larastan": "^1.0 || ^2.4",
3030
"ocramius/package-versions": "^1.5 || ^2.1",
31-
"orchestra/testbench": "^6.0 || ^7.0 || ^8.0",
31+
"orchestra/testbench": "^6.0 || ^7.0 || ^8.0 || ^9.0",
3232
"phpstan/phpstan-deprecation-rules": "^1.0",
3333
"phpstan/phpstan-phpunit": "^1.0",
3434
"phpstan/phpstan-strict-rules": "^1.0",
35-
"phpunit/phpunit": "^8.0 || ^9.0",
36-
"thecodingmachine/phpstan-safe-rule": "^1.0",
35+
"phpunit/phpunit": "^9.5 || ^10.0 || ^11.0",
3736
"vimeo/psalm": "^4.0 || ^5.6"
3837
},
3938
"autoload": {

phpstan.neon

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
includes:
2-
- ./vendor/nunomaduro/larastan/extension.neon
3-
- ./vendor/thecodingmachine/phpstan-safe-rule/phpstan-safe-rule.neon
2+
- ./vendor/larastan/larastan/extension.neon
43
- ./vendor/phpstan/phpstan-phpunit/extension.neon
54
- ./vendor/phpstan/phpstan-deprecation-rules/rules.neon
65
- ./vendor/phpstan/phpstan-strict-rules/rules.neon

0 commit comments

Comments
 (0)