Disable error reporting

phpcs-errors:226 phpunit-status:successful
This commit is contained in:
Joshua Ramon Enslin 2020-08-10 23:18:06 +02:00 committed by Stefan Rohde-Enslin
parent df3e1580cf
commit 11c63fc58e
4 changed files with 0 additions and 11 deletions

View File

@ -5,9 +5,6 @@
* @author Joshua Ramon Enslin <joshua@museum-digital.de> * @author Joshua Ramon Enslin <joshua@museum-digital.de>
*/ */
declare(strict_types = 1); declare(strict_types = 1);
error_reporting(E_ALL);
ini_set('display_errors', "1");
require_once __DIR__ . "/functions/functions.php"; require_once __DIR__ . "/functions/functions.php";
if (session_status() != PHP_SESSION_ACTIVE) { if (session_status() != PHP_SESSION_ACTIVE) {

View File

@ -7,9 +7,6 @@
* @author Joshua Ramon Enslin <joshua@museum-digital.de> * @author Joshua Ramon Enslin <joshua@museum-digital.de>
*/ */
declare(strict_types = 1); declare(strict_types = 1);
error_reporting(E_ALL);
ini_set('display_errors', "1");
require_once __DIR__ . "/functions/functions.php"; require_once __DIR__ . "/functions/functions.php";
if (session_status() != PHP_SESSION_ACTIVE) { if (session_status() != PHP_SESSION_ACTIVE) {

View File

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

View File

@ -1,8 +1,5 @@
<?PHP <?PHP
declare(strict_types = 1); declare(strict_types = 1);
error_reporting(E_ALL);
ini_set('display_errors', "1");
require_once __DIR__ . "/functions/functions.php"; require_once __DIR__ . "/functions/functions.php";
if (session_status() != PHP_SESSION_ACTIVE) { if (session_status() != PHP_SESSION_ACTIVE) {