Skip to content

Commit 5577ee0

Browse files
author
DKravtsov
committedJan 11, 2021
updated composer dependencies and fixed issue with xdebug
1 parent 50e8749 commit 5577ee0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+2067
-1350
lines changed
 

‎.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,8 @@ reports/*
1818
.phpunit.result.cache
1919
/phpunit.xml
2020
###< symfony/phpunit-bridge ###
21+
22+
###> friendsofphp/php-cs-fixer ###
23+
.php_cs
24+
.php_cs.cache
25+
###< friendsofphp/php-cs-fixer ###

‎.php_cs.dist

+23
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,31 @@
11
<?php
22

3+
// https://mlocati.github.io/php-cs-fixer-configurator/
34
return PhpCsFixer\Config::create()
45
->setRules([
56
'@Symfony' => true,
67
'array_syntax' => ['syntax' => 'short'],
8+
'increment_style' => ['style' => 'post'],
9+
'yoda_style' => ['equal' => false, 'identical' => false, 'less_and_greater' => false],
10+
'concat_space' => ['spacing' => 'one'],
11+
'cast_spaces' => ['space' => 'none'],
12+
'ordered_imports' => ['imports_order' => ['class', 'function', 'const']],
13+
'no_superfluous_phpdoc_tags' => ['remove_inheritdoc' => false, 'allow_mixed' => true, 'allow_unused_params' => true],
14+
'declare_equal_normalize' => ['space' => 'none'],
15+
'blank_line_before_statement' => ['statements' => ['continue', 'declare', 'return', 'throw', 'try']],
16+
'single_blank_line_before_namespace' => true,
17+
'blank_line_after_namespace' => true,
18+
'blank_line_after_opening_tag' => true,
19+
20+
// skip list (see ecs.php)
21+
'no_multiline_whitespace_around_double_arrow' => false,
22+
'phpdoc_no_package' => false,
23+
'phpdoc_summary' => false,
24+
'phpdoc_separation' => false,
25+
'class_attributes_separation' => false,
26+
'no_blank_lines_before_namespace' => false,
27+
'not_operator_with_successor_space' => false,
28+
'single_line_throw' => false,
29+
730
])
831
;

0 commit comments

Comments
 (0)
Please sign in to comment.