- Issue created by @MacSim
Pipelines are ok cause phpstan pipeline is allowed to fail.
It would be great if its pipeline was also ok though.
According to the last CI pipelines, https://git.drupalcode.org/project/migrate_upgrade/-/jobs/528168 we only have to replace Drupal calls by dependency injections.
We also will have to add a phpstan.neon
file, cause using dependencies injection will bring errors such as:
Unsafe usage of new static(). 💡 See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static
Since it is a best practice in Drupal, we will just ignore that kind of errors
Active
4.0
Code