Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 07165d3

Browse filesBrowse files
committed
Fix CS
1 parent b350f57 commit 07165d3
Copy full SHA for 07165d3

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/Validator/ViolationMapper/ViolationMapperTest.php
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1490,9 +1490,9 @@ public function testBacktrackIfSeveralSubFormsWithSamePropertyPath()
14901490
$this->mapper->mapViolation($violation, $parent);
14911491

14921492
// The error occurred on the child of the second form with the same path
1493-
$this->assertCount(0, $parent->getErrors(), $parent->getName() . ' should not have an error, but has one');
1494-
$this->assertCount(0, $child1->getErrors(), $child1->getName() . ' should not have an error, but has one');
1495-
$this->assertCount(0, $child2->getErrors(), $child2->getName() . ' should not have an error, but has one');
1496-
$this->assertEquals(array($this->getFormError()), $grandChild->getErrors(), $grandChild->getName() . ' should have an error, but has none');
1493+
$this->assertCount(0, $parent->getErrors(), $parent->getName().' should not have an error, but has one');
1494+
$this->assertCount(0, $child1->getErrors(), $child1->getName().' should not have an error, but has one');
1495+
$this->assertCount(0, $child2->getErrors(), $child2->getName().' should not have an error, but has one');
1496+
$this->assertEquals(array($this->getFormError()), $grandChild->getErrors(), $grandChild->getName().' should have an error, but has none');
14971497
}
14981498
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.