Skip to content

Commit 93aa630

Browse files
committed
updated auth pages and layouts
1 parent ddab156 commit 93aa630

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.php-cs-fixer.php

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?php
2+
3+
$finder = Symfony\Component\Finder\Finder::create()
4+
->notPath('bootstrap/*')
5+
->notPath('storage/*')
6+
->notPath('resources/view/mail/*')
7+
->in([
8+
__DIR__ . '/app',
9+
__DIR__ . '/config',
10+
__DIR__ . '/database/factories',
11+
__DIR__ . '/database/seeders',
12+
__DIR__ . '/lang',
13+
__DIR__ . '/routes',
14+
__DIR__ . '/tests',
15+
])
16+
->name('*.php')
17+
->notName('*.blade.php')
18+
->ignoreDotFiles(true)
19+
->ignoreVCS(true);
20+
21+
return PhpCsFixer\Config::create()
22+
->setRules([
23+
'@PSR12' => true,
24+
'array_syntax' => ['syntax' => 'short'],
25+
'ordered_imports' => ['sortAlgorithm' => 'alpha'],
26+
'no_unused_imports' => true,
27+
'not_operator_with_successor_space' => true,
28+
'trailing_comma_in_multiline_array' => true,
29+
'phpdoc_scalar' => true,
30+
'unary_operator_spaces' => true,
31+
'binary_operator_spaces' => true,
32+
'blank_line_before_statement' => [
33+
'statements' => ['break', 'continue', 'declare', 'return', 'throw', 'try'],
34+
],
35+
'phpdoc_single_line_var_spacing' => true,
36+
'phpdoc_var_without_name' => true,
37+
'method_argument_space' => [
38+
'on_multiline' => 'ensure_fully_multiline',
39+
'keep_multiple_spaces_after_comma' => true,
40+
]
41+
])
42+
->setFinder($finder);

0 commit comments

Comments
 (0)