Update error-handling, not all warnings should be shown to all users

phpcs-errors:253 phpunit-status:successful
This commit is contained in:
Stefan Rohde-Enslin 2019-12-10 05:34:19 +01:00
parent 8a64ae740b
commit c920fc80db
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<?PHP <?PHP
declare(strict_types = 1); declare(strict_types = 1);
error_reporting(E_ALL); error_reporting(E_ALL);
ini_set('display_errors', "1"); ini_set('display_errors', "0");
require_once __DIR__ . "/functions/functions.php"; require_once __DIR__ . "/functions/functions.php";

View File

@ -1,5 +1,6 @@
<?PHP <?PHP
declare(strict_types = 1); declare(strict_types = 1);
require_once __DIR__ . "/functions/functions.php"; require_once __DIR__ . "/functions/functions.php";
echo printHTMLHead(); echo printHTMLHead();