diff --git a/docs/all_rectors_overview.md b/docs/all_rectors_overview.md index a41e2777e..14cb06361 100644 --- a/docs/all_rectors_overview.md +++ b/docs/all_rectors_overview.md @@ -1,4 +1,4 @@ -# 121 Rules Overview +# 122 Rules Overview
@@ -14,7 +14,7 @@ - [TYPO312](#typo312) (39) -- [TYPO313](#typo313) (9) +- [TYPO313](#typo313) (10) - [TypeDeclaration](#typedeclaration) (1) @@ -2562,6 +2562,28 @@ Use AsEventListener attribute
+### IntroduceCapabilitiesBitSetRector + +Introduce capabilities bit set + +- class: [`Ssch\TYPO3Rector\TYPO313\v0\IntroduceCapabilitiesBitSetRector`](../rules/TYPO313/v0/IntroduceCapabilitiesBitSetRector.php) + +```diff ++use TYPO3\CMS\Core\Resource\Capabilities; + use TYPO3\CMS\Core\Resource\ResourceStorageInterface; + +-echo ResourceStorageInterface::CAPABILITY_BROWSABLE; +-echo ResourceStorageInterface::CAPABILITY_PUBLIC; +-echo ResourceStorageInterface::CAPABILITY_WRITABLE; +-echo ResourceStorageInterface::CAPABILITY_HIERARCHICAL_IDENTIFIERS; ++echo Capabilities::CAPABILITY_BROWSABLE; ++echo Capabilities::CAPABILITY_PUBLIC; ++echo Capabilities::CAPABILITY_WRITABLE; ++echo Capabilities::CAPABILITY_HIERARCHICAL_IDENTIFIERS; +``` + +
+ ### MigrateExtbaseHashServiceToUseCoreHashServiceRector Migrate the class HashService from extbase to the one from TYPO3 core