diff --git a/.travis.yml b/.travis.yml index ed82ac3..250b07e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ php: - 5.6 - 7.0 - 7.1 + - 7.2 - nightly env: diff --git a/composer.json b/composer.json index 16fa98f..953ed30 100644 --- a/composer.json +++ b/composer.json @@ -10,8 +10,8 @@ "homepage": "http://pluswerk.ag" } ], - "config":{ - "platform":{ + "config": { + "platform": { "php": "5.6" } }, @@ -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.*" } } diff --git a/grumphp.yml b/grumphp.yml index 4a44d17..668cca2 100644 --- a/grumphp.yml +++ b/grumphp.yml @@ -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: diff --git a/src/BomFixerTask.php b/src/BomFixerTask.php index 02398a3..902dad4 100644 --- a/src/BomFixerTask.php +++ b/src/BomFixerTask.php @@ -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);