Fixed composer.json

I update the version of PHP because namespaces and \__DIR__ constant are available from 5.3.0.