Skip to content

Commit 15cac12

Browse files
committed
minor symfony#14076 CS: fixes (keradus)
This PR was merged into the 2.3 branch. Discussion ---------- CS: fixes | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | ? | Fixed tickets | N/A | License | MIT | Doc PR | N/A Update after releasing PHP CS Fixer 1.6. To keep fabbot.io happy ;) Commits ------- 11e3a9e CS: fixes
2 parents 8593b90 + 11e3a9e commit 15cac12

File tree

8 files changed

+30
-14
lines changed

8 files changed

+30
-14
lines changed

src/Symfony/Component/ClassLoader/Tests/Fixtures/classmap/multipleNs.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
namespace {
34
class A
45
{

src/Symfony/Component/ClassLoader/Tests/Fixtures/php5.4/traits.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
namespace {
34
trait TFoo
45
{

src/Symfony/Component/Config/Tests/Definition/Builder/ExprBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public function testIfNotInArrayExpression()
114114
$this->assertFinalizedValueIs('new_value', $test);
115115

116116
$test = $this->getTestBuilder()
117-
->ifNotInArray(array('foo', 'bar', 'value_from_config' ))
117+
->ifNotInArray(array('foo', 'bar', 'value_from_config'))
118118
->then($this->returnClosure('new_value'))
119119
->end();
120120
$this->assertFinalizedValueIs('new_value', $test);

src/Symfony/Component/Finder/Tests/Iterator/FilePathsIteratorTest.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,26 @@ public function getSubPathData()
3636
return array(
3737
array(
3838
$tmpDir,
39-
array( // paths
39+
array(
40+
// paths
4041
$tmpDir.DIRECTORY_SEPARATOR.'.git' => $tmpDir.DIRECTORY_SEPARATOR.'.git',
4142
$tmpDir.DIRECTORY_SEPARATOR.'test.py' => $tmpDir.DIRECTORY_SEPARATOR.'test.py',
4243
$tmpDir.DIRECTORY_SEPARATOR.'foo' => $tmpDir.DIRECTORY_SEPARATOR.'foo',
4344
$tmpDir.DIRECTORY_SEPARATOR.'foo'.DIRECTORY_SEPARATOR.'bar.tmp' => $tmpDir.DIRECTORY_SEPARATOR.'foo'.DIRECTORY_SEPARATOR.'bar.tmp',
4445
$tmpDir.DIRECTORY_SEPARATOR.'test.php' => $tmpDir.DIRECTORY_SEPARATOR.'test.php',
4546
$tmpDir.DIRECTORY_SEPARATOR.'toto' => $tmpDir.DIRECTORY_SEPARATOR.'toto',
4647
),
47-
array( // subPaths
48+
array(
49+
// subPaths
4850
$tmpDir.DIRECTORY_SEPARATOR.'.git' => '',
4951
$tmpDir.DIRECTORY_SEPARATOR.'test.py' => '',
5052
$tmpDir.DIRECTORY_SEPARATOR.'foo' => '',
5153
$tmpDir.DIRECTORY_SEPARATOR.'foo'.DIRECTORY_SEPARATOR.'bar.tmp' => 'foo',
5254
$tmpDir.DIRECTORY_SEPARATOR.'test.php' => '',
5355
$tmpDir.DIRECTORY_SEPARATOR.'toto' => '',
5456
),
55-
array( // subPathnames
57+
array(
58+
// subPathnames
5659
$tmpDir.DIRECTORY_SEPARATOR.'.git' => '.git',
5760
$tmpDir.DIRECTORY_SEPARATOR.'test.py' => 'test.py',
5861
$tmpDir.DIRECTORY_SEPARATOR.'foo' => 'foo',

src/Symfony/Component/Form/Tests/AbstractFormTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php
22

3-
/*
4-
* This file is part of the Symfony package.
5-
*
6-
* (c) Fabien Potencier <[email protected]>
7-
*
8-
* For the full copyright and license information, please view the LICENSE
9-
* file that was distributed with this source code.
10-
*/
3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <[email protected]>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
1111

1212
namespace Symfony\Component\Form\Tests;
1313

src/Symfony/Component/Form/Tests/CallbackTransformerTest.php

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <[email protected]>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
namespace Symfony\Component\Form\Tests;
413

514
use Symfony\Component\Form\CallbackTransformer;
@@ -30,8 +39,8 @@ public function testConstructorWithInvalidCallbacks($transformCallback, $reverse
3039
public function invalidCallbacksProvider()
3140
{
3241
return array(
33-
array( null, function () {} ),
34-
array( function () {}, null ),
42+
array(null, function () {}),
43+
array(function () {}, null),
3544
);
3645
}
3746
}

src/Symfony/Component/HttpKernel/Tests/Profiler/AbstractProfilerStorageTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/*
34
* This file is part of the Symfony package.
45
*

src/Symfony/Component/Routing/Tests/Fixtures/validpattern.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
use Symfony\Component\Routing\RouteCollection;
34
use Symfony\Component\Routing\Route;
45

0 commit comments

Comments
 (0)