File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
src/Magento/FunctionalTestingFramework/Test/Config/Converter/Dom Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,6 @@ public function convert($source)
70
70
* @return string|array
71
71
* @throws \UnexpectedValueException
72
72
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
73
- * @SuppressWarnings(PHPMD.NPathComplexity)
74
73
* Revisited to reduce cyclomatic complexity, left unrefactored for readability
75
74
*/
76
75
public function convertXml (\DOMNode $ source , $ basePath = '' )
@@ -85,10 +84,6 @@ public function convertXml(\DOMNode $source, $basePath = '')
85
84
$ isNumericArrayNode = $ this ->arrayNodeConfig ->isNumericArray ($ nodePath );
86
85
$ isArrayNode = $ isNumericArrayNode || $ arrayKeyAttribute ;
87
86
88
- if (isset ($ value [$ nodeName ]) && $ nodeName === 'waitForElementClickable ' ) {
89
- unset($ value [$ nodeName ]);
90
- }
91
-
92
87
if (isset ($ value [$ nodeName ]) && !$ isArrayNode ) {
93
88
throw new \UnexpectedValueException (
94
89
"Node path ' {$ nodePath }' is not unique, but it has not been marked as array. "
You can’t perform that action at this time.
0 commit comments