Completed
Pull Request — master (#56)
by Nikita
03:24
created
src/VersionParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@
 block discarded – undo
175 175
         if ($this->development($version)) {
176 176
             return false;
177 177
         }
178
-        preg_match('{'.$this->modifier.'$}i', strtolower($version), $match);
178
+        preg_match('{' . $this->modifier . '$}i', strtolower($version), $match);
179 179
         if (!empty($match[3])) {
180 180
             return false;
181 181
         }
Please login to merge, or discard this patch.
src/Strategy/GithubStrategy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@
 block discarded – undo
209 209
 
210 210
     protected function getApiUrl()
211 211
     {
212
-        return sprintf(self::API_URL, $this->getPackageName()).'?'.rand();
212
+        return sprintf(self::API_URL, $this->getPackageName()) . '?' . rand();
213 213
     }
214 214
 
215 215
     protected function getDownloadUrl(array $package)
Please login to merge, or discard this patch.