forked from ezsystems/ezpublish-kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs
60 lines (59 loc) · 2.85 KB
/
.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
// PHP-CS-Fixer 2.x syntax
return PhpCsFixer\Config::create()
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'concat_space' => ['spacing' => 'one'],
'array_syntax' => false,
'simplified_null_return' => false,
'phpdoc_align' => false,
'phpdoc_separation' => false,
'phpdoc_to_comment' => false,
'cast_spaces' => false,
'blank_line_after_opening_tag' => false,
'single_blank_line_before_namespace' => false,
'phpdoc_annotation_without_dot' => false,
'phpdoc_no_alias_tag' => false,
'space_after_semicolon' => false,
'yoda_style' => false,
'no_break_comment' => false,
])
->setRiskyAllowed(true)
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__)
->exclude([
'bin/.travis',
'data',
'doc',
'var',
'vendor',
'eZ/Bundle/EzPublishCoreBundle/Tests/DependencyInjection/Fixtures',
'eZ/Publish/API/Repository/Tests/FieldType/_fixtures',
'eZ/Publish/API/Repository/Tests/_fixtures',
'eZ/Publish/Core/FieldType/Tests/RichText/Converter/Xslt/_fixtures',
'eZ/Publish/Core/FieldType/Tests/RichText/Gateway/_fixtures',
'eZ/Publish/Core/FieldType/Tests/Url/Gateway/_fixtures',
'eZ/Publish/Core/FieldType/Tests/XmlText/Converter/_fixtures',
'eZ/Publish/Core/IO/Tests/_fixtures',
'eZ/Publish/Core/MVC/Symfony/Templating/Tests/Twig/Extension/_fixtures',
'eZ/Publish/Core/Persistence/Legacy/Tests/Content/Location/Gateway/_fixtures',
'eZ/Publish/Core/Persistence/Legacy/Tests/Content/Type/Gateway/_fixtures',
'eZ/Publish/Core/Persistence/Legacy/Tests/Content/Type/_fixtures',
'eZ/Publish/Core/Persistence/Legacy/Tests/Content/UrlAlias/Gateway/_fixtures',
'eZ/Publish/Core/Persistence/Legacy/Tests/Content/UrlAlias/_fixtures',
'eZ/Publish/Core/Persistence/Legacy/Tests/Content/UrlWildcard/Gateway/_fixtures',
'eZ/Publish/Core/Persistence/Legacy/Tests/Content/_fixtures',
'eZ/Publish/Core/Persistence/Legacy/Tests/_fixtures',
'eZ/Publish/Core/Persistence/Tests/TransformationProcessor/_fixtures',
'eZ/Publish/Core/REST/Common/Tests/Input/Handler/_fixtures',
'eZ/Publish/Core/REST/Common/Tests/Output/Generator/_fixtures',
'eZ/Publish/Core/REST/Client',
'eZ/Publish/Core/Repository/Tests/Service/Integration/Legacy/_fixtures',
'eZ/Publish/Core/Search/Legacy/Tests/_fixtures',
'eZ/Publish/SPI/Tests/FieldType/_fixtures',
])
->files()->name('*.php')
)
;