Skip to content

SSO: Allow to update access urls for user in generic oauth2 - refs BT… #363

SSO: Allow to update access urls for user in generic oauth2 - refs BT…

SSO: Allow to update access urls for user in generic oauth2 - refs BT… #363

Triggered via push August 27, 2024 17:04
Status Failure
Total duration 9m 35s
Artifacts

php_analysis.yml

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

Annotations

6 errors
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#L36
src/CoreBundle/Decorator/OAuth2ProviderFactoryDecorator.php:36: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|mixed (see https://psalm.dev/236)
MissingTemplateParam: src/CoreBundle/State/SocialPostStateProvider.php#L16
src/CoreBundle/State/SocialPostStateProvider.php:16:42: MissingTemplateParam: Chamilo\CoreBundle\State\SocialPostStateProvider has missing template params when extending ApiPlatform\State\ProviderInterface, expecting 1 (see https://psalm.dev/182)
PHP 8.2 Test on ubuntu-latest
Process completed with exit code 2.