Matt Damon, Ben Affleck sued by Miami police for depicting them as ‘dirty’ in The Rip
(www.the-independent.com)
If some random Redditors are to be believed the film actually paints the police in a semi positive light. There are a few bad cops but supposedly at the end most of the cops are shown to be acting with integrity.