[Bug 1522900] Re: PHP 7, Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP;

Bug Watch Updater 1522900 at bugs.launchpad.net
Mon Sep 12 10:04:55 UTC 2016


** Changed in: php-gettext (Debian)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1522900

Title:
  PHP 7, Deprecated: Methods with the same name as their class will not
  be constructors in a future version of PHP;

Status in php-gettext:
  Confirmed
Status in php-gettext package in Debian:
  Fix Released

Bug description:
  Hi,
  PHP 7 gives these warnings:
  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 .../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 .../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 .../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 .../gettext.php on line 36

  I cannot fix it with cahnges of: error_reporting = , only with setting: display_errors= Off in php.ini file on Mac OS El Capitan.
  But it is not too good to have errors reporting disabled on developing machine.

  With best regards,
  Oleksiy

To manage notifications about this bug go to:
https://bugs.launchpad.net/php-gettext/+bug/1522900/+subscriptions



More information about the Ubuntu-sponsors mailing list