When Merge method is selected to Fast-forward merge the Modify commit message button disappears from a merge request:
Merge method
Fast-forward merge
Modify commit message
Thus makes impossible to make custom squash commit messages.