Skip to content

Commit ec0ca4f

Browse files
committed
Cleanup: Change @codingStandardsIgnore tags to phpcs:disable
1 parent 8d7893c commit ec0ca4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sessionkeepalive_ajax.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
*/
2525

2626
define('AJAX_SCRIPT', true);
27-
// @codingStandardsIgnoreStart
27+
28+
// phpcs:disable moodle.Files.RequireLogin.Missing
2829
// Let codechecker ignore the next line because otherwise it would complain about a missing login check
2930
// after requiring config.php which is really not needed.
3031
require(__DIR__ . '/../../config.php');
31-
// @codingStandardsIgnoreEnd
3232

3333
// Require the session key - want to make sure that this isn't called
3434
// maliciously to keep a session alive longer than intended.

0 commit comments

Comments
 (0)