New validation API usage in Class Constraint Validator
feature #4456 New validation API usage in Class Constraint Validator (skwi)

This PR was squashed before being merged into the 2.5 branch (closes #4456).

Discussion
----------

New validation API usage in Class Constraint Validator

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.5
| Fixed tickets |

The code in the documentation about Class Constraint Validator was still using the deprecated validation API

Commits
-------

e431fdb New validation API usage in Class Constraint Validator