updated deprecated calls
updated composer.json
updated travis.yml