From 456096d5fff9cb6b01591e80a481831e7a536c84 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 18 Nov 2020 21:53:09 +0100 Subject: [PATCH] Fix a type-juggling issue (#9498) --- bin/compile | 2 +- bin/composer | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/compile b/bin/compile index a2720a95d..f9156245f 100755 --- a/bin/compile +++ b/bin/compile @@ -20,7 +20,7 @@ require __DIR__.'/../src/bootstrap.php'; use Composer\Compiler; error_reporting(-1); -ini_set('display_errors', 1); +ini_set('display_errors', '1'); try { $compiler = new Compiler(); diff --git a/bin/composer b/bin/composer index 8b1184448..cadff6d0d 100755 --- a/bin/composer +++ b/bin/composer @@ -24,7 +24,7 @@ if (defined('HHVM_VERSION') && version_compare(HHVM_VERSION, '4.0', '>=')) { } if (function_exists('ini_set')) { - @ini_set('display_errors', 1); + @ini_set('display_errors', '1'); // Set user defined memory limit if ($memoryLimit = getenv('COMPOSER_MEMORY_LIMIT')) {