Commit 0062b4d2 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Adaptations suite changements UnicaenCode

parent f38e0e44
Loading
Loading
Loading
Loading
+1 −1
Changes for code/Contrôle des séquences.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
 */

$bdd = new \Application\Connecteur\Bdd\BddConnecteur();
$bdd->setEntityManager($sl->get(\Application\Constants::BDD));
$bdd->setEntityManager($container->get(\Application\Constants::BDD));


$tables = getData($bdd);
+3 −3
Changes for code/FormuleTestColleurBrest.php: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -127,9 +127,9 @@ $data = explode("\n", $data);
    <?php

    /** @var \Doctrine\ORM\EntityManager $bdd */
    $bdd = $sl->get(\Application\Constants::BDD);
    $bdd = $container->get(\Application\Constants::BDD);
    /** @var \Application\Service\FormuleTestIntervenantService $ftiService */
    $ftiService = $sl->get(\Application\Service\FormuleTestIntervenantService::class);
    $ftiService = $container->get(\Application\Service\FormuleTestIntervenantService::class);
    $fti        = $ftiService->get($formuleTestIntervenantId);

    $bdd->getConnection()->exec('DELETE FROM formule_test_volume_horaire WHERE intervenant_test_id = ' . $formuleTestIntervenantId);
@@ -187,7 +187,7 @@ $data = explode("\n", $data);
//            $debug = true;

            // Traitement et affichage
            $composante = $sl->get(\Application\Constants::BDD)->getRepository(\Application\Entity\Db\FormuleTestStructure::class)->find($composante);
            $composante = $container->get(\Application\Constants::BDD)->getRepository(\Application\Entity\Db\FormuleTestStructure::class)->find($composante);
            if ($debug) {
                $c = '<pre>' . var_export($c, true) . '</pre>';
            } else {
+3 −3
Changes for code/FormuleTestColleurEnsicaen.php: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -76,9 +76,9 @@ $data = explode("\n", $data);
    <?php

    /** @var \Doctrine\ORM\EntityManager $bdd */
    $bdd = $sl->get(\Application\Constants::BDD);
    $bdd = $container->get(\Application\Constants::BDD);
    /** @var \Application\Service\FormuleTestIntervenantService $ftiService */
    $ftiService = $sl->get(\Application\Service\FormuleTestIntervenantService::class);
    $ftiService = $container->get(\Application\Service\FormuleTestIntervenantService::class);
    $fti        = $ftiService->get($formuleTestIntervenantId);

    $bdd->getConnection()->exec('DELETE FROM formule_test_volume_horaire WHERE intervenant_test_id = ' . $formuleTestIntervenantId);
@@ -138,7 +138,7 @@ $data = explode("\n", $data);
            //$debug = true;

            // Traitement et affichage
            $composante = $sl->get(\Application\Constants::BDD)->getRepository(\Application\Entity\Db\FormuleTestStructure::class)->find($composante);
            $composante = $container->get(\Application\Constants::BDD)->getRepository(\Application\Entity\Db\FormuleTestStructure::class)->find($composante);
            if ($debug) {
                $c = '<pre>' . var_export($c, true) . '</pre>';
            } else {
+3 −3
Changes for code/FormuleTestColleurLeHavre.php: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -59,9 +59,9 @@ $data = explode("\n", $data);
    <?php

    /** @var \Doctrine\ORM\EntityManager $bdd */
    $bdd = $sl->get(\Application\Constants::BDD);
    $bdd = $container->get(\Application\Constants::BDD);
    /** @var \Application\Service\FormuleTestIntervenantService $ftiService */
    $ftiService = $sl->get(\Application\Service\FormuleTestIntervenantService::class);
    $ftiService = $container->get(\Application\Service\FormuleTestIntervenantService::class);
    $fti        = $ftiService->get($formuleTestIntervenantId);

    $bdd->getConnection()->exec('DELETE FROM formule_test_volume_horaire WHERE intervenant_test_id = ' . $formuleTestIntervenantId);
@@ -119,7 +119,7 @@ $data = explode("\n", $data);
//            $debug = true;

            // Traitement et affichage
            $composante = $sl->get(\Application\Constants::BDD)->getRepository(\Application\Entity\Db\FormuleTestStructure::class)->find($composante);
            $composante = $container->get(\Application\Constants::BDD)->getRepository(\Application\Entity\Db\FormuleTestStructure::class)->find($composante);
            if ($debug) {
                $c = '<pre>' . var_export($c, true) . '</pre>';
            } else {
+3 −3
Changes for code/FormuleTestColleurMontpellier.php: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -74,9 +74,9 @@ $data = explode("\n", $data);
    <?php

    /** @var \Doctrine\ORM\EntityManager $bdd */
    $bdd = $sl->get(\Application\Constants::BDD);
    $bdd = $container->get(\Application\Constants::BDD);
    /** @var \Application\Service\FormuleTestIntervenantService $ftiService */
    $ftiService = $sl->get(\Application\Service\FormuleTestIntervenantService::class);
    $ftiService = $container->get(\Application\Service\FormuleTestIntervenantService::class);
    $fti        = $ftiService->get($formuleTestIntervenantId);

    $bdd->getConnection()->exec('DELETE FROM formule_test_volume_horaire WHERE intervenant_test_id = ' . $formuleTestIntervenantId);
@@ -134,7 +134,7 @@ $data = explode("\n", $data);
            //$debug = true;

            // Traitement et affichage
            $composante = $sl->get(\Application\Constants::BDD)->getRepository(\Application\Entity\Db\FormuleTestStructure::class)->find($composante);
            $composante = $container->get(\Application\Constants::BDD)->getRepository(\Application\Entity\Db\FormuleTestStructure::class)->find($composante);
            if ($debug) {
                $c = '<pre>' . var_export($c, true) . '</pre>';
            } else {
Loading