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 {