Skip to content

Commit afd9e32

Browse files
committed
phpstan update
1 parent de3031b commit afd9e32

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/Middleware/DatabaseOnlineMiddlewareTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ public function testDatabaseConnectionFailure(): void
6767

6868
// expect error manager to be called
6969
$this->errorManagerMock->expects($this->once())->method('handleError')->with(
70-
msg: 'database connection error: ' . $exceptionMessage,
71-
code: Response::HTTP_INTERNAL_SERVER_ERROR
70+
'database connection error: ' . $exceptionMessage,
71+
Response::HTTP_INTERNAL_SERVER_ERROR
7272
);
7373

7474
// execute tested method

tests/Middleware/SecurityCheckMiddlewareTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ public function testSslCheckFail(): void
7070

7171
// expect error manager call
7272
$this->errorManagerMock->expects($this->once())->method('handleError')->with(
73-
msg: 'SSL error: connection not running on ssl protocol',
74-
code: Response::HTTP_UPGRADE_REQUIRED
73+
'SSL error: connection not running on ssl protocol',
74+
Response::HTTP_UPGRADE_REQUIRED
7575
);
7676

7777
// execute tested method

0 commit comments

Comments
 (0)