Skip to content

SSO: Start implementing Azure authentication #4173

SSO: Start implementing Azure authentication

SSO: Start implementing Azure authentication #4173

Triggered via pull request December 14, 2024 23:52
Status Failure
Total duration 9m 54s
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#L35
src/CoreBundle/Decorator/OAuth2ProviderFactoryDecorator.php:35:32: 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)
UnhandledMatchCondition: src/CoreBundle/Decorator/OAuth2ProviderFactoryDecorator.php#L44
src/CoreBundle/Decorator/OAuth2ProviderFactoryDecorator.php:44:33: 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)