Skip to content

Commit

Permalink
[DOCS] Generate documentation
Browse files Browse the repository at this point in the history
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
simonschaufi authored and github-actions[bot] committed May 16, 2024
1 parent 47260a0 commit 753a13a
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions docs/all_rectors_overview.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 143 Rules Overview
# 144 Rules Overview

<br>

Expand All @@ -14,7 +14,7 @@

- [TYPO312](#typo312) (51)

- [TYPO313](#typo313) (13)
- [TYPO313](#typo313) (14)

- [TypeDeclaration](#typedeclaration) (1)

Expand Down Expand Up @@ -3060,6 +3060,22 @@ Migrate the class HashService from extbase to the one from TYPO3 core

<br>

### MigrateGeneralUtilityHmacToHashServiceHmacRector

Migrate GeneralUtility::hmac to HashService::hmac

- class: [`Ssch\TYPO3Rector\TYPO313\v1\MigrateGeneralUtilityHmacToHashServiceHmacRector`](../rules/TYPO313/v1/MigrateGeneralUtilityHmacToHashServiceHmacRector.php)

```diff
+use TYPO3\CMS\Core\Crypto\HashService;
use TYPO3\CMS\Core\Utility\GeneralUtility;

-$hmac = GeneralUtility::hmac('some-input', 'some-secret');
+$hmac = GeneralUtility::makeInstance(HashService::class)->hmac('some-input', 'some-secret');
```

<br>

### RemoveMmHasUidFieldRector

Unset the value in the config mmHasUidField
Expand Down

0 comments on commit 753a13a

Please sign in to comment.