diff --git a/src/Sentry/Laravel/Console/TestCommand.php b/src/Sentry/Laravel/Console/TestCommand.php index 4446d561..a143f576 100644 --- a/src/Sentry/Laravel/Console/TestCommand.php +++ b/src/Sentry/Laravel/Console/TestCommand.php @@ -42,11 +42,7 @@ public function handle(): int return 1; } - /** - * Maximize error reporting. - * 2048 is \E_STRICT which has been deprecated in PHP 8.4 - */ - $old_error_reporting = error_reporting(E_ALL | 2048); + $old_error_reporting = error_reporting(E_ALL); $dsn = $this->option('dsn');