error reporting should always be E_ALL
All checks were successful
rvr-nextgen/pipeline/pr-master This commit looks good

This commit is contained in:
Bence Pőcze 2023-09-30 23:18:07 +02:00 committed by Gitea
parent 65dac4640a
commit 6bd6ede442
Signed by: Gitea
GPG Key ID: 7B89B83EED9AD2C6

View File

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