From 7058e8e6ed12dded88a51922ba7c329eb05a7620 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Skowro=C5=84ski?= Date: Sun, 27 Aug 2023 14:55:34 +0200 Subject: [PATCH] Remove call to deprecated service --- phpstan.neon.dist | 2 +- src/Service/ModListUpdateService/ModListUpdateService.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index d9d720f6..653f9f79 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -8,7 +8,7 @@ includes: - vendor/phpstan/phpstan-phpunit/extension.neon - vendor/phpstan/phpstan-phpunit/rules.neon - #- vendor/phpstan/phpstan-deprecation-rules/rules.neon + - vendor/phpstan/phpstan-deprecation-rules/rules.neon parameters: level: 6 diff --git a/src/Service/ModListUpdateService/ModListUpdateService.php b/src/Service/ModListUpdateService/ModListUpdateService.php index ca0f0e58..376113ca 100644 --- a/src/Service/ModListUpdateService/ModListUpdateService.php +++ b/src/Service/ModListUpdateService/ModListUpdateService.php @@ -8,7 +8,7 @@ use App\Entity\ModList\ModList; use App\Entity\User\User; use Doctrine\ORM\EntityManagerInterface; -use Symfony\Component\Security\Core\Security; +use Symfony\Bundle\SecurityBundle\Security; class ModListUpdateService implements ModListUpdateServiceInterface {