Completed
Pull Request — master (#164)
by Sam
06:46
created
mysite/code/services/AddonBuilder.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -69,6 +69,9 @@  discard block
 block discarded – undo
69 69
         $addon->write();
70 70
     }
71 71
 
72
+    /**
73
+     * @param string $path
74
+     */
72 75
     protected function download(PackageInterface $package, $path)
73 76
     {
74 77
         $this->packagist
@@ -214,6 +217,9 @@  discard block
 block discarded – undo
214 217
         return (strpos($addon->Repository, 'github.com') !== false);
215 218
     }
216 219
 
220
+    /**
221
+     * @param string $path
222
+     */
217 223
     private function buildScreenshots(Addon $addon, PackageInterface $package, $path)
218 224
     {
219 225
         $extra = $package->getExtra();
Please login to merge, or discard this patch.
mysite/code/services/AddonUpdater.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Composer\Package\AliasPackage;
4
-use Composer\Package\CompletePackage;
5
-use Guzzle\Http\Exception\ClientErrorResponseException;
6 3
 use SilverStripe\Elastica\ElasticaService;
7 4
 use Packagist\Api\Result\Package;
8 5
 use Composer\Package\Version\VersionParser;
Please login to merge, or discard this patch.