-
Notifications
You must be signed in to change notification settings - Fork 29
/
.php-cs-fixer.php
41 lines (38 loc) · 1.91 KB
/
.php-cs-fixer.php
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
<?php
use Ibexa\CodeStyle\PhpCsFixer\InternalConfigFactory;
$factory = new InternalConfigFactory();
$factory->withRules([
'declare_strict_types' => false,
]);
return $factory->buildConfig()
->setFinder(
PhpCsFixer\Finder::create()
->in([
__DIR__ . '/eZ',
__DIR__ . '/src',
__DIR__ . '/tests',
])
->exclude(
[
'Bundle/EzPublishCoreBundle/Tests/DependencyInjection/Fixtures',
'Publish/API/Repository/Tests/FieldType/_fixtures',
'Publish/API/Repository/Tests/_fixtures',
'Publish/Core/FieldType/Tests/Url/Gateway/_fixtures',
'Publish/Core/IO/Tests/_fixtures',
'Publish/Core/MVC/Symfony/Templating/Tests/Twig/Extension/_fixtures',
'Publish/Core/Persistence/Legacy/Tests/Content/Location/Gateway/_fixtures',
'Publish/Core/Persistence/Legacy/Tests/Content/Type/Gateway/_fixtures',
'Publish/Core/Persistence/Legacy/Tests/Content/Type/_fixtures',
'Publish/Core/Persistence/Legacy/Tests/Content/UrlAlias/Gateway/_fixtures',
'Publish/Core/Persistence/Legacy/Tests/Content/UrlAlias/_fixtures',
'Publish/Core/Persistence/Legacy/Tests/Content/UrlWildcard/Gateway/_fixtures',
'Publish/Core/Persistence/Legacy/Tests/Content/_fixtures',
'Publish/Core/Persistence/Legacy/Tests/_fixtures',
'Publish/Core/Persistence/Tests/TransformationProcessor/_fixtures',
'Publish/Core/Repository/Tests/Service/Integration/Legacy/_fixtures',
'Publish/Core/Search/Legacy/Tests/_fixtures',
'Publish/SPI/Tests/FieldType/_fixtures',
]
)
->files()->name('*.php')
);