Commit cf848594 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Diverses corrections suite au passage unicaen/app 8.0.0 pour une comptabilité php 8.4

parent 0de04861
Loading
Loading
Loading
Loading
Loading
+3 −3
Changes for module/Administration/src/Command/SynchronisationCommand.php: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ namespace Administration\Command;

use Application\Provider\Role\RoleProvider;
use Application\Service\Traits\AffectationServiceAwareTrait;
use Doctrine\Common\Cache\FilesystemCache;
use Doctrine\Common\Cache\Cache;
use Lieu\Service\StructureServiceAwareTrait;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
@@ -69,9 +69,9 @@ class SynchronisationCommand extends Command
    }

    /**
     * @param FilesystemCache $doctrineCache
     * @param Cache $doctrineCache
     */
    public function setDoctrineCache(FilesystemCache $doctrineCache)
    public function setDoctrineCache(Cache $doctrineCache)
    {
        $this->doctrineCache = $doctrineCache;

+4 −4
Changes for module/Application/src/Controller/DroitsController.php: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ use Application\Service\Traits\PrivilegeServiceAwareTrait;
use Application\Service\Traits\RoleServiceAwareTrait;
use Application\Service\Traits\SourceServiceAwareTrait;
use Application\Service\Traits\UtilisateurServiceAwareTrait;
use Doctrine\Common\Cache\FilesystemCache;
use Doctrine\Common\Cache\Cache;
use Intervenant\Service\StatutServiceAwareTrait;
use Lieu\Service\StructureServiceAwareTrait;
use UnicaenApp\Traits\SessionContainerTrait;
@@ -42,14 +42,14 @@ class DroitsController extends AbstractController
    use SessionContainerTrait;
    use CacheContainerTrait;

    protected FilesystemCache $doctrineCache;
    protected Cache $doctrineCache;



    /**
     * @param FilesystemCache $doctrineCache
     * @param Cache $doctrineCache
     */
    public function __construct(FilesystemCache $doctrineCache)
    public function __construct(Cache $doctrineCache)
    {
        $this->doctrineCache = $doctrineCache;
    }
−2
Changes for module/Application/src/Controller/UtilisateurController.php: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -10,7 +10,6 @@ use Laminas\View\Model\JsonModel;
use Lieu\Service\StructureServiceAwareTrait;
use UnicaenAuthentification\Controller\UtilisateurController as BaseController;
use UnicaenUtilisateur\Formatter\RoleFormatter;
use UnicaenUtilisateur\Service\User\UserServiceAwareTrait;


class UtilisateurController extends BaseController
@@ -18,7 +17,6 @@ class UtilisateurController extends BaseController
    use ContextServiceAwareTrait;
    use StructureServiceAwareTrait;
    use UtilisateurServiceAwareTrait;
    use UserServiceAwareTrait;


    /**
+3 −3
Changes for module/Application/src/Service/AffectationService.php: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ use Application\Entity\Db\Role;
use Application\Provider\Role\RoleProvider;
use Application\Service\Traits\SourceServiceAwareTrait;
use Application\Entity\Db\Affectation;
use Doctrine\Common\Cache\FilesystemCache;
use Doctrine\Common\Cache\Cache;
use Doctrine\ORM\Query;
use Doctrine\ORM\QueryBuilder;
use Lieu\Entity\Db\Structure;
@@ -26,7 +26,7 @@ class AffectationService extends AbstractEntityService
    use SourceServiceAwareTrait;
    use StructureServiceAwareTrait;

    protected FilesystemCache $doctrineCache;
    protected Cache $doctrineCache;


    /**
@@ -110,7 +110,7 @@ class AffectationService extends AbstractEntityService
        return $qb;
    }

    public function setDoctrineCache(FilesystemCache $doctrineCache):affectationService
    public function setDoctrineCache(Cache $doctrineCache):affectationService
    {
        $this->doctrineCache = $doctrineCache;

−2
Changes for module/Application/src/Service/Factory/UtilisateurServiceFactory.php: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -4,7 +4,6 @@ namespace Application\Service\Factory;

use Application\Service\UtilisateurService;
use Psr\Container\ContainerInterface;
use UnicaenUtilisateur\Service\User\UserService;


/**
@@ -25,7 +24,6 @@ class UtilisateurServiceFactory
    public function __invoke(ContainerInterface $container, $requestedName, $options = null)
    {
        $service = new UtilisateurService();
        $service->setUserService($container->get(UserService::class));

        return $service;
    }
Loading