Move points per match to season entity
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good Details

This commit is contained in:
Daniel Guzman 2024-06-02 22:41:59 +02:00
parent 5ee51cf82b
commit 65b02bc11e
14 changed files with 181 additions and 158 deletions

View File

@ -0,0 +1,33 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20240602203312 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE league DROP points_per_win, DROP points_per_draw, DROP points_per_loss');
$this->addSql('ALTER TABLE season ADD points_per_win INT DEFAULT NULL, ADD points_per_draw INT DEFAULT NULL, ADD points_per_loss INT DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE league ADD points_per_win INT DEFAULT NULL, ADD points_per_draw INT DEFAULT NULL, ADD points_per_loss INT DEFAULT NULL');
$this->addSql('ALTER TABLE season DROP points_per_win, DROP points_per_draw, DROP points_per_loss');
}
}

View File

@ -13,9 +13,6 @@ class LeagueDto
public string $city; public string $city;
public string $logo; public string $logo;
public string $description; public string $description;
public int $pointsPerWin;
public int $pointsPerDraw;
public int $pointsPerLoss;
public int $matchesBetweenTeams; public int $matchesBetweenTeams;
public array $blockedMatchDates; public array $blockedMatchDates;
public bool $active; public bool $active;
@ -41,9 +38,6 @@ class LeagueDto
'city' => $this->city ?? null, 'city' => $this->city ?? null,
'logo' => $this->logo ?? null, 'logo' => $this->logo ?? null,
'description' => $this->description ?? null, 'description' => $this->description ?? null,
'pointsPerWin' => $this->pointsPerWin ?? null,
'pointsPerDraw' => $this->pointsPerDraw ?? null,
'pointsPerLoss' => $this->pointsPerLoss ?? null,
'matchesBetweenTeams' => $this->matchesBetweenTeams ?? [], 'matchesBetweenTeams' => $this->matchesBetweenTeams ?? [],
'blockedMatchDates' => $this->blockedMatchDates ?? [], 'blockedMatchDates' => $this->blockedMatchDates ?? [],
'active' => $this->active ?? null, 'active' => $this->active ?? null,
@ -91,18 +85,6 @@ class LeagueDto
{ {
$this->description = $dataList['description']; $this->description = $dataList['description'];
} }
if (isset($dataList['pointsPerWin']))
{
$this->pointsPerWin = (int) $dataList['pointsPerWin'];
}
if (isset($dataList['pointsPerDraw']))
{
$this->pointsPerDraw = (int) $dataList['pointsPerDraw'];
}
if (isset($dataList['pointsPerLoss']))
{
$this->pointsPerLoss = (int) $dataList['pointsPerLoss'];
}
if (isset($dataList['matchesBetweenTeams'])) if (isset($dataList['matchesBetweenTeams']))
{ {
$this->matchesBetweenTeams = (int) $dataList['matchesBetweenTeams']; $this->matchesBetweenTeams = (int) $dataList['matchesBetweenTeams'];
@ -152,18 +134,6 @@ class LeagueDto
{ {
$this->logo = $leagueObj->getLogo(); $this->logo = $leagueObj->getLogo();
} }
if ($leagueObj->getPointsPerWin() !== null)
{
$this->pointsPerWin = $leagueObj->getPointsPerWin();
}
if ($leagueObj->getPointsPerDraw() !== null)
{
$this->pointsPerDraw = $leagueObj->getPointsPerDraw();
}
if ($leagueObj->getPointsPerLoss() !== null)
{
$this->pointsPerLoss = $leagueObj->getPointsPerLoss();
}
if ($leagueObj->getMatchesBetweenTeams() !== null) if ($leagueObj->getMatchesBetweenTeams() !== null)
{ {
$this->matchesBetweenTeams = $leagueObj->getMatchesBetweenTeams(); $this->matchesBetweenTeams = $leagueObj->getMatchesBetweenTeams();
@ -204,30 +174,7 @@ class LeagueDto
{ {
$this->validationErrors[] = 'La localidad no puede estar vacía.'; $this->validationErrors[] = 'La localidad no puede estar vacía.';
} }
if (empty($this->pointsPerWin))
{
$this->validationErrors[] = 'Los puntos por partido ganado no pueden estar vacíos.';
}
if (
isset($this->pointsPerDraw, $this->pointsPerWin, $this->pointsPerLoss) &&
(($this->pointsPerWin <= $this->pointsPerDraw) ||
($this->pointsPerWin <= $this->pointsPerLoss))
)
{
$this->validationErrors[] = 'Los puntos por partido ganado deben ser superiores a los puntos por empate y por perdida.';
}
if (isset($this->pointsPerDraw, $this->pointsPerWin) && ($this->pointsPerDraw > $this->pointsPerWin))
{
$this->validationErrors[] = 'Los puntos por empate deben ser inferiores a los puntos por partido ganado.';
}
if (isset($this->pointsPerDraw, $this->pointsPerLoss) && ($this->pointsPerDraw < $this->pointsPerLoss))
{
$this->validationErrors[] = 'Los puntos por empate deben ser superiores a los puntos por partido perdido.';
}
if (isset($this->pointsPerDraw, $this->pointsPerWin, $this->pointsPerLoss) && ($this->pointsPerWin + $this->pointsPerDraw + $this->pointsPerLoss > 20))
{
$this->validationErrors[] = 'La suma de los puntos por partidos ganados, perdidos y empatados no puede ser superior a 20.';
}
if (!empty($this->validationErrors)) if (!empty($this->validationErrors))
{ {
throw new ValidationException($this->validationErrors); throw new ValidationException($this->validationErrors);

View File

@ -12,6 +12,9 @@ class SeasonDto
public array $teamDtoList; public array $teamDtoList;
public array $facilityDtoList; public array $facilityDtoList;
public int $leagueId; public int $leagueId;
public int $pointsPerWin;
public int $pointsPerLoss;
public int $pointsPerDraw;
public array $gameDtoList; public array $gameDtoList;
public array $seasonDataDtoList; public array $seasonDataDtoList;
public bool $active; public bool $active;
@ -59,6 +62,18 @@ class SeasonDto
$this->dateStart = $dateStart; $this->dateStart = $dateStart;
} }
} }
if (isset($dataList['pointsPerWin']))
{
$this->pointsPerWin = (int) $dataList['pointsPerWin'];
}
if (isset($dataList['pointsPerDraw']))
{
$this->pointsPerDraw = (int) $dataList['pointsPerDraw'];
}
if (isset($dataList['pointsPerLoss']))
{
$this->pointsPerLoss = (int) $dataList['pointsPerLoss'];
}
if (isset($dataList['active'])) if (isset($dataList['active']))
{ {
$this->active = $dataList['active']; $this->active = $dataList['active'];
@ -118,6 +133,30 @@ class SeasonDto
*/ */
public function validate(): void public function validate(): void
{ {
if (empty($this->pointsPerWin))
{
$this->validationErrors[] = 'Los puntos por partido ganado no pueden estar vacíos.';
}
if (
isset($this->pointsPerDraw, $this->pointsPerWin, $this->pointsPerLoss) &&
(($this->pointsPerWin <= $this->pointsPerDraw) ||
($this->pointsPerWin <= $this->pointsPerLoss))
)
{
$this->validationErrors[] = 'Los puntos por partido ganado deben ser superiores a los puntos por empate y por perdida.';
}
if (isset($this->pointsPerDraw, $this->pointsPerWin) && ($this->pointsPerDraw > $this->pointsPerWin))
{
$this->validationErrors[] = 'Los puntos por empate deben ser inferiores a los puntos por partido ganado.';
}
if (isset($this->pointsPerDraw, $this->pointsPerLoss) && ($this->pointsPerDraw < $this->pointsPerLoss))
{
$this->validationErrors[] = 'Los puntos por empate deben ser superiores a los puntos por partido perdido.';
}
if (isset($this->pointsPerDraw, $this->pointsPerWin, $this->pointsPerLoss) && ($this->pointsPerWin + $this->pointsPerDraw + $this->pointsPerLoss > 20))
{
$this->validationErrors[] = 'La suma de los puntos por partidos ganados, perdidos y empatados no puede ser superior a 20.';
}
if (!empty($this->validationErrors)) if (!empty($this->validationErrors))
{ {
throw new ValidationException($this->validationErrors); throw new ValidationException($this->validationErrors);

View File

@ -35,18 +35,9 @@ class League
#[ORM\Column(nullable: true)] #[ORM\Column(nullable: true)]
private ?\DateTimeImmutable $createdAt = null; private ?\DateTimeImmutable $createdAt = null;
#[ORM\Column(nullable: true)]
private ?int $pointsPerWin = null;
#[ORM\Column(nullable: true)]
private ?int $pointsPerDraw = null;
#[ORM\Column(length: 255, nullable: true)] #[ORM\Column(length: 255, nullable: true)]
private ?string $city = null; private ?string $city = null;
#[ORM\Column(nullable: true)]
private ?int $pointsPerLoss = null;
#[ORM\Column(nullable: true)] #[ORM\Column(nullable: true)]
private ?int $matchesBetweenTeams = null; private ?int $matchesBetweenTeams = null;
@ -158,30 +149,6 @@ class League
$this->createdAt = new \DateTimeImmutable('now', $timezone); $this->createdAt = new \DateTimeImmutable('now', $timezone);
} }
public function getPointsPerWin(): ?int
{
return $this->pointsPerWin;
}
public function setPointsPerWin(?int $pointsPerWin): static
{
$this->pointsPerWin = $pointsPerWin;
return $this;
}
public function getPointsPerDraw(): ?int
{
return $this->pointsPerDraw;
}
public function setPointsPerDraw(?int $pointsPerDraw): static
{
$this->pointsPerDraw = $pointsPerDraw;
return $this;
}
public function getCity(): ?string public function getCity(): ?string
{ {
return $this->city; return $this->city;
@ -194,18 +161,6 @@ class League
return $this; return $this;
} }
public function getPointsPerLoss(): ?int
{
return $this->pointsPerLoss;
}
public function setPointsPerLoss(?int $pointsPerLoss): static
{
$this->pointsPerLoss = $pointsPerLoss;
return $this;
}
public function getMatchesBetweenTeams(): ?int public function getMatchesBetweenTeams(): ?int
{ {
return $this->matchesBetweenTeams; return $this->matchesBetweenTeams;

View File

@ -44,6 +44,15 @@ class Season
#[ORM\OneToMany(mappedBy: 'season', targetEntity: File::class)] #[ORM\OneToMany(mappedBy: 'season', targetEntity: File::class)]
private Collection $files; private Collection $files;
#[ORM\Column(nullable: true)]
private ?int $pointsPerWin = null;
#[ORM\Column(nullable: true)]
private ?int $pointsPerDraw = null;
#[ORM\Column(nullable: true)]
private ?int $pointsPerLoss = null;
public function __construct() public function __construct()
{ {
$this->teams = new ArrayCollection(); $this->teams = new ArrayCollection();
@ -242,4 +251,40 @@ class Season
return $this; return $this;
} }
public function getPointsPerWin(): ?int
{
return $this->pointsPerWin;
}
public function setPointsPerWin(?int $pointsPerWin): static
{
$this->pointsPerWin = $pointsPerWin;
return $this;
}
public function getPointsPerDraw(): ?int
{
return $this->pointsPerDraw;
}
public function setPointsPerDraw(?int $pointsPerDraw): static
{
$this->pointsPerDraw = $pointsPerDraw;
return $this;
}
public function getPointsPerLoss(): ?int
{
return $this->pointsPerLoss;
}
public function setPointsPerLoss(?int $pointsPerLoss): static
{
$this->pointsPerLoss = $pointsPerLoss;
return $this;
}
} }

View File

@ -28,58 +28,55 @@ class AuthorizeRequest
throw new HttpException(Response::HTTP_FORBIDDEN, "Unauthorized."); throw new HttpException(Response::HTTP_FORBIDDEN, "Unauthorized.");
} }
$customRole = $this->customRoleRepository->findBy([ $customRole = $this->customRoleRepository->findBy([
'name' => $leagueId . Role::LEAGUE_PRESIDENT->value, 'name' => Role::LEAGUE_PRESIDENT->value,
'userEntity' => $userEntity 'user' => $userEntity,
'entityId' => $leagueId
]); ]);
if (is_null($customRole)) if (is_null($customRole))
{ {
throw new HttpException(Response::HTTP_FORBIDDEN, "Usuario no tiene permiso para editar la liga."); throw new HttpException(Response::HTTP_FORBIDDEN, "Forbidden");
} }
} }
public function teamCaptainRequest(int $leagueId, $teamId): User public function teamCaptainRequest(int $leagueId, $teamId): User
{ {
$userEntity = $this->security->getUser(); $requestingUserEntity = $this->security->getUser();
if (!$userEntity instanceof User) if (!$requestingUserEntity instanceof User)
{ {
throw new HttpException(Response::HTTP_FORBIDDEN, "Unauthorized"); throw new HttpException(Response::HTTP_FORBIDDEN, "Unauthorized");
} }
$captainCustomRole = $this->customRoleRepository->findBy([ $captainCustomRole = $this->customRoleRepository->findBy([
'name' => $teamId . Role::TEAM_CAPTAIN->value, 'name' => Role::TEAM_CAPTAIN->value,
'entityId' => $teamId
]); ]);
if (!is_null($captainCustomRole)) if (!is_null($captainCustomRole))
{ {
throw new HttpException(Response::HTTP_FORBIDDEN, "Equipo con id: $teamId ya tiene capitan"); throw new HttpException(Response::HTTP_FORBIDDEN, "Equipo con id: $teamId ya tiene capitan");
} }
$leagueMemberRole = $this->customRoleRepository->findBy([ $leagueMemberRole = $this->customRoleRepository->findBy([
'name' => $leagueId . Role::LEAGUE_MEMBER->value, 'name' => Role::LEAGUE_MEMBER->value,
'user' => $userEntity 'user' => $requestingUserEntity,
'entityId' => $leagueId
]); ]);
if (is_null($leagueMemberRole)) if (is_null($leagueMemberRole))
{ {
throw new HttpException(Response::HTTP_FORBIDDEN, "Usuario no es miembro de la liga"); throw new HttpException(Response::HTTP_FORBIDDEN, "Debes ser miembro de la liga antes de solicitar ser capitan.");
} }
return $userEntity; return $requestingUserEntity;
} }
public function isLeaguePresident(int $leagueId, User $leagueAdmin): bool public function isLeaguePresident(int $leagueId, User $leagueAdmin): bool
{ {
$adminRoles = $leagueAdmin->getCustomRoles(); $customRole = $this->customRoleRepository->findBy([
if (!$adminRoles->isEmpty()) 'name' => Role::LEAGUE_PRESIDENT->value,
'entityId' => $leagueId,
'user' => $leagueAdmin
]
);
if (is_null($customRole))
{ {
foreach ($adminRoles as $adminRoleEntity) throw new HttpException(Response::HTTP_FORBIDDEN,'Forbidden.');
{
$explodedRole = explode('_', $adminRoleEntity->getName());
if (
strtolower($explodedRole[1]) == 'league' &&
strtolower($explodedRole[2]) == 'president' &&
$explodedRole[0] == $leagueId
)
{
return true;
}
}
} }
throw new HttpException(Response::HTTP_NOT_FOUND,'Forbidden.'); return true;
} }
} }

View File

@ -46,7 +46,7 @@ class LeagueFactory
{ {
$leagueEntity->setCity($leagueDto->city); $leagueEntity->setCity($leagueDto->city);
} }
if (!empty($leagueDto->isPublic)) if (isset($leagueDto->isPublic))
{ {
$leagueEntity->setIsPublic($leagueDto->isPublic); $leagueEntity->setIsPublic($leagueDto->isPublic);
} }

View File

@ -15,6 +15,18 @@ class SeasonFactory
{ {
$seasonEntity->setDateStart($seasonDto->dateStart); $seasonEntity->setDateStart($seasonDto->dateStart);
} }
if (isset($seasonDto->pointsPerWin))
{
$seasonEntity->setPointsPerWin($seasonDto->pointsPerWin);
}
if (isset($seasonDto->pointsPerDraw))
{
$seasonEntity->setPointsPerDraw($seasonDto->pointsPerDraw);
}
if (isset($seasonDto->pointsPerLoss))
{
$seasonEntity->setPointsPerLoss($seasonDto->pointsPerLoss);
}
return $seasonEntity; return $seasonEntity;
} }
} }

View File

@ -16,6 +16,6 @@ if (!\class_exists(DMD_LaLigaApi_KernelDevDebugContainer::class, false)) {
return new \ContainerXJAXgNH\DMD_LaLigaApi_KernelDevDebugContainer([ return new \ContainerXJAXgNH\DMD_LaLigaApi_KernelDevDebugContainer([
'container.build_hash' => 'XJAXgNH', 'container.build_hash' => 'XJAXgNH',
'container.build_id' => 'b34b26d0', 'container.build_id' => 'c4d82904',
'container.build_time' => 1716716112, 'container.build_time' => 1717360279,
], __DIR__.\DIRECTORY_SEPARATOR.'ContainerXJAXgNH'); ], __DIR__.\DIRECTORY_SEPARATOR.'ContainerXJAXgNH');

View File

@ -514,8 +514,3 @@ $classes[] = 'Symfony\Component\Validator\Constraints\NotCompromisedPasswordVali
$classes[] = 'Symfony\Component\Validator\Constraints\WhenValidator'; $classes[] = 'Symfony\Component\Validator\Constraints\WhenValidator';
$preloaded = Preloader::preload($classes); $preloaded = Preloader::preload($classes);
$classes = [];
$classes[] = 'Symfony\\Component\\Routing\\Generator\\CompiledUrlGenerator';
$classes[] = 'Symfony\\Bundle\\FrameworkBundle\\Routing\\RedirectableCompiledUrlMatcher';
$preloaded = Preloader::preload($classes, $preloaded);

View File

@ -5,8 +5,8 @@
<parameter key="kernel.environment">dev</parameter> <parameter key="kernel.environment">dev</parameter>
<parameter key="kernel.runtime_environment">%env(default:kernel.environment:APP_RUNTIME_ENV)%</parameter> <parameter key="kernel.runtime_environment">%env(default:kernel.environment:APP_RUNTIME_ENV)%</parameter>
<parameter key="kernel.debug">true</parameter> <parameter key="kernel.debug">true</parameter>
<parameter key="kernel.build_dir">D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev</parameter> <parameter key="kernel.build_dir">D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev</parameter>
<parameter key="kernel.cache_dir">D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev</parameter> <parameter key="kernel.cache_dir">D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev</parameter>
<parameter key="kernel.logs_dir">D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\log</parameter> <parameter key="kernel.logs_dir">D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\log</parameter>
<parameter key="kernel.bundles" type="collection"> <parameter key="kernel.bundles" type="collection">
<parameter key="FrameworkBundle">Symfony\Bundle\FrameworkBundle\FrameworkBundle</parameter> <parameter key="FrameworkBundle">Symfony\Bundle\FrameworkBundle\FrameworkBundle</parameter>
@ -87,12 +87,12 @@
<parameter key="kernel.error_controller">error_controller</parameter> <parameter key="kernel.error_controller">error_controller</parameter>
<parameter key="debug.file_link_format">%env(default::SYMFONY_IDE)%</parameter> <parameter key="debug.file_link_format">%env(default::SYMFONY_IDE)%</parameter>
<parameter key="debug.error_handler.throw_at">-1</parameter> <parameter key="debug.error_handler.throw_at">-1</parameter>
<parameter key="debug.container.dump">D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev/DMD_LaLigaApi_KernelDevDebugContainer.xml</parameter> <parameter key="debug.container.dump">D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev/DMD_LaLigaApi_KernelDevDebugContainer.xml</parameter>
<parameter key="router.request_context.host">localhost</parameter> <parameter key="router.request_context.host">localhost</parameter>
<parameter key="router.request_context.scheme">http</parameter> <parameter key="router.request_context.scheme">http</parameter>
<parameter key="router.request_context.base_url"></parameter> <parameter key="router.request_context.base_url"></parameter>
<parameter key="router.resource">kernel::loadRoutes</parameter> <parameter key="router.resource">kernel::loadRoutes</parameter>
<parameter key="router.cache_dir">D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev</parameter> <parameter key="router.cache_dir">D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev</parameter>
<parameter key="request_listener.http_port">80</parameter> <parameter key="request_listener.http_port">80</parameter>
<parameter key="request_listener.https_port">443</parameter> <parameter key="request_listener.https_port">443</parameter>
<parameter key="cache.prefix.seed">_D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd.DMD_LaLigaApi_KernelDevDebugContainer</parameter> <parameter key="cache.prefix.seed">_D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd.DMD_LaLigaApi_KernelDevDebugContainer</parameter>
@ -106,7 +106,7 @@
</parameter> </parameter>
<parameter key="session.save_path">null</parameter> <parameter key="session.save_path">null</parameter>
<parameter key="session.metadata.update_threshold">0</parameter> <parameter key="session.metadata.update_threshold">0</parameter>
<parameter key="validator.mapping.cache.file">D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev/validation.php</parameter> <parameter key="validator.mapping.cache.file">D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev/validation.php</parameter>
<parameter key="validator.translation_domain">validators</parameter> <parameter key="validator.translation_domain">validators</parameter>
<parameter key="data_collector.templates" type="collection"/> <parameter key="data_collector.templates" type="collection"/>
<parameter key="doctrine.dbal.configuration.class">Doctrine\DBAL\Configuration</parameter> <parameter key="doctrine.dbal.configuration.class">Doctrine\DBAL\Configuration</parameter>
@ -173,7 +173,7 @@
<parameter key="doctrine.orm.second_level_cache.regions_configuration.class">Doctrine\ORM\Cache\RegionsConfiguration</parameter> <parameter key="doctrine.orm.second_level_cache.regions_configuration.class">Doctrine\ORM\Cache\RegionsConfiguration</parameter>
<parameter key="doctrine.orm.auto_generate_proxy_classes">true</parameter> <parameter key="doctrine.orm.auto_generate_proxy_classes">true</parameter>
<parameter key="doctrine.orm.enable_lazy_ghost_objects">true</parameter> <parameter key="doctrine.orm.enable_lazy_ghost_objects">true</parameter>
<parameter key="doctrine.orm.proxy_dir">D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev/doctrine/orm/Proxies</parameter> <parameter key="doctrine.orm.proxy_dir">D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev/doctrine/orm/Proxies</parameter>
<parameter key="doctrine.orm.proxy_namespace">Proxies</parameter> <parameter key="doctrine.orm.proxy_namespace">Proxies</parameter>
<parameter key="doctrine.migrations.preferred_em">null</parameter> <parameter key="doctrine.migrations.preferred_em">null</parameter>
<parameter key="doctrine.migrations.preferred_connection">null</parameter> <parameter key="doctrine.migrations.preferred_connection">null</parameter>
@ -587,7 +587,7 @@
</argument> </argument>
</service> </service>
<service id="http_cache.store" class="Symfony\Component\HttpKernel\HttpCache\Store"> <service id="http_cache.store" class="Symfony\Component\HttpKernel\HttpCache\Store">
<argument>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev/http_cache</argument> <argument>D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev/http_cache</argument>
</service> </service>
<service id="url_helper" class="Symfony\Component\HttpFoundation\UrlHelper"> <service id="url_helper" class="Symfony\Component\HttpFoundation\UrlHelper">
<argument type="service" id="request_stack"/> <argument type="service" id="request_stack"/>
@ -597,7 +597,7 @@
<tag name="container.no_preload"/> <tag name="container.no_preload"/>
<argument type="tagged_iterator" tag="kernel.cache_warmer"/> <argument type="tagged_iterator" tag="kernel.cache_warmer"/>
<argument>true</argument> <argument>true</argument>
<argument>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev/DMD_LaLigaApi_KernelDevDebugContainerDeprecations.log</argument> <argument>D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev/DMD_LaLigaApi_KernelDevDebugContainerDeprecations.log</argument>
</service> </service>
<service id="cache_clearer" class="Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer"> <service id="cache_clearer" class="Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer">
<argument type="tagged_iterator" tag="kernel.cache_clearer"/> <argument type="tagged_iterator" tag="kernel.cache_clearer"/>
@ -1147,7 +1147,7 @@
<tag name="kernel.reset" method="reset"/> <tag name="kernel.reset" method="reset"/>
<argument>NaLhWLN+Xk</argument> <argument>NaLhWLN+Xk</argument>
<argument>0</argument> <argument>0</argument>
<argument>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev/pools/app</argument> <argument>D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev/pools/app</argument>
<argument type="service" id="cache.default_marshaller" on-invalid="ignore"/> <argument type="service" id="cache.default_marshaller" on-invalid="ignore"/>
<call method="setLogger"> <call method="setLogger">
<argument type="service" id="logger" on-invalid="ignore"/> <argument type="service" id="logger" on-invalid="ignore"/>
@ -1163,7 +1163,7 @@
<argument>+4VOWgVa18</argument> <argument>+4VOWgVa18</argument>
<argument>0</argument> <argument>0</argument>
<argument>%container.build_id%</argument> <argument>%container.build_id%</argument>
<argument>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev/pools/system</argument> <argument>D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev/pools/system</argument>
<argument type="service" id="logger" on-invalid="ignore"/> <argument type="service" id="logger" on-invalid="ignore"/>
<factory class="Symfony\Component\Cache\Adapter\AbstractAdapter" method="createSystemCache"/> <factory class="Symfony\Component\Cache\Adapter\AbstractAdapter" method="createSystemCache"/>
</service> </service>
@ -1173,7 +1173,7 @@
<argument>j2sN4zNQ59</argument> <argument>j2sN4zNQ59</argument>
<argument>0</argument> <argument>0</argument>
<argument>%container.build_id%</argument> <argument>%container.build_id%</argument>
<argument>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev/pools/system</argument> <argument>D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev/pools/system</argument>
<argument type="service" id="logger" on-invalid="ignore"/> <argument type="service" id="logger" on-invalid="ignore"/>
<factory class="Symfony\Component\Cache\Adapter\AbstractAdapter" method="createSystemCache"/> <factory class="Symfony\Component\Cache\Adapter\AbstractAdapter" method="createSystemCache"/>
</service> </service>
@ -1183,7 +1183,7 @@
<argument>+rU4M4my5e</argument> <argument>+rU4M4my5e</argument>
<argument>0</argument> <argument>0</argument>
<argument>%container.build_id%</argument> <argument>%container.build_id%</argument>
<argument>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev/pools/system</argument> <argument>D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev/pools/system</argument>
<argument type="service" id="logger" on-invalid="ignore"/> <argument type="service" id="logger" on-invalid="ignore"/>
<factory class="Symfony\Component\Cache\Adapter\AbstractAdapter" method="createSystemCache"/> <factory class="Symfony\Component\Cache\Adapter\AbstractAdapter" method="createSystemCache"/>
</service> </service>
@ -1193,7 +1193,7 @@
<argument>ufZVp9sj4F</argument> <argument>ufZVp9sj4F</argument>
<argument>0</argument> <argument>0</argument>
<argument>%container.build_id%</argument> <argument>%container.build_id%</argument>
<argument>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev/pools/system</argument> <argument>D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev/pools/system</argument>
<argument type="service" id="logger" on-invalid="ignore"/> <argument type="service" id="logger" on-invalid="ignore"/>
<factory class="Symfony\Component\Cache\Adapter\AbstractAdapter" method="createSystemCache"/> <factory class="Symfony\Component\Cache\Adapter\AbstractAdapter" method="createSystemCache"/>
</service> </service>
@ -1203,7 +1203,7 @@
<argument>EeU3VyYLaZ</argument> <argument>EeU3VyYLaZ</argument>
<argument>0</argument> <argument>0</argument>
<argument>%container.build_id%</argument> <argument>%container.build_id%</argument>
<argument>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev/pools/system</argument> <argument>D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev/pools/system</argument>
<argument type="service" id="logger" on-invalid="ignore"/> <argument type="service" id="logger" on-invalid="ignore"/>
<factory class="Symfony\Component\Cache\Adapter\AbstractAdapter" method="createSystemCache"/> <factory class="Symfony\Component\Cache\Adapter\AbstractAdapter" method="createSystemCache"/>
</service> </service>
@ -1213,7 +1213,7 @@
<argument></argument> <argument></argument>
<argument>0</argument> <argument>0</argument>
<argument>%container.build_id%</argument> <argument>%container.build_id%</argument>
<argument>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev/pools/system</argument> <argument>D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev/pools/system</argument>
<argument type="service" id="logger" on-invalid="ignore"/> <argument type="service" id="logger" on-invalid="ignore"/>
<factory class="Symfony\Component\Cache\Adapter\AbstractAdapter" method="createSystemCache"/> <factory class="Symfony\Component\Cache\Adapter\AbstractAdapter" method="createSystemCache"/>
</service> </service>
@ -1232,7 +1232,7 @@
<tag name="monolog.logger" channel="cache"/> <tag name="monolog.logger" channel="cache"/>
<argument></argument> <argument></argument>
<argument>0</argument> <argument>0</argument>
<argument>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev/pools/app</argument> <argument>D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev/pools/app</argument>
<argument type="service" id="cache.default_marshaller" on-invalid="ignore"/> <argument type="service" id="cache.default_marshaller" on-invalid="ignore"/>
<call method="setLogger"> <call method="setLogger">
<argument type="service" id="logger" on-invalid="ignore"/> <argument type="service" id="logger" on-invalid="ignore"/>
@ -1940,7 +1940,7 @@
<argument type="service" id=".service_locator.PvoQzFT.router.default"/> <argument type="service" id=".service_locator.PvoQzFT.router.default"/>
<argument>kernel::loadRoutes</argument> <argument>kernel::loadRoutes</argument>
<argument type="collection"> <argument type="collection">
<argument key="cache_dir">D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev</argument> <argument key="cache_dir">D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev</argument>
<argument key="debug">true</argument> <argument key="debug">true</argument>
<argument key="generator_class">Symfony\Component\Routing\Generator\CompiledUrlGenerator</argument> <argument key="generator_class">Symfony\Component\Routing\Generator\CompiledUrlGenerator</argument>
<argument key="generator_dumper_class">Symfony\Component\Routing\Generator\Dumper\CompiledUrlGeneratorDumper</argument> <argument key="generator_dumper_class">Symfony\Component\Routing\Generator\Dumper\CompiledUrlGeneratorDumper</argument>
@ -2097,7 +2097,7 @@
<argument>true</argument> <argument>true</argument>
</service> </service>
<service id="session.storage.factory.mock_file" class="Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorageFactory"> <service id="session.storage.factory.mock_file" class="Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorageFactory">
<argument>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev/sessions</argument> <argument>D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev/sessions</argument>
<argument>MOCKSESSID</argument> <argument>MOCKSESSID</argument>
<argument type="service"> <argument type="service">
<service class="Symfony\Component\HttpFoundation\Session\Storage\MetadataBag"> <service class="Symfony\Component\HttpFoundation\Session\Storage\MetadataBag">
@ -2181,10 +2181,10 @@
<service id="validator.mapping.cache_warmer" class="Symfony\Bundle\FrameworkBundle\CacheWarmer\ValidatorCacheWarmer"> <service id="validator.mapping.cache_warmer" class="Symfony\Bundle\FrameworkBundle\CacheWarmer\ValidatorCacheWarmer">
<tag name="kernel.cache_warmer"/> <tag name="kernel.cache_warmer"/>
<argument type="service" id="validator.builder"/> <argument type="service" id="validator.builder"/>
<argument>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev/validation.php</argument> <argument>D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev/validation.php</argument>
</service> </service>
<service id="validator.mapping.cache.adapter" class="Symfony\Component\Cache\Adapter\PhpArrayAdapter" constructor="create"> <service id="validator.mapping.cache.adapter" class="Symfony\Component\Cache\Adapter\PhpArrayAdapter" constructor="create">
<argument>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev/validation.php</argument> <argument>D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev/validation.php</argument>
<argument type="service" id="cache.validator"/> <argument type="service" id="cache.validator"/>
</service> </service>
<service id="validator.validator_factory" class="Symfony\Component\Validator\ContainerConstraintValidatorFactory"> <service id="validator.validator_factory" class="Symfony\Component\Validator\ContainerConstraintValidatorFactory">
@ -2447,7 +2447,7 @@
<argument>njivdr+jA5</argument> <argument>njivdr+jA5</argument>
<argument>0</argument> <argument>0</argument>
<argument>%container.build_id%</argument> <argument>%container.build_id%</argument>
<argument>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev/pools/system</argument> <argument>D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev/pools/system</argument>
<argument type="service" id="logger" on-invalid="ignore"/> <argument type="service" id="logger" on-invalid="ignore"/>
<factory class="Symfony\Component\Cache\Adapter\AbstractAdapter" method="createSystemCache"/> <factory class="Symfony\Component\Cache\Adapter\AbstractAdapter" method="createSystemCache"/>
</service> </service>
@ -2870,7 +2870,7 @@
<argument type="service" id=".doctrine.orm.default_metadata_driver"/> <argument type="service" id=".doctrine.orm.default_metadata_driver"/>
</call> </call>
<call method="setProxyDir"> <call method="setProxyDir">
<argument>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev/doctrine/orm/Proxies</argument> <argument>D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev/doctrine/orm/Proxies</argument>
</call> </call>
<call method="setProxyNamespace"> <call method="setProxyNamespace">
<argument>Proxies</argument> <argument>Proxies</argument>
@ -3463,7 +3463,7 @@
<argument>bGaDcByRmx</argument> <argument>bGaDcByRmx</argument>
<argument>0</argument> <argument>0</argument>
<argument>%container.build_id%</argument> <argument>%container.build_id%</argument>
<argument>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev/pools/system</argument> <argument>D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev/pools/system</argument>
<argument type="service" id="logger" on-invalid="ignore"/> <argument type="service" id="logger" on-invalid="ignore"/>
<factory class="Symfony\Component\Cache\Adapter\AbstractAdapter" method="createSystemCache"/> <factory class="Symfony\Component\Cache\Adapter\AbstractAdapter" method="createSystemCache"/>
</service> </service>
@ -3479,7 +3479,7 @@
<argument>7-WF8WwGVY</argument> <argument>7-WF8WwGVY</argument>
<argument>0</argument> <argument>0</argument>
<argument>%container.build_id%</argument> <argument>%container.build_id%</argument>
<argument>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev/pools/system</argument> <argument>D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev/pools/system</argument>
<argument type="service" id="logger" on-invalid="ignore"/> <argument type="service" id="logger" on-invalid="ignore"/>
<factory class="Symfony\Component\Cache\Adapter\AbstractAdapter" method="createSystemCache"/> <factory class="Symfony\Component\Cache\Adapter\AbstractAdapter" method="createSystemCache"/>
</service> </service>
@ -4453,7 +4453,7 @@
<argument type="service" id="twig.loader.native_filesystem"/> <argument type="service" id="twig.loader.native_filesystem"/>
<argument type="collection"> <argument type="collection">
<argument key="autoescape">name</argument> <argument key="autoescape">name</argument>
<argument key="cache">D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/var/cache/dev/twig</argument> <argument key="cache">D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\var\cache\dev/twig</argument>
<argument key="charset">UTF-8</argument> <argument key="charset">UTF-8</argument>
<argument key="debug">true</argument> <argument key="debug">true</argument>
<argument key="strict_variables">true</argument> <argument key="strict_variables">true</argument>

View File

@ -1 +1 @@
a:2:{i:0;a:6:{s:4:"type";i:16384;s:7:"message";s:61:"Please install the "intl" PHP extension for best performance.";s:4:"file";s:120:"D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\vendor\symfony\framework-bundle\DependencyInjection\FrameworkExtension.php";s:4:"line";i:295;s:5:"trace";a:1:{i:0;a:5:{s:4:"file";s:126:"D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\vendor\symfony\dependency-injection\Compiler\MergeExtensionConfigurationPass.php";s:4:"line";i:76;s:8:"function";s:4:"load";s:5:"class";s:69:"Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension";s:4:"type";s:2:"->";}}s:5:"count";i:1;}i:1;a:6:{s:4:"type";i:16384;s:7:"message";s:105:"Since symfony/security-bundle 6.2: The "enable_authenticator_manager" option at "security" is deprecated.";s:4:"file";s:92:"D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\vendor\symfony\config\Definition\ArrayNode.php";s:4:"line";i:248;s:5:"trace";a:1:{i:0;a:5:{s:4:"file";s:91:"D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\vendor\symfony\config\Definition\BaseNode.php";s:4:"line";i:421;s:8:"function";s:13:"finalizeValue";s:5:"class";s:45:"Symfony\Component\Config\Definition\ArrayNode";s:4:"type";s:2:"->";}}s:5:"count";i:2;}} a:1:{i:0;a:6:{s:4:"type";i:16384;s:7:"message";s:105:"Since symfony/security-bundle 6.2: The "enable_authenticator_manager" option at "security" is deprecated.";s:4:"file";s:92:"D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\vendor\symfony\config\Definition\ArrayNode.php";s:4:"line";i:248;s:5:"trace";a:1:{i:0;a:5:{s:4:"file";s:91:"D:\My Stuff\DEVELOPMENT\LaLiga\LaLiga-BackEnd\vendor\symfony\config\Definition\BaseNode.php";s:4:"line";i:421;s:8:"function";s:13:"finalizeValue";s:5:"class";s:45:"Symfony\Component\Config\Definition\ArrayNode";s:4:"type";s:2:"->";}}s:5:"count";i:2;}}