Code sniffer for entityreference module