summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--checkpkgist.json3
-rwxr-xr-xcheckpkgist.php2
2 files changed, 3 insertions, 2 deletions
diff --git a/checkpkgist.json b/checkpkgist.json
index 555bfeb..a04adbf 100644
--- a/checkpkgist.json
+++ b/checkpkgist.json
@@ -70,6 +70,7 @@
"php-sebastian-lines-of-code3": "sebastian\/lines-of-code",
"php-sebastian-code-unit-reverse-lookup4": "sebastian\/code-unit-reverse-lookup",
"php-phpunit-php-code-coverage11": "phpunit\/php-code-coverage",
+ "php-staabm-side-effects-detector": "staabm\/side-effects-detector",
"phpunit11": "phpunit\/phpunit",
"phinx": "robmorgan\/phinx"
-} \ No newline at end of file
+}
diff --git a/checkpkgist.php b/checkpkgist.php
index d566ba3..473bf86 100755
--- a/checkpkgist.php
+++ b/checkpkgist.php
@@ -156,7 +156,7 @@ function run($name, $rpm) {
}
$cpt = 0;
foreach($rpminfo['Providename'] as $i => $n) {
- if (preg_match('/php-composer\((.*)\)/', $n, $res)) {
+ if (preg_match('/^php-composer\((.*)\)/', $n, $res)) {
$name = $res[1];
} else {
unset($rpminfo['Providename'][$i]);