PHP8 compatibility fixes
Summary: PHP8 fixes, CS fixes, short array syntax, indentation
Reviewers: #roundcube_kolab_plugins_developers
Subscribers: #roundcube_kolab_plugins_developers
Tags: #roundcube_kolab_plugins
Differential Revision: https://git.kolab.org/D2185