File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/PhpGitHooks/Infrastructure/PhpCsFixer Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public function run()
23
23
{
24
24
foreach ($ this ->levels as $ level => $ value ) {
25
25
if (true === $ value ) {
26
- $ this ->outputHandler ->setTitle ('Checking ' . strtoupper ($ level ) . ' code style with PHP-CS-FIXER ' );
26
+ $ this ->outputHandler ->setTitle ('Checking ' . strtoupper ($ level ). ' code style with PHP-CS-FIXER ' );
27
27
$ this ->output ->write ($ this ->outputHandler ->getTitle ());
28
28
29
29
$ errors = array ();
@@ -42,7 +42,7 @@ public function run()
42
42
'--dry-run ' ,
43
43
'fix ' ,
44
44
$ file ,
45
- '--fixers= ' . $ level ,
45
+ '--level= ' . $ level ,
46
46
)
47
47
);
48
48
@@ -66,7 +66,7 @@ public function run()
66
66
67
67
/**
68
68
* throw new PhpCsFixerException(implode('', $errors));
69
- * }
69
+ * }.
70
70
*
71
71
* $this->output->writeln($this->outputHandler->getSuccessfulStepMessage());
72
72
* }
You can’t perform that action at this time.
0 commit comments