Skip to content

Commit ddd8cf8

Browse files
author
igor-chepurnoi
committed
update php-cs-fixer configuration
1 parent d1c6819 commit ddd8cf8

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.php_cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ $config = PhpCsFixer\Config::create()
1919
'concat_space' => ['spacing' => 'one'],
2020
'ordered_imports' => true,
2121
'array_syntax' => ['syntax' => 'short'],
22+
'yoda_style' => false,
2223
])
2324
->setFinder($finder);
2425

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ install:
1818

1919
script:
2020
- vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix --dry-run --diff
21-
- phpunit --verbose
21+
- vendor/bin/phpunit --verbose

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
"dompdf/dompdf": "^0.8.0"
2323
},
2424
"require-dev": {
25-
"friendsofphp/php-cs-fixer": "~2.0"
25+
"friendsofphp/php-cs-fixer": "~2.0",
26+
"phpunit/phpunit": "~6.0"
27+
2628
},
2729
"autoload": {
2830
"psr-4": {

0 commit comments

Comments
 (0)