open-orchestra/open-orchestra-cms-bundle

View on GitHub
LogBundle/Processor/LogUserProcessor.php

Summary

Maintainability
A
0 mins
Test Coverage

Parameter $requestStack has undeclared type \Symfony\Component\HttpFoundation\RequestStack
Open

    public function __construct(TokenStorageInterface $securityContext, RequestStack $requestStack, ContextBackOfficeInterface $context)

Parameter $securityContext has undeclared type \Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface
Open

    public function __construct(TokenStorageInterface $securityContext, RequestStack $requestStack, ContextBackOfficeInterface $context)

Call to method getCurrentRequest from undeclared class \Symfony\Component\HttpFoundation\RequestStack
Open

        $request = $this->requestStack->getCurrentRequest();
Severity: Critical
Found in LogBundle/Processor/LogUserProcessor.php by phan

Call to method getToken from undeclared class \Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface
Open

            $record['extra']['user_name'] = $this->securityContext->getToken()->getUsername();
Severity: Critical
Found in LogBundle/Processor/LogUserProcessor.php by phan

Line exceeds 120 characters; contains 136 characters
Open

    public function __construct(TokenStorageInterface $securityContext, RequestStack $requestStack, ContextBackOfficeInterface $context)

There are no issues that match your filters.

Category
Status