Carbon-nitrogen bond formation in cyclisation by deoxygenation, thermolysis or photolysis of phenylimidazo[1,2-a][1,8]naphthyridines