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
parent 390c13608a
commit 6c3c2f8241
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

View File

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