forked from laravel-notification-channels/clickatell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs
27 lines (25 loc) · 914 Bytes
/
.php_cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
$finder = PhpCsFixer\Finder::create()
->in(__DIR__)
->exclude(['bootstrap', 'storage', 'vendor', 'nova'])
->name('*.php')
->name('_ide_helper')
->notName('*.blade.php')
->ignoreDotFiles(true)
->ignoreVCS(true);
return PhpCsFixer\Config::create()
->setRules([
'@PSR2' => true,
'array_syntax' => ['syntax' => 'short'],
'ordered_imports' => ['sortAlgorithm' => 'alpha'],
'no_unused_imports' => true,
'no_extra_consecutive_blank_lines' => true,
'single_blank_line_before_namespace' => true,
'trailing_comma_in_multiline_array' => true,
'no_whitespace_in_blank_line' => true,
'no_extra_consecutive_blank_lines' => true,
'single_blank_line_before_namespace' => true,
'trailing_comma_in_multiline_array' => true,
'no_whitespace_in_blank_line' => true,
])
->setFinder($finder);