Correct line length and endings

This commit is contained in:
Simon Welsh 2014-03-30 19:51:38 +13:00
parent dde90dc346
commit e07b14f5bc
1 changed files with 3 additions and 2 deletions

View File

@ -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<text>([^"]*))" in the "(?P<field>([^"]*))" HTML field
* should(?P<negate>(?: not)?) be (?P<formatting>(.*))$/
* @Given /^"(?P<text>([^"]*))" in the "(?P<field>([^"]*))" HTML field should(?P<negate>(?: not)?) be (?P<formatting>(.*))$/
*/
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