Call to deprecated PropertyPath::getValue

PropertyPath was deprecated in 2.2, see https://github.com/symfony/symfony/blob/master/UPGRADE-2.2.md#deprecations-2