Open matejdr opened 7 months ago
Hi, just got an error Use of "parent" in callables is deprecated today. Then I check the latest code in master and the problem was fixed several months ago👍 But the change does not reflect in the latest release, any reason for that?
Use of "parent" in callables is deprecated
https://github.com/phpspec/prophecy/blob/master/src/Prophecy/Doubler/ClassPatch/DisableConstructorPatch.php vs https://github.com/phpspec/prophecy/blob/v1.19.0/src/Prophecy/Doubler/ClassPatch/DisableConstructorPatch.php
$constructor->setCode(<<<PHP if (0 < func_num_args()) { call_user_func_array(array(parent::class, '__construct'), func_get_args()); } PHP );
vs
$constructor->setCode(<<<PHP if (0 < func_num_args()) { call_user_func_array(array('parent', '__construct'), func_get_args()); } PHP );
Hi, just got an error
Use of "parent" in callables is deprecated
today. Then I check the latest code in master and the problem was fixed several months ago👍 But the change does not reflect in the latest release, any reason for that?https://github.com/phpspec/prophecy/blob/master/src/Prophecy/Doubler/ClassPatch/DisableConstructorPatch.php vs https://github.com/phpspec/prophecy/blob/v1.19.0/src/Prophecy/Doubler/ClassPatch/DisableConstructorPatch.php
vs