Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 277d6df

Browse files
committed
[Form] Fixed concatenation operator CS (see 7c47e34)
1 parent 7b07925 commit 277d6df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Symfony/Component/Form/Tests/Extension/Validator/ViolationMapper/ViolationMapperTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ public function testDefaultErrorMapping($target, $childName, $childPath, $grandC
781781
} else {
782782
$this->assertCount(0, $parent->getErrors(), $parent->getName().' should not have an error, but has one');
783783
$this->assertCount(0, $child->getErrors(), $childName.' should not have an error, but has one');
784-
$this->assertEquals(array($this->getFormError()), $grandChild->getErrors(), $grandChildName. ' should have an error, but has none');
784+
$this->assertEquals(array($this->getFormError()), $grandChild->getErrors(), $grandChildName.' should have an error, but has none');
785785
}
786786
}
787787

@@ -1253,7 +1253,7 @@ public function testCustomDataErrorMapping($target, $mapFrom, $mapTo, $childName
12531253
} else {
12541254
$this->assertCount(0, $parent->getErrors(), $parent->getName().' should not have an error, but has one');
12551255
$this->assertCount(0, $child->getErrors(), $childName.' should not have an error, but has one');
1256-
$this->assertEquals(array($this->getFormError()), $grandChild->getErrors(), $grandChildName. ' should have an error, but has none');
1256+
$this->assertEquals(array($this->getFormError()), $grandChild->getErrors(), $grandChildName.' should have an error, but has none');
12571257
}
12581258
}
12591259

@@ -1442,7 +1442,7 @@ public function testCustomFormErrorMapping($target, $mapFrom, $mapTo, $errorName
14421442
$this->assertCount(0, $errorChild->getErrors(), $errorName.' should not have an error, but has one');
14431443
$this->assertCount(0, $parent->getErrors(), $parent->getName().' should not have an error, but has one');
14441444
$this->assertCount(0, $child->getErrors(), $childName.' should not have an error, but has one');
1445-
$this->assertEquals(array($this->getFormError()), $grandChild->getErrors(), $grandChildName. ' should have an error, but has none');
1445+
$this->assertEquals(array($this->getFormError()), $grandChild->getErrors(), $grandChildName.' should have an error, but has none');
14461446
}
14471447
}
14481448

@@ -1497,7 +1497,7 @@ public function testVirtualFormErrorMapping($target, $childName, $childPath, $gr
14971497
} else {
14981498
$this->assertCount(0, $parent->getErrors(), $parent->getName().' should not have an error, but has one');
14991499
$this->assertCount(0, $child->getErrors(), $childName.' should not have an error, but has one');
1500-
$this->assertEquals(array($this->getFormError()), $grandChild->getErrors(), $grandChildName. ' should have an error, but has none');
1500+
$this->assertEquals(array($this->getFormError()), $grandChild->getErrors(), $grandChildName.' should have an error, but has none');
15011501
}
15021502
}
15031503
}

0 commit comments

Comments
 (0)