Skip to content

Commit

Permalink
Add "lib-"-prefixed dependencies in composer.json to ignore list
Browse files Browse the repository at this point in the history
  • Loading branch information
theseer committed May 15, 2019
1 parent 9f18159 commit 9c8267c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ComposerIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private function processRequire($basedir, $require) {

if (isset($jsonData['require'])) {
foreach($jsonData['require'] as $entry => $version) {
if ($entry === 'php' || strpos($entry, 'ext-') === 0) {
if ($entry === 'php' || strpos($entry, 'ext-') === 0 || strpos($entry, 'lib-') === 0) {
continue;
}
$this->processRequire($basedir, $entry);
Expand Down

0 comments on commit 9c8267c

Please sign in to comment.