[aur-dev] [PATCH] Rename constructors to __construct

Marcel Korpel marcel.korpel at gmail.com
Sun Jan 17 23:07:00 UTC 2016

* Marcel Korpel <marcel.korpel at gmail.com> (Sun, 17 Jan 2016 23:14:58
> In PHP 7, constructor methods that have the same name as the class
> they are defined in are deprecated. Use __construct instead.
> http://php.net/manual/en/migration70.deprecated.php

As to the why: I got deprecated warnings, which I couldn't turn off
(not using ~E_DEPRECATED). I hope this is the correct (new) syntax and
not something else, as I'm not at all fluent in PHP-OO.

And sorry, forgot to sign-off.


More information about the aur-dev mailing list