Back to Php Cs Fixer

Rule set ``@PHP7x3Migration``

doc/ruleSets/PHP7x3Migration.rst

3.95.1701 B
Original Source

============================= Rule set @PHP7x3Migration

Rules to improve code for PHP 7.3 compatibility.

Rules

  • @PHP7x1Migration <./PHP7x1Migration.rst>_

  • heredoc_indentation <./../rules/whitespace/heredoc_indentation.rst>_

  • method_argument_space <./../rules/function_notation/method_argument_space.rst>_ with config:

    ['after_heredoc' => true]

  • no_whitespace_before_comma_in_array <./../rules/array_notation/no_whitespace_before_comma_in_array.rst>_ with config:

    ['after_heredoc' => true]

  • trailing_comma_in_multiline <./../rules/control_structure/trailing_comma_in_multiline.rst>_ with config:

    ['after_heredoc' => true]