Completed
Push — master ( 64ab80...bbb30c )
by Christian
03:20
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/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.
src/CoreBundle/TensideCoreBundle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
         // Load our annotation if it get's mentioned, Doctrine does not try to autoload it via plain PHP.
48 48
         AnnotationRegistry::registerLoader(
49
-            function ($class) {
49
+            function($class) {
50 50
                 if (0 === strcmp('Tenside\CoreBundle\Annotation\ApiDescription', $class)) {
51 51
                     class_exists('Tenside\CoreBundle\Annotation\ApiDescription');
52 52
                     return true;
Please login to merge, or discard this patch.
src/CoreBundle/UriSigner.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
         $uri = $this->buildUrl($url, $params);
77 77
 
78
-        return $uri.(false === (strpos($uri, '?')) ? '?' : '&').'_hash='.$this->computeHash($uri);
78
+        return $uri . (false === (strpos($uri, '?')) ? '?' : '&') . '_hash=' . $this->computeHash($uri);
79 79
     }
80 80
 
81 81
     /**
@@ -141,16 +141,16 @@  discard block
 block discarded – undo
141 141
         ksort($params);
142 142
         $url['query'] = http_build_query($params, '', '&');
143 143
 
144
-        $scheme   = isset($url['scheme']) ? $url['scheme'].'://' : '';
144
+        $scheme   = isset($url['scheme']) ? $url['scheme'] . '://' : '';
145 145
         $host     = isset($url['host']) ? $url['host'] : '';
146
-        $port     = isset($url['port']) ? ':'.$url['port'] : '';
146
+        $port     = isset($url['port']) ? ':' . $url['port'] : '';
147 147
         $user     = isset($url['user']) ? $url['user'] : '';
148
-        $pass     = isset($url['pass']) ? ':'.$url['pass']  : '';
148
+        $pass     = isset($url['pass']) ? ':' . $url['pass'] : '';
149 149
         $pass     = ($user || $pass) ? $pass . '@' : '';
150 150
         $path     = isset($url['path']) ? $url['path'] : '';
151
-        $query    = isset($url['query']) && $url['query'] ? '?'.$url['query'] : '';
152
-        $fragment = isset($url['fragment']) ? '#'.$url['fragment'] : '';
151
+        $query    = isset($url['query']) && $url['query'] ? '?' . $url['query'] : '';
152
+        $fragment = isset($url['fragment']) ? '#' . $url['fragment'] : '';
153 153
 
154
-        return $scheme.$user.$pass.$host.$port.$path.$query.$fragment;
154
+        return $scheme . $user . $pass . $host . $port . $path . $query . $fragment;
155 155
     }
156 156
 }
Please login to merge, or discard this patch.