Draft: PHPStan cleanup

Closes #3558757

Merge request reports

Loading