Adding PHPStan ignore lines because we have to make static calls.
Closes #3517043
The comments in the code already address why we can't use dependency injection, which is causing PHPStan to fail.
// Can't use it with Dependency Injection because runs from script or
// hook_update_N where DI is not available.
Thus, I added the following above the lines to ignore.
// @phpstan-ignore-next-line
Merge request reports
Activity
Please register or sign in to reply