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 end with a full stop
Open

   * {@inheritDoc}

Line exceeds 80 characters; contains 95 characters
Open

  #[CLI\Option(name: 'revalidation-secret', description: 'Use a specific revalidation secret')]

Expected 1 space before "="; 0 found
Open

declare(strict_types=1);

Expected 1 space before "="; 0 found
Open

declare(strict_types=1);

Unused use statement
Open

use Drupal\Core\Field\Attribute\FieldWidget;

Doc comment short description must start with a capital letter
Open

   * {@inheritDoc}

Doc comment short description must end with a full stop
Open

   * {@inheritDoc}

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

  $variables['is_article'] = true;

Doc comment short description must start with a capital letter
Open

   * {@inheritDoc}

Unused use statement
Open

use Drush\Boot\DrupalBootLevels;

You must use "/**" style comments for a class comment
Open

final class StanfordDecoupledCommands extends DrushCommands {

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

  #[CLI\Command(name: 'stanford-decoupled:connect-next', aliases: ['su-next-connect'])]

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

  #[CLI\Option(name: 'format', description: 'Format the result data. Available formats: json,string')]

Unused use statement
Open

use Drupal\filter\Attribute\Filter;

Doc comment short description must end with a full stop
Open

   * {@inheritDoc}

Expected 1 space after "="; 0 found
Open

declare(strict_types=1);

Variable $citation is undefined.
Open

      $builder->callback(fn(CitationInterface $citation) => $citation->getBibliography()),

Expected 1 space before "="; 0 found
Open

declare(strict_types=1);

Missing parameter comment
Open

   * @param \Drupal\file\FileInterface $file
Severity
Category
Status
Source
Language