-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Finder] Update RealIteratorTestCase #27508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
if (DIRECTORY_SEPARATOR === $file[strlen($file) - 1]) { | ||
@rmdir($file); | ||
$paths = new \RecursiveIteratorIterator( | ||
new \RecursiveDirectoryIterator( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use 4 spaces indentation
} else { | ||
@unlink($file); | ||
unlink($path); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest to keep the silencing operators (and add it above)
My current patch is based on master, should i open a new PR on 2.8 or what should i do about this? |
…tierderuette) This PR was submitted for the 3.4 branch but it was merged into the 2.8 branch instead (closes symfony#27630). Discussion ---------- [Validator][Form] Remove BOM in some xlf files | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | | Fixed tickets | #... | License | MIT | Doc PR | symfony/symfony-docs#... I removed first blank space from some xml files It caused this error during cache:clear [ERROR 4] Start tag expected, '<' not found (in n/a - line 1, column 1) Commits ------- 0bc53d6 [Validator] Remove BOM in some xlf files
Thank you @flip111. |
This PR was submitted for the master branch but it was squashed and merged into the 2.8 branch instead (closes #27508). Discussion ---------- [Finder] Update RealIteratorTestCase | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #27480 | License | MIT | Doc PR | n/a Makes the entire test directory empty instead of trying to delete particular files and directories. The old method failed when trying to remove a directory which was not empty. Commits ------- 7d0ebd4 [Finder] Update RealIteratorTestCase
Makes the entire test directory empty instead of trying to delete particular files and directories. The old method failed when trying to remove a directory which was not empty.