Passed
Pull Request — master (#1)
by ANTHONIUS
02:25
created
src/Plugins/Bash/Listeners/InstallListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 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.
Please login to merge, or discard this patch.
src/Plugins/Bash/Tests/Event/ReloadBashConfigEventTest.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.
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         ;
44 44
         $event = new ReloadBashConfigEvent($logger);
45 45
         $dispatcher = new Dispatcher();
46
-        $dispatcher->addListener(ReloadBashConfigEvent::NAME, function ($event): void {
46
+        $dispatcher->addListener(ReloadBashConfigEvent::NAME, function($event): void {
47 47
             $event->addHeaderConfig('dispatched');
48 48
         });
49 49
         $dispatcher->dispatch(ReloadBashConfigEvent::NAME, $event);
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.
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 
94 94
         $process->expects($this->once())
95 95
             ->method('run')
96
-            ->will($this->returnCallback(function () {
96
+            ->will($this->returnCallback(function() {
97 97
                 touch($this->tempDir.'/bin/composer.phar');
98 98
 
99 99
                 return 0;
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 
137 137
         $this->downloader->expects($this->any())
138 138
             ->method('run')
139
-            ->will($this->returnCallback(function ($url, $target) use ($config): void {
139
+            ->will($this->returnCallback(function($url, $target) use ($config): void {
140 140
                 Toolkit::ensureFileDir($target);
141 141
                 $origin = $config['installer.php'];
142 142
                 if (false !== strpos($target, 'composer.sig')) {
Please login to merge, or discard this patch.
src/Plugins/Composer/Installer.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.
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
         $process = $this->processor->create($cmd);
145 145
         $process->setTimeout(3600);
146 146
         $process->setIdleTimeout(60);
147
-        $process->run(function ($type, $buffer): void {
147
+        $process->run(function($type, $buffer): void {
148 148
             //@codeCoverageIgnoreStart
149 149
             if (Process::ERR === $type) {
150 150
                 $this->logger->error($buffer);
Please login to merge, or discard this patch.
src/Plugins/PHPBrew/Tests/InstallerTest.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.
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         $this->downloader->expects($this->once())
67 67
             ->method('run')
68 68
             ->with(Installer::DOWNLOAD_URL, $tempDir.'/temp/phpbrew')
69
-            ->will($this->returnCallback(function () use ($tempDir): void {
69
+            ->will($this->returnCallback(function() use ($tempDir): void {
70 70
                 touch($tempDir.'/temp/phpbrew');
71 71
             }))
72 72
         ;
Please login to merge, or discard this patch.
src/Plugins/PHPBrew/Installer.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.
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
                 'init',
107 107
             );
108 108
             $process = new Process($cmd);
109
-            $process->run(function ($type, $buffer): void {
109
+            $process->run(function($type, $buffer): void {
110 110
                 //@codeCoverageIgnoreStart
111 111
                 if (Process::ERR === $type) {
112 112
                     $this->logger->error('phpbrew: '.$buffer);
Please login to merge, or discard this patch.
src/Core/Compiler.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.
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
         $phar->setSignatureAlgorithm(\Phar::SHA1);
116 116
         $phar->startBuffering();
117 117
 
118
-        $finderSort = function ($a, $b) {
118
+        $finderSort = function($a, $b) {
119 119
             return strcmp(strtr($a->getRealPath(), '\\', '/'), strtr($b->getRealPath(), '\\', '/'));
120 120
         };
121 121
 
Please login to merge, or discard this patch.
src/Core/Command/InstallCommand.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.
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
             $this->debug("executing <comment>$file</comment>");
168 168
             $cmd = $file;
169 169
             $process = new Process($cmd);
170
-            $process->run(function ($type, $buffer): void {
170
+            $process->run(function($type, $buffer): void {
171 171
                 if (Process::ERR === $type) {
172 172
                     $this->output->writeln("Error: $buffer");
173 173
                 } else {
Please login to merge, or discard this patch.
src/Core/Tests/Command/SelfUpdateCommandTest.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.
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
             ->method('run')
121 121
             ->will(
122 122
                 $this->returnCallback(
123
-                    function ($url, $target) use ($versionFile): void {
123
+                    function($url, $target) use ($versionFile): void {
124 124
                         file_put_contents($target, $versionFile, LOCK_EX);
125 125
                     }
126 126
                 )
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
             ->method('run')
144 144
             ->will(
145 145
                 $this->returnCallback(
146
-                    function ($url, $target): void {
146
+                    function($url, $target): void {
147 147
                         touch($target);
148 148
                     }
149 149
                 )
Please login to merge, or discard this patch.