Skip to content

Commit

Permalink
Check and change headers
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Jan 24, 2024
1 parent 7324924 commit 2a646c3
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 97 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,8 @@ jobs:
cd galette-core/galette/plugins/plugin-fullcard
../../vendor/bin/phpstan analyze --ansi --memory-limit=2G --no-interaction --no-progress
if: matrix.php-versions == '8.1'

- name: Headers checks
run: |
cd galette-core/galette/plugins/plugin-auto
../../vendor/bin/docheader --docheader=../../../.docheader check lib ./*.php
20 changes: 2 additions & 18 deletions _config.inc.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
<?php

/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */

/**
* Configuration file for FullCard plugin
*
* PHP version 5
*
* Copyright © 2011-2014 The Galette Team
* Copyright © 2003-2024 The Galette Team
*
* This file is part of Galette (http://galette.tuxfamily.org).
* 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
Expand All @@ -23,16 +17,6 @@
*
* You should have received a copy of the GNU General Public License
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
*
* @category Plugins
* @package GaletteFullcard
*
* @author Johan Cwiklinski <johan@x-tnd.be>
* @copyright 2011-2014 The Galette Team
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL License 3.0 or (at your option) any later version
* @version SVN: $Id$
* @link http://galette.tuxfamily.org
* @since Available since 0.7dev - 2011-06-01
*/

define('FULLCARD_SMARTY_PREFIX', 'plugins_fullcard');
17 changes: 1 addition & 16 deletions _define.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
<?php

/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */

/**
* Configuration file for FullCard plugin
*
* PHP version 5
*
* Copyright © 2011-2023 The Galette Team
* Copyright © 2003-2024 The Galette Team
*
* This file is part of Galette (https://galette.eu).
*
Expand All @@ -23,15 +17,6 @@
*
* You should have received a copy of the GNU General Public License
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
*
* @category Plugins
* @package GaletteFullcard
*
* @author Johan Cwiklinski <johan@x-tnd.be>
* @copyright 2011-2023 The Galette Team
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL License 3.0 or (at your option) any later version
* @version SVN: $Id$
* @link https://galette.eu
*/

$this->register(
Expand Down
20 changes: 2 additions & 18 deletions _preferences.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
<?php

/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */

/**
* Preferences override file for FullCard plugin
*
* PHP version 5
*
* Copyright © 2016 The Galette Team
* Copyright © 2003-2024 The Galette Team
*
* This file is part of Galette (http://galette.tuxfamily.org).
* 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
Expand All @@ -23,16 +17,6 @@
*
* You should have received a copy of the GNU General Public License
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
*
* @category Plugins
* @package GaletteFullcard
*
* @author Johan Cwiklinski <johan@x-tnd.be>
* @copyright 2016 The Galette Team
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL License 3.0 or (at your option) any later version
* @version SVN: $Id$
* @link http://galette.tuxfamily.org
* @since Available since 0.8.3 - 2016-10-15
*/

$_preferences = array(
Expand Down
20 changes: 2 additions & 18 deletions _routes.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
<?php

/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */

/**
* Fullcard routes
*
* PHP version 5
*
* Copyright © 2016 The Galette Team
* Copyright © 2003-2024 The Galette Team
*
* This file is part of Galette (http://galette.tuxfamily.org).
* 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
Expand All @@ -23,16 +17,6 @@
*
* You should have received a copy of the GNU General Public License
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
*
* @category Plugins
* @package GaletteMaps
*
* @author Johan Cwiklinski <johan@x-tnd.be>
* @copyright 2016 The Galette Team
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL License 3.0 or (at your option) any later version
* @version SVN: $Id$
* @link http://galette.tuxfamily.org
* @since 0.9dev 2016-03-02
*/

use GaletteFullcard\PdfFullcard;
Expand Down
30 changes: 3 additions & 27 deletions lib/GaletteFullcard/PdfFullcard.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
<?php

/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */

/**
* Member full card PDF
*
* PHP version 5
* Copyright © 2003-2024 The Galette Team
*
* Copyright © 2016-2023 The Galette Team
*
* This file is part of Galette (http://galette.tuxfamily.org).
* 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
Expand All @@ -23,16 +17,6 @@
*
* You should have received a copy of the GNU General Public License
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
*
* @category IO
* @package GaletteFullcard
*
* @author Johan Cwiklinski <johan@x-tnd.be>
* @copyright 2016-2023 The Galette Team
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL License 3.0 or (at your option) any later version
* @version SVN: $Id$
* @link http://galette.tuxfamily.org
* @since Available since 0.9dev - 2016-03-02
*/

namespace GaletteFullcard;
Expand All @@ -47,15 +31,7 @@
/**
* Member full card PDF
*
* @category IO
* @name PDF
* @package Galette
* @abstract Class for expanding TCPDF.
* @author Johan Cwiklinski <johan@x-tnd.be>
* @copyright 2016-2023 The Galette Team
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL License 3.0 or (at your option) any later version
* @link http://galette.tuxfamily.org
* @since Available since 0.9dev - 2016-03-02
* @author Johan Cwiklinski <johan@x-tnd.be>
*/

class PdfFullcard extends PdfAdhesionForm
Expand Down

0 comments on commit 2a646c3

Please sign in to comment.