minor #26319 Use long array syntax (ro0NL)

This PR was merged into the 3.4 branch.

Discussion
----------

Use long array syntax

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #...   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

<!--
Write a short README entry for your feature/bugfix here (replace this comment block.)
This will help people understand your PR and can be used as a start of the Doc PR.
Additionally:
 - Bug fixes must be submitted against the lowest branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against the master branch.
-->

Commits
-------

2abb8a4 Use long array syntax
This commit is contained in:
Nicolas Grekas 2018-02-26 15:40:03 +01:00
commit ffb0a7a360

View File

@ -110,7 +110,7 @@ class MergeExtensionConfigurationPassTest extends TestCase
{
$container = new ContainerBuilder();
$container->registerExtension(new BarExtension());
$container->prependExtensionConfig('bar', []);
$container->prependExtensionConfig('bar', array());
(new MergeExtensionConfigurationPass())->process($container);
}