From afb161d5cd2d763e4908b0d54a357640aae7118d Mon Sep 17 00:00:00 2001 From: Tobias Werth Date: Fri, 28 Feb 2025 16:27:28 +0000 Subject: [PATCH] Remove unused imports. --- webapp/src/Controller/BaseController.php | 1 - webapp/src/Controller/SecurityController.php | 2 -- webapp/src/Controller/Team/MiscController.php | 1 - webapp/src/DataTransferObject/JudgingWrapper.php | 1 - webapp/src/DataTransferObject/PrintTeam.php | 1 - webapp/src/Form/Type/SubmissionsFilterType.php | 1 - webapp/src/Form/Type/UserRegistrationType.php | 1 - webapp/src/Form/Type/UserType.php | 1 - webapp/src/Serializer/SubmissionVisitor.php | 1 - webapp/src/Twig/TwigExtension.php | 1 - 10 files changed, 11 deletions(-) diff --git a/webapp/src/Controller/BaseController.php b/webapp/src/Controller/BaseController.php index e03c2eb9103..02b9e0ca7c4 100644 --- a/webapp/src/Controller/BaseController.php +++ b/webapp/src/Controller/BaseController.php @@ -8,7 +8,6 @@ use App\Entity\Contest; use App\Entity\ContestProblem; use App\Entity\ExternalIdFromInternalIdInterface; -use App\Entity\Language; use App\Entity\Problem; use App\Entity\RankCache; use App\Entity\ScoreCache; diff --git a/webapp/src/Controller/SecurityController.php b/webapp/src/Controller/SecurityController.php index 4f5c2fab3c7..15bc302dff1 100644 --- a/webapp/src/Controller/SecurityController.php +++ b/webapp/src/Controller/SecurityController.php @@ -2,7 +2,6 @@ namespace App\Controller; -use App\Controller\Jury\UserController; use App\Entity\Team; use App\Entity\TeamAffiliation; use App\Entity\TeamCategory; @@ -14,7 +13,6 @@ use Ramsey\Uuid\Uuid; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\DependencyInjection\Attribute\Autowire; -use Symfony\Component\Form\FormInterface; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpKernel\Exception\HttpException; diff --git a/webapp/src/Controller/Team/MiscController.php b/webapp/src/Controller/Team/MiscController.php index ddfb41b9ff7..68ad4a292a5 100644 --- a/webapp/src/Controller/Team/MiscController.php +++ b/webapp/src/Controller/Team/MiscController.php @@ -25,7 +25,6 @@ use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; use Symfony\Component\HttpKernel\KernelInterface; -use Symfony\Component\PropertyAccess\PropertyAccess; use Symfony\Component\Routing\Attribute\Route; use Symfony\Component\Routing\RouterInterface; use Symfony\Component\Security\Http\Attribute\IsGranted; diff --git a/webapp/src/DataTransferObject/JudgingWrapper.php b/webapp/src/DataTransferObject/JudgingWrapper.php index ea16f4cd915..475f3d8aa4d 100644 --- a/webapp/src/DataTransferObject/JudgingWrapper.php +++ b/webapp/src/DataTransferObject/JudgingWrapper.php @@ -3,7 +3,6 @@ namespace App\DataTransferObject; use App\Entity\Judging; -use App\Utils\Utils; use JMS\Serializer\Annotation as Serializer; class JudgingWrapper diff --git a/webapp/src/DataTransferObject/PrintTeam.php b/webapp/src/DataTransferObject/PrintTeam.php index fac46802d59..48ac6070e69 100644 --- a/webapp/src/DataTransferObject/PrintTeam.php +++ b/webapp/src/DataTransferObject/PrintTeam.php @@ -2,7 +2,6 @@ namespace App\DataTransferObject; -use JMS\Serializer\Annotation as Serializer; use OpenApi\Attributes as OA; #[OA\Schema(required: ['name'])] diff --git a/webapp/src/Form/Type/SubmissionsFilterType.php b/webapp/src/Form/Type/SubmissionsFilterType.php index 9976b22a36d..f962bb7501f 100644 --- a/webapp/src/Form/Type/SubmissionsFilterType.php +++ b/webapp/src/Form/Type/SubmissionsFilterType.php @@ -13,7 +13,6 @@ use Doctrine\ORM\EntityRepository; use Symfony\Bridge\Doctrine\Form\Type\EntityType; use Symfony\Component\Form\AbstractType; -use Symfony\Component\Form\Extension\Core\Type\ButtonType; use Symfony\Component\Form\Extension\Core\Type\ChoiceType; use Symfony\Component\Form\Extension\Core\Type\SubmitType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/webapp/src/Form/Type/UserRegistrationType.php b/webapp/src/Form/Type/UserRegistrationType.php index 0e42d1ea45c..79bb519bdfa 100644 --- a/webapp/src/Form/Type/UserRegistrationType.php +++ b/webapp/src/Form/Type/UserRegistrationType.php @@ -2,7 +2,6 @@ namespace App\Form\Type; -use App\Controller\Jury\UserController; use App\Entity\Role; use App\Entity\Team; use App\Entity\TeamAffiliation; diff --git a/webapp/src/Form/Type/UserType.php b/webapp/src/Form/Type/UserType.php index 73e869ca738..fc92109b0a5 100644 --- a/webapp/src/Form/Type/UserType.php +++ b/webapp/src/Form/Type/UserType.php @@ -2,7 +2,6 @@ namespace App\Form\Type; -use App\Controller\Jury\UserController; use App\Entity\Role; use App\Entity\Team; use App\Entity\User; diff --git a/webapp/src/Serializer/SubmissionVisitor.php b/webapp/src/Serializer/SubmissionVisitor.php index d85bb1d33bc..e7f935ada1b 100644 --- a/webapp/src/Serializer/SubmissionVisitor.php +++ b/webapp/src/Serializer/SubmissionVisitor.php @@ -2,7 +2,6 @@ namespace App\Serializer; -use App\DataTransferObject\BaseFile; use App\DataTransferObject\FileWithName; use App\Entity\Submission; use App\Service\DOMJudgeService; diff --git a/webapp/src/Twig/TwigExtension.php b/webapp/src/Twig/TwigExtension.php index f66a0acff90..a891e08192d 100644 --- a/webapp/src/Twig/TwigExtension.php +++ b/webapp/src/Twig/TwigExtension.php @@ -11,7 +11,6 @@ use App\Entity\HasExternalIdInterface; use App\Entity\Judging; use App\Entity\JudgingRun; -use App\Entity\Language; use App\Entity\Problem; use App\Entity\Submission; use App\Entity\SubmissionFile;