[automated] Re-Generate Nodes/Rectors Documentation (#870)

Co-authored-by: TomasVotruba <TomasVotruba@users.noreply.github.com>
This commit is contained in:
Tomas Votruba 2021-09-12 02:16:25 +02:00 committed by GitHub
parent 97d3ad74ee
commit 95bf5aa61f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
# 476 Rules Overview
# 477 Rules Overview
<br>
@ -70,7 +70,7 @@
- [Php73](#php73) (9)
- [Php74](#php74) (14)
- [Php74](#php74) (15)
- [Php80](#php80) (17)
@ -7446,6 +7446,23 @@ Change closure to arrow function
<br>
### CurlyToSquareBracketArrayStringRector
Change curly based array and string to square bracket
- class: [`Rector\Php74\Rector\ArrayDimFetch\CurlyToSquareBracketArrayStringRector`](../rules/Php74/Rector/ArrayDimFetch/CurlyToSquareBracketArrayStringRector.php)
```diff
$string = 'test';
-echo $string{0};
+echo $string[0];
$array = ['test'];
-echo $array{0};
+echo $array[0];
```
<br>
### ExportToReflectionFunctionRector
Change `export()` to ReflectionFunction alternatives