The general advice is not to position a gas hob next to a room door. With older hobs there's the possibility of a low flame being blown out by a draught, and the gas remaining on. Even for electric hobs, Wickes kitchen installation guide tells you...
''A door must never be in a position adjacent to a cooking area where there is the risk of the person doing the cooking accidentally swinging around with a hot pan and coming into contact with someone else walking past, or where an opening room door may hit someone working at the cooker.
It is not a bad idea to ensure that doors into the kitchen are hinged to open outwards.''