Fix a type-juggling issue (#9498)
parent
5248d6c9f1
commit
456096d5ff
|
@ -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();
|
||||||
|
|
|
@ -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')) {
|
||||||
|
|
Loading…
Reference in New Issue