[Hackday][Validator] Add deprecated logs on addViolation() and addViolationAt() methods.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12686 
| License       | MIT
| Doc PR        | 
this should be triggered only when they are passed explicitely (i.e. ``func_num_args() >= 2``), to avoid triggering notices for the new API way