@@ -23,6 +23,7 @@ |
||
| 23 | 23 | * Initialiser. |
| 24 | 24 | * |
| 25 | 25 | * @param \Symfony\Component\Filesystem\Filesystem $filesystem |
| 26 | + * @return void |
|
| 26 | 27 | */ |
| 27 | 28 | public function __construct(Filesystem $filesystem); |
| 28 | 29 | |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | use Symfony\Component\DependencyInjection\Loader\YamlFileLoader; |
| 17 | 17 | |
| 18 | 18 | // Error reporting |
| 19 | -ini_set('display_errors', 'on'); |
|
| 19 | +ini_set('display_errors', 'on'); |
|
| 20 | 20 | ini_set('error_reporting', E_ALL); |
| 21 | 21 | |
| 22 | 22 | // Set the default timezone if not already set |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | * |
| 137 | 137 | * @return \ComponentManager\Moodle |
| 138 | 138 | */ |
| 139 | - protected function getMoodle($moodleDirectory=null) { |
|
| 139 | + protected function getMoodle($moodleDirectory = null) { |
|
| 140 | 140 | if ($this->moodle === null) { |
| 141 | 141 | $moodleDirectory = ($moodleDirectory === null) |
| 142 | 142 | ? $this->platform->getWorkingDirectory() : $moodleDirectory; |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | * |
| 156 | 156 | * @return \ComponentManager\Project\Project |
| 157 | 157 | */ |
| 158 | - protected function getProject($projectFilename=null, $projectLockFilename=null) { |
|
| 158 | + protected function getProject($projectFilename = null, $projectLockFilename = null) { |
|
| 159 | 159 | $workingDirectory = $this->platform->getWorkingDirectory(); |
| 160 | 160 | |
| 161 | 161 | if ($this->project === null) { |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | */ |
| 36 | 36 | const HELP = <<<HELP |
| 37 | 37 | Installs, into the Moodle installation in the present working directory, all of the components listed in its componentmgr.json file. |
| 38 | -HELP; |
|
| 38 | +help; |
|
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | 41 | * Initialiser. |