Skip to content

TASK: Inject Logger for custom task #1136

TASK: Inject Logger for custom task

TASK: Inject Logger for custom task #1136

Triggered via pull request October 10, 2023 05:22
Status Failure
Total duration 44s
Artifacts

phpstan.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
phpstan: src/Domain/Model/Deployment.php#L464
Cannot call method get() on Symfony\Component\DependencyInjection\ContainerInterface|null.
phpstan: src/Domain/Model/Deployment.php#L500
Cannot call method get() on Symfony\Component\DependencyInjection\ContainerInterface|null.
phpstan: src/Domain/Service/TaskFactory.php#L35
Cannot call method has() on Symfony\Component\DependencyInjection\ContainerInterface|null.
phpstan: src/Domain/Service/TaskFactory.php#L41
Cannot call method get() on Symfony\Component\DependencyInjection\ContainerInterface|null.
phpstan: src/Domain/Service/TaskFactory.php#L41
Parameter #1 $logger of method Psr\Log\LoggerAwareInterface::setLogger() expects Psr\Log\LoggerInterface, object|null given.
phpstan: src/Domain/Service/TaskFactory.php#L44
Cannot call method get() on Symfony\Component\DependencyInjection\ContainerInterface|null.
phpstan
Process completed with exit code 1.