8000 fixed CS · symfony/symfony@1f22290 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1f22290

Browse files
committed
fixed CS
1 parent 7ce861d commit 1f22290

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Filesystem/Filesystem.php

Lines 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