Completed
Push — master ( bea60b...76c543 )
by Christian
08:18
created
src/Task/WrappedCommand/WrappedCommandTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
      *
98 98
      * @param \Closure $composerFactory The new factory function.
99 99
      *
100
-     * @return RequireCommand
100
+     * @return WrappedCommandTrait
101 101
      */
102 102
     public function setComposerFactory($composerFactory)
103 103
     {
Please login to merge, or discard this patch.
src/Compiler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -428,7 +428,7 @@
 block discarded – undo
428 428
             $version['version'] = trim($process->getOutput());
429 429
         } else {
430 430
             // get branch-alias defined in composer.json for dev-master (if any)
431
-            $localConfig = $directory.'/composer.json';
431
+            $localConfig = $directory . '/composer.json';
432 432
             $file        = new JsonFile($localConfig);
433 433
             $localConfig = $file->read();
434 434
             if (isset($localConfig['extra']['branch-alias']['dev-master'])) {
Please login to merge, or discard this patch.
src/Compiler/AbstractTask.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
         if ($strip) {
153 153
             $content = $this->stripWhitespace($content);
154 154
         } elseif ('LICENSE' === basename($file)) {
155
-            $content = "\n".$content."\n";
155
+            $content = "\n" . $content . "\n";
156 156
         }
157 157
 
158 158
         $this->addFileContent($path, $this->alterFileContents($path, $content));
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
             $path = $pathOverride;
174 174
         } else {
175 175
             $path = strtr(
176
-                str_replace(dirname($this->getVendorDir()).DIRECTORY_SEPARATOR, '', $file->getRealPath()),
176
+                str_replace(dirname($this->getVendorDir()) . DIRECTORY_SEPARATOR, '', $file->getRealPath()),
177 177
                 '\\',
178 178
                 '/'
179 179
             );
Please login to merge, or discard this patch.
src/Compiler/CoreTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
             $this->addFile($file);
123 123
         }
124 124
 
125
-        $this->addFile(new \SplFileInfo($composerDir.'/LICENSE'), false);
125
+        $this->addFile(new \SplFileInfo($composerDir . '/LICENSE'), false);
126 126
     }
127 127
 
128 128
     /**
Please login to merge, or discard this patch.
src/Composer/Search/RepositorySearch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
         }
150 150
 
151 151
         return array_map(
152
-            function ($package) {
152
+            function($package) {
153 153
                 /** @var PackageInterface $package */
154 154
                 return $package->getName();
155 155
             },
Please login to merge, or discard this patch.
src/CoreBundle/Controller/InstallProjectController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
             $fileSystem->remove($installDir . DIRECTORY_SEPARATOR . 'composer.json');
88 88
             $fileSystem->remove(
89 89
                 array_map(
90
-                    function ($file) use ($dataDir) {
90
+                    function($file) use ($dataDir) {
91 91
                         return $dataDir . DIRECTORY_SEPARATOR . $file;
92 92
                     },
93 93
                     [
Please login to merge, or discard this patch.
src/SelfTest/Cli/SelfTestCliRuntime.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
      */
157 157
     private function filterBaseDir($paths, $baseDirs)
158 158
     {
159
-        return array_filter($paths, function ($path) use ($baseDirs) {
159
+        return array_filter($paths, function($path) use ($baseDirs) {
160 160
             foreach ($baseDirs as $baseDir) {
161 161
                 if (substr($baseDir, 0, strlen($path)) === $path) {
162 162
                     return true;
Please login to merge, or discard this patch.
src/Task/Task.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
             $this->file->set('log', $logFile);
159 159
 
160 160
             $this->setStatus(self::STATE_RUNNING);
161
-            $this->addOutput('Task ' . $this->getId() .  ' started.' . "\n");
161
+            $this->addOutput('Task ' . $this->getId() . ' started.' . "\n");
162 162
 
163 163
             $this->doPerform();
164 164
         } catch (\Exception $exception) {
Please login to merge, or discard this patch.