error reporting should always be E_ALL
All checks were successful
mapguesser/pipeline/pr-develop This commit looks good

This commit is contained in:
Bence Pőcze 2023-09-26 23:47:50 +02:00 committed by Gitea
parent 105cc96963
commit e684365612
Signed by: Gitea
GPG Key ID: 7B89B83EED9AD2C6

View File

@ -16,9 +16,8 @@ use MapGuesser\Repository\UserRepository;
require 'main.php'; require 'main.php';
error_reporting(E_ALL);
if (!empty($_ENV['DEV'])) { if (!empty($_ENV['DEV'])) {
error_reporting(E_ALL);
ini_set('display_errors', '1'); ini_set('display_errors', '1');
} else { } else {
ini_set('display_errors', '0'); ini_set('display_errors', '0');