fix phpcs errors
Merge branch 'cs/#6981-zend-xmlrpc-psr2-compliance'

Close #6981