Skip to content

Updates: (deps): Update drupal/private_message requirement from 3.0.4 to 3.0.6 #7643

Updates: (deps): Update drupal/private_message requirement from 3.0.4 to 3.0.6

Updates: (deps): Update drupal/private_message requirement from 3.0.4 to 3.0.6 #7643

Triggered via pull request January 24, 2025 00:47
Status Failure
Total duration 6m 44s
Artifacts

qualityChecks.yml

on: pull_request
Matrix: Project Setup
Spell Check
32s
Spell Check
Behat Linting
51s
Behat Linting
PHPCS check
26s
PHPCS check
Matrix: PHPStan check
Matrix: PHPUnit Tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHPStan check (8.1): html/profiles/contrib/social/modules/custom/activity_logger/activity_logger.tokens.inc#L198
The "private_message.mapper" service is deprecated in private_message:4.0.0 and is removed from private_message:5.0.0. No replacement is provided. See https://www.drupal.org/node/3490530
PHPStan check (8.1): html/profiles/contrib/social/modules/social_features/social_group/modules/social_group_welcome_message/social_group_welcome_message.module#L1
Ignored error pattern #^Parameter \#1 \$privateMessage of method Drupal\\private_message\\Entity\\PrivateMessageThread\:\:addMessage\(\) expects Drupal\\private_message\\Entity\\PrivateMessageInterface, Drupal\\Core\\Entity\\EntityInterface given\.$# in path /home/runner/work/open_social/open_social/html/profiles/contrib/social/modules/social_features/social_group/modules/social_group_welcome_message/social_group_welcome_message.module was not matched in reported errors.
PHPStan check (8.1): html/profiles/contrib/social/modules/social_features/social_group/modules/social_group_welcome_message/social_group_welcome_message.module#L201
Parameter #1 $privateMessage of method Drupal\private_message\Entity\PrivateMessageThreadInterface::addMessage() expects Drupal\private_message\Entity\PrivateMessageInterface, Drupal\Core\Entity\EntityInterface given.
PHPStan check (8.1): html/profiles/contrib/social/modules/social_features/social_private_message/social_private_message.tokens.inc#L42
The "private_message.mapper" service is deprecated in private_message:4.0.0 and is removed from private_message:5.0.0. No replacement is provided. See https://www.drupal.org/node/3490530
PHPStan check (8.1): html/profiles/contrib/social/modules/social_features/social_private_message/src/Mapper/PrivateMessageMapper.php#L13
Class Drupal\social_private_message\Mapper\PrivateMessageMapper extends deprecated class Drupal\private_message\Mapper\PrivateMessageMapper: in private_message:4.0.0 and is removed from private_message:5.0.0. No replacement is provided.
PHPStan check (8.1): html/profiles/contrib/social/modules/social_features/social_private_message/src/Mapper/PrivateMessageMapper.php#L20
Method Drupal\social_private_message\Mapper\PrivateMessageMapper::getUserIdsFromString() has parameter $count with no type specified.
PHPStan check (8.1): html/profiles/contrib/social/modules/social_features/social_private_message/src/Mapper/PrivateMessageMapper.php#L20
Method Drupal\social_private_message\Mapper\PrivateMessageMapper::getUserIdsFromString() has parameter $string with no type specified.
PHPStan check (8.1): html/profiles/contrib/social/modules/social_features/social_private_message/src/Service/SocialPrivateMessageService.php#L28
Property Drupal\social_private_message\Service\SocialPrivateMessageService::$database overriding property Drupal\private_message\Service\PrivateMessageService::$database (Drupal\Core\Database\Connection) should also have native type Drupal\Core\Database\Connection.
PHPStan check (8.1): html/profiles/contrib/social/modules/social_features/social_private_message/src/Service/SocialPrivateMessageService.php#L28
Readwrite property Drupal\social_private_message\Service\SocialPrivateMessageService::$database overrides readonly property Drupal\private_message\Service\PrivateMessageService::$database.
PHPStan check (8.1): html/profiles/contrib/social/modules/social_features/social_private_message/src/Service/SocialPrivateMessageService.php#L33
Parameter $mapper of method Drupal\social_private_message\Service\SocialPrivateMessageService::__construct() has typehint with deprecated interface Drupal\private_message\Mapper\PrivateMessageMapperInterface: in private_message:4.0.0 and is removed from private_message:5.0.0. No replacement is provided.