SU-SWS/stanford_profile_helper

View on GitHub

Showing 524 of 712 total issues

Unused use statement
Open

use Drupal\Core\Queue\Attribute\QueueWorker;

Doc comment short description must start with a capital letter
Open

   * {@inheritDoc}

Missing parameter comment
Open

   * @param int $width

Doc comment short description must start with a capital letter
Open

   * {@inheritDoc}

Only string literals should be passed to t() where possible
Open

        $form_state->setError($element, $this->t("That API version is deprecated. Newest version is: $xml->latestVersion"));

Unused use statement
Open

use Drush\Boot\DrupalBootLevels;

Each index in a multi-line array must be on a new line
Open

      'fields' => fn() => [

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

  public function nextInvalidateUrl(string $url) {

Doc comment short description must start with a capital letter
Open

   * {@inheritDoc}

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 be on a single line, further text should be a separate paragraph
Open

   * decoupled.

Missing parameter comment
Open

   * @param \Drupal\file\FileInterface $file

Missing parameter comment
Open

   * @param int $height

Line exceeds 80 characters; contains 85 characters
Open

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

Expected 1 space after "="; 0 found
Open

declare(strict_types=1);

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

#[QueueWorker(

Missing class doc comment
Open

class ExploreCoursesUrlWidget extends LinkWidget {

Expected 1 space after "="; 0 found
Open

declare(strict_types=1);

Doc comment short description must end with a full stop
Open

   * {@inheritDoc}
Severity
Category
Status
Source
Language