We had the odd rat that would appear off the field due to having bird feeders near our summer house (during covid - I was working in there). Feeders have been moved and the rats have gone else where.
The neighbour needs to dispose of the dog food properly. They are the problem. No food supply, no rats.