[composer] Replace self.version with ~2.4
[composer] Replace self.version with ~2.4

version 2.4.* is LTS as should be the minimum required version

zendframework/zend-json,Maks3w/zend-json,MadCat34/zend-json