- Status changed to RTBC
almost 2 years ago 4:34pm 1 March 2023 - Status changed to Needs work
almost 2 years ago 11:22am 2 March 2023 - 🇬🇧United Kingdom catch
I don't think this is right.
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21File%21Fi... - this throws an exception if $source and $destination are the same.
Exception is also documented here: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21File%21Fi...
Also the issue summary is still referencing the procedural functions that were removed a long time ago.
- First commit to issue fork.
- Status changed to Needs review
6 months ago 10:32am 30 June 2024 - First commit to issue fork.
- 🇦🇺Australia VladimirAus Brisbane, Australia
Added example and updated $fileExists parameters.
- Status changed to RTBC
5 months ago 11:28am 14 July 2024 - Status changed to Needs work
5 months ago 1:09am 15 July 2024 - 🇳🇿New Zealand quietone
Oh, nice to see the quick response, thanks.
Left a comment on the MR that needs a response.
- Status changed to Needs review
5 months ago 6:37am 15 July 2024 - Status changed to Needs work
5 months ago 7:07am 15 July 2024 The Needs Review Queue Bot → tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide → to find step-by-step guides for working with issues.
- Status changed to Needs review
5 months ago 2:50pm 15 July 2024 - Status changed to Needs work
5 months ago 8:53pm 15 July 2024 - 🇺🇸United States smustgrave
Would agree with removing
$file_system->prepareDirectory($directory, FileSystemInterface::CREATE_DIRECTORY);
mainly because the sentence below the example mentions copying but nothing about needing to prepare the folder, which to my knowledge isn't always needed - Status changed to Needs review
5 months ago 6:03am 16 July 2024 - 🇦🇺Australia VladimirAus Brisbane, Australia
Removed
$file_system->prepareDirectory($directory, FileSystemInterface::CREATE_DIRECTORY);
from example. - Status changed to RTBC
5 months ago 7:05am 16 July 2024 - 🇳🇿New Zealand quietone
I removed one blank line from the changes so this meets coding standards. And updated credit.
The changes are an improvement so if there is anything more let's put that in a followup. Leaving at RTBC.
- Status changed to Fixed
5 months ago 9:44pm 6 August 2024 Automatically closed - issue fixed for 2 weeks with no activity.