@@ -1,6 +1,6 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 { |
@@ -60,7 +60,7 @@ |
||
| 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>"); |