(CNN) — A federal judge has ruled that police in Ferguson, Missouri, violated the Constitution when they told protesters that they had to keep walking and that they couldn’t stand still.