Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1f22290

Browse filesBrowse files
committed
fixed CS
1 parent 7ce861d commit 1f22290
Copy full SHA for 1f22290

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎src/Symfony/Component/Filesystem/Filesystem.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Filesystem/Filesystem.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function mkdir($dirs, $mode = 0777)
100100
public function exists($files)
101101
{
102102
foreach ($this->toIterator($files) as $file) {
103-
if ('\\' === DIRECTORY_SEPARATOR AND strlen($file) > 258) {
103+
if ('\\' === DIRECTORY_SEPARATOR && strlen($file) > 258) {
104104
throw new IOException(sprintf('Could not check if file exist because path length exceeds 258 characters for file "%s"', $file));
105105
}
106106

@@ -276,7 +276,7 @@ public function rename($origin, $target, $overwrite = false)
276276
*/
277277
private function isReadable($filename)
278278
{
279-
if ('\\' === DIRECTORY_SEPARATOR AND strlen($filename) > 258) {
279+
if ('\\' === DIRECTORY_SEPARATOR && strlen($filename) > 258) {
280280
throw new IOException(sprintf('Could not check if file is readable because path length exceeds 258 characters for file "%s"', $filename));
281281
}
282282

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.