[Validator] Fixed: $traverse and $deep is passed to the visitor from Validator::validate()
merged branch bschussek/fix-validator (PR #7919)

This PR was merged into the 2.2 branch.

Discussion
----------

[Validator] Fixed: $traverse and $deep is passed to the visitor from Validator::validate()

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

59b78c7 [Validator] Fixed: $traverse and $deep is passed to the visitor from Validator::validate()