[pkg-php-pear] Bug#862359: php-codesniffer: Call to undefined method PHP_CodeSniffer_File::recordMetric()
Pierre Rudloff
contact at rudloff.pro
Thu May 11 18:09:30 UTC 2017
Package: php-codesniffer
Version: 1.5.5-1
Severity: normal
Hello,
When using the --standard=PSR2 option, I get the following error:
PHP Fatal error: Call to undefined method PHP_CodeSniffer_File::recordMetric()
in
/usr/share/php/PHP/CodeSniffer/Standards/PSR2/Sniffs/Files/ClosingTagSniff.php
on line 91
And indeed this function is not in /usr/share/php/PHP/CodeSniffer/File.php
Regards,
-- System Information:
Debian Release: 8.8
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages php-codesniffer depends on:
ii php5-cli 5.6.30+dfsg-0+deb8u1
ii php5-common 5.6.30+dfsg-0+deb8u1
Versions of packages php-codesniffer recommends:
ii php-timer 1.0.5-1
php-codesniffer suggests no packages.
-- no debconf information
More information about the pkg-php-pear
mailing list