SCA with Php Inspections (EA Ultimate)

This commit is contained in:
Vladimir Reznichenko
2018-02-27 19:13:22 +01:00
parent f9b03dfd42
commit f10cb6aeee
10 changed files with 14 additions and 12 deletions

View File

@@ -367,7 +367,7 @@ class BaseFileHelper
if (!is_dir($dir)) {
return;
}
if (isset($options['traverseSymlinks']) && $options['traverseSymlinks'] || !is_link($dir)) {
if (!empty($options['traverseSymlinks']) || !is_link($dir)) {
if (!($handle = opendir($dir))) {
return;
}