[Validation] Fix order of code block: Annotations <=> YAML

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | -
| Fixed tickets | -

Order of code blocks for validation following the guidelines is: YAML, Annotation, XML, PHP