PHPCS fixes for Zend\Serializer
Merge branch 'cs/#6990-zend-serializer-psr2-compliance'

Close #6990