Completed
Branch develop (e3b860)
by Luke
13:48
created
lib/ComponentManager/Command/MoodleCommand.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
45 45
             ->setHelp(static::HELP)
46 46
             ->setDefinition(new InputDefinition([
47 47
                 new InputArgument(Argument::ARGUMENT_ACTION,
48
-                                  InputArgument::REQUIRED,
49
-                                  Argument::ARGUMENT_ACTION_HELP),
48
+                                    InputArgument::REQUIRED,
49
+                                    Argument::ARGUMENT_ACTION_HELP),
50 50
                 new InputOption(Argument::ARGUMENT_MOODLE_DIR, null,
51 51
                                 InputOption::VALUE_REQUIRED,
52 52
                                 Argument::ARGUMENT_MOODLE_DIR_HELP),
Please login to merge, or discard this 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/Command/PackageCommand.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -62,12 +62,12 @@
 block discarded – undo
62 62
 
63 63
         $tempDirectory       = PlatformUtil::createTempDirectory();
64 64
         $archive             = $tempDirectory
65
-                             . PlatformUtil::directorySeparator()
66
-                             . 'moodle.zip';
65
+                                . PlatformUtil::directorySeparator()
66
+                                . 'moodle.zip';
67 67
         $destination         = $tempDirectory
68
-                             . PlatformUtil::directorySeparator() . 'moodle';
68
+                                . PlatformUtil::directorySeparator() . 'moodle';
69 69
         $projectLockFilename = $destination . PlatformUtil::directorySeparator()
70
-                             . 'componentmgr.lock.json';
70
+                                . 'componentmgr.lock.json';
71 71
 
72 72
         /** @var \Symfony\Component\Filesystem\Filesystem $filesystem */
73 73
         $filesystem = $this->container->get('filesystem');
Please login to merge, or discard this 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/Command/RunScriptCommand.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,8 +44,8 @@
 block discarded – undo
44 44
             ->setHelp(static::HELP)
45 45
             ->setDefinition(new InputDefinition([
46 46
                 new InputArgument(Argument::ARGUMENT_SCRIPT,
47
-                                  InputArgument::REQUIRED,
48
-                                  Argument::ARGUMENT_SCRIPT_HELP),
47
+                                    InputArgument::REQUIRED,
48
+                                    Argument::ARGUMENT_SCRIPT_HELP),
49 49
             ]));
50 50
     }
51 51
 
Please login to merge, or discard this 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/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 1 patch
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.