Skip to content

Commit

Permalink
Cleanup: Change @codingStandardsIgnore tags to phpcs:disable
Browse files Browse the repository at this point in the history
  • Loading branch information
abias committed Aug 20, 2024
1 parent 6a6d537 commit 9a3536f
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions tests/behat/behat_local_navbarplus.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class behat_local_navbarplus extends behat_base {
// @codingStandardsIgnoreStart
// phpcs:disable moodle.Files.LineLength.MaxExceeded
/**
* Checks, that the specified element with this title, link and iconclass attribute is existent on the page.
*
Expand All @@ -52,7 +52,6 @@ class behat_local_navbarplus extends behat_base {
* @param string $link
*/
public function assert_element_in_navbar_contains_title_iconclass_link($title, $icon, $link) {
// @codingStandardsIgnoreEnd

// We are searching for our icons in the navbar.
$elementxpath = '//div[@id="usernavigation"]';
Expand All @@ -65,7 +64,7 @@ public function assert_element_in_navbar_contains_title_iconclass_link($title, $
[$elementxpath, "xpath_element"]);
}

// @codingStandardsIgnoreStart
// phpcs:disable moodle.Files.LineLength.MaxExceeded
/**
* Checks, that the specified element with this title, link and iconclass attribute is not existent on the page.
*
Expand All @@ -76,7 +75,6 @@ public function assert_element_in_navbar_contains_title_iconclass_link($title, $
* @param string $link
*/
public function assert_element_in_navbar_not_contains_title_iconclass_link($title, $icon, $link) {
// @codingStandardsIgnoreEnd

// We are searching for our icons in the navbar.
$elementxpath = '//div[@id="usernavigation"]';
Expand Down Expand Up @@ -165,7 +163,7 @@ public function assert_element_in_navbar_not_has_new_window_attribute($title) {
[$elementxpath, "xpath_element"]);
}

// @codingStandardsIgnoreStart
// phpcs:disable moodle.Files.LineLength.TooLong
/**
* Checks, that the specified element is existent and has additional classes attribute.
*
Expand All @@ -175,7 +173,6 @@ public function assert_element_in_navbar_not_has_new_window_attribute($title) {
* @param string $class
*/
public function assert_element_in_navbar_has_additional_class($title, $class) {
// @codingStandardsIgnoreEnd

// We are searching for our icons in the navbar.
$elementxpath = '//div[@id="usernavigation"]';
Expand All @@ -188,7 +185,7 @@ public function assert_element_in_navbar_has_additional_class($title, $class) {
[$elementxpath, "xpath_element"]);
}

// @codingStandardsIgnoreStart
// phpcs:disable moodle.Files.LineLength.TooLong
/**
* Checks, that the specified element is existent and has additional id attribute.
*
Expand All @@ -198,7 +195,6 @@ public function assert_element_in_navbar_has_additional_class($title, $class) {
* @param string $id
*/
public function assert_element_in_navbar_has_additional_id($title, $id) {
// @codingStandardsIgnoreEnd

// We are searching for our icons in the navbar.
$elementxpath = '//div[@id="usernavigation"]';
Expand Down

0 comments on commit 9a3536f

Please sign in to comment.