Skip to content

Commit 40d1885

Browse files
ACPT-987
fixing static test failures
1 parent 4e125f8 commit 40d1885

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

app/code/Magento/Config/Model/Config/Loader.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,14 @@
44
* See COPYING.txt for license details.
55
*/
66

7-
/**
8-
* System configuration loader
9-
*/
107
namespace Magento\Config\Model\Config;
118

129
use Magento\Config\Model\ResourceModel\Config\Data\CollectionFactory;
1310
use Magento\Framework\App\ObjectManager;
1411

1512
/**
16-
* Class which can read config by paths
13+
* System configuration loader - Class which can read config by paths
1714
*
18-
* @package Magento\Config\Model\Config
1915
* @api
2016
* @since 100.0.2
2117
*/

dev/tests/integration/testsuite/Magento/GraphQl/App/GraphQlStateTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ private function doRequest(string $query)
124124
* Queries, variables, operation names, and expected responses for test
125125
*
126126
* @return array[]
127+
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
127128
*/
128129
public function queryDataProvider(): array
129130
{

dev/tests/integration/testsuite/Magento/GraphQl/App/State/Comparator.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ public function rememberObjectsStateAfter(bool $firstRequest): void
7676
*
7777
* @param string $operationName
7878
* @return array
79+
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
80+
* @SuppressWarnings(PHPMD.NPathComplexity)
7981
*/
8082
public function compare(string $operationName): array
8183
{
@@ -191,6 +193,7 @@ private function formatValue($type): array
191193
* @param mixed $before
192194
* @param mixed $after
193195
* @return array
196+
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
194197
*/
195198
private function checkValues($before, $after): array
196199
{

lib/internal/Magento/Framework/GraphQl/Query/Fields.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public function getFieldsUsedInQuery()
7474
/**
7575
* Extract and return list of all used fields in GraphQL query's variables
7676
*
77+
* @param array $fields
7778
* @param array $variables
7879
*
7980
* @return void

lib/internal/Magento/Framework/GraphQl/Schema/Type/TypeRegistry.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ public function get(string $typeName): TypeInterface
9494
return $this->types[$typeName];
9595
}
9696

97+
/**
98+
* @inheritDoc
99+
*/
97100
public function _resetState(): void
98101
{
99102
$this->types = [];

0 commit comments

Comments
 (0)