symfony/symfony — pull request #12015 by webmozart (2014-09-24 11:05:05+00:00)
Title: [Validator] Simplified testing of violations

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

I simplified the assertion of violations in preparation of a replacement PR for #7276.