File tree Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 15
15
},
16
16
"require-dev" : {
17
17
"malukenho/mcbumpface" : " ^1.1.5" ,
18
- "phpstan/phpstan" : " ^1.5.3 " ,
19
- "phpstan/phpstan-phpunit" : " ^1.1.0 " ,
20
- "phpstan/phpstan-strict-rules" : " ^1.1 .0" ,
21
- "phpunit/phpunit" : " ^9.5.19 " ,
22
- "slam/php-cs-fixer-extensions" : " ^3.1.0 " ,
18
+ "phpstan/phpstan" : " ^1.8.2 " ,
19
+ "phpstan/phpstan-phpunit" : " ^1.1.1 " ,
20
+ "phpstan/phpstan-strict-rules" : " ^1.3 .0" ,
21
+ "phpunit/phpunit" : " ^9.5.21 " ,
22
+ "slam/php-cs-fixer-extensions" : " ^3.2.1 " ,
23
23
"slam/php-debug-r" : " ^1.7.0" ,
24
- "symfony/console" : " ^6.0.5 "
24
+ "symfony/console" : " ^6.1.2 "
25
25
},
26
26
"autoload" : {
27
27
"psr-4" : {
Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ public function logException(Throwable $exception): void
355
355
do {
356
356
$ output = \sprintf (
357
357
'%s%s: %s in %s:%s%s%s ' ,
358
- ( $ i > 0 ? '{PR ' . $ i . '} ' : '' ) ,
358
+ $ i > 0 ? '{PR ' . $ i . '} ' : '' ,
359
359
$ exception ::class,
360
360
$ exception ->getMessage (),
361
361
$ exception ->getFile (),
@@ -384,10 +384,10 @@ public function emailException(Throwable $exception): void
384
384
385
385
$ bodyArray = [
386
386
'Date ' => \date (\DATE_RFC850 ),
387
- 'REQUEST_URI ' => $ _SERVER ['REQUEST_URI ' ] ?? '' ,
388
- 'HTTP_REFERER ' => $ _SERVER ['HTTP_REFERER ' ] ?? '' ,
387
+ 'REQUEST_URI ' => $ _SERVER ['REQUEST_URI ' ] ?? '' ,
388
+ 'HTTP_REFERER ' => $ _SERVER ['HTTP_REFERER ' ] ?? '' ,
389
389
'USER_AGENT ' => $ _SERVER ['HTTP_USER_AGENT ' ] ?? '' ,
390
- 'REMOTE_ADDR ' => $ _SERVER ['REMOTE_ADDR ' ] ?? '' ,
390
+ 'REMOTE_ADDR ' => $ _SERVER ['REMOTE_ADDR ' ] ?? '' ,
391
391
];
392
392
if ($ this ->isCli ()) {
393
393
$ bodyArray = [
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ protected function setUp(): void
32
32
\touch ($ this ->errorLog );
33
33
\ini_set ('error_log ' , $ this ->errorLog );
34
34
35
- $ this ->exception = new ErrorException (\uniqid ('normal_ ' ), \E_USER_NOTICE );
36
- $ this ->errorHandler = new ErrorHandler (function (string $ subject , string $ body ): void {
35
+ $ this ->exception = new ErrorException (\uniqid ('normal_ ' ), \E_USER_NOTICE );
36
+ $ this ->errorHandler = new ErrorHandler (function (string $ subject , string $ body ): void {
37
37
$ this ->emailsSent [] = [
38
38
'subject ' => $ subject ,
39
39
'body ' => $ body ,
@@ -324,7 +324,7 @@ public function testCanSetCustomErrorLogCallback(): void
324
324
325
325
$ data = [];
326
326
$ customCallback = static function (string $ text ) use (& $ data ): void {
327
- $ data [] = $ text ;
327
+ $ data [] = $ text ;
328
328
};
329
329
330
330
$ this ->errorHandler ->setErrorLogCallback ($ customCallback );
You can’t perform that action at this time.
0 commit comments