File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 18
18
"phpstan/phpstan-phpunit" : " ^1.4.0" ,
19
19
"phpstan/phpstan-strict-rules" : " ^1.6.0" ,
20
20
"phpunit/phpunit" : " ^11.2.2" ,
21
- "slam/php-cs-fixer-extensions" : " ^3.10 " ,
21
+ "slam/php-cs-fixer-extensions" : " ^3.11.1 " ,
22
22
"symfony/console" : " ^7.1.1"
23
23
},
24
24
"autoload" : {
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ final class ErrorHandler
49
49
private $ emailCallback ;
50
50
51
51
/** @var callable */
52
- private $ errorLogCallback = '\\ error_log ' ;
52
+ private $ errorLogCallback = '\error_log ' ;
53
53
54
54
/** @var array<int, bool> */
55
55
private array $ scream = [];
Original file line number Diff line number Diff line change @@ -303,7 +303,7 @@ public function test404ExceptionCanBeDisabledToSendEmail(): void
303
303
public function testCanSetCustomErrorLogCallback (): void
304
304
{
305
305
$ this ->errorHandler ->setLogErrors (true );
306
- self ::assertSame ('\\ error_log ' , $ this ->errorHandler ->getErrorLogCallback ());
306
+ self ::assertSame ('\error_log ' , $ this ->errorHandler ->getErrorLogCallback ());
307
307
308
308
$ data = [];
309
309
$ customCallback = static function (string $ text ) use (& $ data ): void {
You can’t perform that action at this time.
0 commit comments