Skip to content

Message: Add optional email notifications for user subscriptions - refs #3398 #3972

Message: Add optional email notifications for user subscriptions - refs #3398

Message: Add optional email notifications for user subscriptions - refs #3398 #3972

Triggered via pull request October 23, 2024 22:45
Status Failure
Total duration 9m 37s
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#L35
src/CoreBundle/Command/SendScheduledAnnouncementsCommand.php:35: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#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)
UndefinedVariable: src/CoreBundle/Entity/User.php#L2412
src/CoreBundle/Entity/User.php:2412:48: UndefinedVariable: Cannot find referenced variable $user (see https://psalm.dev/024)
UndefinedVariable: src/CoreBundle/Entity/User.php#L2412
src/CoreBundle/Entity/User.php:2412:90: UndefinedVariable: Cannot find referenced variable $user (see https://psalm.dev/024)
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)
UndefinedDocblockClass: src/CoreBundle/ServiceHelper/ThemeHelper.php#L86
src/CoreBundle/ServiceHelper/ThemeHelper.php:86:16: UndefinedDocblockClass: Docblock-defined class, interface or enum named Chamilo\CoreBundle\ServiceHelper\UnableToCheckExistence does not exist (see https://psalm.dev/200)
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)