SU-SWS/stanford_fields

View on GitHub
src/Plugin/Validation/Constraint/RelativeLinkFieldItemConstraint.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

syntax error, unexpected ','
Open

  id: 'relative_internal_link',

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.';

Unused use statement
Open

use Drupal\Core\Validation\Attribute\Constraint;

Line indented incorrectly; expected 0 spaces, found 2
Open

  id: 'relative_internal_link',

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

#[Constraint(

Missing class doc comment
Open

class RelativeLinkFieldItemConstraint extends SymfonyConstraint {

There are no issues that match your filters.

Category
Status