This test does not cover the code path you have changed? override is false and target exists, see https://github.com/symfony/symfony/pull/9863/files#diff-e88ad8ede40599bea0592b1113c4452cL46