File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ public function testRecursiveIncludesWithSubDirectory()
300
300
301
301
$ root = $ this ->rootFromJson ("{$ dir }/composer.json " );
302
302
303
- $ packages = array () ;
303
+ $ packages = [] ;
304
304
$ root ->setRequires (Argument::type ('array ' ))->will (
305
305
function ($ args ) use (&$ packages ) {
306
306
$ packages = array_merge ($ packages , $ args [0 ]);
@@ -407,7 +407,7 @@ function () use ($repoManager) {
407
407
408
408
$ root = $ this ->rootFromJson ("{$ dir }/composer.json " );
409
409
410
- $ packages = array () ;
410
+ $ packages = [] ;
411
411
$ root ->setRequires (Argument::type ('array ' ))->will (
412
412
function ($ args ) use (&$ packages ) {
413
413
$ packages = array_merge ($ packages , $ args [0 ]);
@@ -451,7 +451,7 @@ public function testRecursiveRequires()
451
451
452
452
$ root = $ this ->rootFromJson ("{$ dir }/composer.json " );
453
453
454
- $ packages = array () ;
454
+ $ packages = [] ;
455
455
456
456
$ root ->setRequires (Argument::type ('array ' ))->will (
457
457
function ($ args ) use (&$ packages ) {
@@ -489,7 +489,7 @@ public function testRecursiveRequiresWithSubDirectory()
489
489
490
490
$ root = $ this ->rootFromJson ("{$ dir }/composer.json " );
491
491
492
- $ packages = array () ;
492
+ $ packages = [] ;
493
493
$ root ->setRequires (Argument::type ('array ' ))->will (
494
494
function ($ args ) use (&$ packages ) {
495
495
$ packages = array_merge ($ packages , $ args [0 ]);
You can’t perform that action at this time.
0 commit comments