Skip to content
This repository was archived by the owner on Apr 30, 2019. It is now read-only.

Commit 05023a5

Browse files
authored
Merge pull request #4 from Elao/update-cs-fixer
Fix cs-fixer v2
2 parents 0060985 + 9474c07 commit 05023a5

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.php_cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,12 @@ return PhpCsFixer\Config::create()
1919
->setRules([
2020
'@Symfony' => true,
2121
'psr0' => false,
22-
'concat_without_spaces' => false,
23-
'concat_with_spaces' => true,
22+
'concat_space' => ['spacing' => 'one'],
2423
'phpdoc_short_description' => false,
2524
'phpdoc_order' => true,
2625
'array_syntax' => ['syntax' => 'short'],
2726
'ordered_imports' => true,
2827
'simplified_null_return' => false,
29-
'header_comment' => [
30-
'header' => $header,
31-
],
28+
'header_comment' => ['header' => $header],
3229
])
3330
;

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"symfony/form": "^2.8|^3.1"
3131
},
3232
"require-dev": {
33-
"friendsofphp/php-cs-fixer": "2.x@dev",
33+
"friendsofphp/php-cs-fixer": "^2.0",
3434
"phpunit/phpunit": "^5.6",
3535
"symfony/browser-kit": "^2.8|^3.1",
3636
"symfony/css-selector": "^2.8|^3.1",
@@ -41,7 +41,8 @@
4141
"symfony/phpunit-bridge": "^2.8|^3.1",
4242
"symfony/twig-bundle": "^2.8|^3.1",
4343
"symfony/validator": "^2.8|^3.1",
44-
"symfony/var-dumper": "^2.8.11|^3.1"
44+
"symfony/var-dumper": "^2.8.11|^3.1",
45+
"symfony/templating": "^2.8|^3.1"
4546
},
4647
"extra": {
4748
"branch-alias": {

tests/Fixtures/Integration/Symfony/app/config/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ framework:
99
storage_id: 'session.storage.mock_file'
1010
templating:
1111
engines: ['twig']
12+
assets: false
13+
annotations: false

0 commit comments

Comments
 (0)