Skip to content

Commit 33ec1c3

Browse files
committed
Merge pull request #31 from SeoFood/master
simplexml_load_file needs a file.
2 parents 2da5ba8 + fd7f812 commit 33ec1c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MagentoHackathon/Composer/Magento/PackageXmlParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ protected function _parseMappings()
108108
$map = array();
109109

110110
/** @var $package SimpleXMLElement */
111-
$package = simplexml_load_file($this->getFile());
111+
$package = simplexml_load_file($this->getFile()->getPathname());
112112
if (isset($package)) {
113113
foreach ($package->xpath('//contents/target') as $target) {
114114
try {

0 commit comments

Comments
 (0)