Skip to content

Commit 4856c9c

Browse files
committedOct 25, 2024
Merge branch '5.4' into 6.4
* 5.4: initialize RedisAdapter cursor to 0 do not skip tests from data providers ensure compatibility with Twig 3.15 [Mime] fix encoding issue with UTF-8 addresses containing doubles spaces fix translation file syntax [Validator] [Choice] Fix callback option if not array returned [DependencyInjection] Fix linting factories implemented via __callStatic [DependencyInjection] Fix replacing abstract arguments with bindings Minor fixes around parse_url() checks Ensure compatibility with mongodb v2 Add missing translations for Turkish (tr)
2 parents d452446 + 57c8294 commit 4856c9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Filesystem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function copy(string $originFile, string $targetFile, bool $overwriteNewe
4646
$this->mkdir(\dirname($targetFile));
4747

4848
$doCopy = true;
49-
if (!$overwriteNewerFiles && null === parse_url($originFile, \PHP_URL_HOST) && is_file($targetFile)) {
49+
if (!$overwriteNewerFiles && !parse_url($originFile, \PHP_URL_HOST) && is_file($targetFile)) {
5050
$doCopy = filemtime($originFile) > filemtime($targetFile);
5151
}
5252

0 commit comments

Comments
 (0)
Failed to load comments.