ddeboer/php-ssh — comment on commit d1db61c20d6eeef27b6d9279d72168158454b12f
File: src/Ssh/Sftp.php line 216
By Herzult:

You should separate the definition from the test:

$files = @scandir($url);

if (false === $files) {
return null;
}

And is the at (@) necessary ?