Skip to content

Commit 67d80e1

Browse files
committed
Fix php7.2
1 parent df8f9f0 commit 67d80e1

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

tests/Composer/Test/Command/BaseDependencyCommandTest.php

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,8 @@ public static function caseWhyProvider(): Generator
315315
<<<OUTPUT
316316
__root__ - requires vendor1/package3 (2.3.0)
317317
vendor1/package2 2.3.0 requires vendor1/package3 (^1)
318-
OUTPUT,
318+
OUTPUT
319+
,
319320
0
320321
];
321322

@@ -327,7 +328,8 @@ public static function caseWhyProvider(): Generator
327328
`--vendor1/package2 2.3.0 (requires vendor1/package3 ^1)
328329
|--__root__ (requires vendor1/package2 1.3.0)
329330
`--vendor1/package1 1.3.0 (requires vendor1/package2 ^2)
330-
OUTPUT,
331+
OUTPUT
332+
,
331333
0
332334
];
333335

@@ -338,7 +340,8 @@ public static function caseWhyProvider(): Generator
338340
vendor1/package1 1.3.0 requires vendor1/package2 (^2)
339341
__root__ - requires vendor1/package3 (2.3.0)
340342
vendor1/package2 2.3.0 requires vendor1/package3 (^1)
341-
OUTPUT,
343+
OUTPUT
344+
,
342345
0
343346
];
344347

@@ -431,7 +434,8 @@ public function caseWhyNotProvider(): Generator
431434
Package "vendor1/package1" could not be found with constraint "3.*", results below will most likely be incomplete.
432435
__root__ - requires vendor1/package1 (1.*)
433436
Not finding what you were looking for? Try calling `composer require "vendor1/package1:3.*" --dry-run` to get another view on the problem.
434-
OUTPUT,
437+
OUTPUT
438+
,
435439
1
436440
];
437441

@@ -441,7 +445,8 @@ public function caseWhyNotProvider(): Generator
441445
Package "vendor1/package1" could not be found with constraint "^1.4", results below will most likely be incomplete.
442446
There is no installed package depending on "vendor1/package1" in versions not matching ^1.4
443447
Not finding what you were looking for? Try calling `composer require "vendor1/package1:^1.4" --dry-run` to get another view on the problem.
444-
OUTPUT,
448+
OUTPUT
449+
,
445450
0
446451
];
447452

@@ -450,7 +455,8 @@ public function caseWhyNotProvider(): Generator
450455
<<<OUTPUT
451456
There is no installed package depending on "vendor1/package1" in versions not matching ^1.3
452457
Not finding what you were looking for? Try calling `composer require "vendor1/package1:^1.3" --dry-run` to get another view on the problem.
453-
OUTPUT,
458+
OUTPUT
459+
,
454460
0
455461
];
456462

@@ -459,7 +465,8 @@ public function caseWhyNotProvider(): Generator
459465
<<<OUTPUT
460466
vendor2/package2 1.0.0 requires vendor2/package3 (1.4.*)
461467
Not finding what you were looking for? Try calling `composer update "vendor2/package3:1.5.0" --dry-run` to get another view on the problem.
462-
OUTPUT,
468+
OUTPUT
469+
,
463470
1
464471
];
465472
}

0 commit comments

Comments
 (0)