diff options
author | Remi Collet <remi@remirepo.net> | 2018-02-12 16:26:10 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-02-12 16:26:10 +0100 |
commit | 562f5b47d0ec90af9cb6ffa70b1adf5540fea461 (patch) | |
tree | 09dcfcf8cee6cbaaec3068e42e239c7e204b50f5 /examples/librpm.php | |
parent | bdf446bca89cd818aa14f845d912fd619c78295f (diff) |
clean debug stuff
Diffstat (limited to 'examples/librpm.php')
-rw-r--r-- | examples/librpm.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/librpm.php b/examples/librpm.php index f1ea7e9..7d36f2d 100644 --- a/examples/librpm.php +++ b/examples/librpm.php @@ -22,7 +22,7 @@ abstract class Common { if (isset($signs[$flags[$i] & 15])) { $ret[] = $names[$i] . $signs[$flags[$i] & 15] . $vers[$i]; } else { - $ret[] = $names[$i] . '('. ($flags[$i] & 15) .')' . $vers[$i]; + $ret[] = $names[$i] . $vers[$i]; } } } @@ -130,6 +130,7 @@ class Package extends Common { /* $a = new File(dirname(__DIR__).'/tests/bidon.rpm'); -$a = new Package('php-cli'); -print_r($a->Files); +$a = new Package('phpunit7'); +print_r($a->Requires); */ + |