1.8
A lot of updates in this release:
- Major version is changed, that mean - your existed code may be not compatible with this release, please read documentation to lean what changed
- Minimal required version of PHP increased to 5.6
- Migration to __call magic is done, now you need work with UOn via API class
- UON_API_TOKEN removed from code, now you need set your token via Config class ("token" parameter, look at example)
- In Client->doRequest() method added new "$raw" parameter with "false" state by default , now you can choose the type of returned contend (decoded json or raw)
- Requests->getDocument() method returned the content of file (pdf/doc)
- Some new endpoints added
- Scrutinizer is enabled for code quality check
- Tests moved to Travis, and run now in automode
- Dev account now preconfigured for tests by default
- Almost all tests rewriten to new conseption of testing