diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 0085239..02b6f60 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -14,7 +14,9 @@ Tester\Environment::setup(); date_default_timezone_set('Europe/Prague'); - +if (PHP_VERSION_ID >= 80400) { + error_reporting(E_ALL & ~E_DEPRECATED); +} function test(string $title, Closure $function): void { $function();