diff -ru tests/Update/RecipePatcherTest.php tests/Update/RecipePatcherTest.php --- tests/Update/RecipePatcherTest.php 2025-07-05 12:55:14.351390164 +0000 +++ tests/Update/RecipePatcherTest.php 2025-07-05 12:55:16.641393881 +0000 @@ -246,7 +246,6 @@ (new Process(['git', 'add', '-A'], FLEX_TEST_DIR))->mustRun(); (new Process(['git', 'commit', '-m', 'Committing original files'], FLEX_TEST_DIR))->mustRun(); - $lock = $this->createMock(Lock::class); $lock->expects($this->any())->method('all')->willReturn([ 'symfony/security-bundle' => ['files' => ['config/packages/security.yaml']],