Skip to content

Commit 87e6a90

Browse files
Arman-Hosseininicolas-grekas
authored andcommitted
Improve some URLs
1 parent 70adda0 commit 87e6a90

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Filesystem.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function copy($originFile, $targetFile, $overwriteNewerFiles = false)
5252
}
5353

5454
if ($doCopy) {
55-
// https://bugs.php.net/bug.php?id=64634
55+
// https://bugs.php.net/64634
5656
if (false === $source = @fopen($originFile, 'r')) {
5757
throw new IOException(sprintf('Failed to copy "%s" to "%s" because source file could not be opened for reading.', $originFile, $targetFile), 0, null, $originFile);
5858
}
@@ -280,7 +280,7 @@ public function rename($origin, $target, $overwrite = false)
280280

281281
if (true !== @rename($origin, $target)) {
282282
if (is_dir($origin)) {
283-
// See https://bugs.php.net/bug.php?id=54097 & http://php.net/manual/en/function.rename.php#113943
283+
// See https://bugs.php.net/54097 & https://php.net/rename#113943
284284
$this->mirror($origin, $target, null, ['override' => $overwrite, 'delete' => $overwrite]);
285285
$this->remove($origin);
286286

Tests/FilesystemTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ protected function markAsSkippedIfSymlinkIsMissing($relative = false)
144144
$this->markTestSkipped('symlink requires "Create symbolic links" privilege on Windows');
145145
}
146146

147-
// https://bugs.php.net/bug.php?id=69473
147+
// https://bugs.php.net/69473
148148
if ($relative && '\\' === \DIRECTORY_SEPARATOR && 1 === PHP_ZTS) {
149149
$this->markTestSkipped('symlink does not support relative paths on thread safe Windows PHP versions');
150150
}

0 commit comments

Comments
 (0)