Skip to content

Commit 4089673

Browse files
lllopoczosel
authored andcommitted
Fix #993 (#994)
Add ':' to path characters being replaced. Fixes #993
1 parent c77a30d commit 4089673

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/recipes/php-cs-fixer/PrettierPHPFixer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ private function getTmpFile(SplFileInfo $file): string {
8383
$fileSys->mkdir($tmpFolderPath);
8484

8585
$tmpFileName = str_replace(
86-
DIRECTORY_SEPARATOR,
86+
array(DIRECTORY_SEPARATOR, ':'),
8787
'_',
8888
$file->getRealPath()
8989
);

0 commit comments

Comments
 (0)