aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2017-08-21 10:27:58 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2017-08-21 10:27:58 +0200
commite95b4da5f9fb58482818d17ff5363b57a6a92567 (patch)
tree9341ca60965c684e1d779e8aaa79d3200555a5f0
parent746550ff5592c15b20b3aaaff34d409a7a06c936 (diff)
downloadDevtools-e95b4da5f9fb58482818d17ff5363b57a6a92567.zip
Devtools-e95b4da5f9fb58482818d17ff5363b57a6a92567.tar.gz
Devtools-e95b4da5f9fb58482818d17ff5363b57a6a92567.tar.bz2
feat(cs) Allow risky fixers.
-rw-r--r--Bin/Cs.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Bin/Cs.php b/Bin/Cs.php
index 5970d1d..074f006 100644
--- a/Bin/Cs.php
+++ b/Bin/Cs.php
@@ -122,6 +122,8 @@ class Cs extends Console\Dispatcher\Kit
$arguments[] = '--diff';
}
+ $arguments['--allow-risky'] = 'yes';
+
$arguments[] = $path;
$processus = new Console\Processus($phpCsFixer, $arguments);