[TASK] Set composer version 3.1.1
[TER] 3.1.1
[TASK] Set version 3.2.0 and stability beta for development
[TASK] Avoid deprecated function