-
-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Php82] Skip usage of already RecursiveDirectoryIterator::SKIP_DOTS o…
…n FilesystemIteratorSkipDotsRector (#5712) * [Php82] Skip usage of RecursiveDirectoryIterator::SKIP_DOTS on FilesystemIteratorSkipDotsRector * [Php82] Skip usage of RecursiveDirectoryIterator::SKIP_DOTS on FilesystemIteratorSkipDotsRector * fix doc * fix * [ci-review] Rector Rectify --------- Co-authored-by: GitHub Action <[email protected]>
- Loading branch information
1 parent
8ade0b9
commit 861a880
Showing
14 changed files
with
44 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ots/Fixture/skip_constant_present.php.inc → ...tor/Fixture/skip_constant_present.php.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...re/skip_constant_present_in_flags.php.inc → ...re/skip_constant_present_in_flags.php.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...re/skip_constant_present_with_fqn.php.inc → ...re/skip_constant_present_with_fqn.php.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
..._non_filesystem_iterator_instance.php.inc → ..._non_filesystem_iterator_instance.php.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...p82/Rector/New_/FilesystemIteratorSkipDotsRector/Fixture/skip_recursive_skip_dots.php.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
namespace Rector\Tests\Php82\Rector\New_\FilesystemIteratorSkipDotsRector\Fixture; | ||
|
||
final class SkipRecursiveSkipDots | ||
{ | ||
public function run() | ||
{ | ||
new \RecursiveDirectoryIterator( | ||
'/path/to/dir', | ||
\RecursiveDirectoryIterator::SKIP_DOTS | ||
); | ||
} | ||
} | ||
|
||
?> |
2 changes: 1 addition & 1 deletion
2
...kipDots/Fixture/skip_use_variable.php.inc → ...sRector/Fixture/skip_use_variable.php.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s/Fixture/skip_with_default_value.php.inc → ...r/Fixture/skip_with_default_value.php.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters