@@ -159,6 +159,7 @@ protected function find_moodleoverflow_discussion_card(string $discussiontitle):
159159 $ discussiontitle . '"]] ' );
160160 }
161161
162+ // phpcs:disable moodle.Files.LineLength.TooLong
162163 /**
163164 * Checks that an element and selector type exists in another element and selector type on the current page.
164165 *
@@ -171,6 +172,7 @@ protected function find_moodleoverflow_discussion_card(string $discussiontitle):
171172 * @param string $discussiontitle The discussion title
172173 */
173174 public function should_exist_in_the_moodleoverflow_discussion_card ($ element , $ selectortype , $ discussiontitle ) {
175+ // phpcs:enable
174176 // Get the container node.
175177 $ containernode = $ this ->find_moodleoverflow_discussion_card ($ discussiontitle );
176178
@@ -182,6 +184,7 @@ public function should_exist_in_the_moodleoverflow_discussion_card($element, $se
182184 $ this ->find ($ selectortype , $ element , $ exception , $ containernode );
183185 }
184186
187+ // phpcs:disable moodle.Files.LineLength.TooLong
185188 /**
186189 * Click on the element of the specified type which is located inside the second element.
187190 *
@@ -191,6 +194,7 @@ public function should_exist_in_the_moodleoverflow_discussion_card($element, $se
191194 * @param string $discussiontitle The discussion title
192195 */
193196 public function i_click_on_in_the_moodleoverflow_discussion_card ($ element , $ selectortype , $ discussiontitle ) {
197+ // phpcs:enable
194198 // Get the container node.
195199 $ containernode = $ this ->find_moodleoverflow_discussion_card ($ discussiontitle );
196200
@@ -204,6 +208,7 @@ public function i_click_on_in_the_moodleoverflow_discussion_card($element, $sele
204208 $ node ->click ();
205209 }
206210
211+ // phpcs:disable moodle.Files.LineLength.TooLong
207212 /**
208213 * Checks that an element and selector type does not exist in another element and selector type on the current page.
209214 *
@@ -216,6 +221,7 @@ public function i_click_on_in_the_moodleoverflow_discussion_card($element, $sele
216221 * @param string $discussiontitle The discussion title
217222 */
218223 public function should_not_exist_in_the_moodleoverflow_discussion_card ($ element , $ selectortype , $ discussiontitle ) {
224+ // phpcs:enable
219225 // Get the container node.
220226 $ containernode = $ this ->find_moodleoverflow_discussion_card ($ discussiontitle );
221227
0 commit comments