Closed driehle closed 1 year ago
Have you tried SetList::UP_TO_PHP_80
? In case some pieces of code don't even use 7.4 syntax?
Have you tried
SetList::UP_TO_PHP_80
? In case some pieces of code don't even use 7.4 syntax?
Good catch, I now used LevelSetList::UP_TO_PHP_80
instead of SetList::PHP_80
. One change dropped array_merge()
, another one introduced is_iterable()
. Plus several changes in the test files.
This PR drops support for PHP 7.4.
Besides, I used Rector with
SetList::PHP_80
to modernize the code. Besides minor changes, there are two things worth mentioning:mixed
type has been introducted in several places. According to this sample https://3v4l.org/phPOP this is not a BC break, as extending classes do not need to explicitly specifymixed
.