willdurand / Negotiation

Content Negotiation tools for PHP.
https://williamdurand.fr/Negotiation/
MIT License
1.41k stars 62 forks source link

Updating 2.x branch to run on current php version on travis-ci #104

Closed jaydiablo closed 3 years ago

jaydiablo commented 4 years ago

We're using 2.x version of this lib and I was curious if the tests would pass without deprecation notices and such in PHP 7.3 and 7.4 so I made some modifications to composer.json, .travis.yml and a couple of files in the tests directory in order to get the tests to pass against PHP 5.6 through 7.4.

No changes were made to any files in the src, just development related changes.

I'm not sure if you're accepting PRs against the 2.x branch, but since I took the time to do this I figured it might be helpful for you.

Thanks!

willdurand commented 3 years ago

I'm going to close this as I EOL'ed Negotiation 2.