Fix php 8.2 deprecation warnings, #6444

Merged Helmo requested to merge helmo/ispconfig3:6444-php82 into develop

Merge request reports