Adds rules that files must not match.
string|string[] $patterns A pattern (a regexp, a glob, or a string) or an array of patterns:
$this
FilenameFilterIterator
public function notName(string|array $patterns) : static { $this->notNames = array_merge($this->notNames, (array) $patterns); return $this; }