SU-SWS/stanford_fields

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

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

Showing 6 of 6 total issues

syntax error, unexpected ','
Open

id: 'relative_internal_link',

Line indented incorrectly; expected 0 spaces, found 2
Open

id: 'relative_internal_link',

Missing class doc comment
Open

class RelativeLinkFieldItemConstraint extends SymfonyConstraint {

Unused use statement
Open

use Drupal\Core\Validation\Attribute\Constraint;

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

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

#[Constraint(

There are no issues that match your filters.

Category
Status