forked from algolia/algoliasearch-wordpress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs
35 lines (33 loc) · 810 Bytes
/
.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
<?php
$finder = Symfony\CS\Finder\DefaultFinder::create()
->exclude( 'includes/libraries' )
->in( __DIR__ );
return Symfony\CS\Config\Config::create()
->level( Symfony\CS\FixerInterface::NONE_LEVEL )
->fixers(
array(
'linefeed',
'short_tag',
'php_closing_tag',
'visibility',
'array_element_no_space_before_comma',
'array_element_white_space_after_comma',
'blankline_after_open_tag',
'double_arrow_multiline_whitespaces',
'duplicate_semicolon',
'empty_return',
'extra_empty_lines',
'function_typehint_space',
'multiline_array_trailing_comma',
'phpdoc_params',
'phpdoc_scalar',
'phpdoc_short_description',
'return',
'single_quote',
'align_double_arrow',
'concat_with_spaces',
'long_array_syntax',
'encoding',
)
)
->finder( $finder );