1
0
Fork 0
With PHP 7.0 Maysqldumper showed way to many notices.
This changes the error_reporting level so notices are not shown anymore.
Dieser Commit ist enthalten in:
Hannes Rosenögger 2016-02-01 20:04:53 +01:00
Ursprung 5b995d339d
Commit a69b1db72b
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -1,7 +1,7 @@
<?php
error_reporting(E_ALL);
if (version_compare(PHP_VERSION, '5.3.0') >= 0) {
error_reporting(E_ALL & ~E_DEPRECATED);
error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE);
}
if (function_exists("date_default_timezone_set")) date_default_timezone_set(@date_default_timezone_get());

Datei anzeigen

@ -4,7 +4,7 @@
*
* Add configuration file names to array $excludedConfigurationFiles to skip configurations.
*/
error_reporting(E_ALL ^ ~E_NOTICE);
error_reporting(E_ALL & ~E_NOTICE);
$verbose = true;
/**
* Build exclude array with configuration files that should be skipped