Bug#631280: libphp-jpgraph: uses deprecated PHP functions

2022-04-02 Thread Thorsten Glaser
Package: libphp-jpgraph
Version: 1.5.2-13.1
Followup-For: Bug #631280
Control: severity -1 serious

It’s not just that:

PHP Deprecated:  Methods with the same name as their class will not be 
constructors in a future version of PHP; LinePlot has a deprecated constructor 
in /usr/share/jpgraph/jpgraph_line.php on line 52

This is a warning in bullseye, but bookworm’s PHP 8 will error out there.


-- System Information:
Debian Release: 11.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: i386 (i686)
Foreign Architectures: amd64

Kernel: Linux 5.10.0-13-amd64 (SMP w/1 CPU thread)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages libphp-jpgraph depends on:
ii  fonts-arkpandora2.04-1.1
ii  fonts-liberation1:1.07.4-11
ii  libapache2-mod-php  2:7.4+76
ii  libapache2-mod-php7.4 [libapache2-mod-php]  7.4.28-1+deb11u1
ii  php-cgi 2:7.4+76
ii  php-gd  2:7.4+76
ii  php7.4-cgi [php-cgi]7.4.28-1+deb11u1
ii  php7.4-gd [php-gd]  7.4.28-1+deb11u1

libphp-jpgraph recommends no packages.

libphp-jpgraph suggests no packages.

-- no debconf information


Bug#631280: libphp-jpgraph: uses deprecated PHP functions

2011-06-22 Thread Sebastian Harl
Package: libphp-jpgraph
Version: 1.5.2-12
Severity: important

Hi,

jpgraph uses functions that have been deprecated in recent PHP releases,
like split() (see [1]). Even worse, it sets 'ERR_DEPRECATED' to true in
jpgraph.php. This is fine for development environments but should not be
done in production environments (i.e., Debian packages).

TIA,
Sebastian

[1] http://php.net/manual/en/function.split.php

-- 
Sebastian tokkee Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin



signature.asc
Description: Digital signature