backdrop-contrib / backup_migrate

Port of the Drupal backup_migrate module to Backdrop
GNU General Public License v2.0
7 stars 14 forks source link

Deprecated function: Methods with the same name as their class #24

Closed Graham-72 closed 7 years ago

Graham-72 commented 7 years ago

I am getting a couple of warnings with PHP 7 Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; mime_mail has a deprecated constructor in include_once() (line 107 of ..../httpdocs/backdrop/modules/backup_migrate/includes/crud.inc). Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; backup_file has a deprecated constructor in require_once() (line 496 of .../httpdocs/backdrop/modules/backup_migrate/backup_migrate.module).

quackers8me commented 7 years ago

Issue has been filed and fixed in Drupal module dev version. https://www.drupal.org/node/2623598 Will patch and test with Backdrop version

Graham-72 commented 7 years ago

Your fix is working with PHP7 here. Thanks.

quackers8me commented 7 years ago

Fixed in release 1.0.10