Permalink
Browse files

fixed various typos

  • Loading branch information...
1 parent 689df2a commit 38411e832d3d6348bb72f3637d71293896faef94 @fabpot fabpot committed Dec 27, 2013
Showing with 7 additions and 7 deletions.
  1. +3 −3 Filesystem.php
  2. +4 −4 Tests/FilesystemTest.php
View
@@ -105,8 +105,8 @@ public function exists($files)
* Sets access and modification time of file.
*
* @param string|array|\Traversable $files A filename, an array of files, or a \Traversable instance to create
- * @param integer $time The touch time as a unix timestamp
- * @param integer $atime The access time as a unix timestamp
+ * @param integer $time The touch time as a Unix timestamp
+ * @param integer $atime The access time as a Unix timestamp
*
* @throws IOException When touch fails
*/
@@ -306,7 +306,7 @@ public function symlink($originDir, $targetDir, $copyOnWindows = false)
*/
public function makePathRelative($endPath, $startPath)
{
- // Normalize separators on windows
+ // Normalize separators on Windows
if (defined('PHP_WINDOWS_VERSION_MAJOR')) {
$endPath = strtr($endPath, '\\', '/');
$startPath = strtr($startPath, '\\', '/');
@@ -906,7 +906,7 @@ public function testDumpFile()
$this->assertFileExists($filename);
$this->assertSame('bar', file_get_contents($filename));
- // skip mode check on windows
+ // skip mode check on Windows
if (!defined('PHP_WINDOWS_VERSION_MAJOR')) {
$this->assertEquals(753, $this->getFilePermissions($filename));
}
@@ -962,21 +962,21 @@ private function markAsSkippedIfSymlinkIsMissing()
}
if (defined('PHP_WINDOWS_VERSION_MAJOR') && false === self::$symlinkOnWindows) {
- $this->markTestSkipped('symlink requires "Create symbolic links" privilege on windows');
+ $this->markTestSkipped('symlink requires "Create symbolic links" privilege on Windows');
}
}
private function markAsSkippedIfChmodIsMissing()
{
if (defined('PHP_WINDOWS_VERSION_MAJOR')) {
- $this->markTestSkipped('chmod is not supported on windows');
+ $this->markTestSkipped('chmod is not supported on Windows');
}
}
private function markAsSkippedIfPosixIsMissing()
{
if (defined('PHP_WINDOWS_VERSION_MAJOR') || !function_exists('posix_isatty')) {
- $this->markTestSkipped('Posix is not supported');
+ $this->markTestSkipped('POSIX is not supported');
}
}
}

0 comments on commit 38411e8

Please sign in to comment.