Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria committed Mar 2, 2024
1 parent eb7480b commit 6e51afc
Show file tree
Hide file tree
Showing 10 changed files with 1,805 additions and 1,147 deletions.
7 changes: 7 additions & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@ function (PhpCsFixer\Finder $finder, $dir) {
)->notName('*.blade.php');
$rules = [
'@Symfony' => true,
'nullable_type_declaration_for_default_null_value' => true,
'align_multiline_comment' => true,
'array_indentation' => true,
'fully_qualified_strict_types' => false,
'backtick_to_shell_exec' => true,
'increment_style' => ['style' => 'post'],
'indentation_type' => true,
'multiline_comment_opening_closing' => true,
'no_php4_constructor' => true,
'nullable_type_declaration' => false,
'phpdoc_no_empty_return' => false,
'single_blank_line_at_eof' => false,
'yoda_style' => false,
Expand All @@ -33,6 +36,10 @@ function (PhpCsFixer\Finder $finder, $dir) {
'no_unneeded_control_parentheses' => [
'statements' => ['break', 'clone', 'continue', 'echo_print', 'switch_case', 'yield'],
],
'operator_linebreak' => [
'only_booleans' => true,
'position' => 'end',
],
];
$config = new PhpCsFixer\Config();

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}
],
"require": {
"php": "^8.1",
"php": "^8.2",
"illuminate/support": "^10.0",
"illuminate/database": "^10.0",
"illuminate/events": "^10.0"
Expand Down Expand Up @@ -65,7 +65,7 @@
"prefer-stable": true,
"config": {
"platform": {
"php": "8.1"
"php": "8.2"
},
"preferred-install": "dist",
"sort-packages": true,
Expand Down
Loading

0 comments on commit 6e51afc

Please sign in to comment.