Showing 397 of 590 total issues
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
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
Assigning ?\Drupal\Core\Render\RendererInterface
to property but \Drupal\jumpstart_ui\Plugin\TwigPlugin\JumpstartUITwig->renderer
is \Drupal\Core\Render\RendererInterface
Open
Open
$this->renderer = $renderer;
- 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
mixed $args
is not variadic in comment, but variadic in param (...$args)
Open
Open
* @param mixed $args
- Exclude checks
syntax error, unexpected '...' (T_ELLIPSIS), expecting ']'
Open
Open
...$original_setting,
- Exclude checks
Argument 1 (event)
is \Drupal\core_event_dispatcher\Event\Entity\EntityUpdateEvent
but \Drupal\stanford_profile_helper\EventSubscriber\EntityEventSubscriber::callIndividualEntityMethods()
takes \Drupal\core_event_dispatcher\Event\Entity\AbstractEntityEvent
defined at /code/src/EventSubscriber/EntityEventSubscriber.php:99
Open
Open
$this->callIndividualEntityMethods($event, 'update', $event->getOriginalEntity());
- Exclude checks
syntax error, unexpected '...' (T_ELLIPSIS), expecting ']'
Open
Open
return [...$fields, ...$focal_point];
- 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) {}
- Exclude checks
Suspicious array access to \Drupal\Core\Field\FieldItemListInterface
Open
Open
$item = $items[$delta];
- Exclude checks
Declaration of function setClientId(string $client_id) : \Drupal\stanford_person_importer\Cap
should be compatible with function setClientId(string $client_id) : \Drupal\stanford_person_importer\CapInterface
(method returning '\Drupal\stanford_person_importer\Cap'
cannot override method returning '\Drupal\stanford_person_importer\CapInterface')
defined in /code/modules/stanford_person/modules/stanford_person_importer/src/CapInterface.php:38
Open
Open
public function setClientId(string $client_id): self {
- Exclude checks
todo found Open
Open
@todo: Remove when https://www.drupal.org/node/2779919 is resolved.
- Exclude checks
Declaration of function setClientSecret(string $secret) : \Drupal\stanford_person_importer\Cap
should be compatible with function setClientSecret(string $secret) : \Drupal\stanford_person_importer\CapInterface
(method returning '\Drupal\stanford_person_importer\Cap'
cannot override method returning '\Drupal\stanford_person_importer\CapInterface')
defined in /code/modules/stanford_person/modules/stanford_person_importer/src/CapInterface.php:49
Open
Open
public function setClientSecret(string $secret): self {
- Exclude checks
Argument 1 (event)
is \Drupal\core_event_dispatcher\Event\Entity\EntityPresaveEvent
but \Drupal\stanford_profile_helper\EventSubscriber\EntityEventSubscriber::callIndividualEntityMethods()
takes \Drupal\core_event_dispatcher\Event\Entity\AbstractEntityEvent
defined at /code/src/EventSubscriber/EntityEventSubscriber.php:99
Open
Open
$this->callIndividualEntityMethods($event, 'preSave');
- Exclude checks
syntax error, unexpected '...' (T_ELLIPSIS), expecting ']'
Open
Open
$urls = [...$bookmark_urls, ...$feed_urls];
- Exclude checks
syntax error, unexpected '->' (T_OBJECT_OPERATOR)
Open
Open
$collection->get('xmlsitemap.sitemap_xml')?->setRequirement('_access', 'FALSE');
- Exclude checks
Argument 1 (event)
is \Drupal\core_event_dispatcher\Event\Entity\EntityInsertEvent
but \Drupal\stanford_profile_helper\EventSubscriber\EntityEventSubscriber::callIndividualEntityMethods()
takes \Drupal\core_event_dispatcher\Event\Entity\AbstractEntityEvent
defined at /code/src/EventSubscriber/EntityEventSubscriber.php:99
Open
Open
$this->callIndividualEntityMethods($event, 'insert');
- Exclude checks