Your message dated Mon, 12 Sep 2016 01:03:44 +0000
with message-id <[email protected]>
and subject line Bug#830699: fixed in php-gettext 1.0.11-4
has caused the Debian Bug report #830699,
regarding Deprecated constructor warnings with PHP 7
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
830699: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830699
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: php-gettext
Version: 1.0.11-3
Severity: important

Dear Maintainer,

When using php-gettext with php7 I get deprecated warnings such as these:

Deprecated: Methods with the same name as their class will not be constructors 
in a future version of PHP; StringReader has a deprecated constructor in 
/usr/share/php/php-gettext/streams.php on line 48

Deprecated: Methods with the same name as their class will not be constructors 
in a future version of PHP; FileReader has a deprecated constructor in 
/usr/share/php/php-gettext/streams.php on line 84

Deprecated: Methods with the same name as their class will not be constructors 
in a future version of PHP; CachedFileReader has a deprecated constructor in 
/usr/share/php/php-gettext/streams.php on line 145

Deprecated: Methods with the same name as their class will not be constructors 
in a future version of PHP; gettext_reader has a deprecated constructor in 
/usr/share/php/php-gettext/gettext.php on line 36

I believe these can be fixed by changing the constructors from:

class CachedFileReader extends StringReader {
  function CachedFileReader($filename) {

to

class CachedFileReader extends StringReader {
 function __construct ($filename) {

This bug has previously been reported in Ubuntu some time back:
https://bugs.launchpad.net/php-gettext/+bug/1522900

/Pehr Söderman


-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 
'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-22-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages php-gettext depends on:
ii  php-php-gettext  1.0.11-3

php-gettext recommends no packages.

php-gettext suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: php-gettext
Source-Version: 1.0.11-4

We believe that the bug you reported is fixed in the latest version of
php-gettext, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marcelo Jorge Vieira <[email protected]> (supplier of updated php-gettext 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 10 Sep 2016 20:27:12 -0300
Source: php-gettext
Binary: php-php-gettext php-gettext
Architecture: source all
Version: 1.0.11-4
Distribution: unstable
Urgency: high
Maintainer: Debian PHP PEAR Maintainers <[email protected]>
Changed-By: Marcelo Jorge Vieira <[email protected]>
Description:
 php-gettext - transitional dummy package for php-php-gettext
 php-php-gettext - read gettext MO files directly, without requiring anything 
other
Closes: 830699 830702 836815
Changes:
 php-gettext (1.0.11-4) unstable; urgency=high
 .
   * php-php-gettext (after rename) doesn't ship the actual code
     (Closes: #836815)
   * Depend on php-mbstring (LP: #1600612) (Closes: #830702)
     Thanks Richard Laager <[email protected]>
   * Fix deprecated constructors to avoid warnings (Closes: #830699)
     (LP: #1522900); Thanks Richard Laager <[email protected]>
   * Remove debian/README.source (3.0 (quilt) source package)
Checksums-Sha1:
 26d7ecd4e7851fef094a3cbde3bce2667bcfab66 1999 php-gettext_1.0.11-4.dsc
 6f29ccd808b63e8e14b323372b2c44393e9da0ea 4056 
php-gettext_1.0.11-4.debian.tar.xz
 b2a1f337c890c98ca93a37a8995c81b4a182635a 3330 php-gettext_1.0.11-4_all.deb
 4cbab3a2b7713435901c7475d65bfbe4cc2617eb 16066 php-php-gettext_1.0.11-4_all.deb
Checksums-Sha256:
 945a1cf134b7b338c8ef08b3527282005d72f3916baadeef8ddeef73fe528d36 1999 
php-gettext_1.0.11-4.dsc
 13954c78a9d6ac0fbd3968d8e2ff44e27091c4040bd2be54109b3bbcc1238d70 4056 
php-gettext_1.0.11-4.debian.tar.xz
 d50f448bb9c62ca9451878f7607e5b1d17e1ca514914a67d3cb76c499377bc4d 3330 
php-gettext_1.0.11-4_all.deb
 4932b211ecd599a290a8b51786857ca815a7fe5835dbb548bdcb5c9007511073 16066 
php-php-gettext_1.0.11-4_all.deb
Files:
 446d05e53f2fa6109ca38191a3fa3fee 1999 php optional php-gettext_1.0.11-4.dsc
 b282422bacf55fc1eb67a3b877bdf7ed 4056 php optional 
php-gettext_1.0.11-4.debian.tar.xz
 4935d0feffe1a4c641053f3a04fbf39d 3330 oldlibs extra 
php-gettext_1.0.11-4_all.deb
 b7a04c6bfc85b1ca32de3f32a0742407 16066 php optional 
php-php-gettext_1.0.11-4_all.deb

-----BEGIN PGP SIGNATURE-----

iQIuBAEBCAAYBQJX1fxGERxtZXRhbEBkZWJpYW4ub3JnAAoJEFuSTuMQBVzT3mIP
/i0GE+eg9mcE61F/ymqFQbFtgrGIhqWL+sg5yYLa3f6q1mlOuaQG4e8zkV35LXeo
seYElLWlhWfYOWqOBAhAaivkTW0knkI7ePTAPmkcauFH8LIV4vRlwAxWLkMOBGOg
iSbOPJplcU7LbIV1DCJJzEZKkrd8MihigIKzFUT0l+kFia0PlAm2PB1tWh426jQS
h/KeAVdNPm2h79t0lovN7wkLNipE7ByWXxeDCANKnS6tTunxx1NQl9s2Xj6+uYj7
nRQzvoJuwEAWkebBAM0ye1G3G48pVhZGRXmjsHN3rtHolSNkvD8RKmShe5yYvISE
pdWhGCGg4wCCdH8tdtPi1TeS7Hh/R8YS4sSl94EugyaCBF78sQH4+Q8nPcl4R3+g
36a0DcmDAC2J+cRKbuPyyZqMPydoXgDzFVSLzzTMrNC3h+GtojrX5fVpigOJ5vwm
OUVz1KMSrEBkNK4m+mEmretD1LxwZG0l9a+/RAtYLveXW7T6WmhuHpmSiEHeZGzG
A/pNMTp+Ree++TqQgIuoVhx4q+PBEUbczwOzoWE+2jyhcc6BEE2mq5C2hiZlXelO
N0jJx7XV3GwwDoO+wA72U7W8QjYF8P2Fb+GN/x+Gcw4Z16jGAHUTLwkJC+1HiHvD
oI8dpOFSQsJ0uIIkJeg1btRmEvjtnRgbDVpD+mjjQHea
=iDaO
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to