Skip to content

Commit

Permalink
Add Laravel 11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mnabialek committed Mar 26, 2024
1 parent b7792f6 commit f3a1e89
Show file tree
Hide file tree
Showing 12 changed files with 3,346 additions and 3,092 deletions.
5 changes: 2 additions & 3 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
'no_empty_statement' => true,
'include' => true,
'no_alias_functions' => true,
'no_trailing_comma_in_list_call' => true,
'no_trailing_comma_in_singleline' => ['elements' => ['arguments', 'array_destructuring', 'array', 'group_import']],
'not_operator_with_successor_space' => true,
'trailing_comma_in_multiline' => ['after_heredoc' => false, 'elements' => ['arrays']],
'multiline_whitespace_before_semicolons' => true,
Expand All @@ -30,7 +30,6 @@
'self_accessor' => false,
'array_syntax' => ['syntax' => 'short'],
'echo_tag_syntax' => ['format' => 'long', 'long_function' => 'echo', 'shorten_simple_statements_only' => true],
'no_trailing_comma_in_singleline_array' => true,
'single_quote' => true,
'no_singleline_whitespace_before_semicolons' => true,
'cast_spaces' => ['space' => 'single'],
Expand All @@ -42,7 +41,7 @@
'mb_str_functions' => true,
'combine_consecutive_unsets' => true,
'dir_constant' => true,
'function_typehint_space' => true,
'type_declaration_spaces' => ['elements' => ['function', 'property']],
'is_null' => true,
'class_attributes_separation' => ['elements' => ['const' => 'one', 'method' => 'one', 'property' => 'one', 'trait_import' => 'none']],
'modernize_types_casting' => true,
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
}
],
"require": {
"illuminate/support": "5.*|6.*|7.*|8.*|9.*|10.*",
"illuminate/support": "5.*|6.*|7.*|8.*|9.*|10.*|11.*",
"mnabialek/laravel-version": "^1.0.6",
"nesbot/carbon": "~1.0 || ^2.0",
"illuminate/filesystem": "5.*|6.*|7.*|8.*|9.*|10.*",
"illuminate/container": "5.*|6.*|7.*|8.*|9.*|10.*"
"nesbot/carbon": "~1.0 || ^2.0 || ^3.0",
"illuminate/filesystem": "5.*|6.*|7.*|8.*|9.*|10.*|11.*",
"illuminate/container": "5.*|6.*|7.*|8.*|9.*|10.*|11.*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"phpunit/phpunit": "^10.0",
"phpunit/phpunit": "^11.0",
"mockery/mockery": "^1.0",
"php-coveralls/php-coveralls": "^2.0",
"laravel/framework": "10.*"
"laravel/framework": "11.*"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit f3a1e89

Please sign in to comment.