Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commit a3dc303

Browse files
committed
Fix CS warning
Need to ignore a line that contains a very long regex.
1 parent d29b881 commit a3dc303

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/View/Helper/FormElementErrorsTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ public function testRendersErrorMessagesUsingUnorderedListTranslated()
7171
$element->setMessages($messages);
7272

7373
$markup = $this->helper->render($element);
74+
// @codingStandardsIgnoreStart
7475
$this->assertRegexp('#<ul>\s*<li>Translated first error message</li>\s*<li>Translated second error message</li>\s*<li>Translated third error message</li>\s*</ul>#s', $markup);
76+
// @codingStandardsIgnoreEnd
7577
}
7678

7779
public function testCanSpecifyAttributesForOpeningTag()

0 commit comments

Comments
 (0)