94e2ce165721efe877942e0edff951f3fb1d8047
[yaffs-website] / vendor / psy / psysh / .php_cs
1 <?php
2
3 $finder = PhpCsFixer\Finder::create()
4     ->in(__DIR__)
5     ->name('.php_cs')
6     ->name('build-manual')
7     ->name('build-phar')
8     ->exclude('build-vendor');
9
10 $header = <<<EOF
11 This file is part of Psy Shell.
12
13 (c) 2012-2017 Justin Hileman
14
15 For the full copyright and license information, please view the LICENSE
16 file that was distributed with this source code.
17 EOF;
18
19 return PhpCsFixer\Config::create()
20     ->setRules(array(
21         '@Symfony' => true,
22         'array_syntax' => array('syntax' => 'long'),
23         'binary_operator_spaces' => false,
24         'concat_space' => array('spacing' => 'one'),
25         'header_comment' => array('header' => $header),
26         'increment_style' => array('style' => 'post'),
27         'method_argument_space' => array('keep_multiple_spaces_after_comma' => true),
28         'ordered_imports' => true,
29         'pre_increment' => false,
30         'yoda_style' => false,
31     ))
32     ->setFinder($finder);