Back to Php Cs Fixer

Rule set ``@PER-CS3.0``

doc/ruleSets/PER-CS3.0.rst

3.95.1900 B
Original Source

======================= Rule set @PER-CS3.0

Rules that follow PER Coding Style 3.0 <https://www.php-fig.org/per/coding-style/>_.

Warning

This rule set is DEPRECATED and will be removed in the next major version 4.0


You should use ``@PER-CS3x0`` instead.

Rules
-----

- `@PER-CS2x0 <./PER-CS2x0.rst>`_
- `nullable_type_declaration <./../rules/language_construct/nullable_type_declaration.rst>`_
- `operator_linebreak <./../rules/operator/operator_linebreak.rst>`_
- `ordered_types <./../rules/class_notation/ordered_types.rst>`_ with config:

  ``['null_adjustment' => 'always_last', 'sort_algorithm' => 'none']``

- `single_class_element_per_statement <./../rules/class_notation/single_class_element_per_statement.rst>`_
- `types_spaces <./../rules/whitespace/types_spaces.rst>`_