Loading admin/src/BddAdmin/Driver/Oracle/TableManager.php +1 −1 Changes for admin/src/BddAdmin/Driver/Oracle/TableManager.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -250,7 +250,7 @@ class TableManager extends AbstractManager implements TableManagerInterface protected function makeCreateComm(array $data, bool $forceUpdateNull = false): string protected function makeCreateComm(array $data, bool $forceUpdateNull = false): ?string { if ($data['commentaire']) { $comm = "'" . str_replace("'", "''", $data['commentaire']) . "'"; Loading module/Application/Application.php −1 Changes for module/Application/Application.php: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -32,7 +32,6 @@ class Application { $appDir = dirname(dirname(__DIR__)); ini_set('session.cookie_samesite', 'Strict'); define('REQUEST_MICROTIME', microtime(true)); chdir($appDir); Loading module/Paiement/src/Tbl/Process/Sub/Repartiteur.php +6 −10 Changes for module/Paiement/src/Tbl/Process/Sub/Repartiteur.php: 6 added lines, 10 removed lines. Original line number Diff line number Diff line Loading @@ -93,11 +93,10 @@ class Repartiteur * @param int $anneeId ID de l'année universitaire * @param string $horaireDebut Horaire de début au format Y-m-d * @param string $horaireFin Horaire de fin au format Y-m-d * @return float */ public function calculPourcAA( bool $semestriel, ?string $periodeCode = null, ?string $periodeCode, int $anneeId, string $horaireDebut, string $horaireFin Loading @@ -111,14 +110,11 @@ class Repartiteur } // Sinon, on calcule en fonction du semestre switch ($periodeCode) { case Periode::SEMESTRE_1: return $this->pourcS1PourAnneeCivile; case Periode::SEMESTRE_2: return 0; // le S2 n'est jamais effectué l'année antérieure default: // si on ne trouve pas la période => référentiel return $this->pourAAReferentiel; } return match ($periodeCode) { Periode::SEMESTRE_1 => $this->pourcS1PourAnneeCivile, Periode::SEMESTRE_2 => 0, default => $this->pourAAReferentiel, }; } $debut = \DateTime::createFromFormat('Y-m-d', substr($horaireDebut, 0, 10)); Loading public/index.php +2 Changes for public/index.php: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -2,6 +2,8 @@ /* Chargement de la config globale */ ini_set('session.cookie_samesite', 'Strict'); require_once dirname(__DIR__).'/config/application.config.php'; Application::init(); Loading Loading
admin/src/BddAdmin/Driver/Oracle/TableManager.php +1 −1 Changes for admin/src/BddAdmin/Driver/Oracle/TableManager.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -250,7 +250,7 @@ class TableManager extends AbstractManager implements TableManagerInterface protected function makeCreateComm(array $data, bool $forceUpdateNull = false): string protected function makeCreateComm(array $data, bool $forceUpdateNull = false): ?string { if ($data['commentaire']) { $comm = "'" . str_replace("'", "''", $data['commentaire']) . "'"; Loading
module/Application/Application.php −1 Changes for module/Application/Application.php: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -32,7 +32,6 @@ class Application { $appDir = dirname(dirname(__DIR__)); ini_set('session.cookie_samesite', 'Strict'); define('REQUEST_MICROTIME', microtime(true)); chdir($appDir); Loading
module/Paiement/src/Tbl/Process/Sub/Repartiteur.php +6 −10 Changes for module/Paiement/src/Tbl/Process/Sub/Repartiteur.php: 6 added lines, 10 removed lines. Original line number Diff line number Diff line Loading @@ -93,11 +93,10 @@ class Repartiteur * @param int $anneeId ID de l'année universitaire * @param string $horaireDebut Horaire de début au format Y-m-d * @param string $horaireFin Horaire de fin au format Y-m-d * @return float */ public function calculPourcAA( bool $semestriel, ?string $periodeCode = null, ?string $periodeCode, int $anneeId, string $horaireDebut, string $horaireFin Loading @@ -111,14 +110,11 @@ class Repartiteur } // Sinon, on calcule en fonction du semestre switch ($periodeCode) { case Periode::SEMESTRE_1: return $this->pourcS1PourAnneeCivile; case Periode::SEMESTRE_2: return 0; // le S2 n'est jamais effectué l'année antérieure default: // si on ne trouve pas la période => référentiel return $this->pourAAReferentiel; } return match ($periodeCode) { Periode::SEMESTRE_1 => $this->pourcS1PourAnneeCivile, Periode::SEMESTRE_2 => 0, default => $this->pourAAReferentiel, }; } $debut = \DateTime::createFromFormat('Y-m-d', substr($horaireDebut, 0, 10)); Loading
public/index.php +2 Changes for public/index.php: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -2,6 +2,8 @@ /* Chargement de la config globale */ ini_set('session.cookie_samesite', 'Strict'); require_once dirname(__DIR__).'/config/application.config.php'; Application::init(); Loading