Skip to content

Commit

Permalink
Fix fatal error when calling DirectoryTraverser::traverse()
Browse files Browse the repository at this point in the history
The method was called with an extra boolean parameter, instead of null/a RuleSet

Fix #89
  • Loading branch information
Éric committed Dec 16, 2015
1 parent 69e050a commit ed21aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RuleSet/Loader/ComposerLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ private function loadPackageRuleSet(\stdClass $package)
if ($this->cache->has($key)) {
$ruleSet = $this->cache->getCachedRuleSet($key);
} elseif (is_dir($path = $this->getPackagePath($package))) {
$ruleSet = $this->traverser->traverse($path, true);
$ruleSet = $this->traverser->traverse($path);
$this->cache->cacheRuleSet($key, $ruleSet);
}

Expand Down

0 comments on commit ed21aaf

Please sign in to comment.