1
0
Fork 0

Fix a type-juggling issue (#9498)

pull/9508/head
jvoisin 2020-11-18 21:53:09 +01:00 committed by GitHub
parent 5248d6c9f1
commit 456096d5ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ require __DIR__.'/../src/bootstrap.php';
use Composer\Compiler; use Composer\Compiler;
error_reporting(-1); error_reporting(-1);
ini_set('display_errors', 1); ini_set('display_errors', '1');
try { try {
$compiler = new Compiler(); $compiler = new Compiler();

View File

@ -24,7 +24,7 @@ if (defined('HHVM_VERSION') && version_compare(HHVM_VERSION, '4.0', '>=')) {
} }
if (function_exists('ini_set')) { if (function_exists('ini_set')) {
@ini_set('display_errors', 1); @ini_set('display_errors', '1');
// Set user defined memory limit // Set user defined memory limit
if ($memoryLimit = getenv('COMPOSER_MEMORY_LIMIT')) { if ($memoryLimit = getenv('COMPOSER_MEMORY_LIMIT')) {