validate doctrine configuration