SU-SWS/stanford_profile_helper

View on GitHub

Showing 521 of 706 total issues

Doc comment short description must end with a full stop
Open

   * {@inheritDoc}

Doc comment short description must start with a capital letter
Open

   * {@inheritDoc}

Expected 1 space before "?"; 0 found
Open

  if (!$node->isPublished() && $node->original?->isPublished() && \Drupal::hasService('search_api_algolia.helper')) {

Public method name "StanfordEventsImporter::parseXML" is not in lowerCamel format
Open

  public function parseXML($raw, array $options) {

Doc comment short description must end with a full stop
Open

   * {@inheritDoc}

Unused use statement
Open

use Drupal\Core\Block\Attribute\Block;

Doc comment short description must start with a capital letter
Open

   * {@inheritDoc}

Perl-style comments are not allowed; use "// Comment" instead
Open

#[FieldWidget(

Expected 1 space before ":"; 0 found
Open

    case $stanford_profile_helper_404_page:

TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
Open

  $variables['is_article'] = true;

Doc comment short description must end with a full stop
Open

   * {@inheritDoc}

Doc comment short description must start with a capital letter
Open

   * {@inheritDoc}

There must be no blank line following an inline comment
Open

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

Doc comment short description must end with a full stop
Open

   * {@inheritDoc}

Doc comment short description must end with a full stop
Open

   * {@inheritDoc}

Doc comment short description must start with a capital letter
Open

   * {@inheritDoc}

Doc comment short description must start with a capital letter
Open

   * {@inheritDoc}

Doc comment short description must end with a full stop
Open

   * {@inheritDoc}

Variable $pattern_a is undefined.
Open

  uasort($variables['patterns'], fn($pattern_a, $pattern_b) => strcmp($pattern_a['label'], $pattern_b['label']));

Doc comment short description must end with a full stop
Open

   * {@inheritDoc}
Severity
Category
Status
Source
Language