Skip to content

Commit

Permalink
[FEATURE] fix tests for grumphp 0.14 (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanti committed Feb 27, 2018
1 parent 3714938 commit 5a1418d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ php:
- 5.6
- 7.0
- 7.1
- 7.2
- nightly

env:
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"homepage": "http://pluswerk.ag"
}
],
"config":{
"platform":{
"config": {
"platform": {
"php": "5.6"
}
},
Expand All @@ -26,9 +26,9 @@
},
"require": {
"php": ">=5.6",
"phpro/grumphp": "^0.13.0"
"phpro/grumphp": "0.14.*"
},
"require-dev": {
"squizlabs/php_codesniffer": "2.6.*"
"squizlabs/php_codesniffer": "2.* | 3.*"
}
}
2 changes: 1 addition & 1 deletion grumphp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ parameters:
detect_key_conflicts: true
phpcs:
standard: "PSR2"
show_warnings: false
warning_severity: 900000
tab_width: 4
yamllint: ~
plus_bom_fixer:
Expand Down
6 changes: 3 additions & 3 deletions src/BomFixerTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ public function run(ContextInterface $context)
return TaskResult::createFailed(
$this,
$context,
implode(PHP_EOL, $shouldGetFixedLog) . PHP_EOL .
'you can use this to fix them:' . PHP_EOL .
$fixCommand
implode(PHP_EOL, $shouldGetFixedLog) . PHP_EOL
. 'you can use this to fix them:' . PHP_EOL
. $fixCommand
);
}
return TaskResult::createPassed($this, $context);
Expand Down

0 comments on commit 5a1418d

Please sign in to comment.