Skip to content

Commit ea461af

Browse files
committed
minor #14005 CS: Convert double quotes to single quotes (keradus)
This PR was merged into the 2.3 branch. Discussion ---------- CS: Convert double quotes to single quotes | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | N/A Changes generated automatically by upcoming PHP CS Fixer. To keep fabbot.io happy ;) Commits ------- f99c22c CS: Convert double quotes to single quotes
2 parents 6ab455a + 3c962f6 commit ea461af

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Tests/Extension/Core/EventListener/FixUrlProtocolListenerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class FixUrlProtocolListenerTest extends \PHPUnit_Framework_TestCase
1818
{
1919
public function testFixHttpUrl()
2020
{
21-
$data = "www.symfony.com";
21+
$data = 'www.symfony.com';
2222
$form = $this->getMock('Symfony\Component\Form\Test\FormInterface');
2323
$event = new FormEvent($form, $data);
2424

@@ -30,7 +30,7 @@ public function testFixHttpUrl()
3030

3131
public function testSkipKnownUrl()
3232
{
33-
$data = "http://www.symfony.com";
33+
$data = 'http://www.symfony.com';
3434
$form = $this->getMock('Symfony\Component\Form\Test\FormInterface');
3535
$event = new FormEvent($form, $data);
3636

@@ -42,7 +42,7 @@ public function testSkipKnownUrl()
4242

4343
public function testSkipOtherProtocol()
4444
{
45-
$data = "ftp://www.symfony.com";
45+
$data = 'ftp://www.symfony.com';
4646
$form = $this->getMock('Symfony\Component\Form\Test\FormInterface');
4747
$event = new FormEvent($form, $data);
4848

Tests/Extension/Core/EventListener/TrimListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class TrimListenerTest extends \PHPUnit_Framework_TestCase
1818
{
1919
public function testTrim()
2020
{
21-
$data = " Foo! ";
21+
$data = ' Foo! ';
2222
$form = $this->getMock('Symfony\Component\Form\Test\FormInterface');
2323
$event = new FormEvent($form, $data);
2424

Tests/Extension/Csrf/EventListener/CsrfValidationListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ protected function getMockForm()
6262
// https://github.com/symfony/symfony/pull/5838
6363
public function testStringFormData()
6464
{
65-
$data = "XP4HUzmHPi";
65+
$data = 'XP4HUzmHPi';
6666
$event = new FormEvent($this->form, $data);
6767

6868
$validation = new CsrfValidationListener('csrf', $this->csrfProvider, 'unknown', 'Invalid.');

0 commit comments

Comments
 (0)