Avoid deprecated polluting

This commit is contained in:
Philipp 2025-03-15 00:39:35 +01:00
parent c6fbacd3e8
commit 5f70ae9c1e
No known key found for this signature in database
GPG key ID: 24A7501396EB5432

View file

@ -11,6 +11,7 @@ if (!file_exists(__DIR__ . '/../vendor/autoload.php')) {
die('Vendor path not found. Please execute "bin/composer.phar install" on the command line in the web root.');
}
error_reporting(E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED);
require __DIR__ . '/../vendor/autoload.php';
// Backward compatibility