fix php 5.6 in docker dev env (#1740)
[openemr.git] / vendor / zendframework / zend-i18n-resources / .php_cs
bloba5f1a6fb85cad425d9394aad842672a743b385a2
1 <?php
2 $finder = Symfony\CS\Finder\DefaultFinder::create()
3     ->notPath('Zend/View/Stream.php')
4     ->notPath('ZendTest/Code/Generator/TestAsset')
5     ->notPath('ZendTest/Code/Reflection/FunctionReflectionTest.php')
6     ->notPath('ZendTest/Code/Reflection/MethodReflectionTest.php')
7     ->notPath('ZendTest/Code/Reflection/TestAsset')
8     ->notPath('ZendTest/Code/TestAsset')
9     ->notPath('ZendTest/Validator/_files')
10     ->notPath('ZendTest/Loader/_files')
11     ->notPath('ZendTest/Loader/TestAsset')
12     ->notPath('demos')
13     ->notPath('resources')
14     // Following are necessary when you use `parallel` or specify a path
15     // from the project root.
16     ->notPath('Stream.php')
17     ->notPath('Generator/TestAsset')
18     ->notPath('Reflection/FunctionReflectionTest.php')
19     ->notPath('Reflection/MethodReflectionTest.php')
20     ->notPath('Reflection/TestAsset')
21     ->notPath('TestAsset')
22     ->notPath('_files')
23     ->filter(function (SplFileInfo $file) {
24         if (strstr($file->getPath(), 'compatibility')) {
25             return false;
26         }
27     });
28 $config = Symfony\CS\Config\Config::create();
29 $config->level(null);
30 $config->fixers(
31     array(
32         'braces',
33         'duplicate_semicolon',
34         'elseif',
35         'empty_return',
36         'encoding',
37         'eof_ending',
38         'function_call_space',
39         'function_declaration',
40         'indentation',
41         'join_function',
42         'line_after_namespace',
43         'linefeed',
44         'lowercase_constants',
45         'lowercase_keywords',
46         'parenthesis',
47         'multiple_use',
48         'method_argument_space',
49         'object_operator',
50         'php_closing_tag',
51         'psr0',
52         'remove_lines_between_uses',
53         'single_line_after_imports',
54         'short_tag',
55         'standardize_not_equal',
56         'trailing_spaces',
57         'unused_use',
58         'visibility',
59         'whitespacy_lines',
60     )
62 $config->finder($finder);
63 return $config;