SU-SWS/stanford_fields

View on GitHub

Showing 68 of 110 total issues

Expected 1 space after "="; 0 found
Open

declare(strict_types=1);

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

#[ViewsDisplay(

Unused use statement
Open

use Drupal\Core\Field\Attribute\FieldWidget;

Doc comment short description must start with a capital letter
Open

* {@inheritDoc}

Expected 1 space after "?"; 0 found
Open

$link_uri = $value->get(0)?->get('uri')?->getString();

Expected 1 space after "="; 0 found
Open

declare(strict_types=1);

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

#[FieldWidget(

Missing class doc comment
Open

final class TaxonomyLabelHierarchyWidget extends OptionsWidgetBase {

Line indented incorrectly; expected 0 spaces, found 2
Open

id: 'taxonomy_label_hierarchy',

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

public $absoluteLink = 'Please use relative links that start with "/" for paths on this site.';

Doc comment short description must start with a capital letter
Open

* {@inheritDoc}

Expected 1 space before "?"; 0 found
Open

$link_uri = $value->get(0)?->get('uri')?->getString();

Expected 1 space after "="; 0 found
Open

declare(strict_types=1);

Line indented incorrectly; expected 0 spaces, found 2
Open

id: "book_forward_back",

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

#[FieldWidget(

Expected 1 space before "?"; 0 found
Open

$link_uri = $value->get(0)?->get('uri')?->getString();

Unused use statement
Open

use Drupal\Core\Block\Attribute\Block;

Missing class doc comment
Open

class BookForwardBackBlock extends BlockBase implements ContainerFactoryPluginInterface {

Unused use statement
Open

use Drupal\Core\Field\Attribute\FieldWidget;

Doc comment short description must end with a full stop
Open

* {@inheritDoc}
Severity
Category
Status
Source
Language