PHP70MigrationRisky.rst 660 B

1234567891011121314151617
  1. ==================================
  2. Rule set ``@PHP70Migration:risky``
  3. ==================================
  4. Rules to improve code for PHP 7.0 compatibility. This set contains rules that are risky.
  5. Rules
  6. -----
  7. - `@PHP56Migration:risky <./PHP56MigrationRisky.rst>`_
  8. - `combine_nested_dirname <./../rules/function_notation/combine_nested_dirname.rst>`_
  9. - `declare_strict_types <./../rules/strict/declare_strict_types.rst>`_
  10. - `non_printable_character <./../rules/basic/non_printable_character.rst>`_
  11. - `random_api_migration <./../rules/alias/random_api_migration.rst>`_ with config:
  12. ``['replacements' => ['mt_rand' => 'random_int', 'rand' => 'random_int']]``