IsParamTypeNotAnIdeDefaultValidator

Extends \Symfony\Component\Validator\ConstraintValidator

Validates whether the type for a param tag with a Method or Function is not a known default.

Whenever this validator triggers then it means that someone forgot to replace the pseudo type generated by the IDE with the real type for the given parameter.

package

Default

Methods

Verifies if this type is a possible IDE default.

isTypeAnIdeDefault(\phpDocumentor\Descriptor\Type\UnknownTypeDescriptor|\phpDocumentor\Descriptor\Interfaces\TypeInterface $type) : boolean

validate

validate( $value, \Symfony\Component\Validator\Constraint $constraint) 
see \Symfony\Component\Validator\ConstraintValidatorInterface::validate()

Arguments

$value

$constraint

\Symfony\Component\Validator\Constraint