SU-SWS/stanford_profile_helper

View on GitHub

Showing 521 of 706 total issues

Expected 1 space after FUNCTION keyword; 0 found
Open

    $item['#cache']['tags'] = array_filter($item['#cache']['tags'], function($tag) use ($tags) {

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

   * decoupled.

Line exceeds 80 characters; contains 102 characters
Open

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

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

  #[CLI\Usage(name: 'stanford-decoupled:connect-next "http://localhost:3000"', description: 'Create a next site entity to connect with Next.JS site')]

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

   * {@inheritDoc}

The @see reference should not contain any additional text
Open

 * @see stanford_person_taxonomy_term_presave ()

Doc comment short description must start with a capital letter
Open

   * {@inheritDoc}

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

#[CLI\Bootstrap(DrupalBootLevels::FULL)]

Variable $index is undefined.
Open

    $indexes = array_filter(ContentEntity::getIndexesForEntity($entity), fn(IndexInterface $index) => !!$index->getOption('algolia_index_name'));

Expected 1 space after "|"; 0 found
Open

  public static function deleteRecords(string|int $objet_id, string $index_name, string $app_id, string $app_key) {

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 start with a capital letter
Open

   * {@inheritDoc}

Doc comment short description must start with a capital letter
Open

   * {@inheritDoc}

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

  #[CLI\Command(name: 'stanford-decoupled:invalidate-url', aliases: ['su-next-invalidate'])]
Severity
Category
Status
Source
Language