yiisoft/yii2 — pull request #4468 by simonmesmith (2014-07-27 01:19:27+00:00)
Title: Added skipOnEmptyTarget property to UniqueValidator

If set to true, unique validator will mirror how MySQL treats unique
indexes and ignore null values when evaluating uniqueness. Addresses
issue #4333.