Skip to content

Commit

Permalink
Fix a type-juggling issue (composer#9498)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvoisin authored Nov 18, 2020
1 parent 5248d6c commit 456096d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion bin/composer
Original file line number Diff line number Diff line change
Expand Up @@ -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')) {
Expand Down

0 comments on commit 456096d

Please sign in to comment.