CMS MADE SIMPLE FORGE

Akismet

 

[#11523] Methods with the same name as their class will not be constructors in a future version of PHP

avatar
Created By: Gregor de Graaf (gregor)
Date Submitted: Tue Aug 01 14:11:00 -0400 2017

Assigned To:
Version: 0.2.1
CMSMS Version: 2.2.2
Severity: Major
Resolution: None
State: Open
Summary:
Methods with the same name as their class will not be constructors in a future version of PHP
Detailed Description:
Running PHP version 7.0 and CMSMS 2.2.2 with Akismet 0.2.1 (other version are
not shown for download) gives the following message in the error_log:
"[01-Aug-2017 18:36:13 Europe/Amsterdam] PHP Deprecated:  Methods with the same
name as their class will not be constructors in a future version of PHP;
AkismetCheck has a deprecated constructor in
/home/xxxxxxx/public_html/xxxxxxxxxxxx/www/modules/AkismetCheck/AkismetCheck.module.php
on line 21"

Cause: PHP 7 deprecates PHP 4-style constructors.


History