Do you mean that I need to put the "versionadded" just before the "ignoreNull" heading? I just copied the options structure from http://symfony.com/doc/master/reference/constraints/UniqueEntity.html#repositorymethod on the same page.