File: .php_cs

package info (click to toggle)
symfony 2.8.7%2Bdfsg-1.3%2Bdeb9u3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 39,888 kB
  • sloc: php: 225,095; xml: 4,083; sh: 475; ansic: 263; makefile: 127
file content (30 lines) | stat: -rw-r--r-- 1,510 bytes parent folder | download
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
<?php

return Symfony\CS\Config\Config::create()
    ->setUsingLinter(false)
    ->setUsingCache(true)
    ->finder(
        Symfony\CS\Finder\DefaultFinder::create()
            ->in(__DIR__)
            ->exclude(array(
                // directories containing files with content that is autogenerated by `var_export`, which breaks CS in output code
                'src/Symfony/Component/DependencyInjection/Tests/Fixtures',
                'src/Symfony/Component/Routing/Tests/Fixtures/dumper',
                // fixture templates
                'src/Symfony/Component/Templating/Tests/Fixtures/templates',
                // resource templates
                'src/Symfony/Bundle/FrameworkBundle/Resources/views/Form',
            ))
            // file content autogenerated by `var_export`
            ->notPath('src/Symfony/Component/Translation/Tests/fixtures/resources.php')
            // autogenerated xmls
            ->notPath('src/Symfony/Component/Console/Tests/Fixtures/application_1.xml')
            ->notPath('src/Symfony/Component/Console/Tests/Fixtures/application_2.xml')
            // yml
            ->notPath('src/Symfony/Component/Yaml/Tests/Fixtures/sfTests.yml')
            // test template
            ->notPath('src/Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/Resources/Custom/_name_entry_label.html.php')
            // explicit heredoc test
            ->notPath('src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Resources/views/translation.html.php')
    )
;