SU-SWS/stanford_fields

View on GitHub
src/Plugin/Block/BookForwardBackBlock.php

Summary

Maintainability
A
0 mins
Test Coverage
A
95%

syntax error, unexpected ','
Open

  id: "book_forward_back",
Severity: Critical
Found in src/Plugin/Block/BookForwardBackBlock.php by phan

Unused use statement
Open

use Drupal\Core\Block\Attribute\Block;

Doc comment short description must end with a full stop
Invalid

   * {@inheritDoc}

Doc comment short description must start with a capital letter
Invalid

   * {@inheritDoc}

Doc comment short description must end with a full stop
Invalid

   * {@inheritDoc}

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

#[Block(

Missing class doc comment
Open

class BookForwardBackBlock extends BlockBase implements ContainerFactoryPluginInterface {

Doc comment short description must start with a capital letter
Invalid

   * {@inheritDoc}

Doc comment short description must start with a capital letter
Invalid

   * {@inheritDoc}

Line indented incorrectly; expected 0 spaces, found 2
Open

  id: "book_forward_back",

Doc comment short description must end with a full stop
Invalid

   * {@inheritDoc}

There are no issues that match your filters.

Category
Status