Completed
Push — master ( d533c7...56422f )
by Andreas
05:56
created
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/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/Composer/AbstractComposerCommandTask.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
 
87 87
         /** @var WrappedCommandTrait $command */
88 88
         $command->setComposerFactory(
89
-            function () {
89
+            function() {
90 90
                 return Factory::create($this->getIO());
91 91
             }
92 92
         );
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
      *
77 77
      * @param BaseCommand $command The command to patch.
78 78
      *
79
-     * @return BaseCommand
79
+     * @return WrappedCommandTrait
80 80
      *
81 81
      * @throws \InvalidArgumentException When no setComposerFactory method is declared.
82 82
      */
Please login to merge, or discard this patch.
src/Task/Composer/UpgradeTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
 
132 132
             $command->getComposer()->getEventDispatcher()->addListener(
133 133
                 InstallerEvents::PRE_DEPENDENCIES_SOLVING,
134
-                function (InstallerEvent $event) use ($installationManager) {
134
+                function(InstallerEvent $event) use ($installationManager) {
135 135
                     $installationManager->setPool($event->getPool());
136 136
                 }
137 137
             );
Please login to merge, or discard this patch.
src/Task/AbstractCliSpawningTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     {
42 42
         $ioHandler = $this->getIO();
43 43
         $process->run(
44
-            function ($pipe, $content) use ($ioHandler) {
44
+            function($pipe, $content) use ($ioHandler) {
45 45
                 if (Process::ERR === $pipe) {
46 46
                     $ioHandler->writeError($content, false);
47 47
                     // @codingStandardsIgnoreStart
Please login to merge, or discard this patch.