Air gun ? Rat Poison ?
Had this problem once when somebody with 8 cats moved in next door but one.I bagged up the offending cat faeces and took it round to him.Told him next time I'd just tip it in his porch.
He built a pen.
Some people recommend a squirty bottle of water,but the dog hint is...