scratch – Blame information for rev 115

Subversion Repositories:
Rev:
Rev Author Line No. Line
115 office 1 <?php
2  
3 $header = <<<EOF
4 This file is part of the Monolog package.
5  
6 (c) Jordi Boggiano <j.boggiano@seld.be>
7  
8 For the full copyright and license information, please view the LICENSE
9 file that was distributed with this source code.
10 EOF;
11  
12 $finder = Symfony\CS\Finder::create()
13 ->files()
14 ->name('*.php')
15 ->exclude('Fixtures')
16 ->in(__DIR__.'/src')
17 ->in(__DIR__.'/tests')
18 ;
19  
20 return Symfony\CS\Config::create()
21 ->setUsingCache(true)
22 //->setUsingLinter(false)
23 ->setRiskyAllowed(true)
24 ->setRules(array(
25 '@PSR2' => true,
26 'binary_operator_spaces' => true,
27 'blank_line_before_return' => true,
28 'header_comment' => array('header' => $header),
29 'include' => true,
30 'long_array_syntax' => true,
31 'method_separation' => true,
32 'no_blank_lines_after_class_opening' => true,
33 'no_blank_lines_after_phpdoc' => true,
34 'no_blank_lines_between_uses' => true,
35 'no_duplicate_semicolons' => true,
36 'no_extra_consecutive_blank_lines' => true,
37 'no_leading_import_slash' => true,
38 'no_leading_namespace_whitespace' => true,
39 'no_trailing_comma_in_singleline_array' => true,
40 'no_unused_imports' => true,
41 'object_operator_without_whitespace' => true,
42 'phpdoc_align' => true,
43 'phpdoc_indent' => true,
44 'phpdoc_no_access' => true,
45 'phpdoc_no_package' => true,
46 'phpdoc_order' => true,
47 'phpdoc_scalar' => true,
48 'phpdoc_trim' => true,
49 'phpdoc_type_to_var' => true,
50 'psr0' => true,
51 'single_blank_line_before_namespace' => true,
52 'spaces_cast' => true,
53 'standardize_not_equals' => true,
54 'ternary_operator_spaces' => true,
55 'trailing_comma_in_multiline_array' => true,
56 'whitespacy_lines' => true,
57 ))
58 ->finder($finder)
59 ;