Skip to content

Remove unused imports. #2917

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion webapp/src/Controller/BaseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions webapp/src/Controller/SecurityController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace App\Controller;

use App\Controller\Jury\UserController;
use App\Entity\Team;
use App\Entity\TeamAffiliation;
use App\Entity\TeamCategory;
Expand All @@ -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;
Expand Down
1 change: 0 additions & 1 deletion webapp/src/Controller/Team/MiscController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion webapp/src/DataTransferObject/JudgingWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace App\DataTransferObject;

use App\Entity\Judging;
use App\Utils\Utils;
use JMS\Serializer\Annotation as Serializer;

class JudgingWrapper
Expand Down
1 change: 0 additions & 1 deletion webapp/src/DataTransferObject/PrintTeam.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace App\DataTransferObject;

use JMS\Serializer\Annotation as Serializer;
use OpenApi\Attributes as OA;

#[OA\Schema(required: ['name'])]
Expand Down
1 change: 0 additions & 1 deletion webapp/src/Form/Type/SubmissionsFilterType.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion webapp/src/Form/Type/UserRegistrationType.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion webapp/src/Form/Type/UserType.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -28,7 +27,7 @@
#[Autowire(param: 'min_password_length')]
private readonly int $minimumPasswordLength,
)
{

Check failure on line 30 in webapp/src/Form/Type/UserType.php

View workflow job for this annotation

GitHub Actions / phpcs

The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
parent::__construct($eventLogService);
}

Expand Down
1 change: 0 additions & 1 deletion webapp/src/Serializer/SubmissionVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace App\Serializer;

use App\DataTransferObject\BaseFile;
use App\DataTransferObject\FileWithName;
use App\Entity\Submission;
use App\Service\DOMJudgeService;
Expand Down
1 change: 0 additions & 1 deletion webapp/src/Twig/TwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading