Skip to content

Commit 50b2523

Browse files
committed
[FileSystem] Use Yoda condition
1 parent ccff5f3 commit 50b2523

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/FilesystemTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1768,7 +1768,7 @@ public function testDumpToProtectedDirectory()
17681768
$this->markTestSkipped('This test is specific to Windows.');
17691769
}
17701770

1771-
if (($userProfilePath = getenv('USERPROFILE')) === false || !is_dir($userProfilePath)) {
1771+
if (false === ($userProfilePath = getenv('USERPROFILE')) || !is_dir($userProfilePath)) {
17721772
throw new \RuntimeException('Failed to retrieve user profile path.');
17731773
}
17741774

0 commit comments

Comments
 (0)