Skip to content

Commit 27e7482

Browse files
committed
Merge branch '4.4' into 5.4
* 4.4: Fix CS
2 parents f7a8166 + 53e4f5e commit 27e7482

5 files changed

+56
-56
lines changed

Tests/Extension/AbstractBootstrap3HorizontalLayoutTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function testLabelOnForm()
2121
$html = $this->renderLabel($view);
2222

2323
$this->assertMatchesXpath($html,
24-
'/label
24+
'/label
2525
[@class="col-sm-2 control-label required"]
2626
[.="[trans]Name[/trans]"]
2727
'
@@ -38,7 +38,7 @@ public function testLabelDoesNotRenderFieldAttributes()
3838
]);
3939

4040
$this->assertMatchesXpath($html,
41-
'/label
41+
'/label
4242
[@for="name"]
4343
[@class="col-sm-2 control-label required"]
4444
'
@@ -55,7 +55,7 @@ public function testLabelWithCustomAttributesPassedDirectly()
5555
]);
5656

5757
$this->assertMatchesXpath($html,
58-
'/label
58+
'/label
5959
[@for="name"]
6060
[@class="my&class col-sm-2 control-label required"]
6161
'
@@ -72,7 +72,7 @@ public function testLabelWithCustomTextAndCustomAttributesPassedDirectly()
7272
]);
7373

7474
$this->assertMatchesXpath($html,
75-
'/label
75+
'/label
7676
[@for="name"]
7777
[@class="my&class col-sm-2 control-label required"]
7878
[.="[trans]Custom label[/trans]"]
@@ -92,7 +92,7 @@ public function testLabelWithCustomTextAsOptionAndCustomAttributesPassedDirectly
9292
]);
9393

9494
$this->assertMatchesXpath($html,
95-
'/label
95+
'/label
9696
[@for="name"]
9797
[@class="my&class col-sm-2 control-label required"]
9898
[.="[trans]Custom label[/trans]"]
@@ -203,7 +203,7 @@ public function testCheckboxRowWithHelp()
203203
$html = $this->renderRow($form->createView(), ['label' => 'foo', 'help' => 'really helpful text']);
204204

205205
$this->assertMatchesXpath($html,
206-
'/div
206+
'/div
207207
[@class="form-group"]
208208
[
209209
./div[@class="col-sm-2" or @class="col-sm-10"]

Tests/Extension/AbstractBootstrap4HorizontalLayoutTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function testLabelOnForm()
5353
$html = $this->renderLabel($view);
5454

5555
$this->assertMatchesXpath($html,
56-
'/legend
56+
'/legend
5757
[@class="col-form-label col-sm-2 col-form-label required"]
5858
[.="[trans]Name[/trans]"]
5959
'
@@ -70,7 +70,7 @@ public function testLabelDoesNotRenderFieldAttributes()
7070
]);
7171

7272
$this->assertMatchesXpath($html,
73-
'/label
73+
'/label
7474
[@for="name"]
7575
[@class="col-form-label col-sm-2 required"]
7676
'
@@ -87,7 +87,7 @@ public function testLabelWithCustomAttributesPassedDirectly()
8787
]);
8888

8989
$this->assertMatchesXpath($html,
90-
'/label
90+
'/label
9191
[@for="name"]
9292
[@class="my&class col-form-label col-sm-2 required"]
9393
'
@@ -104,7 +104,7 @@ public function testLabelWithCustomTextAndCustomAttributesPassedDirectly()
104104
]);
105105

106106
$this->assertMatchesXpath($html,
107-
'/label
107+
'/label
108108
[@for="name"]
109109
[@class="my&class col-form-label col-sm-2 required"]
110110
[.="[trans]Custom label[/trans]"]
@@ -124,7 +124,7 @@ public function testLabelWithCustomTextAsOptionAndCustomAttributesPassedDirectly
124124
]);
125125

126126
$this->assertMatchesXpath($html,
127-
'/label
127+
'/label
128128
[@for="name"]
129129
[@class="my&class col-form-label col-sm-2 required"]
130130
[.="[trans]Custom label[/trans]"]
@@ -177,7 +177,7 @@ public function testLegendOnExpandedType()
177177
$html = $this->renderLabel($view);
178178

179179
$this->assertMatchesXpath($html,
180-
'/legend
180+
'/legend
181181
[@class="col-sm-2 col-form-label required"]
182182
[.="[trans]Custom label[/trans]"]
183183
'
@@ -255,7 +255,7 @@ public function testCheckboxRowWithHelp()
255255
$html = $this->renderRow($view, ['label' => 'foo', 'help' => 'really helpful text']);
256256

257257
$this->assertMatchesXpath($html,
258-
'/div
258+
'/div
259259
[@class="form-group row"]
260260
[
261261
./div[@class="col-sm-2" or @class="col-sm-10"]
@@ -274,7 +274,7 @@ public function testRadioRowWithHelp()
274274
$html = $this->renderRow($form->createView(), ['label' => 'foo', 'help' => 'really helpful text']);
275275

276276
$this->assertMatchesXpath($html,
277-
'/div
277+
'/div
278278
[@class="form-group row"]
279279
[
280280
./div[@class="col-sm-2" or @class="col-sm-10"]

0 commit comments

Comments
 (0)