Skip to content

Commit

Permalink
Add support for laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLevti committed Dec 27, 2024
1 parent 2fec31b commit e4eecfa
Show file tree
Hide file tree
Showing 4 changed files with 2,048 additions and 1,002 deletions.
8 changes: 6 additions & 2 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
'concat_space' => [
'spacing' => 'one',
],
'compact_nullable_typehint' => true,
'compact_nullable_type_declaration' => true,
'ternary_operator_spaces' => true,
'unary_operator_spaces' => true,
'binary_operator_spaces' => [
Expand Down Expand Up @@ -139,7 +139,11 @@
'short_scalar_cast' => true,
'no_useless_else' => true,
'no_useless_return' => true,
'function_typehint_space' => true,
'type_declaration_spaces' => [
'elements' => [
'function'
]
],
'function_declaration' => [
'closure_function_spacing' => 'one',
],
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"prefer-stable": true,
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.17.0",
"illuminate/cache": "^9.38.0 || ^10.13.2",
"illuminate/cache": "^9.38.0 || ^10.13.2 || ^11.36.1",
"phpstan/phpstan": "^1.10.16",
"phpunit/phpunit": "^9.5.26 || ^10.2.1",
"roave/security-advisories": "dev-latest"
Expand All @@ -53,7 +53,7 @@
"php": "^8.1.0",
"guzzlehttp/guzzle": "^6.5.8 || ^7.4.5",
"guzzlehttp/promises": "^1.0.0",
"nesbot/carbon": "^2.0.0",
"nesbot/carbon": "^3.0.0",
"psr/http-message": "^1.0.0 || ^2.0.0",
"psr/simple-cache": "^1.0.0 || ^2.0.0 || ^3.0.0"
},
Expand Down
Loading

0 comments on commit e4eecfa

Please sign in to comment.