Skip to content

Commit 8a19b9a

Browse files
committed
fixed CS
1 parent e2b82d3 commit 8a19b9a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ public function testSubmitSingleExpandedRequiredInvalidChoice()
380380

381381
$form->submit('foobar');
382382

383-
$this->assertSame(null, $form->getData());
383+
$this->assertNull($form->getData());
384384
$this->assertSame('foobar', $form->getViewData());
385385
$this->assertEmpty($form->getExtraData());
386386
$this->assertFalse($form->isSynchronized());
@@ -445,7 +445,7 @@ public function testSubmitSingleExpandedNonRequiredInvalidChoice()
445445

446446
$form->submit('foobar');
447447

448-
$this->assertSame(null, $form->getData());
448+
$this->assertNull($form->getData());
449449
$this->assertSame('foobar', $form->getViewData());
450450
$this->assertEmpty($form->getExtraData());
451451
$this->assertFalse($form->isSynchronized());

src/Symfony/Component/Routing/Tests/Loader/XmlFileLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function testLoadWithNamespacePrefix()
6868
$this->assertSame('MyBundle:Blog:show', $route->getDefault('_controller'));
6969
$this->assertSame('\w+', $route->getRequirement('slug'));
7070
$this->assertSame('en|fr|de', $route->getRequirement('_locale'));
71-
$this->assertSame(null, $route->getDefault('slug'));
71+
$this->assertNull($route->getDefault('slug'));
7272
$this->assertSame('RouteCompiler', $route->getOption('compiler_class'));
7373
}
7474

0 commit comments

Comments
 (0)