When RealexParser class is used, the next warning appears in Apache's log:

PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; RealexParser has a deprecated constructor in /home/project/www/sites/all/modules/contrib/commerce_realex/commerce_realex.module on line 268

In the next message I attach a patch to solve this.

Comments

empesan created an issue. See original summary.

empesan’s picture

This patch solves the problem commented in #1

spokje’s picture

Status: Needs review » Reviewed & tested by the community

RTBC for me.

  • stella committed e81868f on 7.x-1.x authored by empesan
    Issue #2981600 by empesan, Spokje: Deprecated constructor PHP7
    
stella’s picture

Status: Reviewed & tested by the community » Fixed

Fixed now, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.