Fix a type-juggling issue (#9498)

main
jvoisin 4 years ago committed by GitHub
parent 5248d6c9f1
commit 456096d5ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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();

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

Loading…
Cancel
Save