We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent7ce861d commit1f22290Copy full SHA for 1f22290
src/Symfony/Component/Filesystem/Filesystem.php
@@ -100,7 +100,7 @@ public function mkdir($dirs, $mode = 0777)
100
publicfunctionexists($files)
101
{
102
foreach ($this->toIterator($files)as$file) {
103
-if ('\\' ===DIRECTORY_SEPARATORANDstrlen($file) >258) {
+if ('\\' ===DIRECTORY_SEPARATOR&&strlen($file) >258) {
104
thrownewIOException(sprintf('Could not check if file exist because path length exceeds 258 characters for file "%s"',$file));
105
}
106
@@ -276,7 +276,7 @@ public function rename($origin, $target, $overwrite = false)
276
*/
277
privatefunctionisReadable($filename)
278
279
-if ('\\' ===DIRECTORY_SEPARATORANDstrlen($filename) >258) {
+if ('\\' ===DIRECTORY_SEPARATOR&&strlen($filename) >258) {
280
thrownewIOException(sprintf('Could not check if file is readable because path length exceeds 258 characters for file "%s"',$filename));
281
282