yes but shoudn't it be ``if (false === $this->allowNonUploadedFiles && !$file->isValid()) {``