Rule set @PHP70Migration:risky
¶
Rules to improve code for PHP 7.0 compatibility.
Warning¶
This set contains rules that are risky¶
Using this rule set may lead to changes in your code’s logic and behaviour. Use it with caution and review changes before incorporating them into your code base.
Rules¶
random_api_migration with config:
['replacements' => ['mt_rand' => 'random_int', 'rand' => 'random_int']]