Showing 524 of 712 total issues
Format should be "* Implements hook_foo().", "* Implements hook_foo_BAR_ID_bar() for xyz_bar().",, "* Implements hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", "* Implements hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "* Implements hook_foo_BAR_ID_bar() for block templates." Open
Open
* Implements hook_page_attachments.
- Exclude checks
Possibly zero references to use statement for classlike/namespace MigrateProcess
(\Drupal\migrate\Attribute\MigrateProcess)
Open
Open
use Drupal\migrate\Attribute\MigrateProcess;
- Exclude checks
syntax error, unexpected 'private' (T_PRIVATE), expecting variable (T_VARIABLE)
Open
Open
public function __construct(private readonly EntityTypeManagerInterface $entityTypeManager, private readonly UuidInterface $uuid, private readonly PasswordGeneratorInterface $passwordGenerator, private readonly EventDispatcherInterface $eventDispatcher) {
- Exclude checks
Invalid offset "#field_name"
of array type array{add_more:array{#value:}}|array{add_more:array{add_more_button_stanford_person_cta:array{#value:}}}|array{add_more_button_stanford_person_cta:array{#value:}}
Open
Open
if ($variables['element']['#field_name'] == "su_schedule_speaker") {
- Exclude checks
Doc-block of $renderer
in __construct
is phpdoc param type \Drupal\Core\Render\RendererInterface
which is not a permitted replacement of the nullable param type ?\Drupal\Core\Render\RendererInterface
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param \Drupal\Core\Render\RendererInterface $renderer
- Exclude checks
syntax error, unexpected ','
Open
Open
id: "explore_courses_url",
- Exclude checks
syntax error, unexpected ','
Open
Open
id: "entity_access",
- Exclude checks
Argument 1 (parent)
is \Drupal\node\NodeInterface
but \Drupal\stanford_publication\Entity\CitationInterface::setParentEntity()
takes \Drupal\Core\Entity\ContentEntityInterface
defined at /code/modules/stanford_publication/src/Entity/CitationInterface.php:67
Open
Open
$citation_entity->setParentEntity($entity, 'su_publication_citation')
- Exclude checks
syntax error, unexpected '->' (T_OBJECT_OPERATOR)
Open
Open
if (!$node->isPublished() && $node->original?->isPublished() && \Drupal::hasService('search_api_algolia.helper')) {
- Exclude checks
syntax error, unexpected 'protected' (T_PROTECTED), expecting variable (T_VARIABLE)
Open
Open
public function __construct(protected EntityTypeManagerInterface $entityTypeManager) {}
- Exclude checks
syntax error, unexpected ')'
Open
Open
);
- Exclude checks
syntax error, unexpected ','
Open
Open
id: "entity_access",
- Exclude checks
syntax error, unexpected '...' (T_ELLIPSIS), expecting ']'
Open
Open
return [...$fields, ...$focal_point];
- Exclude checks
syntax error, unexpected ','
Open
Open
id: "decoupled_referenced_invalidator",
- Exclude checks
syntax error, unexpected '...' (T_ELLIPSIS), expecting ']'
Open
Open
$urls = [...$bookmark_urls, ...$feed_urls];
- Exclude checks
syntax error, unexpected ','
Open
Open
id: "stanford_events_importer_apiurl_field_widget",
- Exclude checks
Invalid offset "#fields"
of array type array{#ds_configuration:array{regions:array{card_cta_label:mixed}}}
Open
Open
$variables['content']['#fields']['card_cta_label'] = $variables['content']['#fields']['card_button_label'];
- Exclude checks
Returning type \Drupal\Core\TypedData\TranslatableInterface
but getParentEntity()
is declared to return \Drupal\Core\Entity\ContentEntityInterface|null
Open
Open
return $parent;
- Exclude checks
syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']'
Open
Open
'fields' => fn() => [
- Exclude checks
syntax error, unexpected 'protected' (T_PROTECTED), expecting variable (T_VARIABLE)
Open
Open
public function __construct(protected BookManagerInterface $bookManager, protected ConfigPagesLoaderServiceInterface $configPagesLoader, protected EntityTypeManagerInterface $entityTypeManager) {
- Exclude checks