Skip to content

Commit cc36743

Browse files
committed
MQE-1974: Report used deprecated metadata in Test
1 parent 98a678d commit cc36743

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/Magento/FunctionalTestingFramework/DataGenerator/Handlers/DataObjectHandler.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class DataObjectHandler implements ObjectHandlerInterface
7575

7676
/**
7777
* Constructor
78-
* @param bool $validateName Set to false to disable name validations
78+
* @param boolean $validateName Set to false to disable name validations.
7979
* @throws XmlException
8080
*/
8181
private function __construct($validateName = true)
@@ -94,7 +94,7 @@ private function __construct($validateName = true)
9494
/**
9595
* Return the singleton instance of this class. Initialize it if needed.
9696
*
97-
* @param bool $validateName
97+
* @param boolean $validateName
9898
* @return DataObjectHandler
9999
* @throws \Exception
100100
*/
@@ -138,10 +138,11 @@ public function getAllObjects()
138138
* Convert the parser output into a collection of EntityDataObjects
139139
*
140140
* @param string[] $parserOutput Primitive array output from the Magento parser.
141-
* @param bool $validateName
141+
* @param boolean $validateName
142142
* @return EntityDataObject[]
143143
* @throws XmlException
144144
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
145+
* @SuppressWarnings(PHPMD.NPathComplexity)
145146
*/
146147
private function processParserOutput($parserOutput, $validateName = true)
147148
{
@@ -245,7 +246,7 @@ private function processArray($arrayItems, $data, $key)
245246
* Parses <data> elements in an entity, and returns them as an array of "lowerKey"=>value.
246247
*
247248
* @param string[] $entityData
248-
* @param bool $validateName
249+
* @param boolean $validateName
249250
* @return string[]
250251
*/
251252
private function processDataElements($entityData, $validateName = true)

src/Magento/FunctionalTestingFramework/DataGenerator/Persist/CurlHandler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ public function executeRequest($dependentEntities)
126126
$method = $this->operationDefinition->getApiMethod();
127127
AllureHelper::addAttachmentToCurrentStep($apiUrl, 'API Endpoint');
128128
AllureHelper::addAttachmentToCurrentStep(json_encode($headers, JSON_PRETTY_PRINT), 'Request Headers');
129+
129130
$operationDataResolver = new OperationDataArrayResolver($dependentEntities);
130131
$this->requestData = $operationDataResolver->resolveOperationDataArray(
131132
$this->entityObject,

0 commit comments

Comments
 (0)