Skip to content

Commit

Permalink
Disable deprecation warnings in php scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
johnstevenson committed Aug 13, 2020
1 parent b2f183a commit 7954282
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/composer.iss
Original file line number Diff line number Diff line change
Expand Up @@ -1466,8 +1466,8 @@ begin
Params := ArgCmdModule(Config.PhpExe);
{Add the ini overrides to keep errors on stderr}
AddParam(Params, '-d error_reporting=E_ALL');
{Add ini overrides to report all errors except deprecations on stderr}
AddParam(Params, '-d error_reporting="E_ALL & ~E_DEPRECATED"');
AddParam(Params, '-d display_errors=Off');
AddParam(Params, '-d display_startup_errors=Off');
AddParam(Params, '-d error_log=');
Expand Down

0 comments on commit 7954282

Please sign in to comment.