Skip to content

Commit

Permalink
Fix some lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
catalystfd committed Oct 21, 2024
1 parent 2e37f8f commit e0b18e9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lang/en/tool_heartbeat.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,4 @@
$string['settings:failedtasks_enableallowlist:heading'] = 'Enable allow list for failed tasks';
$string['settings:failedtasks_enableallowlist:desc'] = 'Enable the behaviour of only reporting on failed tasks that are in the following allow list configuration';
$string["settings:failedtasks_allowlist:heading"] = 'Allow list for reporting';
$string["settings:failedtasks_allowlist:desc"] = "A list of task classnames that can be reported as failing, each classname must appear on a new line";
$string["settings:failedtasks_allowlist:desc"] = "A list of task classnames that can be reported as failing, each classname must appear on a new line";
4 changes: 2 additions & 2 deletions settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
0
));

// Failed task settings
// Failed task settings.
$settings->add(new admin_setting_heading('tool_heartbeat/failedtaskchecksettings',
get_string('settings:failedtaskcheckheadings', 'tool_heartbeat'),
''
Expand All @@ -157,7 +157,7 @@
)
);

// List of allowed tasks
// List of allowed tasks.
$settings->add(
new admin_setting_configtextarea(
'tool_heartbeat/failedtasks_allowlist',
Expand Down
2 changes: 1 addition & 1 deletion tests/checker_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public static function create_summary_provider(): array {
$criticalmsg->level = resultmessage::LEVEL_CRITICAL;
$criticalmsg->title = "test CRITICAL title";

// Pipes should be cleaned from output and replaced with [pipe]
// Pipes should be cleaned from output and replaced with [pipe].
$criticalwithpipemsg = new resultmessage();
$criticalwithpipemsg->level = resultmessage::LEVEL_CRITICAL;
$criticalwithpipemsg->title = "test CRITICAL title |";
Expand Down

0 comments on commit e0b18e9

Please sign in to comment.