Do not display deprecated warnings by default (#1952)

This commit is contained in:
ArthurHoaro 2023-03-18 11:01:33 -04:00 committed by GitHub
parent f15ac5957a
commit 8457001294
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ ini_set('post_max_size', '16M');
ini_set('upload_max_filesize', '16M');
// See all error except warnings
error_reporting(E_ALL^E_WARNING);
error_reporting(E_ALL & ~E_WARNING & ~E_DEPRECATED);
// 3rd-party libraries
if (! file_exists(__DIR__ . '/vendor/autoload.php')) {