Browse Source

Cleanup

multi-byte
J. King 6 years ago
parent
commit
7803b8af9e
  1. 4
      RoboFile.php

4
RoboFile.php

@ -81,8 +81,8 @@ class RoboFile extends \Robo\Tasks {
/** Runs the coding standards fixer */
public function clean($opts = ['demo|d' => false]): Result {
$t = $this->taskExec(norm(BASE."vendor/bin/php-cs-fixer"));
$t->arg("fix");
$t = $this->taskExec(realpath(BASE."vendor/bin/php-cs-fixer"));
$t->arg("fix")->arg("--allow-risky=yes");
if ($opts['demo']) {
$t->args("--dry-run", "--diff")->option("--diff-format", "udiff");
}

Loading…
Cancel
Save