@@ -33,7 +33,7 @@ |
||
33 | 33 | */ |
34 | 34 | const HELP = <<<HELP |
35 | 35 | Queries properties of the Moodle installation in the present working directory. |
36 | -HELP; |
|
36 | +help; |
|
37 | 37 | |
38 | 38 | /** |
39 | 39 | * @override \Symfony\Component\Console\Command\Command |
@@ -32,7 +32,7 @@ |
||
32 | 32 | */ |
33 | 33 | const HELP = <<<HELP |
34 | 34 | Executes the specified script for a component. |
35 | -HELP; |
|
35 | +help; |
|
36 | 36 | |
37 | 37 | /** |
38 | 38 | * @override \Symfony\Component\Console\Command\Command |
@@ -33,7 +33,7 @@ |
||
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 |
@@ -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. |
@@ -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. |
@@ -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()); |