diff --git a/Filesystem.php b/Filesystem.php index a95726fe06..ecea0f0b81 100644 --- a/Filesystem.php +++ b/Filesystem.php @@ -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, '\\', '/'); diff --git a/Tests/FilesystemTest.php b/Tests/FilesystemTest.php index 02969f300b..0e434c1045 100644 --- a/Tests/FilesystemTest.php +++ b/Tests/FilesystemTest.php @@ -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'); } } }