Skip to content

Commit

Permalink
#43: Linter and formatter packages and their settings have been updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
ulin-evgeny committed Feb 29, 2024
1 parent a40ab1e commit 27b3f49
Show file tree
Hide file tree
Showing 4 changed files with 325 additions and 342 deletions.
8 changes: 8 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,13 @@
->setRules([
'@PSR12' => true,
'array_syntax' => ['syntax' => 'short'],
'type_declaration_spaces' => [
'elements' => ['function', 'property'],
],
'no_extra_blank_lines' => true,
'blank_line_before_statement' => [
'statements' => ['return'],
],
'trailing_comma_in_multiline' => true,
])
->setFinder($finder);
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"php-mock/php-mock-phpunit": "^2.7",
"phpunit/phpunit": "^9.5.21",
"ronasit/laravel-entity-generator": ">=2.0.4-beta",
"tightenco/tlint": "^6.3",
"tightenco/tlint": "^9.2",
"ext-json": "*"
},
"autoload": {
Expand Down
Loading

0 comments on commit 27b3f49

Please sign in to comment.