diff options
Diffstat (limited to 'class')
-rw-r--r-- | class/Parser.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/class/Parser.php b/class/Parser.php index 7ea73f2..fc5059d 100644 --- a/class/Parser.php +++ b/class/Parser.php @@ -297,7 +297,7 @@ class Parser { $tot = 0; - $excl = array('psr/log-implementation', 'psr/http-message-implementation', 'udan11/sql-parser'); + $excl = array('udan11/sql-parser'); $primary = self::readMetadata($rpmrepo, $row); if ($primary) { @@ -319,7 +319,9 @@ class Parser foreach ($fmt as $fmt2) { $prov = $fmt2->attributes()['name']; if (preg_match('/^php-composer\((.*)\)$/', $prov, $reg)) { - if (substr($reg[1], 0, 4)!="ext-" && !in_array($reg[1], $excl)) { + if (substr($reg[1], 0, 4) != 'ext-' + && substr($reg[1], -15) != '-implementation' + && !in_array($reg[1], $excl)) { $composer = $reg[1]; } } |