From ee26fdd0452c76cb757d771c3726bdb67c62ae45 Mon Sep 17 00:00:00 2001 From: kevin Date: Fri, 6 Feb 2026 09:58:06 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20du=20service=20pour=20r=C3=A9cup=C3=A9r?= =?UTF-8?q?er=20les=20jours=20f=C3=A9ri=C3=A9s=20(#1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-on: https://gitea.malio.fr/MALIO-DEV/SIRH/pulls/1 Co-authored-by: kevin Co-committed-by: kevin --- .idea/SIRH.iml | 137 +++++++++++++- .idea/copilot.data.migration.agent.xml | 6 + .idea/copilot.data.migration.ask2agent.xml | 6 + .idea/dataSources.xml | 2 +- .idea/laravel-idea.xml | 8 + .idea/php.xml | 141 ++++++++++++++ composer.json | 1 + composer.lock | 176 +++++++++++++++++- config/reference.php | 2 +- src/ApiResource/PublicHoliday.php | 29 +++ src/Service/PublicHolidayService.php | 80 ++++++++ src/Service/PublicHolidayServiceInterface.php | 12 ++ src/State/PublicHolidayProvider.php | 24 +++ src/State/PublicHolidayYearProvider.php | 24 +++ 14 files changed, 644 insertions(+), 4 deletions(-) create mode 100644 .idea/copilot.data.migration.agent.xml create mode 100644 .idea/copilot.data.migration.ask2agent.xml create mode 100644 .idea/laravel-idea.xml create mode 100644 src/ApiResource/PublicHoliday.php create mode 100644 src/Service/PublicHolidayService.php create mode 100644 src/Service/PublicHolidayServiceInterface.php create mode 100644 src/State/PublicHolidayProvider.php create mode 100644 src/State/PublicHolidayYearProvider.php diff --git a/.idea/SIRH.iml b/.idea/SIRH.iml index bf4c9d3..c7c5054 100644 --- a/.idea/SIRH.iml +++ b/.idea/SIRH.iml @@ -1,7 +1,142 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.idea/copilot.data.migration.agent.xml b/.idea/copilot.data.migration.agent.xml new file mode 100644 index 0000000..2c0ecc2 --- /dev/null +++ b/.idea/copilot.data.migration.agent.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/copilot.data.migration.ask2agent.xml b/.idea/copilot.data.migration.ask2agent.xml new file mode 100644 index 0000000..e458f8c --- /dev/null +++ b/.idea/copilot.data.migration.ask2agent.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml index 7cf7a42..6b0c16f 100644 --- a/.idea/dataSources.xml +++ b/.idea/dataSources.xml @@ -5,7 +5,7 @@ postgresql true org.postgresql.Driver - jdbc:postgresql://localhost:5434/postgres + jdbc:postgresql://localhost:5433/postgres $ProjectFileDir$ diff --git a/.idea/laravel-idea.xml b/.idea/laravel-idea.xml new file mode 100644 index 0000000..2354ce3 --- /dev/null +++ b/.idea/laravel-idea.xml @@ -0,0 +1,8 @@ + + + + + + \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml index 50688a4..3be66db 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -10,10 +10,151 @@