Skip to content

Breaking change missing in 5 to 6 upgrade #822

@bbrala

Description

@bbrala

Seems the signature of BaseConstraint has changed:

public function addError(?JsonPointer $path, $message, $constraint = '', ?array $more = null)

public function addError(ConstraintError $constraint, ?JsonPointer $path = null, array $more = []): void

Is that intentional? Guess the fact it isn't optional anymore is the problem there.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions