19 declare(strict_types=1);
58 foreach ($this->randomUnicodeStrings as
$filename) {
60 $this->isDAVableObjTitle($filename)
67 foreach (str_split(
'\\<>/:*?"|#') as $forbidden_character) {
69 $this->isDAVableObjTitle(
70 $this->randomUnicodeStrings[array_rand($this->randomUnicodeStrings)]
71 . $forbidden_character
72 . $this->randomUnicodeStrings[array_rand($this->randomUnicodeStrings)]
80 foreach ($this->randomUnicodeStrings as
$filename) {
82 $this->isDAVableObjTitle(
'.' . $filename)
array $randomUnicodeStrings
testDAVableTitleWithForbiddenCharactersReturnsFalse()
testDAVableTitleWithStringsOfValidCharactersReturnsTrue()
array $notDavableCharacters
testDAVableTitleWithHiddenFileReturnsFalse()