forked from mautic/mautic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.php_cs
More file actions
25 lines (23 loc) · 723 Bytes
/
.php_cs
File metadata and controls
25 lines (23 loc) · 723 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
25
<?php
$finder = PhpCsFixer\Finder::create()
->in(__DIR__.'/app/bundles')
->in(__DIR__.'/app/config')
->in(__DIR__.'/app/middlewares')
->in(__DIR__.'/app/migrations')
->in(__DIR__.'/plugins')
->in(__DIR__.'/.github/workflows/mautic-asset-upload');
return PhpCsFixer\Config::create()
->setRules([
'@Symfony' => true,
'binary_operator_spaces' => [
'align_double_arrow' => true,
'align_equals' => true,
],
'phpdoc_to_comment' => false,
'ordered_imports' => true,
'array_syntax' => [
'syntax' => 'short',
],
'no_unused_imports' => false,
])
->setFinder($finder);