Skip to content

Commit 765832f

Browse files
authored
Substitute E_STRICT (#963)
1 parent 2b18a66 commit 765832f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Sentry/Laravel/Console/TestCommand.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,11 @@ public function handle(): int
4242
return 1;
4343
}
4444

45-
// Maximize error reporting
46-
$old_error_reporting = error_reporting(E_ALL | E_STRICT);
45+
/**
46+
* Maximize error reporting.
47+
* 2048 is \E_STRICT which has been deprecated in PHP 8.4
48+
*/
49+
$old_error_reporting = error_reporting(E_ALL | 2048);
4750

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

0 commit comments

Comments
 (0)