Zend PHP 5 on Trusty or Jessie have annoying notice emitted whenever the CLI is started:
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/20-xhprof.ini on line 2 in Unknown on line 0
The most annoying ones being for PHP CodeSniffer which would highlight the notice in red whenever another error occur which is quite misleading:
15:43:33 Script phpcs -p -s handling the test event returned with an error 15:43:33 15:43:33 15:43:33 [RuntimeException] 15:43:33 Error Output: PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/20-xhprof.ini on line 2 in Unknown on line 0
The MediaWiki documentation invokes on every single file a filter that shells out to PHP CLI and causes the notice to be emitted. The behavior can be seen on https://integration.wikimedia.org/ci/job/mediawiki-core-doxygen-publish/lastBuild/consoleFull
The reason is the Debian package xhprof 0.9.4-1 which installs an ini file with a deprecated comment. That is fixed in the 0.9.4-2 version of the package, unfortunately the fix hasn't been pushed to Trusty update nor did it land in Jessie.
Jessie stable changelog: http://metadata.ftp-master.debian.org/changelogs/main/x/xhprof/xhprof_0.9.4-1_changelog
Unstable changelog (a single new entry): http://metadata.ftp-master.debian.org/changelogs/main/x/xhprof/unstable_changelog
I think we can survive the notice on Trusty, but I would like it to disappear from Jessie. Can we rebuild the xhprof package from unstable and push on apt.wikimedia.org for Jessie ? Thank you !