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 1515 },
1616 "require-dev" : {
1717 "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 " ,
2323 "slam/php-debug-r" : " ^1.7.0" ,
24- "symfony/console" : " ^6.0.5 "
24+ "symfony/console" : " ^6.1.2 "
2525 },
2626 "autoload" : {
2727 "psr-4" : {
Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ public function logException(Throwable $exception): void
355355 do {
356356 $ output = \sprintf (
357357 '%s%s: %s in %s:%s%s%s ' ,
358- ( $ i > 0 ? '{PR ' . $ i . '} ' : '' ) ,
358+ $ i > 0 ? '{PR ' . $ i . '} ' : '' ,
359359 $ exception ::class,
360360 $ exception ->getMessage (),
361361 $ exception ->getFile (),
@@ -384,10 +384,10 @@ public function emailException(Throwable $exception): void
384384
385385 $ bodyArray = [
386386 '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 ' ] ?? '' ,
389389 'USER_AGENT ' => $ _SERVER ['HTTP_USER_AGENT ' ] ?? '' ,
390- 'REMOTE_ADDR ' => $ _SERVER ['REMOTE_ADDR ' ] ?? '' ,
390+ 'REMOTE_ADDR ' => $ _SERVER ['REMOTE_ADDR ' ] ?? '' ,
391391 ];
392392 if ($ this ->isCli ()) {
393393 $ bodyArray = [
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ protected function setUp(): void
3232 \touch ($ this ->errorLog );
3333 \ini_set ('error_log ' , $ this ->errorLog );
3434
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 {
3737 $ this ->emailsSent [] = [
3838 'subject ' => $ subject ,
3939 'body ' => $ body ,
@@ -324,7 +324,7 @@ public function testCanSetCustomErrorLogCallback(): void
324324
325325 $ data = [];
326326 $ customCallback = static function (string $ text ) use (& $ data ): void {
327- $ data [] = $ text ;
327+ $ data [] = $ text ;
328328 };
329329
330330 $ this ->errorHandler ->setErrorLogCallback ($ customCallback );
You can’t perform that action at this time.
0 commit comments