Fixes deprecation notices about dynamic properties creation by jean-bernard-valentaten · Pull Request #106 · lesstif/php-JiraCloud-RESTAPI

@jean-bernard-valentaten

issued when used with PHP8.2 and greater.

Dynamic property creation has been deprecated in PHP8.2 and are likely
to be removed from PHP in an upcoming version.
Since JIRA allows to create custom fields, this will lead to errors in
upcoming PHP versions. Thus a trait was added that allows to create
dynamic properties using magic method `__set`, retrieve them via magic
method `__get` and check their existance via magic method `__isset`.

The trait was only assigned to a couple of classes yet but can be
assigned whenever the need arises.