Skip to content

Commit 1d41ceb

Browse files
committed
Remove notices, warnings and deprecation msgs from phar
Signed-off-by: Riddhesh Sanghvi <[email protected]>
1 parent 2c14fda commit 1d41ceb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/make-phar.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ function get_composer_versions( $current_version ) {
323323
$phar->setStub( <<<EOB
324324
#!/usr/bin/env php
325325
<?php
326+
error_reporting( E_ALL ^ ( E_NOTICE | E_WARNING | E_DEPRECATED ) );
326327
Phar::mapPhar();
327328
include 'phar://ee.phar{$phar_boot}';
328329
__HALT_COMPILER();

0 commit comments

Comments
 (0)