diff options
Diffstat (limited to 'class')
-rw-r--r-- | class/Parser.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/class/Parser.php b/class/Parser.php index eb6df12..016664f 100644 --- a/class/Parser.php +++ b/class/Parser.php @@ -297,6 +297,8 @@ class Parser { $tot = 0; + $excl = array('psr/log-implementation'); + $primary = self::readMetadata($rpmrepo, $row); if ($primary) { foreach ($primary->package as $package) { @@ -317,7 +319,9 @@ class Parser foreach ($fmt as $fmt2) { $prov = $fmt2->attributes()['name']; if (preg_match('/^php-composer\((.*)\)$/', $prov, $reg)) { - $composer = $reg[1]; + if (!in_array($reg[1], $excl)) { + $composer = $reg[1]; + } } } } |