SU-SWS/stanford_fields

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

Summary

Maintainability
A
0 mins
Test Coverage
A
95%

Showing 5 of 11 total issues

syntax error, unexpected ','
Open

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

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

#[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 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}

Unused use statement
Open

use Drupal\Core\Block\Attribute\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 end with a full stop
Invalid

* {@inheritDoc}

There are no issues that match your filters.

Category
Status