Allow php definitions to be empty in .travis.yml and composer.json.