diff --git a/src/Composer/Autoload/AutoloadGenerator.php b/src/Composer/Autoload/AutoloadGenerator.php index 352705328..a81ad49ab 100644 --- a/src/Composer/Autoload/AutoloadGenerator.php +++ b/src/Composer/Autoload/AutoloadGenerator.php @@ -735,7 +735,7 @@ EXT_CHECKS; \$issues = array(); ${requiredPhp}${requiredExtensions} if (\$issues) { - echo 'Composer detected issues in your platform:' . "\\n\\n" . implode("\\n", \$issues); + echo 'Composer detected issues in your platform:' . "\\n\\n" . implode("\\n", \$issues) . "\\n\\n"; exit(104); } diff --git a/tests/Composer/Test/Autoload/Fixtures/platform/no_extensions_required.php b/tests/Composer/Test/Autoload/Fixtures/platform/no_extensions_required.php index 85a922d49..de185cfca 100644 --- a/tests/Composer/Test/Autoload/Fixtures/platform/no_extensions_required.php +++ b/tests/Composer/Test/Autoload/Fixtures/platform/no_extensions_required.php @@ -9,6 +9,6 @@ if (!(PHP_VERSION_ID >= 70200)) { } if ($issues) { - echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues); + echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues) . "\n\n"; exit(104); } diff --git a/tests/Composer/Test/Autoload/Fixtures/platform/no_php_required.php b/tests/Composer/Test/Autoload/Fixtures/platform/no_php_required.php index f3ae3e071..c0fcf897f 100644 --- a/tests/Composer/Test/Autoload/Fixtures/platform/no_php_required.php +++ b/tests/Composer/Test/Autoload/Fixtures/platform/no_php_required.php @@ -13,6 +13,6 @@ if ($missingExtensions) { } if ($issues) { - echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues); + echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues) . "\n\n"; exit(104); } diff --git a/tests/Composer/Test/Autoload/Fixtures/platform/no_php_upper_bound.php b/tests/Composer/Test/Autoload/Fixtures/platform/no_php_upper_bound.php index 85a922d49..de185cfca 100644 --- a/tests/Composer/Test/Autoload/Fixtures/platform/no_php_upper_bound.php +++ b/tests/Composer/Test/Autoload/Fixtures/platform/no_php_upper_bound.php @@ -9,6 +9,6 @@ if (!(PHP_VERSION_ID >= 70200)) { } if ($issues) { - echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues); + echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues) . "\n\n"; exit(104); } diff --git a/tests/Composer/Test/Autoload/Fixtures/platform/replaced_provided_exts.php b/tests/Composer/Test/Autoload/Fixtures/platform/replaced_provided_exts.php index 8056909d6..5d94c0d22 100644 --- a/tests/Composer/Test/Autoload/Fixtures/platform/replaced_provided_exts.php +++ b/tests/Composer/Test/Autoload/Fixtures/platform/replaced_provided_exts.php @@ -12,6 +12,6 @@ if ($missingExtensions) { } if ($issues) { - echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues); + echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues) . "\n\n"; exit(104); } diff --git a/tests/Composer/Test/Autoload/Fixtures/platform/specific_php_release.php b/tests/Composer/Test/Autoload/Fixtures/platform/specific_php_release.php index 0a98a7621..ac1d729f9 100644 --- a/tests/Composer/Test/Autoload/Fixtures/platform/specific_php_release.php +++ b/tests/Composer/Test/Autoload/Fixtures/platform/specific_php_release.php @@ -9,6 +9,6 @@ if (!(PHP_VERSION_ID >= 70208)) { } if ($issues) { - echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues); + echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues) . "\n\n"; exit(104); } diff --git a/tests/Composer/Test/Autoload/Fixtures/platform/typical.php b/tests/Composer/Test/Autoload/Fixtures/platform/typical.php index dde12ec46..3f4e1ac78 100644 --- a/tests/Composer/Test/Autoload/Fixtures/platform/typical.php +++ b/tests/Composer/Test/Autoload/Fixtures/platform/typical.php @@ -17,6 +17,6 @@ if ($missingExtensions) { } if ($issues) { - echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues); + echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues) . "\n\n"; exit(104); }