Skip to content

PROD-31064: Replace node grants in Search API #7625

PROD-31064: Replace node grants in Search API

PROD-31064: Replace node grants in Search API #7625

Triggered via pull request December 20, 2024 12:58
Status Failure
Total duration 5m 33s
Artifacts

qualityChecks.yml

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

Annotations

22 errors and 1 warning
PHPCS check
Process completed with exit code 2.
PHPStan check (8.1): html/profiles/contrib/social/modules/social_features/social_event/modules/social_event_managers/social_event_managers.module#L1
Ignored error pattern #^Cannot call method fetchAllAssoc\(\) on Drupal\\Core\\Database\\StatementInterface\|null\.$# in path /home/runner/work/open_social/open_social/html/profiles/contrib/social/modules/social_features/social_event/modules/social_event_managers/social_event_managers.module was not matched in reported errors.
PHPStan check (8.1): html/profiles/contrib/social/modules/social_features/social_event/modules/social_event_managers/social_event_managers.module#L1
Ignored error pattern #^Function social_event_managers_node_access_records\(\) has no return type specified\.$# in path /home/runner/work/open_social/open_social/html/profiles/contrib/social/modules/social_features/social_event/modules/social_event_managers/social_event_managers.module was not matched in reported errors.
PHPStan check (8.1): html/profiles/contrib/social/modules/social_features/social_event/modules/social_event_managers/social_event_managers.module#L1
Ignored error pattern #^Function social_event_managers_node_grants\(\) has no return type specified\.$# in path /home/runner/work/open_social/open_social/html/profiles/contrib/social/modules/social_features/social_event/modules/social_event_managers/social_event_managers.module was not matched in reported errors.
PHPStan check (8.1): html/profiles/contrib/social/modules/social_features/social_event/modules/social_event_managers/social_event_managers.module#L1
Ignored error pattern #^Function social_event_managers_node_grants\(\) has parameter \$op with no type specified\.$# in path /home/runner/work/open_social/open_social/html/profiles/contrib/social/modules/social_features/social_event/modules/social_event_managers/social_event_managers.module was not matched in reported errors.
PHPStan check (8.1): html/profiles/contrib/social/modules/social_features/social_group/src/Plugin/search_api/processor/SearchApiQueryAlter.php#L120
Cannot call method getFieldIdentifier() on Drupal\search_api\Item\FieldInterface|null.
PHPStan check (8.1): html/profiles/contrib/social/modules/social_features/social_group/src/Plugin/search_api/processor/SearchApiQueryAlter.php#L121
Cannot call method getFieldIdentifier() on Drupal\search_api\Item\FieldInterface|null.
PHPStan check (8.1): html/profiles/contrib/social/modules/social_features/social_node/social_node.install#L1
Ignored error pattern #^Function social_node_install\(\) has no return type specified\.$# in path /home/runner/work/open_social/open_social/html/profiles/contrib/social/modules/social_features/social_node/social_node.install was not matched in reported errors.
PHPStan check (8.1): html/profiles/contrib/social/modules/social_features/social_node/src/EventSubscriber/NodeQueryAccessAlterSubscriber.php#L46
Variable $field in PHPDoc tag @var does not match assigned variable $field_storage.
PHPStan check (8.1): html/profiles/contrib/social/modules/social_features/social_node/src/EventSubscriber/NodeQueryAccessAlterSubscriber.php#L68
Cannot call method getBundles() on Drupal\field\FieldStorageConfigInterface|null.
PHPUnit Tests (8.1)
Process completed with exit code 1.