From 0b3b9751454e8bf63568bffac3ff7d8fc707273e Mon Sep 17 00:00:00 2001 From: Thomas Niedermaier Date: Wed, 27 Nov 2024 18:18:05 +0100 Subject: [PATCH] prevent codechecker issues caused by lang file sort order (#63) --- lang/en/opencast.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lang/en/opencast.php b/lang/en/opencast.php index d560f16..8bba296 100644 --- a/lang/en/opencast.php +++ b/lang/en/opencast.php @@ -23,6 +23,10 @@ * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ +// Let codechecker ignore some sniffs for this file as it is partly ordered semantically instead of alphabetically. +// phpcs:disable moodle.Files.LangFilesOrdering.UnexpectedComment +// phpcs:disable moodle.Files.LangFilesOrdering.IncorrectOrder + defined('MOODLE_INTERNAL') || die(); $string['allvideos'] = 'All videos';