Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-anne committed Nov 27, 2024
1 parent 619217d commit aeb713b
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 33 deletions.
61 changes: 31 additions & 30 deletions tests/fixtures/plugins/tester/inc/fakeprotocol.class.php
Original file line number Diff line number Diff line change
@@ -1,36 +1,37 @@
<?php

/**
* ---------------------------------------------------------------------
*
* GLPI - Gestionnaire Libre de Parc Informatique
*
* http://glpi-project.org
*
* @copyright 2015-2024 Teclib' and contributors.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* This program 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.
*
* This program 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 this program. If not, see <https://www.gnu.org/licenses/>.
*
* ---------------------------------------------------------------------
*/
* ---------------------------------------------------------------------
*
* GLPI - Gestionnaire Libre de Parc Informatique
*
* http://glpi-project.org
*
* @copyright 2015-2024 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* This program 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.
*
* This program 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 this program. If not, see <https://www.gnu.org/licenses/>.
*
* ---------------------------------------------------------------------
*/

class PluginTesterFakeProtocol implements Glpi\Mail\Protocol\ProtocolInterface
{
Expand Down
10 changes: 7 additions & 3 deletions tests/fixtures/plugins/tester/inc/fakestorage.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,13 @@
* ---------------------------------------------------------------------
*/

class PluginTesterFakeStorage extends Laminas\Mail\Storage\Imap {
public function __construct($params) {
class PluginTesterFakeStorage extends Laminas\Mail\Storage\Imap
{
public function __construct($params)
{
}
public function close() {

public function close()
{
}
}

0 comments on commit aeb713b

Please sign in to comment.