Skip to content

Commit

Permalink
docs: small unification between FixerDocumentGenerator and ListDocume…
Browse files Browse the repository at this point in the history
…ntGenerator (#7435)
  • Loading branch information
keradus authored Nov 14, 2023
1 parent 1b2cb20 commit c79e006
Show file tree
Hide file tree
Showing 278 changed files with 1,391 additions and 276 deletions.
550 changes: 275 additions & 275 deletions doc/list.rst

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions doc/rules/alias/array_push.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer:risky <./../../ruleSets/PhpCsFixerRisky.rst>`_
- `@Symfony:risky <./../../ruleSets/SymfonyRisky.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Alias\\ArrayPushFixer <./../src/Fixer/Alias/ArrayPushFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/alias/backtick_to_shell_exec.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Alias\\BacktickToShellExecFixer <./../src/Fixer/Alias/BacktickToShellExecFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/alias/ereg_to_preg.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer:risky <./../../ruleSets/PhpCsFixerRisky.rst>`_
- `@Symfony:risky <./../../ruleSets/SymfonyRisky.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Alias\\EregToPregFixer <./../src/Fixer/Alias/EregToPregFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/alias/mb_str_functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@ Example #1
+$a = mb_stristr($a, $b);
+$a = mb_strrchr($a, $b);
+$a = mb_substr_count($a, $b);
Source class
------------

`PhpCsFixer\\Fixer\\Alias\\MbStrFunctionsFixer <./../src/Fixer/Alias/MbStrFunctionsFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/alias/modernize_strpos.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@ The rule is part of the following rule sets:
- `@PHP80Migration:risky <./../../ruleSets/PHP80MigrationRisky.rst>`_
- `@Symfony:risky <./../../ruleSets/SymfonyRisky.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Alias\\ModernizeStrposFixer <./../src/Fixer/Alias/ModernizeStrposFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/alias/no_alias_functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,7 @@ The rule is part of the following rule sets:

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

Source class
------------

`PhpCsFixer\\Fixer\\Alias\\NoAliasFunctionsFixer <./../src/Fixer/Alias/NoAliasFunctionsFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/alias/no_alias_language_construct_call.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Alias\\NoAliasLanguageConstructCallFixer <./../src/Fixer/Alias/NoAliasLanguageConstructCallFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/alias/no_mixed_echo_print.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Alias\\NoMixedEchoPrintFixer <./../src/Fixer/Alias/NoMixedEchoPrintFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/alias/pow_to_exponentiation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer:risky <./../../ruleSets/PhpCsFixerRisky.rst>`_
- `@Symfony:risky <./../../ruleSets/SymfonyRisky.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Alias\\PowToExponentiationFixer <./../src/Fixer/Alias/PowToExponentiationFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/alias/random_api_migration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,7 @@ The rule is part of the following rule sets:
``['replacements' => ['mt_rand' => 'random_int', 'rand' => 'random_int']]``


Source class
------------

`PhpCsFixer\\Fixer\\Alias\\RandomApiMigrationFixer <./../src/Fixer/Alias/RandomApiMigrationFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/alias/set_type_to_cast.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer:risky <./../../ruleSets/PhpCsFixerRisky.rst>`_
- `@Symfony:risky <./../../ruleSets/SymfonyRisky.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Alias\\SetTypeToCastFixer <./../src/Fixer/Alias/SetTypeToCastFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/array_notation/array_syntax.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\ArrayNotation\\ArraySyntaxFixer <./../src/Fixer/ArrayNotation/ArraySyntaxFixer.php>`_
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\ArrayNotation\\NoMultilineWhitespaceAroundDoubleArrowFixer <./../src/Fixer/ArrayNotation/NoMultilineWhitespaceAroundDoubleArrowFixer.php>`_
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ Example #1
<?php
-$a = array('sample', );
+$a = array('sample');
Source class
------------

`PhpCsFixer\\Fixer\\ArrayNotation\\NoTrailingCommaInSinglelineArrayFixer <./../src/Fixer/ArrayNotation/NoTrailingCommaInSinglelineArrayFixer.php>`_
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\ArrayNotation\\NoWhitespaceBeforeCommaInArrayFixer <./../src/Fixer/ArrayNotation/NoWhitespaceBeforeCommaInArrayFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/array_notation/normalize_index_brace.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\ArrayNotation\\NormalizeIndexBraceFixer <./../src/Fixer/ArrayNotation/NormalizeIndexBraceFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/array_notation/return_to_yield_from.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ Example #1
- return [1, 2, 3];
+ yield from [1, 2, 3];
}
Source class
------------

`PhpCsFixer\\Fixer\\ArrayNotation\\ReturnToYieldFromFixer <./../src/Fixer/ArrayNotation/ReturnToYieldFromFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/array_notation/trim_array_spaces.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\ArrayNotation\\TrimArraySpacesFixer <./../src/Fixer/ArrayNotation/TrimArraySpacesFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/array_notation/whitespace_after_comma_in_array.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,7 @@ The rule is part of the following rule sets:

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

Source class
------------

`PhpCsFixer\\Fixer\\ArrayNotation\\WhitespaceAfterCommaInArrayFixer <./../src/Fixer/ArrayNotation/WhitespaceAfterCommaInArrayFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/array_notation/yield_from_array_to_yields.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@ The rule is part of the following rule set:

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

Source class
------------

`PhpCsFixer\\Fixer\\ArrayNotation\\YieldFromArrayToYieldsFixer <./../src/Fixer/ArrayNotation/YieldFromArrayToYieldsFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/attribute_notation/attribute_empty_parentheses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,7 @@ With configuration: ``['use_parentheses' => true]``.
-#[Bar, Baz]
+#[Bar(), Baz()]
class Sample2 {}
Source class
------------

`PhpCsFixer\\Fixer\\AttributeNotation\\AttributeEmptyParenthesesFixer <./../src/Fixer/AttributeNotation/AttributeEmptyParenthesesFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/basic/braces.rst
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,7 @@ With configuration: ``['position_after_functions_and_oop_constructs' => 'same']`
+ }
}
}
Source class
------------

`PhpCsFixer\\Fixer\\Basic\\BracesFixer <./../src/Fixer/Basic/BracesFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/basic/braces_position.rst
Original file line number Diff line number Diff line change
Expand Up @@ -254,3 +254,7 @@ The rule is part of the following rule sets:
``['allow_single_line_anonymous_functions' => true, 'allow_single_line_empty_anonymous_classes' => true]``


Source class
------------

`PhpCsFixer\\Fixer\\Basic\\BracesPositionFixer <./../src/Fixer/Basic/BracesPositionFixer.php>`_
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 @@ -226,3 +226,7 @@ With configuration: ``['allow_single_line_anonymous_functions' => true]``.
+$result = true;
+ return $result;
+};
Source class
------------

`PhpCsFixer\\Fixer\\Basic\\CurlyBracesPositionFixer <./../src/Fixer/Basic/CurlyBracesPositionFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/basic/encoding.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Basic\\EncodingFixer <./../src/Fixer/Basic/EncodingFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/basic/no_multiple_statements_per_line.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Basic\\NoMultipleStatementsPerLineFixer <./../src/Fixer/Basic/NoMultipleStatementsPerLineFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/basic/no_trailing_comma_in_singleline.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Basic\\NoTrailingCommaInSinglelineFixer <./../src/Fixer/Basic/NoTrailingCommaInSinglelineFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/basic/non_printable_character.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer:risky <./../../ruleSets/PhpCsFixerRisky.rst>`_
- `@Symfony:risky <./../../ruleSets/SymfonyRisky.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Basic\\NonPrintableCharacterFixer <./../src/Fixer/Basic/NonPrintableCharacterFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/basic/octal_notation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ The rule is part of the following rule sets:
- `@PHP81Migration <./../../ruleSets/PHP81Migration.rst>`_
- `@PHP82Migration <./../../ruleSets/PHP82Migration.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Basic\\OctalNotationFixer <./../src/Fixer/Basic/OctalNotationFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/basic/psr_autoloading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer:risky <./../../ruleSets/PhpCsFixerRisky.rst>`_
- `@Symfony:risky <./../../ruleSets/SymfonyRisky.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Basic\\PsrAutoloadingFixer <./../src/Fixer/Basic/PsrAutoloadingFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/basic/single_line_empty_body.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ The rule is part of the following rule sets:
- `@PER-CS2.0 <./../../ruleSets/PER-CS2.0.rst>`_
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Basic\\SingleLineEmptyBodyFixer <./../src/Fixer/Basic/SingleLineEmptyBodyFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/casing/class_reference_name_casing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Casing\\ClassReferenceNameCasingFixer <./../src/Fixer/Casing/ClassReferenceNameCasingFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/casing/constant_case.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Casing\\ConstantCaseFixer <./../src/Fixer/Casing/ConstantCaseFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/casing/integer_literal_case.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Casing\\IntegerLiteralCaseFixer <./../src/Fixer/Casing/IntegerLiteralCaseFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/casing/lowercase_keywords.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Casing\\LowercaseKeywordsFixer <./../src/Fixer/Casing/LowercaseKeywordsFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/casing/lowercase_static_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Casing\\LowercaseStaticReferenceFixer <./../src/Fixer/Casing/LowercaseStaticReferenceFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/casing/magic_constant_casing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Casing\\MagicConstantCasingFixer <./../src/Fixer/Casing/MagicConstantCasingFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/casing/magic_method_casing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Casing\\MagicMethodCasingFixer <./../src/Fixer/Casing/MagicMethodCasingFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/casing/native_function_casing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Casing\\NativeFunctionCasingFixer <./../src/Fixer/Casing/NativeFunctionCasingFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/casing/native_function_type_declaration_casing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,7 @@ Example #4
{
return 'hi!';
}
Source class
------------

`PhpCsFixer\\Fixer\\Casing\\NativeFunctionTypeDeclarationCasingFixer <./../src/Fixer/Casing/NativeFunctionTypeDeclarationCasingFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/casing/native_type_declaration_casing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\Casing\\NativeTypeDeclarationCasingFixer <./../src/Fixer/Casing/NativeTypeDeclarationCasingFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/cast_notation/cast_spaces.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\CastNotation\\CastSpacesFixer <./../src/Fixer/CastNotation/CastSpacesFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/cast_notation/lowercase_cast.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\CastNotation\\LowercaseCastFixer <./../src/Fixer/CastNotation/LowercaseCastFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/cast_notation/modernize_types_casting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer:risky <./../../ruleSets/PhpCsFixerRisky.rst>`_
- `@Symfony:risky <./../../ruleSets/SymfonyRisky.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\CastNotation\\ModernizeTypesCastingFixer <./../src/Fixer/CastNotation/ModernizeTypesCastingFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/cast_notation/no_short_bool_cast.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\CastNotation\\NoShortBoolCastFixer <./../src/Fixer/CastNotation/NoShortBoolCastFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/cast_notation/no_unset_cast.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\CastNotation\\NoUnsetCastFixer <./../src/Fixer/CastNotation/NoUnsetCastFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/cast_notation/short_scalar_cast.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,7 @@ The rule is part of the following rule sets:
- `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- `@Symfony <./../../ruleSets/Symfony.rst>`_

Source class
------------

`PhpCsFixer\\Fixer\\CastNotation\\ShortScalarCastFixer <./../src/Fixer/CastNotation/ShortScalarCastFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/class_notation/class_attributes_separation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,7 @@ The rule is part of the following rule sets:
``['elements' => ['method' => 'one']]``


Source class
------------

`PhpCsFixer\\Fixer\\ClassNotation\\ClassAttributesSeparationFixer <./../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php>`_
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 @@ -202,3 +202,7 @@ The rule is part of the following rule sets:
``['single_line' => true]``


Source class
------------

`PhpCsFixer\\Fixer\\ClassNotation\\ClassDefinitionFixer <./../src/Fixer/ClassNotation/ClassDefinitionFixer.php>`_
4 changes: 4 additions & 0 deletions doc/rules/class_notation/final_class.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ Example #1
<?php
-class MyApp {}
+final class MyApp {}
Source class
------------

`PhpCsFixer\\Fixer\\ClassNotation\\FinalClassFixer <./../src/Fixer/ClassNotation/FinalClassFixer.php>`_
Loading

0 comments on commit c79e006

Please sign in to comment.