diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml
index 1c4446d8..9b2694bc 100644
--- a/.github/workflows/ci-linux.yml
+++ b/.github/workflows/ci-linux.yml
@@ -109,9 +109,11 @@ jobs:
- name: Headers checks
run: |
- cd galette-core/galette/plugins/plugin-auto
- ../../vendor/bin/docheader --docheader=../../../.docheader check lib ./*.php
-
+ cd galette-core
+ ./bin/console galette:headers:check \
+ --project-name="Galette Auto plugin" \
+ --start-year="2009" \
+ --directory="galette/plugins/plugin-auto"
unit-tests:
runs-on: ubuntu-latest
diff --git a/_config.inc.php b/_config.inc.php
index 87e2ded0..36bf760d 100644
--- a/_config.inc.php
+++ b/_config.inc.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-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 b49112ad..b7b8260b 100644
--- a/_define.php
+++ b/_define.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
@@ -71,5 +58,6 @@
'removeProperty' => 'staff',
'removeProperties' => 'staff',
'doRemoveProperty' => 'staff'
- ]
+ ],
+ dbver: 1.00
);
diff --git a/_routes.php b/_routes.php
index 077b5e63..9823e500 100644
--- a/_routes.php
+++ b/_routes.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-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 268db5ec..b059982d 100755
--- a/bin/release
+++ b/bin/release
@@ -1,5 +1,11 @@
#!/usr/bin/python
+#
+# This file is part of Galette Auto plugin (https://galette.eu).
+# SPDX-FileCopyrightText: Copyright © 2009-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 73c9a6e7..5ee3b806 100755
--- a/bin/twig-cache
+++ b/bin/twig-cache
@@ -1,6 +1,12 @@
#!/bin/php
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteAuto/Auto.php b/lib/GaletteAuto/Auto.php
index 57992296..98b52049 100644
--- a/lib/GaletteAuto/Auto.php
+++ b/lib/GaletteAuto/Auto.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteAuto/Autos.php b/lib/GaletteAuto/Autos.php
index c4224dbf..73acdbbf 100644
--- a/lib/GaletteAuto/Autos.php
+++ b/lib/GaletteAuto/Autos.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteAuto/Body.php b/lib/GaletteAuto/Body.php
index ea4a95ec..d943504c 100644
--- a/lib/GaletteAuto/Body.php
+++ b/lib/GaletteAuto/Body.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteAuto/Brand.php b/lib/GaletteAuto/Brand.php
index 28987a4a..ea5caff3 100644
--- a/lib/GaletteAuto/Brand.php
+++ b/lib/GaletteAuto/Brand.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteAuto/Color.php b/lib/GaletteAuto/Color.php
index f54fe480..fe684891 100644
--- a/lib/GaletteAuto/Color.php
+++ b/lib/GaletteAuto/Color.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteAuto/Controllers/Controller.php b/lib/GaletteAuto/Controllers/Controller.php
index d5070431..1c525cd6 100644
--- a/lib/GaletteAuto/Controllers/Controller.php
+++ b/lib/GaletteAuto/Controllers/Controller.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteAuto/Controllers/Crud/ModelsController.php b/lib/GaletteAuto/Controllers/Crud/ModelsController.php
index c996520a..d817ff0a 100644
--- a/lib/GaletteAuto/Controllers/Crud/ModelsController.php
+++ b/lib/GaletteAuto/Controllers/Crud/ModelsController.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteAuto/Controllers/Crud/PropertiesController.php b/lib/GaletteAuto/Controllers/Crud/PropertiesController.php
index 7acedc8a..dcd64fcf 100644
--- a/lib/GaletteAuto/Controllers/Crud/PropertiesController.php
+++ b/lib/GaletteAuto/Controllers/Crud/PropertiesController.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteAuto/Filters/AutosList.php b/lib/GaletteAuto/Filters/AutosList.php
index 46fec9d3..8d703170 100644
--- a/lib/GaletteAuto/Filters/AutosList.php
+++ b/lib/GaletteAuto/Filters/AutosList.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteAuto/Filters/ModelsList.php b/lib/GaletteAuto/Filters/ModelsList.php
index 7ca49978..73da0970 100644
--- a/lib/GaletteAuto/Filters/ModelsList.php
+++ b/lib/GaletteAuto/Filters/ModelsList.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteAuto/Filters/PropertiesList.php b/lib/GaletteAuto/Filters/PropertiesList.php
index 6f54bd03..1652c523 100644
--- a/lib/GaletteAuto/Filters/PropertiesList.php
+++ b/lib/GaletteAuto/Filters/PropertiesList.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteAuto/Finition.php b/lib/GaletteAuto/Finition.php
index 052a91c2..20e82628 100644
--- a/lib/GaletteAuto/Finition.php
+++ b/lib/GaletteAuto/Finition.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteAuto/History.php b/lib/GaletteAuto/History.php
index 209e5f8c..3227a4d7 100644
--- a/lib/GaletteAuto/History.php
+++ b/lib/GaletteAuto/History.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteAuto/Model.php b/lib/GaletteAuto/Model.php
index 4dc12f22..57067838 100644
--- a/lib/GaletteAuto/Model.php
+++ b/lib/GaletteAuto/Model.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteAuto/Picture.php b/lib/GaletteAuto/Picture.php
index df7b420f..c3a8f771 100644
--- a/lib/GaletteAuto/Picture.php
+++ b/lib/GaletteAuto/Picture.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteAuto/PluginGaletteAuto.php b/lib/GaletteAuto/PluginGaletteAuto.php
index 538dbbe5..0902e41b 100644
--- a/lib/GaletteAuto/PluginGaletteAuto.php
+++ b/lib/GaletteAuto/PluginGaletteAuto.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteAuto/Repository/Models.php b/lib/GaletteAuto/Repository/Models.php
index acfce248..421efd5a 100644
--- a/lib/GaletteAuto/Repository/Models.php
+++ b/lib/GaletteAuto/Repository/Models.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteAuto/State.php b/lib/GaletteAuto/State.php
index a724c182..eee234ee 100644
--- a/lib/GaletteAuto/State.php
+++ b/lib/GaletteAuto/State.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
declare(strict_types=1);
diff --git a/lib/GaletteAuto/Transmission.php b/lib/GaletteAuto/Transmission.php
index 84674c0b..b795f076 100644
--- a/lib/GaletteAuto/Transmission.php
+++ b/lib/GaletteAuto/Transmission.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-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 3e258933..3b68ec9f 100644
--- a/scripts/mysql.sql
+++ b/scripts/mysql.sql
@@ -1,3 +1,9 @@
+--
+-- This file is part of Galette Auto plugin (https://galette.eu).
+-- SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+-- SPDX-License-Identifier: GPL-3.0-or-later
+--
+
SET FOREIGN_KEY_CHECKS=0;
-- Table structure for table galette_auto_bodies
diff --git a/scripts/pgsql.sql b/scripts/pgsql.sql
index 10b3cb8b..40245cfb 100644
--- a/scripts/pgsql.sql
+++ b/scripts/pgsql.sql
@@ -1,3 +1,9 @@
+--
+-- This file is part of Galette Auto plugin (https://galette.eu).
+-- SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+-- SPDX-License-Identifier: GPL-3.0-or-later
+--
+
DROP SEQUENCE IF EXISTS galette_auto_bodies_id_seq;
CREATE SEQUENCE galette_auto_bodies_id_seq
START 1
diff --git a/templates/default/history.html.twig b/templates/default/history.html.twig
index cb89635c..acf5270d 100644
--- a/templates/default/history.html.twig
+++ b/templates/default/history.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 Auto plugin (https://galette.eu).
+ # SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ # SPDX-License-Identifier: GPL-3.0-or-later
+ #}
+
{% extends (mode == 'ajax') ? "ajax.html.twig" : "page.html.twig" %}
{% block content %}
diff --git a/templates/default/model.html.twig b/templates/default/model.html.twig
index e2378e30..367baf4f 100644
--- a/templates/default/model.html.twig
+++ b/templates/default/model.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 Auto plugin (https://galette.eu).
+ # SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ # SPDX-License-Identifier: GPL-3.0-or-later
+ #}
+
{% extends 'page.html.twig' %}
{% block content %}
diff --git a/templates/default/models_list.html.twig b/templates/default/models_list.html.twig
index 03ef4712..00239031 100644
--- a/templates/default/models_list.html.twig
+++ b/templates/default/models_list.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 Auto plugin (https://galette.eu).
+ # SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ # SPDX-License-Identifier: GPL-3.0-or-later
+ #}
+
{% extends 'elements/list.html.twig' %}
{% set nb = count_models %}
diff --git a/templates/default/object.html.twig b/templates/default/object.html.twig
index 3b000eac..287964e2 100644
--- a/templates/default/object.html.twig
+++ b/templates/default/object.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 Auto plugin (https://galette.eu).
+ # SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ # SPDX-License-Identifier: GPL-3.0-or-later
+ #}
+
{% extends 'page.html.twig' %}
{% block content %}
diff --git a/templates/default/object_list.html.twig b/templates/default/object_list.html.twig
index 2b0f105f..cd494d5d 100644
--- a/templates/default/object_list.html.twig
+++ b/templates/default/object_list.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 Auto plugin (https://galette.eu).
+ # SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ # SPDX-License-Identifier: GPL-3.0-or-later
+ #}
+
{% extends 'elements/list.html.twig' %}
{% set name = obj.name %}
diff --git a/templates/default/object_show.html.twig b/templates/default/object_show.html.twig
index 66eca2a9..a4a0aeaf 100644
--- a/templates/default/object_show.html.twig
+++ b/templates/default/object_show.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 Auto plugin (https://galette.eu).
+ # SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ # SPDX-License-Identifier: GPL-3.0-or-later
+ #}
+
{% extends 'page.html.twig' %}
{% block content %}
diff --git a/templates/default/public_vehicles_list.html.twig b/templates/default/public_vehicles_list.html.twig
index b46d3a89..21eeae47 100644
--- a/templates/default/public_vehicles_list.html.twig
+++ b/templates/default/public_vehicles_list.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 Auto plugin (https://galette.eu).
+ # SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ # SPDX-License-Identifier: GPL-3.0-or-later
+ #}
+
{% extends 'elements/list.html.twig' %}
{% set nb = autos|length %}
diff --git a/templates/default/vehicles.html.twig b/templates/default/vehicles.html.twig
index 7c6cd902..98feb774 100644
--- a/templates/default/vehicles.html.twig
+++ b/templates/default/vehicles.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 Auto plugin (https://galette.eu).
+ # SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ # SPDX-License-Identifier: GPL-3.0-or-later
+ #}
+
{% extends 'page.html.twig' %}
{% block content %}
diff --git a/templates/default/vehicles_list.html.twig b/templates/default/vehicles_list.html.twig
index 47b41a3d..3e0daade 100644
--- a/templates/default/vehicles_list.html.twig
+++ b/templates/default/vehicles_list.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 Auto plugin (https://galette.eu).
+ # SPDX-FileCopyrightText: Copyright © 2009-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/GaletteAuto/tests/units/Auto.php b/tests/GaletteAuto/tests/units/Auto.php
index 40675d2e..8ceb2833 100644
--- a/tests/GaletteAuto/tests/units/Auto.php
+++ b/tests/GaletteAuto/tests/units/Auto.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
namespace GaletteAuto\tests\units;
diff --git a/tests/GaletteAuto/tests/units/Body.php b/tests/GaletteAuto/tests/units/Body.php
index 41acf5aa..bcfcbc56 100644
--- a/tests/GaletteAuto/tests/units/Body.php
+++ b/tests/GaletteAuto/tests/units/Body.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
namespace GaletteAuto\tests\units;
@@ -41,7 +28,7 @@ public function testEmpty(): void
$this->assertSame('Body', $body->getFieldLabel());
$this->assertCount(0, $body->getList());
- $this->assertSame('0 body', $body->displayCount());
+ $this->assertSame('0 bodies', $body->displayCount());
}
/**
diff --git a/tests/GaletteAuto/tests/units/Brand.php b/tests/GaletteAuto/tests/units/Brand.php
index 61ea4d94..ef8829d9 100644
--- a/tests/GaletteAuto/tests/units/Brand.php
+++ b/tests/GaletteAuto/tests/units/Brand.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
namespace GaletteAuto\tests\units;
@@ -41,7 +28,7 @@ public function testEmpty(): void
$this->assertSame('Brand', $brand->getFieldLabel());
$this->assertCount(0, $brand->getList());
- $this->assertSame('0 brand', $brand->displayCount());
+ $this->assertSame('0 brands', $brand->displayCount());
}
/**
diff --git a/tests/GaletteAuto/tests/units/Color.php b/tests/GaletteAuto/tests/units/Color.php
index 6a28d7d8..475cc767 100644
--- a/tests/GaletteAuto/tests/units/Color.php
+++ b/tests/GaletteAuto/tests/units/Color.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
namespace GaletteAuto\tests\units;
@@ -41,7 +28,7 @@ public function testEmpty(): void
$this->assertSame('Color', $color->getFieldLabel());
$this->assertCount(0, $color->getList());
- $this->assertSame('0 color', $color->displayCount());
+ $this->assertSame('0 colors', $color->displayCount());
}
/**
diff --git a/tests/GaletteAuto/tests/units/Finition.php b/tests/GaletteAuto/tests/units/Finition.php
index b171ac1e..0c244790 100644
--- a/tests/GaletteAuto/tests/units/Finition.php
+++ b/tests/GaletteAuto/tests/units/Finition.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
namespace GaletteAuto\tests\units;
@@ -41,7 +28,7 @@ public function testEmpty(): void
$this->assertSame('Finition', $finition->getFieldLabel());
$this->assertCount(0, $finition->getList());
- $this->assertSame('0 finition', $finition->displayCount());
+ $this->assertSame('0 finitions', $finition->displayCount());
}
/**
diff --git a/tests/GaletteAuto/tests/units/History.php b/tests/GaletteAuto/tests/units/History.php
index a338da79..05d6367c 100644
--- a/tests/GaletteAuto/tests/units/History.php
+++ b/tests/GaletteAuto/tests/units/History.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
namespace GaletteAuto\tests\units;
diff --git a/tests/GaletteAuto/tests/units/Model.php b/tests/GaletteAuto/tests/units/Model.php
index d3237645..f35fe483 100644
--- a/tests/GaletteAuto/tests/units/Model.php
+++ b/tests/GaletteAuto/tests/units/Model.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
namespace GaletteAuto\tests\units;
diff --git a/tests/GaletteAuto/tests/units/State.php b/tests/GaletteAuto/tests/units/State.php
index b83b8c9d..43e86f72 100644
--- a/tests/GaletteAuto/tests/units/State.php
+++ b/tests/GaletteAuto/tests/units/State.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
namespace GaletteAuto\tests\units;
@@ -41,7 +28,7 @@ public function testEmpty(): void
$this->assertSame('State', $state->getFieldLabel());
$this->assertCount(0, $state->getList());
- $this->assertSame('0 state', $state->displayCount());
+ $this->assertSame('0 states', $state->displayCount());
}
/**
diff --git a/tests/GaletteAuto/tests/units/Transmission.php b/tests/GaletteAuto/tests/units/Transmission.php
index 414169c3..8f25b3b3 100644
--- a/tests/GaletteAuto/tests/units/Transmission.php
+++ b/tests/GaletteAuto/tests/units/Transmission.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
namespace GaletteAuto\tests\units;
@@ -41,7 +28,7 @@ public function testEmpty(): void
$this->assertSame('Transmission', $transmission->getFieldLabel());
$this->assertCount(0, $transmission->getList());
- $this->assertSame('0 transmission', $transmission->displayCount());
+ $this->assertSame('0 transmissions', $transmission->displayCount());
}
/**
diff --git a/tests/TestsBootstrap.php b/tests/TestsBootstrap.php
index d844ec3a..6e52504d 100644
--- a/tests/TestsBootstrap.php
+++ b/tests/TestsBootstrap.php
@@ -1,22 +1,9 @@
.
+ * This file is part of Galette Auto plugin (https://galette.eu).
+ * SPDX-FileCopyrightText: Copyright © 2009-2026 The Galette Team
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
/**