Skip to content

Commit

Permalink
Substitute E_STRICT (#963)
Browse files Browse the repository at this point in the history
  • Loading branch information
cleptric authored Dec 16, 2024
1 parent 2b18a66 commit 765832f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Sentry/Laravel/Console/TestCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@ public function handle(): int
return 1;
}

// Maximize error reporting
$old_error_reporting = error_reporting(E_ALL | E_STRICT);
/**
* Maximize error reporting.
* 2048 is \E_STRICT which has been deprecated in PHP 8.4
*/
$old_error_reporting = error_reporting(E_ALL | 2048);

$dsn = $this->option('dsn');

Expand Down

0 comments on commit 765832f

Please sign in to comment.