Skip to content

Commit c18d76b

Browse files
committed
AC-9499::Update Symfony dependency packages to the latest LTS versions 6.4
1 parent e00d7fe commit c18d76b

File tree

7 files changed

+41
-44
lines changed

7 files changed

+41
-44
lines changed

app/code/Magento/AwsS3/Test/Mftf/Helper/MockTestLogger.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,47 +16,47 @@
1616
*/
1717
class MockTestLogger implements LoggerInterface {
1818

19-
public function emergency($message, array $context = array())
19+
public function emergency($message, array $context = array()): void
2020
{
2121
throw new \Exception($message);
2222
}
2323

24-
public function alert($message, array $context = array())
24+
public function alert($message, array $context = array()): void
2525
{
2626
// noop
2727
}
2828

29-
public function critical($message, array $context = array())
29+
public function critical($message, array $context = array()): void
3030
{
3131
throw new \Exception($message);
3232
}
3333

34-
public function error($message, array $context = array())
34+
public function error($message, array $context = array()): void
3535
{
3636
throw new \Exception($message);
3737
}
3838

39-
public function warning($message, array $context = array())
39+
public function warning($message, array $context = array()): void
4040
{
4141
// noop
4242
}
4343

44-
public function notice($message, array $context = array())
44+
public function notice($message, array $context = array()): void
4545
{
4646
// noop
4747
}
4848

49-
public function info($message, array $context = array())
49+
public function info($message, array $context = array()): void
5050
{
5151
// noop
5252
}
5353

54-
public function debug($message, array $context = array())
54+
public function debug($message, array $context = array()): void
5555
{
5656
// noop
5757
}
5858

59-
public function log($level, $message, array $context = array())
59+
public function log($level, $message, array $context = array()): void
6060
{
6161
// noop
6262
}

app/code/Magento/Checkout/Test/Unit/Controller/Sidebar/RemoveItemTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,7 @@ public function testExecuteWithException()
201201

202202
$this->loggerMock->expects($this->once())
203203
->method('critical')
204-
->with($exception)
205-
->willReturn(null);
204+
->with($exception);
206205

207206
$this->sidebarMock->expects($this->once())
208207
->method('getResponseData')

app/code/Magento/Checkout/Test/Unit/Controller/Sidebar/UpdateItemQtyTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,7 @@ public function testExecuteWithException(): void
217217

218218
$this->loggerMock->expects($this->once())
219219
->method('critical')
220-
->with($exception)
221-
->willReturn(null);
220+
->with($exception);
222221

223222
$this->sidebarMock->expects($this->once())
224223
->method('getResponseData')

app/code/Magento/Sales/Test/Unit/Controller/Adminhtml/Order/Create/ReorderTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,7 @@ public function testExecuteReorderWithThrowsLocalizedException(): void
343343
->willThrowException($exception);
344344
$this->loggerMock
345345
->expects($this->any())
346-
->method('critical')
347-
->willReturn($exception);
346+
->method('critical');
348347
$this->messageManagerMock
349348
->expects($this->once())
350349
->method('addErrorMessage')

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"symfony/string": "^6.4",
8888
"tedivm/jshrink": "^1.4",
8989
"tubalmartin/cssmin": "^4.1",
90-
"web-token/jwt-framework": "^3.1",
90+
"web-token/jwt-framework": "^3.1, <3.2.9",
9191
"webonyx/graphql-php": "^15.0",
9292
"wikimedia/less.php": "^3.2"
9393
},

composer.lock

Lines changed: 27 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/internal/Magento/Framework/View/Test/Unit/Element/TemplateTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,7 @@ public function testFetchViewWithNoFileName()
167167
->willReturn(false);
168168
$this->loggerMock->expects($this->once())
169169
->method('critical')
170-
->with($exception)
171-
->willReturn(null);
170+
->with($exception);
172171
$this->assertEquals($output, $this->block->fetchView($template));
173172
}
174173

0 commit comments

Comments
 (0)