8000 fixed CS · symfony/symfony@a41f359 · GitHub
[go: up one dir, main page]

Skip to content

Commit a41f359

Browse files
committed
fixed CS
1 parent 0691506 commit a41f359

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

src/Symfony/Component/Debug/Tests/Exception/FlattenExceptionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public function testArguments()
203203
$incomplete,
204204
$dh,
205205
$fh,
206-
function() {},
206+
function () {},
207207
array(1, 2),
208208
array('foo' => 123),
209209
null,

src/Symfony/Component/ExpressionLanguage/ParsedExpression.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private function dumpNode(Node $node)
4949
{
5050
$dump = '';
5151

52-
foreach($node->toArray() as $v) {
52+
foreach ($node->toArray() as $v) {
5353
$dump .= is_scalar($v) ? $v : $this->dumpNode($v);
5454
}
5555

src/Symfony/Component/Filesystem/Tests/FilesystemTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,6 @@ public function testLinkIsNotOverwrittenIfAlreadyCreated()
921921

922922
$this->assertTrue(is_file($link));
923923
$this->assertEquals(fileinode($file), fileinode($link));
924-
925924
}
926925

927926
public function testLinkWithSeveralTargets()
@@ -934,7 +933,7 @@ public function testLinkWithSeveralTargets()
934933

935934
touch($file);
936935

937-
$this->filesystem->hardlink($file, array($link1,$link2));
936+
$this->filesystem->hardlink($file, array($link1, $link2));
938937

939938
$this->assertTrue(is_file($link1));
940939
$this->assertEquals(fileinode($file), fileinode($link1));
@@ -952,7 +951,7 @@ public function testLinkWithSameTarget()
952951
touch($file);
953952

954953
// practically same as testLinkIsNotOverwrittenIfAlreadyCreated
955-
$this->filesystem->hardlink($file, array($link,$link));
954+
$this->filesystem->hardlink($file, array($link, $link));
956955

957956
$this->assertTrue(is_file($link));
958957
$this->assertEquals(fileinode($file), fileinode($link));

src/Symfony/Component/Form/Tests/ChoiceList/Loader/CallbackChoiceLoaderTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,31 +22,31 @@ class CallbackChoiceLoaderTest extends \PHPUnit_Framework_TestCase
2222
/**
2323
* @var \Symfony\Component\Form\ChoiceList\Loader\CallbackChoiceLoader
2424
*/
25-
static private $loader;
25+
private static $loader;
2626

2727
/**
2828
* @var callable
2929
*/
30-
static private $value;
30+
private static $value;
3131

3232
/**
3333
* @var array
3434
*/
35-
static private $choices;
35+
private static $choices;
3636

3737
/**
3838
* @var string[]
3939
*/
40-
static private $choiceValues;
40+
private static $choiceValues;
4141

4242
/**
4343
* @var \Symfony\Component\Form\ChoiceList\LazyChoiceList
4444
*/
45-
static private $lazyChoiceList;
45+
private static $lazyChoiceList;
4646

47-
static public function setUpBeforeClass()
47+
public static function setUpBeforeClass()
4848
{
49-
self::$loader = new CallbackChoiceLoader(function() {
49+
self::$loader = new CallbackChoiceLoader(function () {
5050
return self::$choices;
5151
});
5252
self::$value = function ($choice) {
@@ -90,7 +90,7 @@ public function testLoadValuesForChoicesLoadsChoiceListOnFirstCall()
9090
);
9191
}
9292

93-
static public function tearDownAfterClass()
93+
public static function tearDownAfterClass()
9494
{
9595
self::$loader = null;
9696
self::$value = null;

0 commit comments

Comments
 (0)
0