Completed
Pull Request — master (#1)
by ANTHONIUS
03:43
created
src/Core/Command/InstallCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the dotfiles project.
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
             ->setOverwriteNewFiles($this->overwriteNewFiles)
98 98
         ;
99 99
         $this->dispatcher->dispatch(InstallEvent::NAME, $event);
100
-        $this->patches = array_merge($this->patches,$event->getPatches());
100
+        $this->patches = array_merge($this->patches, $event->getPatches());
101 101
 
102 102
         $this->applyPatch();
103 103
     }
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
             $this->debug("executing <comment>$file</comment>");
171 171
             $cmd = $file;
172 172
             $process = new Process($cmd);
173
-            $process->run(function ($type, $buffer): void {
173
+            $process->run(function($type, $buffer): void {
174 174
                 if (Process::ERR === $type) {
175 175
                     $this->output->writeln("Error: $buffer");
176 176
                 } else {
Please login to merge, or discard this patch.
src/Core/Command/ClearCacheCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         $fs = new Filesystem();
61 61
 
62 62
         /* @var \Symfony\Component\Finder\SplFileInfo $file */
63
-        foreach($finder->files() as $file){
63
+        foreach ($finder->files() as $file) {
64 64
             $fs->remove($file);
65 65
             $relPath = 'var/cache/'.$file->getRelativePathname();
66 66
             $this->logger->debug("-removed <comment>$relPath</comment>");
Please login to merge, or discard this patch.