diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-10-07 15:11:44 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-10-07 15:11:44 +0200 |
commit | f723a3a70503ce83e0c9614cde7188ba79ad2239 (patch) | |
tree | f0ab1217be800f6f9493ce1f4dc95b6a98fdba55 | |
parent | 7ce4084457ac30a8a7aa608c18626cc5746e2157 (diff) |
ignore php-composer(ext-*) provides
-rw-r--r-- | class/Parser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/class/Parser.php b/class/Parser.php index e4a70fd..7ea73f2 100644 --- a/class/Parser.php +++ b/class/Parser.php @@ -319,7 +319,7 @@ class Parser foreach ($fmt as $fmt2) { $prov = $fmt2->attributes()['name']; if (preg_match('/^php-composer\((.*)\)$/', $prov, $reg)) { - if (!in_array($reg[1], $excl)) { + if (substr($reg[1], 0, 4)!="ext-" && !in_array($reg[1], $excl)) { $composer = $reg[1]; } } |