forked from php-java/php-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs.dist
37 lines (36 loc) · 1.09 KB
/
.php_cs.dist
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
36
37
<?php
$finder = PhpCsFixer\Finder::create()
->in(__DIR__ . '/src')
->in(__DIR__ . '/tests');
return PhpCsFixer\Config::create()
->setRules([
'@PSR2' => true,
'@PhpCsFixer' => true,
'array_syntax' => [
'syntax' => 'short',
],
'blank_line_after_opening_tag' => false,
'blank_line_before_statement' => [
'statements' => [],
],
'concat_space' => [
'spacing' => 'one',
],
'increment_style' => [
'style' => 'post',
],
'no_multiline_whitespace_before_semicolons' => true,
'no_superfluous_phpdoc_tags' => true,
'ordered_class_elements' => false,
'php_unit_internal_class' => false,
'php_unit_test_class_requires_covers' => false,
'phpdoc_align' => [
'align' => 'left',
],
'phpdoc_separation' => false,
'phpdoc_to_comment' => false,
'phpdoc_var_without_name' => false,
'single_blank_line_before_namespace' => false,
'yoda_style' => false,
])
->setFinder($finder);