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')) {