diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml
index aa65612..323d907 100644
--- a/.github/workflows/ci-linux.yml
+++ b/.github/workflows/ci-linux.yml
@@ -109,8 +109,11 @@ jobs:
- name: Headers checks
run: |
- cd galette-core/galette/plugins/plugin-activities
- ../../vendor/bin/docheader --docheader=../../../.docheader check lib ./*.php
+ cd galette-core
+ ./bin/console galette:headers:check \
+ --project-name="Galette Activities plugin" \
+ --start-year="2024" \
+ --directory="galette/plugins/plugin-activities"
unit-tests:
runs-on: ubuntu-latest
diff --git a/_config.inc.php b/_config.inc.php
index 3962cd5..e883048 100644
--- a/_config.inc.php
+++ b/_config.inc.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Activities plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/_define.php b/_define.php
index e00b9d8..20d9a44 100644
--- a/_define.php
+++ b/_define.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Activities plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/_routes.php b/_routes.php
index 27dc955..c397b81 100644
--- a/_routes.php
+++ b/_routes.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Activities plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/bin/release b/bin/release
index 95d41f5..661f43c 100755
--- a/bin/release
+++ b/bin/release
@@ -1,5 +1,11 @@
#!/usr/bin/python
+/**
+ * This file is part of Galette Activities plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
import os, sys, argparse, re, git, http.client, subprocess
import urlgrabber.progress, tarfile, shutil, gitdb, time, fnmatch
from datetime import datetime
diff --git a/bin/twig-cache b/bin/twig-cache
index 73c9a6e..421eb87 100755
--- a/bin/twig-cache
+++ b/bin/twig-cache
@@ -1,6 +1,12 @@
#!/bin/php
.
+ * This file is part of Galette Activities plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteActivities/Controllers/Crud/SubscriptionsController.php b/lib/GaletteActivities/Controllers/Crud/SubscriptionsController.php
index cf774f0..caf83d7 100644
--- a/lib/GaletteActivities/Controllers/Crud/SubscriptionsController.php
+++ b/lib/GaletteActivities/Controllers/Crud/SubscriptionsController.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Activities plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteActivities/Entity/Activity.php b/lib/GaletteActivities/Entity/Activity.php
index fbbc3a7..c943e40 100644
--- a/lib/GaletteActivities/Entity/Activity.php
+++ b/lib/GaletteActivities/Entity/Activity.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Activities plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteActivities/Entity/Subscription.php b/lib/GaletteActivities/Entity/Subscription.php
index 9613428..ea4afcf 100644
--- a/lib/GaletteActivities/Entity/Subscription.php
+++ b/lib/GaletteActivities/Entity/Subscription.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Activities plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteActivities/Filters/ActivitiesList.php b/lib/GaletteActivities/Filters/ActivitiesList.php
index 798a005..9971a9d 100644
--- a/lib/GaletteActivities/Filters/ActivitiesList.php
+++ b/lib/GaletteActivities/Filters/ActivitiesList.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Activities plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteActivities/Filters/SubscriptionsList.php b/lib/GaletteActivities/Filters/SubscriptionsList.php
index 03e0f12..efeaf31 100644
--- a/lib/GaletteActivities/Filters/SubscriptionsList.php
+++ b/lib/GaletteActivities/Filters/SubscriptionsList.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Activities plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteActivities/PluginGaletteActivities.php b/lib/GaletteActivities/PluginGaletteActivities.php
index 7060931..64737e4 100644
--- a/lib/GaletteActivities/PluginGaletteActivities.php
+++ b/lib/GaletteActivities/PluginGaletteActivities.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Activities plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteActivities/Repository/Activities.php b/lib/GaletteActivities/Repository/Activities.php
index a46ba09..9e53bd7 100644
--- a/lib/GaletteActivities/Repository/Activities.php
+++ b/lib/GaletteActivities/Repository/Activities.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Activities plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteActivities/Repository/Subscriptions.php b/lib/GaletteActivities/Repository/Subscriptions.php
index 0823ee0..d8522f6 100644
--- a/lib/GaletteActivities/Repository/Subscriptions.php
+++ b/lib/GaletteActivities/Repository/Subscriptions.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Activities plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/scripts/mysql.sql b/scripts/mysql.sql
index 214483c..4cb98fd 100644
--- a/scripts/mysql.sql
+++ b/scripts/mysql.sql
@@ -1,3 +1,9 @@
+--
+-- This file is part of Galette Activities plugin (https://galette.eu).
+-- SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
+-- SPDX-License-Identifier: GPL-3.0-or-later
+--
+
SET FOREIGN_KEY_CHECKS=0;
--
diff --git a/scripts/pgsql.sql b/scripts/pgsql.sql
index ad326fe..4341c33 100644
--- a/scripts/pgsql.sql
+++ b/scripts/pgsql.sql
@@ -1,5 +1,7 @@
--
--- Table structure for table `galette_activities_activities`
+-- This file is part of Galette Activities plugin (https://galette.eu).
+-- SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
+-- SPDX-License-Identifier: GPL-3.0-or-later
--
DROP SEQUENCE IF EXISTS galette_activities_activities_id_seq;
diff --git a/templates/default/activities.html.twig b/templates/default/activities.html.twig
index accee58..78d124a 100644
--- a/templates/default/activities.html.twig
+++ b/templates/default/activities.html.twig
@@ -1,23 +1,9 @@
{#
-/**
- * Copyright © 2003-2024 The Galette Team
- *
- * This file is part of Galette (https://galette.eu).
- *
- * Galette is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Galette is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with Galette. If not, see .
- */
-#}
+ # This file is part of Galette Activities plugin (https://galette.eu).
+ # SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
+ # SPDX-License-Identifier: GPL-3.0-or-later
+ #}
+
{% extends 'elements/list.html.twig' %}
{% import "macros.twig" as macros %}
diff --git a/templates/default/activity.html.twig b/templates/default/activity.html.twig
index e9688b4..620fbf6 100644
--- a/templates/default/activity.html.twig
+++ b/templates/default/activity.html.twig
@@ -1,23 +1,9 @@
{#
-/**
- * Copyright © 2003-2024 The Galette Team
- *
- * This file is part of Galette (https://galette.eu).
- *
- * Galette is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Galette is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with Galette. If not, see .
- */
-#}
+ # This file is part of Galette Activities plugin (https://galette.eu).
+ # SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
+ # SPDX-License-Identifier: GPL-3.0-or-later
+ #}
+
{% extends "page.html.twig" %}
{% block content %}
diff --git a/templates/default/headers.html.twig b/templates/default/headers.html.twig
index 3eca93b..59e3770 100644
--- a/templates/default/headers.html.twig
+++ b/templates/default/headers.html.twig
@@ -1,21 +1,7 @@
{#
-/**
- * Copyright © 2003-2024 The Galette Team
- *
- * This file is part of Galette (https://galette.eu).
- *
- * Galette is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Galette is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with Galette. If not, see .
- */
-#}
+ # This file is part of Galette Activities plugin (https://galette.eu).
+ # SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
+ # SPDX-License-Identifier: GPL-3.0-or-later
+ #}
+
diff --git a/templates/default/subscription.html.twig b/templates/default/subscription.html.twig
index 813cca2..cf9d622 100644
--- a/templates/default/subscription.html.twig
+++ b/templates/default/subscription.html.twig
@@ -1,23 +1,9 @@
{#
-/**
- * Copyright © 2003-2024 The Galette Team
- *
- * This file is part of Galette (https://galette.eu).
- *
- * Galette is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Galette is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with Galette. If not, see .
- */
-#}
+ # This file is part of Galette Activities plugin (https://galette.eu).
+ # SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
+ # SPDX-License-Identifier: GPL-3.0-or-later
+ #}
+
{% extends "page.html.twig" %}
{% block content %}
diff --git a/templates/default/subscriptions.html.twig b/templates/default/subscriptions.html.twig
index f1b9ce3..d37f1e0 100644
--- a/templates/default/subscriptions.html.twig
+++ b/templates/default/subscriptions.html.twig
@@ -1,23 +1,9 @@
{#
-/**
- * Copyright © 2003-2024 The Galette Team
- *
- * This file is part of Galette (https://galette.eu).
- *
- * Galette is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Galette is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with Galette. If not, see .
- */
-#}
+ # This file is part of Galette Activities plugin (https://galette.eu).
+ # SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
+ # SPDX-License-Identifier: GPL-3.0-or-later
+ #}
+
{% extends 'elements/list.html.twig' %}
{% import "macros.twig" as macros %}
diff --git a/tests/GaletteActivities/Entity/tests/units/Activity.php b/tests/GaletteActivities/Entity/tests/units/Activity.php
index 54eef7f..aade70b 100644
--- a/tests/GaletteActivities/Entity/tests/units/Activity.php
+++ b/tests/GaletteActivities/Entity/tests/units/Activity.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Activities plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/tests/GaletteActivities/Entity/tests/units/Subscription.php b/tests/GaletteActivities/Entity/tests/units/Subscription.php
index e14882a..9aac0e7 100644
--- a/tests/GaletteActivities/Entity/tests/units/Subscription.php
+++ b/tests/GaletteActivities/Entity/tests/units/Subscription.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Activities plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2024-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/tests/TestsBootstrap.php b/tests/TestsBootstrap.php
index e7e8287..25c91b7 100644
--- a/tests/TestsBootstrap.php
+++ b/tests/TestsBootstrap.php
@@ -1,5 +1,11 @@