mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-10-22 18:18:07 +02:00
Fix CI codechecker: wrap long line, fix class closing brace placement, update matching test expectations
This commit is contained in:
1 parent
a6e465b7a3
commit
789a1c1163
3 files changed
+6
-4
No files matched your search
@@ -269,5 +269,4 @@ class create extends clibase {
|
||||
}
|
||||
return $option;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -331,7 +331,8 @@ if ((time() >= {{STARTTIME}}) && (time() < {{STOPTIME}})) {
|
||||
}
|
||||
|
||||
if ({{USEACCESSKEY}} && $accesskeyblocked) {
|
||||
echo '<!-- auth_outage blocked by missing or incorrect access key, access key given: ' . htmlspecialchars($useraccesskey ?? '', ENT_QUOTES | ENT_HTML5, 'UTF-8') . ' -->';
|
||||
$safeaccesskey = htmlspecialchars($useraccesskey ?? '', ENT_QUOTES | ENT_HTML5, 'UTF-8');
|
||||
echo '<!-- auth_outage blocked by missing or incorrect access key, access key given: ' . $safeaccesskey . ' -->';
|
||||
}
|
||||
|
||||
if (!$isphpunit) {
|
||||
|
||||
Reference in new issue
Block a user