open-orchestra/open-orchestra-cms-bundle

View on GitHub
Backoffice/Validator/Constraints/TrashcanRemoveValidator.php

Summary

Maintainability
A
0 mins
Test Coverage

Reference to undeclared property \OpenOrchestra\Backoffice\Validator\Constraints\TrashcanRemoveValidator->context
Open

            $this->context->buildViolation($constraint->message)

Parameter $constraint has undeclared type \Symfony\Component\Validator\Constraint
Open

    public function validate($trashItem, Constraint $constraint)

Call to method getDeletedAt from undeclared class \OpenOrchestra\ModelInterface\Model\TrashItemInterface
Open

        $dateDelete = $trashItem->getDeletedAt();

Reference to instance property message from undeclared class \Symfony\Component\Validator\Constraint
Open

            $this->context->buildViolation($constraint->message)

Parameter $trashItem has undeclared type \OpenOrchestra\ModelInterface\Model\TrashItemInterface
Open

    public function validate($trashItem, Constraint $constraint)

Class extends undeclared class \Symfony\Component\Validator\ConstraintValidator
Open

class TrashcanRemoveValidator extends ConstraintValidator

There are no issues that match your filters.

Category
Status