default error_reporting set to pre PHP8

This commit is contained in:
Milos Stojanovic
2022-02-18 16:58:36 +01:00
parent 1fde95e645
commit 7ffd2b5b86

2
dist/index.php vendored
View File

@@ -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;