The following code is not transformed correctly:
list ($class, $method) = ...
the list() is written as list (), but the result still has this whitespace at the beginning.

It should be without leading space. So all tokens from list to beginning of the ( should be removed IMO.
Thank you for your report.
Fixed in https://github.com/slevomat/coding-standard/commit/e40d0b147a167b97fac75d4e4f9b8c89fec56033
Are you able to tag a release here please? We need the fix to not mess up the indentation on list () ones.
Thank you.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
Thank you for your report.
Fixed in https://github.com/slevomat/coding-standard/commit/e40d0b147a167b97fac75d4e4f9b8c89fec56033