SU-SWS/stanford_profile_helper

View on GitHub
modules/jumpstart_ui/src/Plugin/TwigPlugin/JumpstartUITwig.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

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

   * @param \Drupal\Core\Render\RendererInterface $renderer

Assigning ?\Drupal\Core\Render\RendererInterface to property but \Drupal\jumpstart_ui\Plugin\TwigPlugin\JumpstartUITwig->renderer is \Drupal\Core\Render\RendererInterface
Open

    $this->renderer = $renderer;

Doc comment short description must start with a capital letter
Open

   * {@inheritDoc}

Doc comment short description must end with a full stop
Open

   * {@inheritDoc}

There must be no blank line following an inline comment
Open

    // Use a markup to flag it as "safe".

There must be no blank line following an inline comment
Open

    // Use a markup to flag it as "safe".

There are no issues that match your filters.

Category
Status