This error could be caused by various PHP parsing or syntax issues. Check the error log linked and resolve the issue to get scanning results. For further details, run Upgrade Status or phpstan-drupal locally to reproduce the error and solve the problem in the project codebase.
Results are from dataset #148 from 2022-09-11T12:04. Report is ran by the Drupal Association regularly.