[new IsNotBlankRule(), null, $type, "Required input 'key' not set."], "exception if input is not a string" => [new IsNotBlankRule(), 621, $type, "Input 'key' should be string, but is integer."], "exception if input is empty" => [new IsNotBlankRule(), "", $value, "Use at least one character."], "exception if input is whitespace only" => [new IsNotBlankRule(), " ", $value, "Use at least one character other than a space."], "no exception if input is not blank" => [new IsNotBlankRule(), "not-blank", null, null], "no exception if input is not blank but starts with whitespace" => [new IsNotBlankRule(), " not-blank ", null, null], ]; } }