[pkg-php-pear] Bug#839808: phpmd: Missing php-xml dependency

Rodolphe Pelloux-Prayer rodolphe at damsy.net
Wed Oct 5 09:46:25 UTC 2016


Package: phpmd
Version: 2.4.3-1
Severity: normal

Dear Maintainer,

On a fresh install:
PHP Fatal error:  Uncaught Error: Call to undefined function
PHPMD\simplexml_load_string() in /usr/share/php/PHPMD/RuleSetFactory.php:551
Stack trace:
#0 /usr/share/php/PHPMD/PHPMD.php(208):
PHPMD\RuleSetFactory->getIgnorePattern('cleancode')
#1 /usr/share/php/PHPMD/TextUI/Command.php(127):
PHPMD\PHPMD->processFiles('src/Slimpay/Hap...', 'cleancode', Array,
Object(PHPMD\RuleSetFactory))
#2 /usr/share/php/PHPMD/TextUI/Command.php(170):
PHPMD\TextUI\Command->run(Object(PHPMD\TextUI\CommandLineOptions),
Object(PHPMD\RuleSetFactory))
#3 /usr/bin/phpmd(122): PHPMD\TextUI\Command::main(Array)
#4 {main}
  thrown in /usr/share/php/PHPMD/RuleSetFactory.php on line 551

Please add php-xml to Depends.

Regards,
Rodolphe

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages phpmd depends on:
ii  pdepend               2.2.4-1
ii  php-cli               1:7.0+45
ii  php-common            1:45
ii  php7.0-cli [php-cli]  7.0.11-1

phpmd recommends no packages.

phpmd suggests no packages.

-- no debconf information



More information about the pkg-php-pear mailing list