-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.php_cs
More file actions
24 lines (24 loc) · 681 Bytes
/
Copy path.php_cs
File metadata and controls
24 lines (24 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
$excluded_folders = [
'node_modules',
'storage',
'vendor'
];
$finder = PhpCsFixer\Finder::create()
->exclude($excluded_folders)
->notName('AcceptanceTester.php')
->notName('FunctionalTester.php')
->notName('UnitTester.php')
->in(__DIR__);
;
return PhpCsFixer\Config::create()
->setRules(array(
'@Symfony' => true,
'binary_operator_spaces' => ['align_double_arrow' => true],
'array_syntax' => ['syntax' => 'short'],
'linebreak_after_opening_tag' => true,
'not_operator_with_successor_space' => true,
'ordered_imports' => true,
'phpdoc_order' => true,
))
->setFinder($finder);