Skip to content

SSO: Start implementing Azure authentication #4172

SSO: Start implementing Azure authentication

SSO: Start implementing Azure authentication #4172

Triggered via pull request December 13, 2024 17:53
Status Failure
Total duration 12m 4s
Artifacts

php_analysis.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors
InvalidConsoleOptionValue: src/CoreBundle/Command/SendScheduledAnnouncementsCommand.php#L39
src/CoreBundle/Command/SendScheduledAnnouncementsCommand.php:39:40: InvalidConsoleOptionValue: Use Symfony\Component\Console\Input\InputOption constants
TooFewArguments: src/CoreBundle/Controller/OAuth2/AbstractProviderController.php#L25
src/CoreBundle/Controller/OAuth2/AbstractProviderController.php:25:59: TooFewArguments: Too few arguments for KnpU\OAuth2ClientBundle\Client\OAuth2ClientInterface::redirect - expecting scopes to be passed (see https://psalm.dev/025)
TooFewArguments: src/CoreBundle/Controller/OAuth2/AbstractProviderController.php#L25
src/CoreBundle/Controller/OAuth2/AbstractProviderController.php:25:59: TooFewArguments: Too few arguments for KnpU\OAuth2ClientBundle\Client\OAuth2ClientInterface::redirect - expecting options to be passed (see https://psalm.dev/025)
TooFewArguments: src/CoreBundle/Controller/OAuth2/AbstractProviderController.php#L25
src/CoreBundle/Controller/OAuth2/AbstractProviderController.php:25:59: TooFewArguments: Too few arguments for method KnpU\OAuth2ClientBundle\Client\OAuth2ClientInterface::redirect saw 0 (see https://psalm.dev/025)
UnhandledMatchCondition: src/CoreBundle/Decorator/OAuth2ProviderFactoryDecorator.php#L37
src/CoreBundle/Decorator/OAuth2ProviderFactoryDecorator.php:37:27: UnhandledMatchCondition: This match expression is not exhaustive - consider values League\OAuth2\Client\Provider\Facebook::class|League\OAuth2\Client\Provider\GenericProvider::class|Stevenmaguire\OAuth2\Client\Provider\Keycloak::class|TheNetworg\OAuth2\Client\Provider\Azure::class|mixed (see https://psalm.dev/236)
UndefinedVariable: src/CoreBundle/Entity/User.php#L2415
src/CoreBundle/Entity/User.php:2415:48: UndefinedVariable: Cannot find referenced variable $user (see https://psalm.dev/024)
UndefinedVariable: src/CoreBundle/Entity/User.php#L2415
src/CoreBundle/Entity/User.php:2415:90: UndefinedVariable: Cannot find referenced variable $user (see https://psalm.dev/024)
NoValue: src/CoreBundle/Form/DataTransformer/ResourceToIdentifierTransformer.php#L51
src/CoreBundle/Form/DataTransformer/ResourceToIdentifierTransformer.php:51:48: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
NoValue: src/CoreBundle/Form/DataTransformer/ResourceToIdentifierTransformer.php#L52
src/CoreBundle/Form/DataTransformer/ResourceToIdentifierTransformer.php:52:13: NoValue: All possible types for this return were invalidated - This may be dead code (see https://psalm.dev/179)
MissingTemplateParam: src/CoreBundle/Security/Authorization/Voter/MessageRelUserVoter.php#L16
src/CoreBundle/Security/Authorization/Voter/MessageRelUserVoter.php:16:7: MissingTemplateParam: Chamilo\CoreBundle\Security\Authorization\Voter\MessageRelUserVoter has missing template params when extending Symfony\Component\Security\Core\Authorization\Voter\Voter, expecting 2 (see https://psalm.dev/182)