Skip to content

Commit 2e7d6a5

Browse files
Merge branch '3.4' into 4.3
* 3.4: #32853 Check if $this->parameters is array. [Validator] Improve Fa translations
2 parents 8b81b3a + 5e0a736 commit 2e7d6a5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+47
-47
lines changed

Dumper/PhpDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ private function startClass(string $class, string $baseClass, string $baseClassW
10011001
*/
10021002
class $class extends $baseClass
10031003
{
1004-
private \$parameters;
1004+
private \$parameters = [];
10051005
private \$targetDirs = [];
10061006
10071007
public function __construct()

Tests/Fixtures/php/container_alias_deprecation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
class Symfony_DI_PhpDumper_Test_Aliases_Deprecation extends Container
1818
{
19-
private $parameters;
19+
private $parameters = [];
2020
private $targetDirs = [];
2121

2222
public function __construct()

Tests/Fixtures/php/custom_container_class_constructor_without_arguments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
class ProjectServiceContainer extends \Symfony\Component\DependencyInjection\Tests\Fixtures\Container\ConstructorWithoutArgumentsContainer
2020
{
21-
private $parameters;
21+
private $parameters = [];
2222
private $targetDirs = [];
2323

2424
public function __construct()

Tests/Fixtures/php/custom_container_class_with_mandatory_constructor_arguments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
class ProjectServiceContainer extends \Symfony\Component\DependencyInjection\Tests\Fixtures\Container\ConstructorWithMandatoryArgumentsContainer
2020
{
21-
private $parameters;
21+
private $parameters = [];
2222
private $targetDirs = [];
2323

2424
public function __construct()

Tests/Fixtures/php/custom_container_class_with_optional_constructor_arguments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
class ProjectServiceContainer extends \Symfony\Component\DependencyInjection\Tests\Fixtures\Container\ConstructorWithOptionalArgumentsContainer
2020
{
21-
private $parameters;
21+
private $parameters = [];
2222
private $targetDirs = [];
2323

2424
public function __construct()

Tests/Fixtures/php/custom_container_class_without_constructor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
class ProjectServiceContainer extends \Symfony\Component\DependencyInjection\Tests\Fixtures\Container\NoConstructorContainer
2020
{
21-
private $parameters;
21+
private $parameters = [];
2222
private $targetDirs = [];
2323

2424
public function __construct()

Tests/Fixtures/php/services1-1.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
class Container extends \Symfony\Component\DependencyInjection\Dump\AbstractContainer
2020
{
21-
private $parameters;
21+
private $parameters = [];
2222
private $targetDirs = [];
2323

2424
public function __construct()

Tests/Fixtures/php/services1.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
class ProjectServiceContainer extends Container
1818
{
19-
private $parameters;
19+
private $parameters = [];
2020
private $targetDirs = [];
2121

2222
public function __construct()

Tests/Fixtures/php/services10.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
class ProjectServiceContainer extends Container
1818
{
19-
private $parameters;
19+
private $parameters = [];
2020
private $targetDirs = [];
2121

2222
public function __construct()

Tests/Fixtures/php/services12.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
class ProjectServiceContainer extends Container
1818
{
19-
private $parameters;
19+
private $parameters = [];
2020
private $targetDirs = [];
2121

2222
public function __construct()

0 commit comments

Comments
 (0)