Skip to content

Commit d71d208

Browse files
authored
Merge branch '2.4.6-develop' into Arrows_regression_issues_2_4_6_11jan22
2 parents fb800ec + 6d8bd27 commit d71d208

File tree

31 files changed

+274
-185
lines changed

31 files changed

+274
-185
lines changed

app/code/Magento/CatalogGraphQl/Model/Resolver/Products/Query/Search.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,8 @@ private function buildSearchCriteria(array $args, ResolveInfo $info): SearchCrit
186186
{
187187
$productFields = (array)$info->getFieldSelection(1);
188188
$includeAggregations = isset($productFields['filters']) || isset($productFields['aggregations']);
189-
$processedArgs = $this->argsSelection->process((string) $info->fieldName, $args);
189+
$fieldName = $info->fieldName ?? "";
190+
$processedArgs = $this->argsSelection->process((string) $fieldName, $args);
190191
$searchCriteria = $this->searchCriteriaBuilder->build($processedArgs, $includeAggregations);
191192

192193
return $searchCriteria;

app/code/Magento/Fedex/Test/Unit/Model/Source/GenericTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,8 @@ protected function setUp(): void
5555
* @return void
5656
* @dataProvider toOptionArrayDataProvider
5757
*/
58-
public function testToOptionArray($code, $methods, $result): void
58+
public function testToOptionArray($methods, $result): void
5959
{
60-
$this->model->code = $code;
6160
$this->shippingFedexMock->expects($this->once())
6261
->method('getCode')
6362
->willReturn($methods);
@@ -74,7 +73,6 @@ public function toOptionArrayDataProvider(): array
7473
{
7574
return [
7675
[
77-
'method',
7876
[
7977
'FEDEX_GROUND' => __('Ground'),
8078
'FIRST_OVERNIGHT' => __('First Overnight')
@@ -85,7 +83,6 @@ public function toOptionArrayDataProvider(): array
8583
]
8684
],
8785
[
88-
'',
8986
false,
9087
[]
9188
]

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"composer/composer": "^2.0, !=2.2.16",
4141
"elasticsearch/elasticsearch": "^7.17||^8.5",
4242
"ezyang/htmlpurifier": "^4.14",
43-
"guzzlehttp/guzzle": "^7.4",
43+
"guzzlehttp/guzzle": "^7.5",
4444
"laminas/laminas-captcha": "^2.12",
4545
"laminas/laminas-code": "^4.5",
4646
"laminas/laminas-db": "^2.15",
@@ -85,7 +85,7 @@
8585
"tedivm/jshrink": "^1.4",
8686
"tubalmartin/cssmin": "^4.1",
8787
"web-token/jwt-framework": "^3.1",
88-
"webonyx/graphql-php": "^14.11",
88+
"webonyx/graphql-php": "^15.0",
8989
"wikimedia/less.php": "^3.2"
9090
},
9191
"require-dev": {
@@ -98,7 +98,7 @@
9898
"magento/magento2-functional-testing-framework": "^4.0",
9999
"pdepend/pdepend": "^2.10",
100100
"phpmd/phpmd": "^2.12",
101-
"phpstan/phpstan": "^1.7",
101+
"phpstan/phpstan": "1.9.2",
102102
"phpunit/phpunit": "^9.5",
103103
"sebastian/phpcpd": "^6.0",
104104
"symfony/finder": "^5.4"

0 commit comments

Comments
 (0)