Skip to content

Commit 0ccb470

Browse files
authored
Merge pull request #537 from localheinz/fix/php-cs-fixer
Fix: Pin friendsofphp/php-cs-fixer to minor version
2 parents 08a09f3 + 276b51c commit 0ccb470

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.php_cs.dist

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,9 @@ $config
1111
'@PSR2' => true,
1212
'@Symfony' => true,
1313
// additionally
14-
'align_multiline_comment' => array('comment_type' => 'phpdocs_like'),
1514
'array_syntax' => array('syntax' => 'long'),
1615
'binary_operator_spaces' => false,
1716
'concat_space' => array('spacing' => 'one'),
18-
'increment_style' => false,
1917
'no_useless_else' => true,
2018
'no_useless_return' => true,
2119
'ordered_imports' => true,
@@ -25,7 +23,6 @@ $config
2523
'pre_increment' => false,
2624
'simplified_null_return' => false,
2725
'trailing_comma_in_multiline_array' => false,
28-
'yoda_style' => null,
2926
))
3027
->setFinder($finder)
3128
;

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"icecave/parity": "1.0.0"
3333
},
3434
"require-dev": {
35-
"friendsofphp/php-cs-fixer": "^2.1",
35+
"friendsofphp/php-cs-fixer": "~2.2.20",
3636
"json-schema/JSON-Schema-Test-Suite": "1.2.0",
3737
"phpunit/phpunit": "^4.8.35"
3838
},

0 commit comments

Comments
 (0)