Saving or killing non validation in validators?

vote for option 3

How about putting them in to another function within the model?

public function transformers()
{
    return [
        [['address_line_2'], 'default', 'value' => null],
        [['username'], 'trim'],
    ];
}