From 28f6d4603b703054244e47659b6b1f73ccbb3dfd Mon Sep 17 00:00:00 2001 From: Vincent Cornelis Date: Thu, 9 Dec 2021 13:42:54 +0100 Subject: [PATCH] added end-of-lines --- .github/workflows/moodle-release.yml | 2 +- classes/condition.php | 2 +- classes/frontend.php | 2 +- lang/en/availability_ipaddress.php | 2 +- version.php | 2 +- yui/src/form/js/form.js | 2 +- yui/src/form/meta/form.json | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/moodle-release.yml b/.github/workflows/moodle-release.yml index bfb5ef6..cfc69d8 100644 --- a/.github/workflows/moodle-release.yml +++ b/.github/workflows/moodle-release.yml @@ -63,4 +63,4 @@ jobs: RESPONSE: ${{ steps.add-version.outputs.response }} run: | jq <<< ${RESPONSE} - jq --exit-status ".id" <<< ${RESPONSE} > /dev/null \ No newline at end of file + jq --exit-status ".id" <<< ${RESPONSE} > /dev/null diff --git a/classes/condition.php b/classes/condition.php index 42a7f3a..9f8dbea 100644 --- a/classes/condition.php +++ b/classes/condition.php @@ -179,4 +179,4 @@ class condition extends \core_availability\condition { 'ipaddresses' => $this->ipaddresses, ]; } -} \ No newline at end of file +} diff --git a/classes/frontend.php b/classes/frontend.php index 923814f..85dffdc 100644 --- a/classes/frontend.php +++ b/classes/frontend.php @@ -47,4 +47,4 @@ class frontend extends \core_availability\frontend { 'error_ipaddress', ]; } -} \ No newline at end of file +} diff --git a/lang/en/availability_ipaddress.php b/lang/en/availability_ipaddress.php index baa7295..1442ce6 100644 --- a/lang/en/availability_ipaddress.php +++ b/lang/en/availability_ipaddress.php @@ -35,4 +35,4 @@ $string['js:ipaddress'] = 'Require network address'; $string['error_ipaddress'] = 'Incorrect ip-address/subnet format'; // Privacy provider. -$string['privacy:metadata'] = 'The restriction by activity ipaddress plugin does not store any personal data.'; \ No newline at end of file +$string['privacy:metadata'] = 'The restriction by activity ipaddress plugin does not store any personal data.'; diff --git a/version.php b/version.php index e03b1d8..84d82b3 100644 --- a/version.php +++ b/version.php @@ -30,4 +30,4 @@ $plugin->component = 'availability_ipaddress'; $plugin->version = 2020111800; $plugin->release = '3.10.0'; $plugin->requires = 2016120500; -$plugin->maturity = MATURITY_STABLE; \ No newline at end of file +$plugin->maturity = MATURITY_STABLE; diff --git a/yui/src/form/js/form.js b/yui/src/form/js/form.js index 77a4421..ebc6782 100644 --- a/yui/src/form/js/form.js +++ b/yui/src/form/js/form.js @@ -180,4 +180,4 @@ M.availability_ipaddress.form.fillErrors = function(errors, node) { if (M.availability_ipaddress.validateIpaddress(value.ipaddresses) === false) { errors.push('availability_ipaddress:error_ipaddress'); } -}; \ No newline at end of file +}; diff --git a/yui/src/form/meta/form.json b/yui/src/form/meta/form.json index b9b1508..844bc51 100644 --- a/yui/src/form/meta/form.json +++ b/yui/src/form/meta/form.json @@ -7,4 +7,4 @@ "moodle-core_availability-form" ] } -} \ No newline at end of file +}