'Thumbs.db', // Microsoft Windows
'.directory', // Dolphin (KDE)
'.webapp', // Gentoo/Funtoo & derivatives use a tool known as webapp-config to manage web-apps.
+ '.rnd',
];
/**
*/
private $excludedFilenamePatterns = [
'/^\.webapp-nextcloud-(\d+\.){2}(\d+)(-r\d+)?$/', // Gentoo/Funtoo & derivatives use a tool known as webapp-config to manage wep-apps.
- ];
+ ];
/**
* @return bool
}
$currentFileName = $current->getFilename();
- if (in_array($currentFileName, $this->excludedFilenames, true)){
+ if (in_array($currentFileName, $this->excludedFilenames, true)) {
return false;
}
- foreach ($this->excludedFilenamePatterns as $pattern){
- if (preg_match($pattern, $currentFileName) > 0){
+ foreach ($this->excludedFilenamePatterns as $pattern) {
+ if (preg_match($pattern, $currentFileName) > 0) {
return false;
}
}