Completed
Push — master ( 01982b...3c7394 )
by ANTHONIUS
11s
created
src/Core/Command/CompileCommand.php 1 patch
Spacing   +2 added lines, -2 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.
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 
153 153
     private function generatePhar($pharFile = 'dotfiles.phar'): void
154 154
     {
155
-        $finderSort = function ($a, $b) {
155
+        $finderSort = function($a, $b) {
156 156
             return strcmp(strtr($a->getRealPath(), '\\', '/'), strtr($b->getRealPath(), '\\', '/'));
157 157
         };
158 158
 
Please login to merge, or discard this patch.
src/Core/Command/InitCommand.php 1 patch
Spacing   +2 added lines, -2 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.
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
         $helper = $this->getHelper('question');
147 147
         $default = 'dev' === getenv('DOTFILES_ENV') ? sys_get_temp_dir().'/dotfiles/repo' : getcwd();
148 148
         $question = new Question("Please enter local repository dir (<comment>$default</comment>): ", $default);
149
-        $question->setValidator(function ($answer) {
149
+        $question->setValidator(function($answer) {
150 150
             if (null === $answer) {
151 151
                 throw new InvalidOperationException('You have to define local repository directory');
152 152
             }
Please login to merge, or discard this patch.
src/Plugins/Composer/Tests/InstallerTest.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.
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 
95 95
         $process->expects($this->once())
96 96
             ->method('run')
97
-            ->will($this->returnCallback(function () {
97
+            ->will($this->returnCallback(function() {
98 98
                 $file = $this->tempDir.'/bin/composer.phar';
99 99
                 Toolkit::ensureFileDir($file);
100 100
                 touch($file);
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 
140 140
         $this->downloader->expects($this->any())
141 141
             ->method('run')
142
-            ->will($this->returnCallback(function ($url, $target) use ($config): void {
142
+            ->will($this->returnCallback(function($url, $target) use ($config): void {
143 143
                 Toolkit::ensureFileDir($target);
144 144
                 $origin = $config['installer.php'];
145 145
                 if (false !== strpos($target, 'composer.sig')) {
Please login to merge, or discard this patch.