Skip to content

Commit

Permalink
feat: add Laravel 11 support (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Feb 25, 2024
1 parent 93b303c commit b58ce52
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
9 changes: 4 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
3 changes: 1 addition & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit b58ce52

Please sign in to comment.