From d250b1d0f0b4c69f0729ec9dce4848da3bdd0a32 Mon Sep 17 00:00:00 2001 From: Javier Spagnoletti Date: Sat, 25 Jun 2016 13:29:20 -0300 Subject: [PATCH] [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 --- .../Tests/LazyProxy/Fixtures/includes/foo.php | 9 +++++++-- .../Console/Tests/Input/InputDefinitionTest.php | 5 ++++- .../DependencyInjection/Tests/ContainerTest.php | 4 +++- .../DependencyInjection/Tests/Fixtures/includes/foo.php | 9 +++++++-- 4 files changed, 21 insertions(+), 6 deletions(-) diff --git a/src/Symfony/Bridge/ProxyManager/Tests/LazyProxy/Fixtures/includes/foo.php b/src/Symfony/Bridge/ProxyManager/Tests/LazyProxy/Fixtures/includes/foo.php index 1013a8c572..16c898a370 100644 --- a/src/Symfony/Bridge/ProxyManager/Tests/LazyProxy/Fixtures/includes/foo.php +++ b/src/Symfony/Bridge/ProxyManager/Tests/LazyProxy/Fixtures/includes/foo.php @@ -2,9 +2,14 @@ class ProxyManagerBridgeFooClass { - public $foo, $moo; + public $foo; + public $moo; - public $bar = null, $initialized = false, $configured = false, $called = false, $arguments = array(); + public $bar = null; + public $initialized = false; + public $configured = false; + public $called = false; + public $arguments = array(); public function __construct($arguments = array()) { diff --git a/src/Symfony/Component/Console/Tests/Input/InputDefinitionTest.php b/src/Symfony/Component/Console/Tests/Input/InputDefinitionTest.php index 7e0a24258f..f3d2c0d64e 100644 --- a/src/Symfony/Component/Console/Tests/Input/InputDefinitionTest.php +++ b/src/Symfony/Component/Console/Tests/Input/InputDefinitionTest.php @@ -19,7 +19,10 @@ class InputDefinitionTest extends \PHPUnit_Framework_TestCase { protected static $fixtures; - protected $foo, $bar, $foo1, $foo2; + protected $foo; + protected $bar; + protected $foo1; + protected $foo2; public static function setUpBeforeClass() { diff --git a/src/Symfony/Component/DependencyInjection/Tests/ContainerTest.php b/src/Symfony/Component/DependencyInjection/Tests/ContainerTest.php index ff5df42055..fa556cf8c1 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/ContainerTest.php +++ b/src/Symfony/Component/DependencyInjection/Tests/ContainerTest.php @@ -599,7 +599,9 @@ class ContainerTest extends \PHPUnit_Framework_TestCase class ProjectServiceContainer extends Container { - public $__bar, $__foo_bar, $__foo_baz; + public $__bar; + public $__foo_bar; + public $__foo_baz; public $synchronized; public function __construct() diff --git a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/foo.php b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/foo.php index 55968aff92..bcb4e20a94 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/foo.php +++ b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/foo.php @@ -4,9 +4,14 @@ namespace Bar; class FooClass { - public $foo, $moo; + public $foo; + public $moo; - public $bar = null, $initialized = false, $configured = false, $called = false, $arguments = array(); + public $bar = null; + public $initialized = false; + public $configured = false; + public $called = false; + public $arguments = array(); public function __construct($arguments = array()) {