8000 [CS] Respect PSR2 4.2 · symfony/symfony@e8bc2e9 · GitHub
[go: up one dir, main page]

Skip to content

Commit e8bc2e9

Browse files
committed
[CS] Respect PSR2 4.2
| Q | A | ------------- | --- | Branch | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | http://www.php-fig.org/psr/psr-2/#4-2-properties
1 parent fad545a commit e8bc2e9

File tree

4 files changed

+32
-6
lines changed

4 files changed

+32
-6
lines changed

src/Symfony/Bridge/ProxyManager/Tests/LazyProxy/Fixtures/includes/foo.php

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,18 @@
22

33
class ProxyManagerBridgeFooClass
44
{
5-
public $foo, $moo;
5+
public $foo;
6+
public $moo;
67

7-
public $bar = null, $initialized = false, $configured = false, $called = false, $arguments = array();
8+
public $bar = null;
9+
10+
public $initialized = false;
11+
12+
public $configured = false;
13+
14+
public $called = false;
15+
16+
public $arguments = array();
817

918
public function __construct($arguments = array())
1019
{
< 10000 /code>

src/Symfony/Component/Console/Tests/Input/InputDefinitionTest.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@ class InputDefinitionTest extends \PHPUnit_Framework_TestCase
1919
{
2020
protected static $fixtures;
2121

22-
protected $foo, $bar, $foo1, $foo2;
22+
protected $foo;
23+
24+
protected $bar;
25+
26+
protected $foo1;
27+
28+
protected $foo2;
2329

2430
public static function setUpBeforeClass()
2531
{

src/Symfony/Component/DependencyInjection/Tests/ContainerTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,9 @@ public function testAlias()
599599

600600
class ProjectServiceContainer extends Container
601601
{
602-
public $__bar, $__foo_bar, $__foo_baz;
602+
public $__bar;
603+
public $__foo_bar;
604+
public $__foo_baz;
603605
public $synchronized;
604606

605607
public function __construct()

src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/foo.php

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,18 @@
44

55
class FooClass
66
{
7-
public $foo, $moo;
7+
public $foo;
8+
public $moo;
89

9-
public $bar = null, $initialized = false, $configured = false, $called = false, $arguments = array();
10+
public $bar = null;
11+
12+
public $initialized = false;
13+
14+
public $configured = false;
15+
16+
public $called = false;
17+
18+
public $arguments = array();
1019

1120
public function __construct($arguments = array())
1221
{

0 commit comments

Comments
 (0)
0