From fb0d597b9d11dfd6b80f01fa8ca94c412925da95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Thu, 24 Sep 2020 20:13:19 +0200 Subject: [PATCH] Issue #3172425 by mikelutz, catch: "Symfony\Component\Lock\Factory" is deprecated since Symfony 4.4 and will be removed in 5.0 use "Symfony\Component\Lock\LockFactory" instead (cherry picked from commit e304572729872e590effda9b2f1eb4dccca1b04c) --- core/tests/Drupal/BuildTests/Framework/BuildTestBase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/tests/Drupal/BuildTests/Framework/BuildTestBase.php b/core/tests/Drupal/BuildTests/Framework/BuildTestBase.php index cddc6d5827..cdd138cfcd 100644 --- a/core/tests/Drupal/BuildTests/Framework/BuildTestBase.php +++ b/core/tests/Drupal/BuildTests/Framework/BuildTestBase.php @@ -12,7 +12,7 @@ use Symfony\Component\BrowserKit\Client as SymfonyClient; use Symfony\Component\Filesystem\Filesystem as SymfonyFilesystem; use Symfony\Component\Finder\Finder; -use Symfony\Component\Lock\Factory; +use Symfony\Component\Lock\LockFactory; use Symfony\Component\Lock\Store\FlockStore; use Symfony\Component\Process\PhpExecutableFinder; use Symfony\Component\Process\Process; @@ -465,7 +465,7 @@ protected function stopServer() { */ protected function findAvailablePort() { $store = new FlockStore(DrupalFilesystem::getOsTemporaryDirectory()); - $lock_factory = new Factory($store); + $lock_factory = new LockFactory($store); $counter = 100; while ($counter--) { -- GitLab