PHP7 will deprecate PHP4 Style constructors https://wiki.php.net/rfc/remove_php4_constructors. We need to convert them.

Below is the warning I received:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; views_display has a deprecated constructor in /srv/www/public_html/sites/all/modules/views/includes/view.inc on line 2553

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; views_many_to_one_helper has a deprecated constructor in /srv/www/public_html/sites/all/modules/views/includes/handlers.inc on line 753

Comments

skyredwang created an issue. See original summary.

skyredwang’s picture

Assigned: skyredwang » Unassigned
Status: Active » Needs review
StatusFileSize
new744 bytes
dawehner’s picture

Status: Needs review » Fixed

If this is the only problem with using PHP 7, good luck :)

  • dawehner committed 8e0dab3 on 7.x-3.x authored by skyredwang
    Issue #2579819 by skyredwang: Deprecating PHP4 style constructors
    

Status: Fixed » Closed (fixed)

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