Why are my periods getting shorter and shorter?

I used to typically have a 6-7 day period, over the past 6 months it's gradually changed to a 2-3 day period. 
​At the same time, the cycle length has gone from a steady 28 day cycle to 32 days + (still waiting to see how many days July's cycle will be).
​What might be causing this?