diff --git a/.github/workflows/moodle-ci.yml b/.github/workflows/moodle-ci.yml index dd5bf99a534f8b3d7cec5173b8332a8af93233ae..ab3524edc746eebc5cda4aee2c062a1917b01442 100644 --- a/.github/workflows/moodle-ci.yml +++ b/.github/workflows/moodle-ci.yml @@ -112,7 +112,7 @@ jobs: steps: - name: Start MariaDB if: matrix.database == 'mariadb' - run: docker run -p 3306:3306 -e MYSQL_USER=root -e MYSQL_ALLOW_EMPTY_PASSWORD=true -d mariadb:10 + run: docker run -p 3306:3306 -e MYSQL_USER=root -e MYSQL_ALLOW_EMPTY_PASSWORD=true -d mariadb:10.5 - name: Start PostgreSQL if: matrix.database == 'pgsql' diff --git a/adminsettings.php b/adminsettings.php index cbbc36a6afb74ebcc75d5114b5aada6d83d84a3f..3a5f89be20edb23423ac16f71855be670de52047 100644 --- a/adminsettings.php +++ b/adminsettings.php @@ -33,4 +33,4 @@ $adminsettings = new tool_lifecycle\admin_settings(); // Execute the controller. $adminsettings->execute(optional_param('action', null, PARAM_TEXT), - optional_param('workflowid', null, PARAM_INT)); \ No newline at end of file + optional_param('workflowid', null, PARAM_INT)); diff --git a/classes/action.php b/classes/action.php index 85150f309360c6528bca5e0ebdd8f3aa3d74c9c6..fe93c00d6663794350e042ba34e2842ff6345988 100644 --- a/classes/action.php +++ b/classes/action.php @@ -71,4 +71,4 @@ class action { /** @var string Abort a workflow. */ const WORKFLOW_ABORT = 'workflow_instance_abort'; -} \ No newline at end of file +} diff --git a/classes/local/backup/backup_lifecycle_workflow.php b/classes/local/backup/backup_lifecycle_workflow.php index 81eb2d0130358883386d8b7e3ed66310ce53f9cb..4505fa032a56e4ae035456cbfe5fe0704806fa15 100644 --- a/classes/local/backup/backup_lifecycle_workflow.php +++ b/classes/local/backup/backup_lifecycle_workflow.php @@ -161,4 +161,4 @@ class backup_lifecycle_workflow { public function get_temp_filename() { return $this->tempfilename; } -} \ No newline at end of file +} diff --git a/classes/local/backup/restore_lifecycle_workflow.php b/classes/local/backup/restore_lifecycle_workflow.php index 39d54702f050efc5a742d96841153b32f57ffde1..16a4141e317411d76c2f34e50bcc3f6140824d97 100644 --- a/classes/local/backup/restore_lifecycle_workflow.php +++ b/classes/local/backup/restore_lifecycle_workflow.php @@ -215,4 +215,4 @@ class restore_lifecycle_workflow { } } } -} \ No newline at end of file +} diff --git a/classes/local/data/manual_trigger_tool.php b/classes/local/data/manual_trigger_tool.php index 39126fa0335b1d0af9f88802d98fc2ccb9358f0a..48ffa42c6c75d09d3784199942862e8ce470ac6f 100644 --- a/classes/local/data/manual_trigger_tool.php +++ b/classes/local/data/manual_trigger_tool.php @@ -62,4 +62,4 @@ class manual_trigger_tool implements renderable { $this->capability = $capability; } -} \ No newline at end of file +} diff --git a/classes/local/entity/process.php b/classes/local/entity/process.php index d77f2f98ac58b69daa0fd929ecb46ff740d95643..c05fea0e6604abcf031fd70c965a10ae9577e3f6 100644 --- a/classes/local/entity/process.php +++ b/classes/local/entity/process.php @@ -106,4 +106,4 @@ class process { return $instance; } -} \ No newline at end of file +} diff --git a/classes/local/entity/step_subplugin.php b/classes/local/entity/step_subplugin.php index 81cca5b6d7d10980a8b3cc54c245db4e1f2a1071..e50ecde014f0425de8fcfc72ba6bc11fd07867e1 100644 --- a/classes/local/entity/step_subplugin.php +++ b/classes/local/entity/step_subplugin.php @@ -61,4 +61,4 @@ class step_subplugin extends subplugin { return $instance; } -} \ No newline at end of file +} diff --git a/classes/local/entity/subplugin.php b/classes/local/entity/subplugin.php index d01510b1810b315fc81b5e7d604604a56c6ab1ab..15e3809850fe88b939646a7cabd1f13f76ba0968 100644 --- a/classes/local/entity/subplugin.php +++ b/classes/local/entity/subplugin.php @@ -64,4 +64,4 @@ abstract class subplugin{ $this->id = $id; } -} \ No newline at end of file +} diff --git a/classes/local/entity/trigger_subplugin.php b/classes/local/entity/trigger_subplugin.php index ddcbf774d8e01f37fac1494ed78b984d9b7b9c62..d4c98fab424340ff84d83ed0856413678e6e2d08 100644 --- a/classes/local/entity/trigger_subplugin.php +++ b/classes/local/entity/trigger_subplugin.php @@ -61,4 +61,4 @@ class trigger_subplugin extends subplugin{ return $instance; } -} \ No newline at end of file +} diff --git a/classes/local/entity/workflow.php b/classes/local/entity/workflow.php index eb692473835cc3363ba71b99e3c247b3db667b13..9be4f03c67a378f78f9f286df138a40bdb58eb82 100644 --- a/classes/local/entity/workflow.php +++ b/classes/local/entity/workflow.php @@ -156,4 +156,4 @@ class workflow { return $instance; } -} \ No newline at end of file +} diff --git a/classes/local/manager/backup_manager.php b/classes/local/manager/backup_manager.php index e239bdcb4edb24a3e81520d5776bebc19a74dd47..daf5ae903168dfa2760b748862cdc056b1356c9c 100644 --- a/classes/local/manager/backup_manager.php +++ b/classes/local/manager/backup_manager.php @@ -139,4 +139,4 @@ class backup_manager { redirect($restoreurl); } -} \ No newline at end of file +} diff --git a/classes/local/table/active_automatic_workflows_table.php b/classes/local/table/active_automatic_workflows_table.php index 58b42034af76b6e20dcd1a756e104f5692366b00..097a3fc424efb5e86f50558e8504b7cbccee4f90 100644 --- a/classes/local/table/active_automatic_workflows_table.php +++ b/classes/local/table/active_automatic_workflows_table.php @@ -110,4 +110,4 @@ class active_automatic_workflows_table extends active_workflows_table { return $output; } -} \ No newline at end of file +} diff --git a/classes/local/table/active_manual_workflows_table.php b/classes/local/table/active_manual_workflows_table.php index 5452a9232649c89bc5efdae0c54c15170fe4ba61..90c95e5fb69d832d8a27d38d2edce1707a8b42a4 100644 --- a/classes/local/table/active_manual_workflows_table.php +++ b/classes/local/table/active_manual_workflows_table.php @@ -77,4 +77,4 @@ class active_manual_workflows_table extends active_workflows_table { $this->setup(); } -} \ No newline at end of file +} diff --git a/classes/local/table/active_workflows_table.php b/classes/local/table/active_workflows_table.php index d3f35c4dde492c10eae1ad6d404f44ec1d9c5847..9a85218459d05435a0bfd09577ba705bd2a4796f 100644 --- a/classes/local/table/active_workflows_table.php +++ b/classes/local/table/active_workflows_table.php @@ -98,4 +98,4 @@ abstract class active_workflows_table extends workflow_table { return $output; } -} \ No newline at end of file +} diff --git a/classes/local/table/course_backups_table.php b/classes/local/table/course_backups_table.php index 6b65441bccda2cb84e23c74bbf9b9710b73daaae..678e3d1f5c68dd305781b934353b82b01ba3d782 100644 --- a/classes/local/table/course_backups_table.php +++ b/classes/local/table/course_backups_table.php @@ -160,4 +160,4 @@ class course_backups_table extends \table_sql { get_string('restore', 'tool_lifecycle') ); } -} \ No newline at end of file +} diff --git a/classes/local/table/deactivated_workflows_table.php b/classes/local/table/deactivated_workflows_table.php index d16ce42e8ccf39f9dbefd26aa36c976572a4ac17..54ee0ebb36ddd43992e9cfb428d0b2ad8c781f34 100644 --- a/classes/local/table/deactivated_workflows_table.php +++ b/classes/local/table/deactivated_workflows_table.php @@ -131,4 +131,4 @@ class deactivated_workflows_table extends workflow_table { return $output; } -} \ No newline at end of file +} diff --git a/classes/local/table/delayed_courses_table.php b/classes/local/table/delayed_courses_table.php index a201fad149a6b9ce89a8bde9851de9409e024d02..fe2c1e9ba8cb264dd60064caf13801a1acf471c1 100644 --- a/classes/local/table/delayed_courses_table.php +++ b/classes/local/table/delayed_courses_table.php @@ -247,4 +247,4 @@ class delayed_courses_table extends \table_sql { get_string('delete_delay', 'tool_lifecycle')); return $OUTPUT->render($button); } -} \ No newline at end of file +} diff --git a/classes/local/table/interaction_attention_table.php b/classes/local/table/interaction_attention_table.php index 3375a57c0ade3445efffe691a20a4244971e3d04..acff10bc67dd00d86592b29189cbfa49411cedcc 100644 --- a/classes/local/table/interaction_attention_table.php +++ b/classes/local/table/interaction_attention_table.php @@ -144,4 +144,4 @@ class interaction_attention_table extends interaction_table { ); return $OUTPUT->render($button); } -} \ No newline at end of file +} diff --git a/classes/local/table/interaction_remaining_table.php b/classes/local/table/interaction_remaining_table.php index 95ee55d211ebf76dd8c78e99cfdf5694762db0a8..2f10271c430745daf77b4f3553b244ecbe59a421 100644 --- a/classes/local/table/interaction_remaining_table.php +++ b/classes/local/table/interaction_remaining_table.php @@ -194,4 +194,4 @@ class interaction_remaining_table extends interaction_table { return userdate($row->lastmodified, $dateformat); } -} \ No newline at end of file +} diff --git a/classes/local/table/interaction_table.php b/classes/local/table/interaction_table.php index 73055dbf1f08ed2e2d723f0a7be53ff15099564b..60d54c9fd9f83bcb980a2c2caa2d843b7e89434f 100644 --- a/classes/local/table/interaction_table.php +++ b/classes/local/table/interaction_table.php @@ -120,4 +120,4 @@ abstract class interaction_table extends \table_sql { echo $OUTPUT->box(get_string('nocoursestodisplay', 'tool_lifecycle')); } -} \ No newline at end of file +} diff --git a/classes/local/table/step_table.php b/classes/local/table/step_table.php index b55a9c0fcd2869861969389a9ffeaa62790bd72d..ef259eca6f28957114e3eaa4b54cb91c13894bd8 100644 --- a/classes/local/table/step_table.php +++ b/classes/local/table/step_table.php @@ -289,4 +289,4 @@ class step_table extends \table_sql { null, array('title' => $alt)) . ' '; } -} \ No newline at end of file +} diff --git a/classes/local/table/workflow_definition_table.php b/classes/local/table/workflow_definition_table.php index 5666037d933c708324f56c6797f241d9b8054102..8a13245fdf230f7b7da9ebe0a5b2a53377d90b76 100644 --- a/classes/local/table/workflow_definition_table.php +++ b/classes/local/table/workflow_definition_table.php @@ -147,4 +147,4 @@ class workflow_definition_table extends workflow_table { return $output; } -} \ No newline at end of file +} diff --git a/classes/local/table/workflow_table.php b/classes/local/table/workflow_table.php index 8634d38b0508d519578ded07ca8118b84bf7ccff..7db075c1823d8e3ce954cadc1a658755877cf467 100644 --- a/classes/local/table/workflow_table.php +++ b/classes/local/table/workflow_table.php @@ -162,4 +162,4 @@ abstract class workflow_table extends \table_sql { null , array('title' => $alt)) . ' '; } -} \ No newline at end of file +} diff --git a/classes/plugininfo/lifecyclestep.php b/classes/plugininfo/lifecyclestep.php index 59ff802dc5fab36e1cd0327d5799168f666fe96c..d8cf9b003c6f8ad1b258c722213b0ae2cbebd5e1 100644 --- a/classes/plugininfo/lifecyclestep.php +++ b/classes/plugininfo/lifecyclestep.php @@ -68,4 +68,4 @@ class lifecyclestep extends base { step_manager::remove_all_instances($this->name); return true; } -} \ No newline at end of file +} diff --git a/classes/plugininfo/lifecycletrigger.php b/classes/plugininfo/lifecycletrigger.php index ba686424451d0b73a5f03d56219816550cf64d8c..2258f64e59aeb5e3250f3d2ca7f2d38eb2fe29f3 100644 --- a/classes/plugininfo/lifecycletrigger.php +++ b/classes/plugininfo/lifecycletrigger.php @@ -85,4 +85,4 @@ class lifecycletrigger extends base { } return true; } -} \ No newline at end of file +} diff --git a/classes/settings_type.php b/classes/settings_type.php index 245630b50cdc9478d75be1f1c2e95c489e68bc99..d63e3404a9608474abe5efcfe65dd45ef5b29671 100644 --- a/classes/settings_type.php +++ b/classes/settings_type.php @@ -36,4 +36,4 @@ class settings_type { const STEP = 'step'; /** @var string Represents the type for a trigger subplugin. */ const TRIGGER = 'trigger'; -} \ No newline at end of file +} diff --git a/classes/task/lifecycle_cleanup_task.php b/classes/task/lifecycle_cleanup_task.php index 7a8f6f91c8ae4dccb5f6651c238e28e6831c1d72..5c31f11bcc651b7e479cf6c0e77a779a62e77747 100644 --- a/classes/task/lifecycle_cleanup_task.php +++ b/classes/task/lifecycle_cleanup_task.php @@ -53,4 +53,4 @@ class lifecycle_cleanup_task extends \core\task\scheduled_task { $DB->delete_records_select('tool_lifecycle_delayed', 'delayeduntil <= :time', array('time' => $twomonthago)); $DB->delete_records_select('tool_lifecycle_delayed_workf', 'delayeduntil <= :time', array('time' => $twomonthago)); } -} \ No newline at end of file +} diff --git a/classes/task/lifecycle_task.php b/classes/task/lifecycle_task.php index d956865b38d2d082561f89324ff4a4597a467558..57fe110f7f2af6f059b6cef7c558804aea6cc433 100644 --- a/classes/task/lifecycle_task.php +++ b/classes/task/lifecycle_task.php @@ -67,4 +67,4 @@ class lifecycle_task extends \core\task\scheduled_task { $steplibs[$id]->post_processing_bulk_operation(); } } -} \ No newline at end of file +} diff --git a/classes/view_controller.php b/classes/view_controller.php index 5e1d8085b2979c809da4d6007a69d800c8a5aa84..32e297d3b4e1c8f8f61495a5760be0dbad6ab684 100644 --- a/classes/view_controller.php +++ b/classes/view_controller.php @@ -169,4 +169,4 @@ class view_controller { redirect($PAGE->url, get_string('manual_trigger_success', 'tool_lifecycle'), null, notification::SUCCESS); } } -} \ No newline at end of file +} diff --git a/db/caches.php b/db/caches.php index e68e32ee13963b68e09ea7da3e4c064b46af1233..0daffb477ac76454dca574e5918c3dc4e03b4ffd 100644 --- a/db/caches.php +++ b/db/caches.php @@ -28,4 +28,4 @@ $definitions = array( 'mformdata' => array( 'mode' => cache_store::MODE_SESSION ) -); \ No newline at end of file +); diff --git a/db/tasks.php b/db/tasks.php index 227744d3e6f8c3203542882eb5b7679a2f6e3a1b..f708e82cbe5ce7aa4347e05f7cec5acf579a3842 100644 --- a/db/tasks.php +++ b/db/tasks.php @@ -45,4 +45,4 @@ $tasks = array( 'month' => '*', 'dayofweek' => '0', ) -); \ No newline at end of file +); diff --git a/db/upgrade.php b/db/upgrade.php index 6de05fb90af41c4494cc3a400754a72719dc4175..1e5a172354a00cdabea132fb5926a5b7746187fc 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -447,4 +447,4 @@ function xmldb_tool_lifecycle_upgrade($oldversion) { } return true; -} \ No newline at end of file +} diff --git a/deactivatedworkflows.php b/deactivatedworkflows.php index 8ce81b88abdd068e1994c6e5c9044b26694b8c16..96bde649b68c644bdfc9883f93b4f96cf51a027f 100644 --- a/deactivatedworkflows.php +++ b/deactivatedworkflows.php @@ -57,4 +57,4 @@ $surl = new \moodle_url('/admin/tool/lifecycle/adminsettings.php', array('sesskey' => sesskey())); echo \html_writer::link($surl, get_string('active_workflows_list', 'tool_lifecycle')); -echo $renderer->footer(); \ No newline at end of file +echo $renderer->footer(); diff --git a/downloadbackup.php b/downloadbackup.php index d6ee0ce3db173e63db9aa9a3fb136c6c247a054b..c2877e7f20271a039da1a5c49e86ffecec6b1fff 100644 --- a/downloadbackup.php +++ b/downloadbackup.php @@ -37,4 +37,4 @@ if (!file_exists($source)) { header("Content-Type: application/zip"); header("Content-Disposition: attachment; filename=\"backup-$backuprecord->backupfile\""); -readfile($source); \ No newline at end of file +readfile($source); diff --git a/lang/de/tool_lifecycle.php b/lang/de/tool_lifecycle.php index 55958c100f8a2b45bcda90b7eb120ab8f6d0c9ca..5ce7b49b0715151ca750421d97f4260c13bd8d4a 100644 --- a/lang/de/tool_lifecycle.php +++ b/lang/de/tool_lifecycle.php @@ -174,4 +174,4 @@ $string['restore_trigger_does_not_exist'] = 'Der Trigger {$a} ist nicht installi $string['process_triggered_event'] = 'Ein Prozess wurde ausgelöst'; $string['process_proceeded_event'] = 'Ein Prozess wurde fortgeführt'; -$string['process_rollback_event'] = 'Ein Prozess wurde zurückgesetzt'; \ No newline at end of file +$string['process_rollback_event'] = 'Ein Prozess wurde zurückgesetzt'; diff --git a/lib.php b/lib.php index 4e5cabdc4566d7e7d3879fab741d97d1c40bc1eb..15820fb22191520f21b657c25417b148ea672e28 100644 --- a/lib.php +++ b/lib.php @@ -79,4 +79,4 @@ function tool_lifecycle_get_fontawesome_icon_map() { 'tool_lifecycle:icon' => 'fa-recycle', 'tool_lifecycle:t/disable' => 'fa-hand-paper-o', ]; -} \ No newline at end of file +} diff --git a/renderer.php b/renderer.php index b3dda1a7a0cebea0df136c37f1bc8f5dde7e753e..1b1ee40599f2a2c88d052607884b8cbf6fe55bcb 100644 --- a/renderer.php +++ b/renderer.php @@ -68,4 +68,4 @@ class tool_lifecycle_renderer extends plugin_renderer_base { $this->footer(); } -} \ No newline at end of file +} diff --git a/restore.php b/restore.php index 55b276cf94b5dd11d1bac33d6cfae3f017a415b6..48551f0d09b62968634dddb1f7a3fb12e2183718 100644 --- a/restore.php +++ b/restore.php @@ -31,4 +31,4 @@ require_capability('moodle/site:config', context_system::instance()); $backupid = required_param('backupid', PARAM_INT); -backup_manager::restore_course_backup($backupid); \ No newline at end of file +backup_manager::restore_course_backup($backupid); diff --git a/settings.php b/settings.php index c2a265cfaf6a06c90a5e99fcc2b37814beea86ff..71a26f829a060b2c7f39bffabce1824c70c10f15 100644 --- a/settings.php +++ b/settings.php @@ -69,4 +69,4 @@ if ($hassiteconfig) { include($settingsfile); } } -} \ No newline at end of file +} diff --git a/step/createbackup/version.php b/step/createbackup/version.php index 9c64de51b48a9bbdc747e50d16427cb84fbcee52..bc3d4ad93dd3bfa29b622317cc7d00382771af55 100644 --- a/step/createbackup/version.php +++ b/step/createbackup/version.php @@ -25,4 +25,4 @@ defined('MOODLE_INTERNAL') || die; $plugin->version = 2019052900; -$plugin->component = 'lifecyclestep_createbackup'; \ No newline at end of file +$plugin->component = 'lifecyclestep_createbackup'; diff --git a/step/deletecourse/version.php b/step/deletecourse/version.php index d22eb2777b1341e556c566500206b277cd2326ce..1bccaad5dd4aa680a393070d1bf507d4a8def596 100644 --- a/step/deletecourse/version.php +++ b/step/deletecourse/version.php @@ -25,4 +25,4 @@ defined('MOODLE_INTERNAL') || die; $plugin->version = 2018122300; -$plugin->component = 'lifecyclestep_deletecourse'; \ No newline at end of file +$plugin->component = 'lifecyclestep_deletecourse'; diff --git a/step/duplicate/interactionlib.php b/step/duplicate/interactionlib.php index f3d04ac6482b72120beb7c6d2bbc0deff10df362..f8d389f86a65f177cea9cbc06cf9f051a7337cac 100644 --- a/step/duplicate/interactionlib.php +++ b/step/duplicate/interactionlib.php @@ -161,4 +161,4 @@ class interactionduplicate extends interactionlibbase { public function get_action_string($action, $user) { return get_string('action_new_course_data', 'lifecyclestep_duplicate', $user); } -} \ No newline at end of file +} diff --git a/step/duplicate/lang/de/lifecyclestep_duplicate.php b/step/duplicate/lang/de/lifecyclestep_duplicate.php index 448883c1cd1f5d6ecb490fc5c11d130a8a61be9f..1ba8f7c1da8398ca2cd171980de41c356291125d 100644 --- a/step/duplicate/lang/de/lifecyclestep_duplicate.php +++ b/step/duplicate/lang/de/lifecyclestep_duplicate.php @@ -31,4 +31,4 @@ $string['status_message_duplication'] = 'Duplizierter Kurs wird bald verfügbar $string['status_message_form'] = 'Zusätzliche Informationen benötigt'; $string['action_new_course_data'] = '{$a} hat neuen Kursnamen eingegeben'; -$string['duplicate:enterdata'] = 'Daten für Kursduplikation eingeben'; \ No newline at end of file +$string['duplicate:enterdata'] = 'Daten für Kursduplikation eingeben'; diff --git a/step/duplicate/lang/en/lifecyclestep_duplicate.php b/step/duplicate/lang/en/lifecyclestep_duplicate.php index 3eb2e06d96afad0e36b6eeb3e2db750b795cc063..4639947599ce16c11da31cdd520f9a2d7a9951c0 100644 --- a/step/duplicate/lang/en/lifecyclestep_duplicate.php +++ b/step/duplicate/lang/en/lifecyclestep_duplicate.php @@ -31,4 +31,4 @@ $string['status_message_duplication'] = 'Duplicated course will be available sho $string['status_message_form'] = 'Additional information required'; $string['action_new_course_data'] = '{$a} supplied new course name'; -$string['duplicate:enterdata'] = 'Enter data for course duplication'; \ No newline at end of file +$string['duplicate:enterdata'] = 'Enter data for course duplication'; diff --git a/step/duplicate/version.php b/step/duplicate/version.php index 41bdba13c13bca630b3dd9c8f8d7fd1a58447ed2..7498d0d77ce3e584f3d0955c085e18ab92015a92 100644 --- a/step/duplicate/version.php +++ b/step/duplicate/version.php @@ -25,4 +25,4 @@ defined('MOODLE_INTERNAL') || die; $plugin->version = 2019070200; -$plugin->component = 'lifecyclestep_duplicate'; \ No newline at end of file +$plugin->component = 'lifecyclestep_duplicate'; diff --git a/step/email/interactionlib.php b/step/email/interactionlib.php index 9124cff6005071e9c95b3745bed94807e2d7b97a..1085e128f0262a1dc6b4be3db5c805ec1970c9ab 100644 --- a/step/email/interactionlib.php +++ b/step/email/interactionlib.php @@ -141,4 +141,4 @@ class interactionemail extends interactionlibbase { public function get_action_string($action, $user) { return get_string('action_prevented_deletion', 'lifecyclestep_email', $user); } -} \ No newline at end of file +} diff --git a/step/email/version.php b/step/email/version.php index 4de3b26229b9a7cad129f785909c71f232485d5e..5b8d20f30e2800e94397f1cd4e8eb7a860642b2e 100644 --- a/step/email/version.php +++ b/step/email/version.php @@ -25,4 +25,4 @@ defined('MOODLE_INTERNAL') || die; $plugin->version = 2019070200; -$plugin->component = 'lifecyclestep_email'; \ No newline at end of file +$plugin->component = 'lifecyclestep_email'; diff --git a/step/interactionlib.php b/step/interactionlib.php index 780314f4309578d7851802eb660c6421cff0a046..0958cb165123df3882024d45e2104dedbe23ba63 100644 --- a/step/interactionlib.php +++ b/step/interactionlib.php @@ -107,4 +107,4 @@ abstract class interactionlibbase { public function get_due_date($processid, $stepid) { return null; } -} \ No newline at end of file +} diff --git a/step/lib.php b/step/lib.php index a21044faf22a992e596389f51937692ea2aa6ebe..f5cbb9faa2668260d784f6c2db43c84637b7c624 100644 --- a/step/lib.php +++ b/step/lib.php @@ -159,4 +159,4 @@ class instance_setting { $this->paramtype = $paramtype; } -} \ No newline at end of file +} diff --git a/tests/backup_manager_test.php b/tests/backup_manager_test.php index 6e09ec2cafc4eccebef5a81aff8e4f8e2e818c9b..ab27a38133a40cd28e94f0f9b0868693c12f038a 100644 --- a/tests/backup_manager_test.php +++ b/tests/backup_manager_test.php @@ -74,4 +74,4 @@ class tool_lifecycle_backup_manager_testcase extends \advanced_testcase { } -} \ No newline at end of file +} diff --git a/tests/manual_trigger_tools_test.php b/tests/manual_trigger_tools_test.php index c609ddec4bcea95afc79a91af89d8230f60203d1..aad0a0268ae7b0b6a68823d3ed6b2c3108337e5a 100644 --- a/tests/manual_trigger_tools_test.php +++ b/tests/manual_trigger_tools_test.php @@ -140,4 +140,4 @@ class tool_lifecycle_manual_trigger_tools_testcase extends \advanced_testcase { $this->assertTrue($found); } -} \ No newline at end of file +} diff --git a/tests/privacy_test.php b/tests/privacy_test.php index 07aada6fb096d4b53fc314a11e116ea9502b27e5..9176f2b1c2fd28572ef79eab2e74bce314bd286f 100644 --- a/tests/privacy_test.php +++ b/tests/privacy_test.php @@ -235,4 +235,4 @@ class tool_lifecycle_privacy_test extends provider_testcase { $this->assertEquals(1, $DB->count_records_select('tool_lifecycle_action_log', "userid = -1")); } -} \ No newline at end of file +} diff --git a/tests/process_status_message_test.php b/tests/process_status_message_test.php index b7b313ffec136e1a7c8291496bbcdfe1d9f90ff4..e55fbe9ffb466d164207da8d4a0697912294c532 100644 --- a/tests/process_status_message_test.php +++ b/tests/process_status_message_test.php @@ -89,4 +89,4 @@ class tool_lifecycle_process_status_message_testcase extends \advanced_testcase $message = \tool_lifecycle\local\manager\interaction_manager::get_process_status_message($process->id); $this->assertEquals(get_string('status_message_requiresattention', 'lifecyclestep_email'), $message); } -} \ No newline at end of file +} diff --git a/tests/settings_manager_test.php b/tests/settings_manager_test.php index 204dd41fac0e3e765caed162866070893c68e5eb..4444e33550f7048c18419133bd30aa4a61506bfb 100644 --- a/tests/settings_manager_test.php +++ b/tests/settings_manager_test.php @@ -119,4 +119,4 @@ class tool_lifecycle_settings_manager_testcase extends \advanced_testcase { $this->assertEmpty($settingstrigger); } -} \ No newline at end of file +} diff --git a/trigger/categories/tests/trigger_test.php b/trigger/categories/tests/trigger_test.php index 4012ff69afc65cee71307ea5fb2660c2a27e3376..79f9e5fd638779fc54e6db645fbd03b444ade9df 100644 --- a/trigger/categories/tests/trigger_test.php +++ b/trigger/categories/tests/trigger_test.php @@ -152,4 +152,4 @@ class tool_lifecycle_trigger_categories_testcase extends \advanced_testcase { $this->assertTrue($found, 'The course should not have been excluded by the trigger'); $recordset->close(); } -} \ No newline at end of file +} diff --git a/trigger/categories/version.php b/trigger/categories/version.php index ac5c1e57602c69ec9f2a51c63be9e7afc8acf6f9..d069705429da4e024c82b29855e14aaa46fac13b 100644 --- a/trigger/categories/version.php +++ b/trigger/categories/version.php @@ -25,4 +25,4 @@ defined('MOODLE_INTERNAL') || die; $plugin->version = 2017050901; -$plugin->component = 'lifecycletrigger_categories'; \ No newline at end of file +$plugin->component = 'lifecycletrigger_categories'; diff --git a/trigger/delayedcourses/db/install.php b/trigger/delayedcourses/db/install.php index a107f77a4a26d632e4f0f16115a0c159e8383510..00f52e2f13d94d0134ff4694951a0a81c8a65540 100644 --- a/trigger/delayedcourses/db/install.php +++ b/trigger/delayedcourses/db/install.php @@ -31,4 +31,4 @@ defined('MOODLE_INTERNAL') || die(); */ function xmldb_lifecycletrigger_delayedcourses_install() { trigger_manager::register_workflow('delayedcourses'); -} \ No newline at end of file +} diff --git a/trigger/delayedcourses/tests/trigger_test.php b/trigger/delayedcourses/tests/trigger_test.php index 6238981fd6feaefaee162f86bdfa33dca149cedd..fcb5e7da371acbafd591f481102f3a4bff3ae06c 100644 --- a/trigger/delayedcourses/tests/trigger_test.php +++ b/trigger/delayedcourses/tests/trigger_test.php @@ -156,4 +156,4 @@ class tool_lifecycle_trigger_delayedcourses_testcase extends \advanced_testcase $recordset->close(); $this->assertTrue($found, 'The course should have passed through since it should be delay'); } -} \ No newline at end of file +} diff --git a/trigger/delayedcourses/version.php b/trigger/delayedcourses/version.php index 5b1fa5e9bf8a2782a7003df6b914c7074e06e8aa..da36efee2d2fccfa79a08141f064ad07e4540205 100644 --- a/trigger/delayedcourses/version.php +++ b/trigger/delayedcourses/version.php @@ -26,4 +26,4 @@ defined('MOODLE_INTERNAL') || die; $plugin->version = 2017061900; -$plugin->component = 'lifecycletrigger_delayedcourses'; \ No newline at end of file +$plugin->component = 'lifecycletrigger_delayedcourses'; diff --git a/trigger/manual/lang/de/lifecycletrigger_manual.php b/trigger/manual/lang/de/lifecycletrigger_manual.php index efde6b1165d08996d6f027bb727580f0780b1807..af6f1d1d294aacaa8bc4c0e3ecfb9928ff1dac56 100644 --- a/trigger/manual/lang/de/lifecycletrigger_manual.php +++ b/trigger/manual/lang/de/lifecycletrigger_manual.php @@ -28,4 +28,4 @@ $string['setting_capability_help'] = 'Die Moodle-Berechtigung, die ein Nutzer be $string['setting_icon'] = 'Icon'; $string['setting_icon_help'] = 'Das Moodle-Icon das dem Nutzer für diesen Trigger angezeigt wird, z.B. "core/tick". Die ganze Liste möglicher Icons kann in der Moodle-Dokumentation gefunden werden.'; $string['setting_displayname'] = 'Aktionsname'; -$string['setting_displayname_help'] = 'Der Name für die Triggeraktion, der dem Nutzer angezeigt wird.'; \ No newline at end of file +$string['setting_displayname_help'] = 'Der Name für die Triggeraktion, der dem Nutzer angezeigt wird.'; diff --git a/trigger/manual/lang/en/lifecycletrigger_manual.php b/trigger/manual/lang/en/lifecycletrigger_manual.php index 0185529a02e293b14bade9a92dae55ce7b1082d2..249ef5e9e5d3c21baf7306304cf97c76ede9fc84 100644 --- a/trigger/manual/lang/en/lifecycletrigger_manual.php +++ b/trigger/manual/lang/en/lifecycletrigger_manual.php @@ -28,4 +28,4 @@ $string['setting_capability_help'] = 'The Moodle capability needed to see and in $string['setting_icon'] = 'Icon'; $string['setting_icon_help'] = 'The Moodle icon to be showed to the user for this trigger, e.g. "core/tick". A full list of possible icons can be found at Moodle documentation.'; $string['setting_displayname'] = 'Action name'; -$string['setting_displayname_help'] = 'A name for the trigger action displayed to the user.'; \ No newline at end of file +$string['setting_displayname_help'] = 'A name for the trigger action displayed to the user.'; diff --git a/trigger/manual/version.php b/trigger/manual/version.php index eba9484f26b7a18694cd338020498aa24471488d..a775cf8dc6bdd259186a1c7ab9b1d224aa025016 100644 --- a/trigger/manual/version.php +++ b/trigger/manual/version.php @@ -25,4 +25,4 @@ defined('MOODLE_INTERNAL') || die; $plugin->version = 2018022000; -$plugin->component = 'lifecycletrigger_manual'; \ No newline at end of file +$plugin->component = 'lifecycletrigger_manual'; diff --git a/trigger/sitecourse/db/install.php b/trigger/sitecourse/db/install.php index bb5292505c008db956f6aa017f0b7c6fd9f43f37..ef92e5e4632960d6bc1707e482e5eda9fdfcb954 100644 --- a/trigger/sitecourse/db/install.php +++ b/trigger/sitecourse/db/install.php @@ -30,4 +30,4 @@ defined('MOODLE_INTERNAL') || die(); */ function xmldb_lifecycletrigger_sitecourse_install() { trigger_manager::register_workflow('sitecourse'); -} \ No newline at end of file +} diff --git a/trigger/sitecourse/tests/trigger_test.php b/trigger/sitecourse/tests/trigger_test.php index d9babbbf4ebf77aba518eb8c84faea6ad496effb..d5f602b77ca7a5b71d477666dba87ae6a317f097 100644 --- a/trigger/sitecourse/tests/trigger_test.php +++ b/trigger/sitecourse/tests/trigger_test.php @@ -81,4 +81,4 @@ class tool_lifecycle_trigger_sitecourse_testcase extends \advanced_testcase { $this->assertEquals($response, trigger_response::next()); } -} \ No newline at end of file +} diff --git a/trigger/sitecourse/version.php b/trigger/sitecourse/version.php index 1e4fcac1658e3c44e9b4d69f05433eab06432abb..388b8826a254eccd2b2b6d17563c00bca3d6719f 100644 --- a/trigger/sitecourse/version.php +++ b/trigger/sitecourse/version.php @@ -25,4 +25,4 @@ defined('MOODLE_INTERNAL') || die; $plugin->version = 2017050900; -$plugin->component = 'lifecycletrigger_sitecourse'; \ No newline at end of file +$plugin->component = 'lifecycletrigger_sitecourse'; diff --git a/trigger/specificdate/version.php b/trigger/specificdate/version.php index a7f69e70cafaaf0d1bec92e91b36db5d55c1605e..9ef18a46ddcb74e2cb883d67261d539e005bbf5c 100644 --- a/trigger/specificdate/version.php +++ b/trigger/specificdate/version.php @@ -25,4 +25,4 @@ defined('MOODLE_INTERNAL') || die; $plugin->version = 2018101000; -$plugin->component = 'lifecycletrigger_specificdate'; \ No newline at end of file +$plugin->component = 'lifecycletrigger_specificdate'; diff --git a/trigger/startdatedelay/tests/trigger_test.php b/trigger/startdatedelay/tests/trigger_test.php index 04ac2aea5039f93a3deba29b321b988d00bb4a4f..7466dd9b3e8652d449e6aae21518ff24cb69db12 100644 --- a/trigger/startdatedelay/tests/trigger_test.php +++ b/trigger/startdatedelay/tests/trigger_test.php @@ -91,4 +91,4 @@ class tool_lifecycle_trigger_startdatedelay_testcase extends \advanced_testcase } $this->assertTrue($found, 'The course should have been triggered'); } -} \ No newline at end of file +} diff --git a/trigger/startdatedelay/version.php b/trigger/startdatedelay/version.php index c59c13cb2e4645c83d5edd3e0ba98aac9bf16c02..422037faa30621be0fe1d02e0c7fc9d9156bfd17 100644 --- a/trigger/startdatedelay/version.php +++ b/trigger/startdatedelay/version.php @@ -25,4 +25,4 @@ defined('MOODLE_INTERNAL') || die; $plugin->version = 2017050901; -$plugin->component = 'lifecycletrigger_startdatedelay'; \ No newline at end of file +$plugin->component = 'lifecycletrigger_startdatedelay'; diff --git a/workflowsettings.php b/workflowsettings.php index 27321b66e574860f819a22e71e51ae00dccf3c37..60c09ed7770376f7d36efba0de347025831ed072 100644 --- a/workflowsettings.php +++ b/workflowsettings.php @@ -42,4 +42,4 @@ $workflowsettings = new tool_lifecycle\workflow_settings($workflowid); // Execute the controller. $subpluginid = optional_param('subplugin', null, PARAM_INT); -$workflowsettings->execute(optional_param('action', null, PARAM_TEXT), $subpluginid, $workflowid); \ No newline at end of file +$workflowsettings->execute(optional_param('action', null, PARAM_TEXT), $subpluginid, $workflowid);