SU-SWS/stanford_profile_helper

View on GitHub

Showing 521 of 706 total issues

Line indented incorrectly; expected 0 spaces, found 2
Open

  id: "entity_access",

Expected 1 space after "?"; 0 found
Open

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

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

  public function fetchXML($query = "category-list") {

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}

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

#[Block(

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}

Expected 1 space before "?"; 0 found
Open

      $collection->get('xmlsitemap.sitemap_xml')?->setRequirement('_access', 'FALSE');

Expected 1 space before "?"; 0 found
Open

      $collection->get('xmlsitemap.sitemap_xsl')?->setRequirement('_access', 'FALSE');

Missing class doc comment
Open

class PageHeadingBlock extends BlockBase {

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}

Doc comment short description must start with a capital letter
Open

   * {@inheritDoc}

Unused use statement
Open

use Drupal\Core\Field\Attribute\FieldWidget;

Object operator not indented correctly; expected 4 spaces but found 6
Open

      ->getName() == 'layout_selection') {

Line exceeds 80 characters; contains 86 characters
Open

    // Parse form options we added into a url for the events-legacy.stanford.edu feed.

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

class DateMath extends ProcessPluginBase {
Severity
Category
Status
Source
Language