Loading docker-compose.yml +2 −2 Changes for docker-compose.yml: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -2,8 +2,8 @@ version: '3' services: sygal: image: registre.unicaen.fr:5000/sygal-image-php7.4 container_name: sygal-container-php7.4 image: registre.unicaen.fr:5000/sygal-image-php7.3 container_name: sygal-container-php7.3 environment: - http_proxy - https_proxy Loading module/Formation/config/others/index.config.php +2 −2 Changes for module/Formation/config/others/index.config.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -52,13 +52,13 @@ return [ 'label' => 'Formations', 'route' => 'formation', 'resource' => PrivilegeController::getResourceId(IndexController::class, 'index') , 'order' => 9998, 'order' => 9997, ], 'formation-doctorant' => [ 'label' => 'Mes formations', 'route' => 'formation/index-doctorant', 'resource' => PrivilegeController::getResourceId(IndexController::class, 'index-doctorant') , 'order' => 9999, 'order' => 9998, ], 'formation-formateur' => [ 'label' => 'Mes formations', Loading module/Formation/src/Formation/Controller/IndexController.php +5 −5 Changes for module/Formation/src/Formation/Controller/IndexController.php: 5 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -15,13 +15,12 @@ class IndexController extends AbstractController { use EntityManagerAwareTrait; public function indexAction() public function indexAction() : ViewModel { return new ViewModel(); } public function indexDoctorantAction() public function indexDoctorantAction() : ViewModel { /** @var Doctorant $doctorant */ $doctorantId = $this->params()->fromRoute('doctorant'); Loading Loading @@ -60,14 +59,15 @@ class IndexController extends AbstractController ]); } public function indexFormateurAction() public function indexFormateurAction() : ViewModel { /** @var Individu $individu */ $individuId = $this->params()->fromRoute('formateur'); if ($individuId !== null) { $individu = $this->getEntityManager()->getRepository(Individu::class)->find($individuId); } else { $individu = null; $user = $this->userContextService->getIdentityDb(); $individu = ($user)?$user->getIndividu():null; } if($individu) { Loading module/Formation/src/Formation/Controller/InscriptionController.php +2 −4 Changes for module/Formation/src/Formation/Controller/InscriptionController.php: 2 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -3,15 +3,13 @@ namespace Formation\Controller; use Application\Controller\AbstractController; use Doctorant\Entity\Db\Doctorant; use Application\Entity\Db\Individu; use Application\Service\Doctorant\DoctorantServiceAwareTrait; use Application\Service\Etablissement\EtablissementServiceAwareTrait; use Application\Service\File\FileServiceAwareTrait; use Application\Service\Individu\IndividuServiceAwareTrait; use Formation\Entity\Db\Etat; use Doctorant\Entity\Db\Doctorant; use Doctorant\Service\DoctorantServiceAwareTrait; use Formation\Entity\Db\Inscription; use Formation\Entity\Db\Formation; use Formation\Entity\Db\Session; use Formation\Service\Exporter\Attestation\AttestationExporter; use Formation\Service\Exporter\Convocation\ConvocationExporter; Loading module/Formation/src/Formation/Controller/InscriptionControllerFactory.php +2 −3 Changes for module/Formation/src/Formation/Controller/InscriptionControllerFactory.php: 2 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -2,12 +2,11 @@ namespace Formation\Controller; use Application\Service\Doctorant\DoctorantService; use Application\Service\Etablissement\EtablissementService; use Application\Service\File\FileService; use Application\Service\Individu\IndividuService; use Doctorant\Service\DoctorantService; use Doctrine\ORM\EntityManager; use Formation\Entity\Db\Presence; use Formation\Service\Inscription\InscriptionService; use Formation\Service\Presence\PresenceService; use Interop\Container\ContainerInterface; Loading @@ -19,7 +18,7 @@ class InscriptionControllerFactory { * @param ContainerInterface $container * @return InscriptionController */ public function __invoke(ContainerInterface $container) public function __invoke(ContainerInterface $container) : InscriptionController { /** * @var EntityManager $entityManager Loading Loading
docker-compose.yml +2 −2 Changes for docker-compose.yml: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -2,8 +2,8 @@ version: '3' services: sygal: image: registre.unicaen.fr:5000/sygal-image-php7.4 container_name: sygal-container-php7.4 image: registre.unicaen.fr:5000/sygal-image-php7.3 container_name: sygal-container-php7.3 environment: - http_proxy - https_proxy Loading
module/Formation/config/others/index.config.php +2 −2 Changes for module/Formation/config/others/index.config.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -52,13 +52,13 @@ return [ 'label' => 'Formations', 'route' => 'formation', 'resource' => PrivilegeController::getResourceId(IndexController::class, 'index') , 'order' => 9998, 'order' => 9997, ], 'formation-doctorant' => [ 'label' => 'Mes formations', 'route' => 'formation/index-doctorant', 'resource' => PrivilegeController::getResourceId(IndexController::class, 'index-doctorant') , 'order' => 9999, 'order' => 9998, ], 'formation-formateur' => [ 'label' => 'Mes formations', Loading
module/Formation/src/Formation/Controller/IndexController.php +5 −5 Changes for module/Formation/src/Formation/Controller/IndexController.php: 5 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -15,13 +15,12 @@ class IndexController extends AbstractController { use EntityManagerAwareTrait; public function indexAction() public function indexAction() : ViewModel { return new ViewModel(); } public function indexDoctorantAction() public function indexDoctorantAction() : ViewModel { /** @var Doctorant $doctorant */ $doctorantId = $this->params()->fromRoute('doctorant'); Loading Loading @@ -60,14 +59,15 @@ class IndexController extends AbstractController ]); } public function indexFormateurAction() public function indexFormateurAction() : ViewModel { /** @var Individu $individu */ $individuId = $this->params()->fromRoute('formateur'); if ($individuId !== null) { $individu = $this->getEntityManager()->getRepository(Individu::class)->find($individuId); } else { $individu = null; $user = $this->userContextService->getIdentityDb(); $individu = ($user)?$user->getIndividu():null; } if($individu) { Loading
module/Formation/src/Formation/Controller/InscriptionController.php +2 −4 Changes for module/Formation/src/Formation/Controller/InscriptionController.php: 2 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -3,15 +3,13 @@ namespace Formation\Controller; use Application\Controller\AbstractController; use Doctorant\Entity\Db\Doctorant; use Application\Entity\Db\Individu; use Application\Service\Doctorant\DoctorantServiceAwareTrait; use Application\Service\Etablissement\EtablissementServiceAwareTrait; use Application\Service\File\FileServiceAwareTrait; use Application\Service\Individu\IndividuServiceAwareTrait; use Formation\Entity\Db\Etat; use Doctorant\Entity\Db\Doctorant; use Doctorant\Service\DoctorantServiceAwareTrait; use Formation\Entity\Db\Inscription; use Formation\Entity\Db\Formation; use Formation\Entity\Db\Session; use Formation\Service\Exporter\Attestation\AttestationExporter; use Formation\Service\Exporter\Convocation\ConvocationExporter; Loading
module/Formation/src/Formation/Controller/InscriptionControllerFactory.php +2 −3 Changes for module/Formation/src/Formation/Controller/InscriptionControllerFactory.php: 2 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -2,12 +2,11 @@ namespace Formation\Controller; use Application\Service\Doctorant\DoctorantService; use Application\Service\Etablissement\EtablissementService; use Application\Service\File\FileService; use Application\Service\Individu\IndividuService; use Doctorant\Service\DoctorantService; use Doctrine\ORM\EntityManager; use Formation\Entity\Db\Presence; use Formation\Service\Inscription\InscriptionService; use Formation\Service\Presence\PresenceService; use Interop\Container\ContainerInterface; Loading @@ -19,7 +18,7 @@ class InscriptionControllerFactory { * @param ContainerInterface $container * @return InscriptionController */ public function __invoke(ContainerInterface $container) public function __invoke(ContainerInterface $container) : InscriptionController { /** * @var EntityManager $entityManager Loading