Skip to content

Commit

Permalink
#43: Updated linter and formatter packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
ulin-evgeny committed Feb 25, 2024
1 parent a40ab1e commit 8508098
Show file tree
Hide file tree
Showing 4 changed files with 312 additions and 340 deletions.
7 changes: 7 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,12 @@
->setRules([
'@PSR12' => true,
'array_syntax' => ['syntax' => 'short'],
'type_declaration_spaces' => [
'elements' => ['function', 'property'],
],
'no_extra_blank_lines' => true,
'blank_line_before_statement' => [
'statements' => ['return'],
],
])
->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 8508098

Please sign in to comment.