Skip to content

Commit

Permalink
Generate documentation
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub Actions <actions@github.com>
  • Loading branch information
sabbelasichon authored and actions-user committed Nov 24, 2020
1 parent 6dd7194 commit d59f230
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion docs/all_rectors_overview.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# All 126 Rectors Overview
# All 128 Rectors Overview

## `AddCodeCoverageIgnoreToMethodRectorDefinitionRector`

Expand Down Expand Up @@ -693,6 +693,21 @@ Use setMetaTag method from PageRenderer class

<br><br>

## `MethodReadLLFileToLocalizationFactoryRector`

- class: [`Ssch\TYPO3Rector\Rector\v7\v4\MethodReadLLFileToLocalizationFactoryRector`](/src/Rector/v7/v4/MethodReadLLFileToLocalizationFactoryRector.php)

Use LocalizationFactory->getParsedData instead of GeneralUtility::readLLfile

```diff
+use TYPO3\CMS\Core\Localization\LocalizationFactory;
use TYPO3\CMS\Core\Utility\GeneralUtility;
-$locallangs = GeneralUtility::readLLfile('EXT:foo/locallang.xml', 'de');
+$locallangs = GeneralUtility::makeInstance(LocalizationFactory::class)->getParsedData('EXT:foo/locallang.xml', 'de');
```

<br><br>

## `MoveApplicationContextToEnvironmentApiRector`

- class: [`Ssch\TYPO3Rector\Rector\v10\v2\MoveApplicationContextToEnvironmentApiRector`](/src/Rector/v10/v2/MoveApplicationContextToEnvironmentApiRector.php)
Expand Down Expand Up @@ -1141,6 +1156,21 @@ Refactor removed methods from GeneralUtility.

<br><br>

## `RefactorVariousGeneralUtilityMethodsRector`

- class: [`Ssch\TYPO3Rector\Rector\v8\v1\RefactorVariousGeneralUtilityMethodsRector`](/src/Rector/v8/v1/RefactorVariousGeneralUtilityMethodsRector.php)

Refactor various deprecated methods of class GeneralUtility

```diff
-use TYPO3\CMS\Core\Utility\GeneralUtility;
$url = 'https://www.domain.com/';
-$url = GeneralUtility::rawUrlEncodeFP($url);
+$url = str_replace('%2F', '/', rawurlencode($url));
```

<br><br>

## `RegisterPluginWithVendorNameRector`

- class: [`Ssch\TYPO3Rector\Rector\v10\v1\RegisterPluginWithVendorNameRector`](/src/Rector/v10/v1/RegisterPluginWithVendorNameRector.php)
Expand Down

0 comments on commit d59f230

Please sign in to comment.