Correct line length and endings
This commit is contained in:
parent
dde90dc346
commit
e07b14f5bc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue