Skip to content

Commit 6ef0970

Browse files
committed
Merge branch '3.4' into 4.4
* 3.4: Add missing dots at the end of exception messages
2 parents 266c954 + 68623e9 commit 6ef0970

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Filesystem.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function mkdir($dirs, $mode = 0777)
104104
if (self::$lastError) {
105105
throw new IOException(sprintf('Failed to create "%s": %s.', $dir, self::$lastError), 0, null, $dir);
106106
}
107-
throw new IOException(sprintf('Failed to create "%s"', $dir), 0, null, $dir);
107+
throw new IOException(sprintf('Failed to create "%s".', $dir), 0, null, $dir);
108108
}
109109
}
110110
}
@@ -359,7 +359,7 @@ public function hardlink($originFile, $targetFiles)
359359
}
360360

361361
if (!is_file($originFile)) {
362-
throw new FileNotFoundException(sprintf('Origin file "%s" is not a file', $originFile));
362+
throw new FileNotFoundException(sprintf('Origin file "%s" is not a file.', $originFile));
363363
}
364364

365365
foreach ($this->toIterable($targetFiles) as $targetFile) {

0 commit comments

Comments
 (0)