Reverting composer dependencies back to 3.1.x-dev

Signed-off-by: Andrew Lowther <andrew.lowther@mademedia.co.uk>