Completed
Push — develop ( 813522...04025d )
by Luke
06:53 queued 02:45
created
lib/ComponentManager/Command/RefreshCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      */
34 34
     const HELP = <<<HELP
35 35
 Refreshes cached package repository meta for all caching package repositories.
36
-HELP;
36
+help;
37 37
 
38 38
     /**
39 39
      * @override \Symfony\Component\Console\Command\Command
Please login to merge, or discard this patch.
lib/ComponentManager/ContainerAwareTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      *
28 28
      * @return void
29 29
      */
30
-    public function setContainer(ContainerInterface $container=null) {
30
+    public function setContainer(ContainerInterface $container = null) {
31 31
         $this->container = $container;
32 32
     }
33 33
 }
Please login to merge, or discard this patch.
lib/ComponentManager/VersionControl/Git/GitVersionControl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
      *
101 101
      * @return void
102 102
      */
103
-    public function fetch($remote, $withTags=true) {
103
+    public function fetch($remote, $withTags = true) {
104 104
         $process = $this->getProcess(['fetch', $remote]);
105 105
         $process->run();
106 106
 
Please login to merge, or discard this patch.
lib/ComponentManager/Exception/AbstractException.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,8 @@
 block discarded – undo
32 32
      */
33 33
     public function __toString() {
34 34
         return sprintf(static::MESSAGE_FORMAT, $this->getExceptionType(),
35
-                       $this->getExceptionCodeName(), $this->code,
36
-                       $this->message);
35
+                        $this->getExceptionCodeName(), $this->code,
36
+                        $this->message);
37 37
     }
38 38
 
39 39
     /**
Please login to merge, or discard this patch.
etc/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  */
10 10
 
11 11
 // Error reporting
12
-ini_set('display_errors',  'on');
12
+ini_set('display_errors', 'on');
13 13
 ini_set('error_reporting', E_ALL);
14 14
 
15 15
 // Set the default timezone if not already set
Please login to merge, or discard this patch.
lib/ComponentManager/PackageSource/GitPackageSource.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,9 +39,9 @@
 block discarded – undo
39 39
      * @override \ComponentManager\PackageSource\PackageSource
40 40
      */
41 41
     public function obtainPackage($tempDirectory,
42
-                                  ResolvedComponentVersion $resolvedComponentVersion,
43
-                                  Filesystem $filesystem,
44
-                                  LoggerInterface $logger) {
42
+                                    ResolvedComponentVersion $resolvedComponentVersion,
43
+                                    Filesystem $filesystem,
44
+                                    LoggerInterface $logger) {
45 45
         $version = $resolvedComponentVersion->getVersion();
46 46
         $sources = $version->getSources();
47 47
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,11 +53,11 @@
 block discarded – undo
53 53
                     $tempDirectory,
54 54
                     'repo',
55 55
                 ]);
56
-                $indexPath      = $this->platform->joinPaths([
56
+                $indexPath = $this->platform->joinPaths([
57 57
                     $tempDirectory,
58 58
                     'index',
59 59
                 ]);
60
-                $repositoryUri  = $source->getRepositoryUri();
60
+                $repositoryUri = $source->getRepositoryUri();
61 61
 
62 62
                 $finalRef = $resolvedComponentVersion->getFinalVersion();
63 63
                 $ref      = $source->getRef();
Please login to merge, or discard this patch.
lib/ComponentManager/Command/PackageCommand.php 2 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      */
34 34
     const HELP = <<<HELP
35 35
 Refreshes cached package repository meta for all caching package repositories.
36
-HELP;
36
+help;
37 37
 
38 38
     /**
39 39
      * @override \Symfony\Component\Console\Command\Command
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -103,12 +103,12 @@
 block discarded – undo
103 103
 
104 104
         $tempDirectory       = $this->platform->createTempDirectory();
105 105
         $archive             = $tempDirectory
106
-                             . $this->platform->getDirectorySeparator()
107
-                             . 'moodle.zip';
106
+                                . $this->platform->getDirectorySeparator()
107
+                                . 'moodle.zip';
108 108
         $destination         = $tempDirectory
109
-                             . $this->platform->getDirectorySeparator() . 'moodle';
109
+                                . $this->platform->getDirectorySeparator() . 'moodle';
110 110
         $projectLockFilename = $destination . $this->platform->getDirectorySeparator()
111
-                             . 'componentmgr.lock.json';
111
+                                . 'componentmgr.lock.json';
112 112
 
113 113
         $moodle  = new Moodle($destination, $this->platform);
114 114
         $project = $this->getProject($projectFilename, $projectLockFilename);
Please login to merge, or discard this patch.
lib/ComponentManager/Command/InstallCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      */
34 34
     const HELP = <<<HELP
35 35
 Refreshes cached package repository meta for all caching package repositories.
36
-HELP;
36
+help;
37 37
 
38 38
     /**
39 39
      * @override \Symfony\Component\Console\Command\Command
Please login to merge, or discard this patch.
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.