php-reports icon indicating copy to clipboard operation
php-reports copied to clipboard

PHP same-name constructor deprecation

Open roycewilliams opened this issue 4 years ago • 0 comments

PHP 7.4 deprecates as follows:

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

... for at least the following (there may be others), all of which have constructors that are, as expected, the same name as their class:

ADODB_Cache_File has a deprecated constructor in php-reports/vendor/adodb/adodb-php/adodb.inc.php on line 278 ADORecordSet has a deprecated constructor in php-reports/vendor/adodb/adodb-php/adodb.inc.php on line 3111 ADORecordSet_array has a deprecated constructor in php-reports/vendor/adodb/adodb-php/adodb.inc.php on line 4177

roycewilliams avatar Sep 29 '21 04:09 roycewilliams