From 7ffd2b5b8673a89d8fdd0305ec7b9438f893badd Mon Sep 17 00:00:00 2001 From: Milos Stojanovic Date: Fri, 18 Feb 2022 16:58:36 +0100 Subject: [PATCH] default error_reporting set to pre PHP8 --- dist/index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dist/index.php b/dist/index.php index 415746e..d06eade 100644 --- a/dist/index.php +++ b/dist/index.php @@ -9,6 +9,8 @@ * file that was distributed with this source code. */ +error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT); + if (version_compare(PHP_VERSION, '7.2.5', '<')) { echo 'Minimum requirement is PHP 7.2.5 You are using: '.PHP_VERSION."\n"; die;