From f723a3a70503ce83e0c9614cde7188ba79ad2239 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 7 Oct 2016 15:11:44 +0200 Subject: ignore php-composer(ext-*) provides --- class/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'class/Parser.php') 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]; } } -- cgit