Fixing PHP error when listing users
Merge pull request #23 from hartym/master

Undefined variable in version API checks.
Merge pull request #24 from hartym/master

Update phpdoc to be accurate (version contains reference to "categories")
handle attachments on issue create
Adding an example for creating issues with attachments in one step
Merge pull request #26 from planio-gmbh/master

Handle attachments on Issue#create
php-cs
Adding method remove on Issue
fix #18 incorrect (int) casting
fix #15 add custom_fields param for creating issues
Adding method getCurrentUser()
Fixed the fact that when trying to update a custom field in an issue a PHP error gets generated.

Previously, the code would loop through all key-value pairs and try to attach the value as a string.

When hitting key='custom_fields' it would encounter an array as the value and this would fail.

There was existing additional logic to deal with this scenario when creating a new issue, but
not when updating an old one.

I have moved the code from create() that generates the XML into into its own function, and then
called this function from create() and update(). This seems to fix the issue.
cast customer fields id to int + update example.php file to show usage of upload + custom_fields
Fixes an undefined variable issue in version API.
Updates phpdoc (typos due du copypasting from categories).
handle attachments on issue create
Adding an example for creating issues with attachments in one step
php-cs
cs fix
Merge branch 'jbutz-master'