Skip to content

Commit

Permalink
feat: Clone PER-CS1.0 to PER-CS2.0 to prepare for adding new rules (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Crell authored Sep 8, 2023
1 parent d0c9a72 commit 0cacea0
Show file tree
Hide file tree
Showing 64 changed files with 394 additions and 50 deletions.
100 changes: 50 additions & 50 deletions doc/list.rst

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions doc/ruleSets/PER-CS2.0.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
=======================
Rule set ``@PER-CS2.0``
=======================

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

Rules
-----

- `@PER-CS1.0 <./PER-CS1.0.rst>`_
10 changes: 10 additions & 0 deletions doc/ruleSets/PER-CS2.0Risky.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
=============================
Rule set ``@PER-CS2.0:risky``
=============================

Rules that follow `PER Coding Style 2.0 <https://www.php-fig.org/per/coding-style/>`_. This set contains rules that are risky.

Rules
-----

- `@PER-CS1.0:risky <./PER-CS1.0Risky.rst>`_
2 changes: 2 additions & 0 deletions doc/ruleSets/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ List of Available Rule sets
- `@PER <./PER.rst>`_
- `@PER-CS1.0 <./PER-CS1.0.rst>`_
- `@PER-CS1.0:risky <./PER-CS1.0Risky.rst>`_
- `@PER-CS2.0 <./PER-CS2.0.rst>`_
- `@PER-CS2.0:risky <./PER-CS2.0Risky.rst>`_
- `@PER:risky <./PERRisky.rst>`_
- `@PHP54Migration <./PHP54Migration.rst>`_
- `@PHP56Migration:risky <./PHP56MigrationRisky.rst>`_
Expand Down
4 changes: 4 additions & 0 deletions doc/rules/basic/curly_braces_position.rst
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,10 @@ The rule is part of the following rule sets:

``['allow_single_line_empty_anonymous_classes' => true]``

- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_ with config:

``['allow_single_line_empty_anonymous_classes' => true]``

- `@PSR2 <./../../ruleSets/PSR2.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_ with config:

Expand Down
1 change: 1 addition & 0 deletions doc/rules/basic/encoding.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR1 <./../../ruleSets/PSR1.rst>`_
- `@PSR2 <./../../ruleSets/PSR2.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/basic/no_multiple_statements_per_line.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR2 <./../../ruleSets/PSR2.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/casing/constant_case.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR2 <./../../ruleSets/PSR2.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/casing/lowercase_keywords.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR2 <./../../ruleSets/PSR2.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/casing/lowercase_static_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/cast_notation/lowercase_cast.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/cast_notation/short_scalar_cast.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PHP74Migration <./../../ruleSets/PHP74Migration.rst>`_
- `@PHP80Migration <./../../ruleSets/PHP80Migration.rst>`_
- `@PHP81Migration <./../../ruleSets/PHP81Migration.rst>`_
Expand Down
4 changes: 4 additions & 0 deletions doc/rules/class_notation/class_definition.rst
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ The rule is part of the following rule sets:

``['inline_constructor_arguments' => false, 'space_before_parenthesis' => true]``

- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_ with config:

``['inline_constructor_arguments' => false, 'space_before_parenthesis' => true]``

- `@PSR2 <./../../ruleSets/PSR2.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_ with config:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_
Expand Down
4 changes: 4 additions & 0 deletions doc/rules/class_notation/ordered_class_elements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@ The rule is part of the following rule sets:

``['order' => ['use_trait']]``

- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_ with config:

``['order' => ['use_trait']]``

- `@PSR12 <./../../ruleSets/PSR12.rst>`_ with config:

``['order' => ['use_trait']]``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ The rule is part of the following rule sets:

``['elements' => ['property']]``

- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_ with config:

``['elements' => ['property']]``

- `@PSR2 <./../../ruleSets/PSR2.rst>`_ with config:

``['elements' => ['property']]``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/class_notation/visibility_required.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PHP71Migration <./../../ruleSets/PHP71Migration.rst>`_
- `@PHP73Migration <./../../ruleSets/PHP73Migration.rst>`_
- `@PHP74Migration <./../../ruleSets/PHP74Migration.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/comment/no_trailing_whitespace_in_comment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR2 <./../../ruleSets/PSR2.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/control_structure/control_structure_braces.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR2 <./../../ruleSets/PSR2.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR2 <./../../ruleSets/PSR2.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/control_structure/elseif.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR2 <./../../ruleSets/PSR2.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/control_structure/no_break_comment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR2 <./../../ruleSets/PSR2.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR2 <./../../ruleSets/PSR2.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/control_structure/switch_case_space.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR2 <./../../ruleSets/PSR2.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/function_notation/function_declaration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR2 <./../../ruleSets/PSR2.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
Expand Down
4 changes: 4 additions & 0 deletions doc/rules/function_notation/method_argument_space.rst
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,10 @@ The rule is part of the following rule sets:

``['on_multiline' => 'ensure_fully_multiline']``

- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_ with config:

``['on_multiline' => 'ensure_fully_multiline']``

- `@PHP73Migration <./../../ruleSets/PHP73Migration.rst>`_ with config:

``['after_heredoc' => true]``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR2 <./../../ruleSets/PSR2.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Rule sets
The rule is part of the following rule sets:

- `@PER-CS1.0:risky <./../../ruleSets/PER-CS1.0Risky.rst>`_
- `@PER-CS2.0:risky <./../../ruleSets/PER-CS2.0Risky.rst>`_
- `@PER:risky <./../../ruleSets/PERRisky.rst>`_
- `@PHP80Migration:risky <./../../ruleSets/PHP80MigrationRisky.rst>`_
- `@PSR12:risky <./../../ruleSets/PSR12Risky.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/function_notation/return_type_declaration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/import/no_leading_import_slash.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_
Expand Down
4 changes: 4 additions & 0 deletions doc/rules/import/ordered_imports.rst
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ The rule is part of the following rule sets:

``['imports_order' => ['class', 'function', 'const'], 'sort_algorithm' => 'none']``

- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_ with config:

``['imports_order' => ['class', 'function', 'const'], 'sort_algorithm' => 'none']``

- `@PSR12 <./../../ruleSets/PSR12.rst>`_ with config:

``['imports_order' => ['class', 'function', 'const'], 'sort_algorithm' => 'none']``
Expand Down
4 changes: 4 additions & 0 deletions doc/rules/import/single_import_per_statement.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ The rule is part of the following rule sets:

``['group_to_single_imports' => false]``

- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_ with config:

``['group_to_single_imports' => false]``

- `@PSR2 <./../../ruleSets/PSR2.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_ with config:

Expand Down
1 change: 1 addition & 0 deletions doc/rules/import/single_line_after_imports.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR2 <./../../ruleSets/PSR2.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/language_construct/declare_equal_normalize.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR2 <./../../ruleSets/PSR2.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_
Expand Down
4 changes: 4 additions & 0 deletions doc/rules/operator/binary_operator_spaces.rst
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,10 @@ The rule is part of the following rule sets:

``['default' => 'at_least_single_space']``

- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_ with config:

``['default' => 'at_least_single_space']``

- `@PSR12 <./../../ruleSets/PSR12.rst>`_ with config:

``['default' => 'at_least_single_space']``
Expand Down
1 change: 1 addition & 0 deletions doc/rules/operator/new_with_braces.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/operator/no_space_around_double_colon.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR2 <./../../ruleSets/PSR2.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/operator/ternary_operator_spaces.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/php_tag/blank_line_after_opening_tag.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/php_tag/full_opening_tag.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR1 <./../../ruleSets/PSR1.rst>`_
- `@PSR2 <./../../ruleSets/PSR2.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/php_tag/no_closing_tag.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR2 <./../../ruleSets/PSR2.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Rule sets
The rule is part of the following rule sets:

- `@PER-CS1.0:risky <./../../ruleSets/PER-CS1.0Risky.rst>`_
- `@PER-CS2.0:risky <./../../ruleSets/PER-CS2.0Risky.rst>`_
- `@PER:risky <./../../ruleSets/PERRisky.rst>`_
- `@PSR12:risky <./../../ruleSets/PSR12Risky.rst>`_
- `@PhpCsFixer:risky <./../../ruleSets/PhpCsFixerRisky.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/whitespace/blank_line_between_import_groups.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_
Expand Down
1 change: 1 addition & 0 deletions doc/rules/whitespace/compact_nullable_typehint.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ The rule is part of the following rule sets:

- `@PER <./../../ruleSets/PER.rst>`_
- `@PER-CS1.0 <./../../ruleSets/PER-CS1.0.rst>`_
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PSR12 <./../../ruleSets/PSR12.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_
Expand Down
Loading

0 comments on commit 0cacea0

Please sign in to comment.