From 34f5551e320327d4cc4659ac6162f8e766dc677f Mon Sep 17 00:00:00 2001 From: Alexander Bias Date: Sun, 18 Aug 2024 16:49:44 +0200 Subject: [PATCH] Cleanup: Change @codingStandardsIgnore tags to phpcs:disable --- tests/behat/behat_block_people.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/behat/behat_block_people.php b/tests/behat/behat_block_people.php index 8cdda42..b7676f5 100644 --- a/tests/behat/behat_block_people.php +++ b/tests/behat/behat_block_people.php @@ -40,7 +40,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class behat_block_people extends behat_base { - // @codingStandardsIgnoreStart + // phpcs:disable moodle.Files.LineLength.TooLong /** * Checks, that the specified user is listed in the section with the specified role within the block People. * @@ -50,7 +50,6 @@ class behat_block_people extends behat_base { * @param string $rolename */ public function user_should_be_listed_in_role_section($username, $rolename) { - // @codingStandardsIgnoreEnd // Teacher entries without link. $elementxpath = "//section[contains(concat(' ',normalize-space(@class),' '),' block_people ')]"; @@ -68,7 +67,7 @@ public function user_should_be_listed_in_role_section($username, $rolename) { [$elementxpath, "xpath_element"]); } - // @codingStandardsIgnoreStart + // phpcs:disable moodle.Files.LineLength.TooLong /** * Checks, that the specified user is not listed in the section with the specified role within the block People. * @@ -78,7 +77,6 @@ public function user_should_be_listed_in_role_section($username, $rolename) { * @param string $rolename */ public function user_should_not_be_listed_in_role_section($username, $rolename) { - // @codingStandardsIgnoreEnd $elementxpath = "//section[contains(concat(' ',normalize-space(@class),' '),' block_people ')]"; $elementxpath .= "//h6[contains(text(),'{$rolename}')]";