[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
This commit is contained in:
parent
fad545aff9
commit
d250b1d0f0
|
@ -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())
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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())
|
||||
{
|
||||
|
|
Reference in New Issue