Completed
Push — master ( c24707...8f0731 )
by Christian
02:39
created
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/Composer/Search/RepositorySearch.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@
 block discarded – undo
239 239
     /**
240 240
      * Retrieve the composite repository.
241 241
      *
242
-     * @return RepositoryInterface|null
242
+     * @return RepositoryInterface
243 243
      */
244 244
     public function getRepository()
245 245
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
             $repoConfig = $this->repository->getRepoConfig();
74 74
             if (!preg_match('{^[\w.]+\??://}', $repoConfig['url'])) {
75 75
                 // assume https as the default protocol
76
-                $repoConfig['url'] = 'https://'.$repoConfig['url'];
76
+                $repoConfig['url'] = 'https://' . $repoConfig['url'];
77 77
             }
78 78
             $this->decorateBaseUrl = rtrim($repoConfig['url'], '/') . '/packages/%1$s.json';
79 79
         }
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
         }
167 167
 
168 168
         return array_map(
169
-            function ($package) {
169
+            function($package) {
170 170
                 /** @var PackageInterface $package */
171 171
                 return $package->getName();
172 172
             },
Please login to merge, or discard this patch.