@@ -39,7 +39,7 @@ |
||
39 | 39 | */ |
40 | 40 | const HELP = <<<HELP |
41 | 41 | Packages a Moodle site from a project file. |
42 | -HELP; |
|
42 | +help; |
|
43 | 43 | |
44 | 44 | /** |
45 | 45 | * Moodle.org plugin and update API. |
@@ -325,7 +325,7 @@ |
||
325 | 325 | $uri = $this->httpClient->createUri($uri) |
326 | 326 | ->withQuery(http_build_query($queryParams)); |
327 | 327 | $message = $this->httpClient->createRequest(Request::METHOD_GET, $uri) |
328 | - ->withHeader('Authorization', "Basic {$this->options->authentication}"); |
|
328 | + ->withHeader('Authorization', "basic {$this->options->authentication}"); |
|
329 | 329 | $response = $this->httpClient->sendRequest($message); |
330 | 330 | |
331 | 331 | return json_decode($response->getBody()); |
@@ -38,7 +38,7 @@ |
||
38 | 38 | const HELP = <<<HELP |
39 | 39 | Installs, into the Moodle installation in the present working directory, all of |
40 | 40 | the components listed in its componentmgr.json file. |
41 | -HELP; |
|
41 | +help; |
|
42 | 42 | |
43 | 43 | /** |
44 | 44 | * Initialiser. |
@@ -30,7 +30,7 @@ |
||
30 | 30 | */ |
31 | 31 | const HELP = <<<HELP |
32 | 32 | Executes the specified script for a component. |
33 | -HELP; |
|
33 | +help; |
|
34 | 34 | |
35 | 35 | /** |
36 | 36 | * @inheritdoc Command |
@@ -32,7 +32,7 @@ |
||
32 | 32 | */ |
33 | 33 | const HELP = <<<HELP |
34 | 34 | Queries properties of the Moodle installation in the present working directory. |
35 | -HELP; |
|
35 | +help; |
|
36 | 36 | |
37 | 37 | /** |
38 | 38 | * @inheritdoc Command |
@@ -32,7 +32,7 @@ |
||
32 | 32 | */ |
33 | 33 | const HELP = <<<HELP |
34 | 34 | Refreshes cached package repository meta for all caching package repositories. |
35 | -HELP; |
|
35 | +help; |
|
36 | 36 | |
37 | 37 | /** |
38 | 38 | * @inheritdoc Command |