Fixed composer.json
Moved phpunit.xml into root directory, increased the timeout value for tests.
Added tests for incorrect usage of API.
Fixed parameter order on calls to trigger_error.
Fixed check for identical server type being set twice.
Added basic test of empty server & client prefs for Accept-Encoding and
Accept-Language negotiation.
Added vendor folder to .gitignore
Removed unused phpunit bootstrap file.
Switched conditional so that successful case is handled first.
Changed handling of invalid MIME types provided by the server during Accept
negotiation - rather than rethrowing the exception on detecting an invalid type
an error is triggered (being caused by server misconfiguration).
Added tests for full (type & subtype) wildcard matching, subtype wildcard
matching & serialization / unserialization of TypeList.
Fixed serialize & unserialize functions - the fields was not being correctly
serialized alongside the type data.
Added tests to check handling of invalid server configuration / incorrect usage
of library.
Fixed handling of invalid quality factors provided by the server - the correct
errors are now triggered.
Added tests for server incorrectly specifying a wildcard type or subtype.
Fix to handling of server types - wildcards now throw an error.
Removed redundant quality factor formatting check.
Added tests for malformed client quality factors.