Skip to content

Commit

Permalink
docs: Show class with unit tests and BC promise info (#7667)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Jan 3, 2024
1 parent 588c764 commit 70110ce
Show file tree
Hide file tree
Showing 277 changed files with 1,666 additions and 831 deletions.
9 changes: 6 additions & 3 deletions doc/rules/alias/array_push.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ The rule is part of the following rule sets:
- `@PhpCsFixer:risky <./../../ruleSets/PhpCsFixerRisky.rst>`_
- `@Symfony:risky <./../../ruleSets/SymfonyRisky.rst>`_

Source class
------------
References
----------

`PhpCsFixer\\Fixer\\Alias\\ArrayPushFixer <./../../../src/Fixer/Alias/ArrayPushFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\Alias\\ArrayPushFixer <./../../../src/Fixer/Alias/ArrayPushFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\Alias\\ArrayPushFixerTest <./../../../tests/Fixer/Alias/ArrayPushFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/alias/backtick_to_shell_exec.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------
References
----------

`PhpCsFixer\\Fixer\\Alias\\BacktickToShellExecFixer <./../../../src/Fixer/Alias/BacktickToShellExecFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\Alias\\BacktickToShellExecFixer <./../../../src/Fixer/Alias/BacktickToShellExecFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\Alias\\BacktickToShellExecFixerTest <./../../../tests/Fixer/Alias/BacktickToShellExecFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/alias/ereg_to_preg.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ The rule is part of the following rule sets:
- `@PhpCsFixer:risky <./../../ruleSets/PhpCsFixerRisky.rst>`_
- `@Symfony:risky <./../../ruleSets/SymfonyRisky.rst>`_

Source class
------------
References
----------

`PhpCsFixer\\Fixer\\Alias\\EregToPregFixer <./../../../src/Fixer/Alias/EregToPregFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\Alias\\EregToPregFixer <./../../../src/Fixer/Alias/EregToPregFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\Alias\\EregToPregFixerTest <./../../../tests/Fixer/Alias/EregToPregFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/alias/mb_str_functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ Example #1
+$a = mb_stristr($a, $b);
+$a = mb_strrchr($a, $b);
+$a = mb_substr_count($a, $b);
Source class
------------
References
----------

`PhpCsFixer\\Fixer\\Alias\\MbStrFunctionsFixer <./../../../src/Fixer/Alias/MbStrFunctionsFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\Alias\\MbStrFunctionsFixer <./../../../src/Fixer/Alias/MbStrFunctionsFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\Alias\\MbStrFunctionsFixerTest <./../../../tests/Fixer/Alias/MbStrFunctionsFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/alias/modernize_strpos.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ The rule is part of the following rule sets:
- `@PHP80Migration:risky <./../../ruleSets/PHP80MigrationRisky.rst>`_
- `@Symfony:risky <./../../ruleSets/SymfonyRisky.rst>`_

Source class
------------
References
----------

`PhpCsFixer\\Fixer\\Alias\\ModernizeStrposFixer <./../../../src/Fixer/Alias/ModernizeStrposFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\Alias\\ModernizeStrposFixer <./../../../src/Fixer/Alias/ModernizeStrposFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\Alias\\ModernizeStrposFixerTest <./../../../tests/Fixer/Alias/ModernizeStrposFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/alias/no_alias_functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,10 @@ The rule is part of the following rule sets:

- `@Symfony:risky <./../../ruleSets/SymfonyRisky.rst>`_

Source class
------------
References
----------

`PhpCsFixer\\Fixer\\Alias\\NoAliasFunctionsFixer <./../../../src/Fixer/Alias/NoAliasFunctionsFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\Alias\\NoAliasFunctionsFixer <./../../../src/Fixer/Alias/NoAliasFunctionsFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\Alias\\NoAliasFunctionsFixerTest <./../../../tests/Fixer/Alias/NoAliasFunctionsFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/alias/no_alias_language_construct_call.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------
References
----------

`PhpCsFixer\\Fixer\\Alias\\NoAliasLanguageConstructCallFixer <./../../../src/Fixer/Alias/NoAliasLanguageConstructCallFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\Alias\\NoAliasLanguageConstructCallFixer <./../../../src/Fixer/Alias/NoAliasLanguageConstructCallFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\Alias\\NoAliasLanguageConstructCallFixerTest <./../../../tests/Fixer/Alias/NoAliasLanguageConstructCallFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/alias/no_mixed_echo_print.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------
References
----------

`PhpCsFixer\\Fixer\\Alias\\NoMixedEchoPrintFixer <./../../../src/Fixer/Alias/NoMixedEchoPrintFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\Alias\\NoMixedEchoPrintFixer <./../../../src/Fixer/Alias/NoMixedEchoPrintFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\Alias\\NoMixedEchoPrintFixerTest <./../../../tests/Fixer/Alias/NoMixedEchoPrintFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/alias/pow_to_exponentiation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ The rule is part of the following rule sets:
- `@PhpCsFixer:risky <./../../ruleSets/PhpCsFixerRisky.rst>`_
- `@Symfony:risky <./../../ruleSets/SymfonyRisky.rst>`_

Source class
------------
References
----------

`PhpCsFixer\\Fixer\\Alias\\PowToExponentiationFixer <./../../../src/Fixer/Alias/PowToExponentiationFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\Alias\\PowToExponentiationFixer <./../../../src/Fixer/Alias/PowToExponentiationFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\Alias\\PowToExponentiationFixerTest <./../../../tests/Fixer/Alias/PowToExponentiationFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/alias/random_api_migration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ The rule is part of the following rule sets:
``['replacements' => ['mt_rand' => 'random_int', 'rand' => 'random_int']]``


Source class
------------
References
----------

`PhpCsFixer\\Fixer\\Alias\\RandomApiMigrationFixer <./../../../src/Fixer/Alias/RandomApiMigrationFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\Alias\\RandomApiMigrationFixer <./../../../src/Fixer/Alias/RandomApiMigrationFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\Alias\\RandomApiMigrationFixerTest <./../../../tests/Fixer/Alias/RandomApiMigrationFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/alias/set_type_to_cast.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ The rule is part of the following rule sets:
- `@PhpCsFixer:risky <./../../ruleSets/PhpCsFixerRisky.rst>`_
- `@Symfony:risky <./../../ruleSets/SymfonyRisky.rst>`_

Source class
------------
References
----------

`PhpCsFixer\\Fixer\\Alias\\SetTypeToCastFixer <./../../../src/Fixer/Alias/SetTypeToCastFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\Alias\\SetTypeToCastFixer <./../../../src/Fixer/Alias/SetTypeToCastFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\Alias\\SetTypeToCastFixerTest <./../../../tests/Fixer/Alias/SetTypeToCastFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/array_notation/array_syntax.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------
References
----------

`PhpCsFixer\\Fixer\\ArrayNotation\\ArraySyntaxFixer <./../../../src/Fixer/ArrayNotation/ArraySyntaxFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\ArrayNotation\\ArraySyntaxFixer <./../../../src/Fixer/ArrayNotation/ArraySyntaxFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\ArrayNotation\\ArraySyntaxFixerTest <./../../../tests/Fixer/ArrayNotation/ArraySyntaxFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------
References
----------

`PhpCsFixer\\Fixer\\ArrayNotation\\NoMultilineWhitespaceAroundDoubleArrowFixer <./../../../src/Fixer/ArrayNotation/NoMultilineWhitespaceAroundDoubleArrowFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\ArrayNotation\\NoMultilineWhitespaceAroundDoubleArrowFixer <./../../../src/Fixer/ArrayNotation/NoMultilineWhitespaceAroundDoubleArrowFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\ArrayNotation\\NoMultilineWhitespaceAroundDoubleArrowFixerTest <./../../../tests/Fixer/ArrayNotation/NoMultilineWhitespaceAroundDoubleArrowFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ Example #1
<?php
-$a = array('sample', );
+$a = array('sample');
Source class
------------
References
----------

`PhpCsFixer\\Fixer\\ArrayNotation\\NoTrailingCommaInSinglelineArrayFixer <./../../../src/Fixer/ArrayNotation/NoTrailingCommaInSinglelineArrayFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\ArrayNotation\\NoTrailingCommaInSinglelineArrayFixer <./../../../src/Fixer/ArrayNotation/NoTrailingCommaInSinglelineArrayFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\ArrayNotation\\NoTrailingCommaInSinglelineArrayFixerTest <./../../../tests/Fixer/ArrayNotation/NoTrailingCommaInSinglelineArrayFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------
References
----------

`PhpCsFixer\\Fixer\\ArrayNotation\\NoWhitespaceBeforeCommaInArrayFixer <./../../../src/Fixer/ArrayNotation/NoWhitespaceBeforeCommaInArrayFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\ArrayNotation\\NoWhitespaceBeforeCommaInArrayFixer <./../../../src/Fixer/ArrayNotation/NoWhitespaceBeforeCommaInArrayFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\ArrayNotation\\NoWhitespaceBeforeCommaInArrayFixerTest <./../../../tests/Fixer/ArrayNotation/NoWhitespaceBeforeCommaInArrayFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/array_notation/normalize_index_brace.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------
References
----------

`PhpCsFixer\\Fixer\\ArrayNotation\\NormalizeIndexBraceFixer <./../../../src/Fixer/ArrayNotation/NormalizeIndexBraceFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\ArrayNotation\\NormalizeIndexBraceFixer <./../../../src/Fixer/ArrayNotation/NormalizeIndexBraceFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\ArrayNotation\\NormalizeIndexBraceFixerTest <./../../../tests/Fixer/ArrayNotation/NormalizeIndexBraceFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/array_notation/return_to_yield_from.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ Example #1
- return [1, 2, 3];
+ yield from [1, 2, 3];
}
Source class
------------
References
----------

`PhpCsFixer\\Fixer\\ArrayNotation\\ReturnToYieldFromFixer <./../../../src/Fixer/ArrayNotation/ReturnToYieldFromFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\ArrayNotation\\ReturnToYieldFromFixer <./../../../src/Fixer/ArrayNotation/ReturnToYieldFromFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\ArrayNotation\\ReturnToYieldFromFixerTest <./../../../tests/Fixer/ArrayNotation/ReturnToYieldFromFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/array_notation/trim_array_spaces.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------
References
----------

`PhpCsFixer\\Fixer\\ArrayNotation\\TrimArraySpacesFixer <./../../../src/Fixer/ArrayNotation/TrimArraySpacesFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\ArrayNotation\\TrimArraySpacesFixer <./../../../src/Fixer/ArrayNotation/TrimArraySpacesFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\ArrayNotation\\TrimArraySpacesFixerTest <./../../../tests/Fixer/ArrayNotation/TrimArraySpacesFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/array_notation/whitespace_after_comma_in_array.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ The rule is part of the following rule sets:

- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------
References
----------

`PhpCsFixer\\Fixer\\ArrayNotation\\WhitespaceAfterCommaInArrayFixer <./../../../src/Fixer/ArrayNotation/WhitespaceAfterCommaInArrayFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\ArrayNotation\\WhitespaceAfterCommaInArrayFixer <./../../../src/Fixer/ArrayNotation/WhitespaceAfterCommaInArrayFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\ArrayNotation\\WhitespaceAfterCommaInArrayFixerTest <./../../../tests/Fixer/ArrayNotation/WhitespaceAfterCommaInArrayFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/array_notation/yield_from_array_to_yields.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ The rule is part of the following rule set:

- `@PhpCsFixer:risky <./../../ruleSets/PhpCsFixerRisky.rst>`_

Source class
------------
References
----------

`PhpCsFixer\\Fixer\\ArrayNotation\\YieldFromArrayToYieldsFixer <./../../../src/Fixer/ArrayNotation/YieldFromArrayToYieldsFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\ArrayNotation\\YieldFromArrayToYieldsFixer <./../../../src/Fixer/ArrayNotation/YieldFromArrayToYieldsFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\ArrayNotation\\YieldFromArrayToYieldsFixerTest <./../../../tests/Fixer/ArrayNotation/YieldFromArrayToYieldsFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/attribute_notation/attribute_empty_parentheses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ With configuration: ``['use_parentheses' => true]``.
-#[Bar, Baz]
+#[Bar(), Baz()]
class Sample2 {}
Source class
------------
References
----------

`PhpCsFixer\\Fixer\\AttributeNotation\\AttributeEmptyParenthesesFixer <./../../../src/Fixer/AttributeNotation/AttributeEmptyParenthesesFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\AttributeNotation\\AttributeEmptyParenthesesFixer <./../../../src/Fixer/AttributeNotation/AttributeEmptyParenthesesFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\AttributeNotation\\AttributeEmptyParenthesesFixerTest <./../../../tests/Fixer/AttributeNotation/AttributeEmptyParenthesesFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/basic/braces.rst
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,10 @@ With configuration: ``['position_after_functions_and_oop_constructs' => 'same']`
+ }
}
}
Source class
------------
References
----------

`PhpCsFixer\\Fixer\\Basic\\BracesFixer <./../../../src/Fixer/Basic/BracesFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\Basic\\BracesFixer <./../../../src/Fixer/Basic/BracesFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\Basic\\BracesFixerTest <./../../../tests/Fixer/Basic/BracesFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/basic/braces_position.rst
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,10 @@ The rule is part of the following rule sets:
``['allow_single_line_anonymous_functions' => true, 'allow_single_line_empty_anonymous_classes' => true]``


Source class
------------
References
----------

`PhpCsFixer\\Fixer\\Basic\\BracesPositionFixer <./../../../src/Fixer/Basic/BracesPositionFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\Basic\\BracesPositionFixer <./../../../src/Fixer/Basic/BracesPositionFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\Basic\\BracesPositionFixerTest <./../../../tests/Fixer/Basic/BracesPositionFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/basic/curly_braces_position.rst
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,10 @@ With configuration: ``['allow_single_line_anonymous_functions' => true]``.
+$result = true;
+ return $result;
+};
Source class
------------
References
----------

`PhpCsFixer\\Fixer\\Basic\\CurlyBracesPositionFixer <./../../../src/Fixer/Basic/CurlyBracesPositionFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\Basic\\CurlyBracesPositionFixer <./../../../src/Fixer/Basic/CurlyBracesPositionFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\Basic\\CurlyBracesPositionFixerTest <./../../../tests/Fixer/Basic/CurlyBracesPositionFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/basic/encoding.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------
References
----------

`PhpCsFixer\\Fixer\\Basic\\EncodingFixer <./../../../src/Fixer/Basic/EncodingFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\Basic\\EncodingFixer <./../../../src/Fixer/Basic/EncodingFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\Basic\\EncodingFixerTest <./../../../tests/Fixer/Basic/EncodingFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/basic/no_multiple_statements_per_line.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------
References
----------

`PhpCsFixer\\Fixer\\Basic\\NoMultipleStatementsPerLineFixer <./../../../src/Fixer/Basic/NoMultipleStatementsPerLineFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\Basic\\NoMultipleStatementsPerLineFixer <./../../../src/Fixer/Basic/NoMultipleStatementsPerLineFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\Basic\\NoMultipleStatementsPerLineFixerTest <./../../../tests/Fixer/Basic/NoMultipleStatementsPerLineFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.
9 changes: 6 additions & 3 deletions doc/rules/basic/no_trailing_comma_in_singleline.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------
References
----------

`PhpCsFixer\\Fixer\\Basic\\NoTrailingCommaInSinglelineFixer <./../../../src/Fixer/Basic/NoTrailingCommaInSinglelineFixer.php>`_
- Fixer class: `PhpCsFixer\\Fixer\\Basic\\NoTrailingCommaInSinglelineFixer <./../../../src/Fixer/Basic/NoTrailingCommaInSinglelineFixer.php>`_
- Test class: `PhpCsFixer\\Tests\\Fixer\\Basic\\NoTrailingCommaInSinglelineFixerTest <./../../../tests/Fixer/Basic/NoTrailingCommaInSinglelineFixerTest.php>`_

The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.

0 comments on commit 70110ce

Please sign in to comment.