diff --git a/tests/behat/features/bootstrap/SilverStripe/Framework/Test/Behaviour/CmsFormsContext.php b/tests/behat/features/bootstrap/SilverStripe/Framework/Test/Behaviour/CmsFormsContext.php index 8adc08d1e..9e43dd5bf 100644 --- a/tests/behat/features/bootstrap/SilverStripe/Framework/Test/Behaviour/CmsFormsContext.php +++ b/tests/behat/features/bootstrap/SilverStripe/Framework/Test/Behaviour/CmsFormsContext.php @@ -122,6 +122,7 @@ class CmsFormsContext extends BehatContext { } } + // @codingStandardsIgnoreStart /** * Checks formatting in the HTML field, by analyzing the HTML node surrounding * the text for certain properties. @@ -131,8 +132,7 @@ class CmsFormsContext extends BehatContext { * * @todo Use an actual DOM parser for more accurate assertions * - * @Given /^"(?P([^"]*))" in the "(?P([^"]*))" HTML field - * should(?P(?: not)?) be (?P(.*))$/ + * @Given /^"(?P([^"]*))" in the "(?P([^"]*))" HTML field should(?P(?: not)?) be (?P(.*))$/ */ public function stepContentInHtmlFieldShouldHaveFormatting($text, $field, $negate, $formatting) { $page = $this->getSession()->getPage(); @@ -163,6 +163,7 @@ class CmsFormsContext extends BehatContext { call_user_func($assertFn, 'text-align: right;', $matchedNode->getAttribute('style')); } } + // @codingStandardsIgnoreEnd /** * Selects the first textual match in the HTML editor. Does not support