Skip to content

Commit

Permalink
Merge pull request #20 from lucaboesch/syntaxfixes
Browse files Browse the repository at this point in the history
Coding style to let all tests pass green.
  • Loading branch information
srobotta authored Apr 29, 2024
2 parents 3f90785 + 9b307da commit a870bcb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/moodle-plugin-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:

steps:
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: plugin

Expand All @@ -107,7 +107,7 @@ jobs:

- name: Initialise moodle-plugin-ci
run: |
composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^3
composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^4
echo $(cd ci/bin; pwd) >> $GITHUB_PATH
echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH
sudo locale-gen en_AU.UTF-8
Expand Down
2 changes: 1 addition & 1 deletion classes/privacy/provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class provider implements \core_privacy\local\metadata\null_provider {
*
* @return string
*/
public static function get_reason() : string {
public static function get_reason(): string {
return 'privacy:metadata';
}
}
6 changes: 3 additions & 3 deletions lang/en/tiny_cloze.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
$string['err_none_correct'] = 'No correct answer found.';
$string['err_not_numeric'] = 'Value must be numeric.';
$string['helplinktext'] = 'Cloze question editor';
$string['pluginname'] = 'Cloze question editor';
$string['privacy:metadata'] = 'Cloze Editor does not store any personal data';
$string['insert'] = 'Insert question';
$string['select'] = 'Select question type';
$string['multichoice'] = 'Multiple choice - single response';
$string['multiresponse'] = 'Multiple choice - multiple response';
$string['pluginname'] = 'Cloze question editor';
$string['privacy:metadata'] = 'Cloze Editor does not store any personal data';
$string['select'] = 'Select question type';

0 comments on commit a870bcb

Please sign in to comment.