]> git.mxchange.org Git - friendica.git/commitdiff
Avoid deprecated polluting
authorPhilipp <admin@philipp.info>
Fri, 14 Mar 2025 23:39:35 +0000 (00:39 +0100)
committerPhilipp <admin@philipp.info>
Fri, 14 Mar 2025 23:39:35 +0000 (00:39 +0100)
tests/bootstrap.php

index ee628029f45079331b5e3bf64865cb8c853e45b8..05771f6503cd9b94873321835bbf07b4a5ced192 100644 (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