Skip to content

Commit 4113f26

Browse files
author
gwharton
committed
Fixed Travis Build Problems
Fixed Travis Build Problems
1 parent 435b165 commit 4113f26

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

dev/tests/integration/testsuite/Magento/Framework/Config/ConverterTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ public function parseVarElementDataProvider()
5151
{
5252
$sourceString = <<<'XML'
5353
<?xml version="1.0"?>
54-
<view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/view.xsd">
54+
<view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
55+
xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/view.xsd">
5556
<vars module="Magento_Test">
5657
<var name="str">some string</var>
5758
<var name="int-1">1</var>

lib/internal/Magento/Framework/Config/Converter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ protected function parseVarElement(\DOMElement $node)
103103
}
104104
}
105105
if (!count($result)) {
106-
$result = (strtolower($node->nodeValue) !== 'true' && strtolower($node->nodeValue) !== 'false')
106+
$result = (strtolower($node->nodeValue) !== 'true' && strtolower($node->nodeValue) !== 'false')
107107
? $node->nodeValue
108-
: filter_var($node->nodeValue, FILTER_VALIDATE_BOOLEAN);
108+
: filter_var($node->nodeValue, FILTER_VALIDATE_BOOLEAN);
109109
}
110110
return $result;
111111
}

0 commit comments

Comments
 (0)