getFreeSkillPoints() < 0) { $this->context->buildViolation($constraint->noMoreSkillPointsMessage) ->atPath('character.freeSkillPoints') ->addViolation(); } } }