Completed
Branch develop (e3b860)
by Luke
13:48
created
lib/ComponentManager/PackageRepository/PackageRepository.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@
 block discarded – undo
29 29
      * @param \Symfony\Component\Filesystem\Filesystem $filesystem
30 30
      * @param \ComponentManager\Platform\Platform      $platform
31 31
      * @param \stdClass                                $options
32
+     * @return void
32 33
      */
33 34
     public function __construct(Filesystem $filesystem, Platform $platform,
34 35
                                 stdClass $options);
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 use ComponentManager\ComponentSpecification;
14 14
 use ComponentManager\ComponentVersion;
15 15
 use ComponentManager\Platform\Platform;
16
-use stdClass;
17 16
 use Symfony\Component\Filesystem\Filesystem;
17
+use stdClass;
18 18
 
19 19
 /**
20 20
  * Package repository interface.
Please login to merge, or discard this patch.
lib/ComponentManager/Platform/PlatformFactory.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 namespace ComponentManager\Platform;
12 12
 
13 13
 use ComponentManager\Exception\PlatformException;
14
-use Symfony\Component\DependencyInjection\Definition;
15 14
 
16 15
 class PlatformFactory {
17 16
     /**
Please login to merge, or discard this patch.
lib/ComponentManager/PackageRepository/StashPackageRepository.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
      */
272 272
     protected function getMetadataCacheFilename() {
273 273
         $urlHash = parse_url($this->options->uri, PHP_URL_HOST) . '-'
274
-                 . $this->options->project;
274
+                    . $this->options->project;
275 275
 
276 276
         return $this->platform->joinPaths([
277 277
             parent::getMetadataCacheDirectory(),
@@ -370,7 +370,7 @@  discard block
 block discarded – undo
370 370
      */
371 371
     protected function getProjectRepositoryListUrl() {
372 372
         return sprintf(static::PROJECT_REPOSITORY_LIST_PATH,
373
-                       $this->options->project);
373
+                        $this->options->project);
374 374
     }
375 375
 
376 376
     /**
@@ -382,7 +382,7 @@  discard block
 block discarded – undo
382 382
      */
383 383
     protected function getRepositoryBranchesPath($componentName) {
384 384
         return sprintf(static::REPOSITORY_BRANCHES_PATH, $this->options->project,
385
-                       $componentName);
385
+                        $componentName);
386 386
     }
387 387
 
388 388
     /**
@@ -394,6 +394,6 @@  discard block
 block discarded – undo
394 394
      */
395 395
     protected function getRepositoryTagsPath($componentName) {
396 396
         return sprintf(static::REPOSITORY_TAGS_PATH, $this->options->project,
397
-                       $componentName);
397
+                        $componentName);
398 398
     }
399 399
 }
Please login to merge, or discard this patch.
lib/ComponentManager/PackageRepository/GithubPackageRepository.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
         }
95 95
 
96 96
         return new Component($componentSpecification->getName(), $versions,
97
-                             $this);
97
+                                $this);
98 98
     }
99 99
 
100 100
     /**
Please login to merge, or discard this patch.
lib/ComponentManager/Console/DependencyInjection/ConsoleCommandsPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
      * @param string|null $tagName
54 54
      * @param string|null $appId
55 55
      */
56
-    public function __construct($tagName=null, $appId=null) {
56
+    public function __construct($tagName = null, $appId = null) {
57 57
         $this->tagName = ($tagName === null) ? 'console.command' : $tagName;
58 58
         $this->appId = ($appId === null) ? 'console.application' : $appId;
59 59
     }
Please login to merge, or discard this patch.