Version constraints for composer dev dependencies

Use the ~ operator to raise flexibility for semantically versioned
dependencies