Skip to content

Commit

Permalink
[automated] Re-Generate Nodes/Rectors Documentation (#3299)
Browse files Browse the repository at this point in the history
Co-authored-by: TomasVotruba <TomasVotruba@users.noreply.github.com>
  • Loading branch information
TomasVotruba and TomasVotruba committed Jan 22, 2023
1 parent cc8c4d0 commit d2a553c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/target-repository/docs/rector_rules_overview.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 419 Rules Overview
# 420 Rules Overview

<br>

Expand Down Expand Up @@ -6609,8 +6609,8 @@ Prior PHP 8.2 FilesystemIterator::SKIP_DOTS was always set and could not be remo
- class: [`Rector\Php82\Rector\New_\FilesystemIteratorSkipDotsRector`](../rules/Php82/Rector/New_/FilesystemIteratorSkipDotsRector.php)

```diff
-new \FilesystemIterator(__DIR__, \FilesystemIterator::KEY_AS_FILENAME);
+new \FilesystemIterator(__DIR__, \FilesystemIterator::KEY_AS_FILENAME | \FilesystemIterator::SKIP_DOTS);
-new FilesystemIterator(__DIR__, FilesystemIterator::KEY_AS_FILENAME);
+new FilesystemIterator(__DIR__, FilesystemIterator::KEY_AS_FILENAME | FilesystemIterator::SKIP_DOTS);
```

<br>
Expand Down

0 comments on commit d2a553c

Please sign in to comment.