From: Joas Schilling Date: Thu, 30 Nov 2023 10:53:47 +0000 (+0100) Subject: fix(copyright): Fix copyright doc blocks X-Git-Tag: v29.0.0beta1~739^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F41928%2Fhead;p=nextcloud-server.git fix(copyright): Fix copyright doc blocks Signed-off-by: Joas Schilling --- diff --git a/apps/dav/lib/CalDAV/FreeBusy/FreeBusyGenerator.php b/apps/dav/lib/CalDAV/FreeBusy/FreeBusyGenerator.php index 84dd05dfa55..2148e6a1da2 100644 --- a/apps/dav/lib/CalDAV/FreeBusy/FreeBusyGenerator.php +++ b/apps/dav/lib/CalDAV/FreeBusy/FreeBusyGenerator.php @@ -1,26 +1,26 @@ - * * - * * @author Anna Larch - * * - * * This library is free software; you can redistribute it and/or - * * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE - * * License as published by the Free Software Foundation; either - * * version 3 of the License, or any later version. - * * - * * This library 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 AFFERO GENERAL PUBLIC LICENSE for more details. - * * - * * You should have received a copy of the GNU Affero General Public - * * License along with this library. If not, see . - * * + +/** + * @copyright 2023 Anna Larch + * + * @author Anna Larch + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero 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 Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ diff --git a/apps/dav/lib/CalDAV/Status/Status.php b/apps/dav/lib/CalDAV/Status/Status.php index da08d3fe285..46ddf7e47f3 100644 --- a/apps/dav/lib/CalDAV/Status/Status.php +++ b/apps/dav/lib/CalDAV/Status/Status.php @@ -1,25 +1,26 @@ - * * - * * @author Anna Larch - * * - * * This library is free software; you can redistribute it and/or - * * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE - * * License as published by the Free Software Foundation; either - * * version 3 of the License, or any later version. - * * - * * This library 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 AFFERO GENERAL PUBLIC LICENSE for more details. - * * - * * You should have received a copy of the GNU Affero General Public - * * License along with this library. If not, see . - * * + +declare(strict_types=1); + +/** + * @copyright 2023 Anna Larch + * + * @author Anna Larch + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero 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 Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ diff --git a/apps/dav/lib/CalDAV/Status/StatusService.php b/apps/dav/lib/CalDAV/Status/StatusService.php index eea4c12db23..add8a668f7a 100644 --- a/apps/dav/lib/CalDAV/Status/StatusService.php +++ b/apps/dav/lib/CalDAV/Status/StatusService.php @@ -1,27 +1,4 @@ - * * - * * @author Anna Larch - * * - * * This library is free software; you can redistribute it and/or - * * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE - * * License as published by the Free Software Foundation; either - * * version 3 of the License, or any later version. - * * - * * This library 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 AFFERO GENERAL PUBLIC LICENSE for more details. - * * - * * You should have received a copy of the GNU Affero General Public - * * License along with this library. If not, see . - * * - * - */ declare(strict_types=1); diff --git a/apps/user_status/lib/ContactsMenu/StatusProvider.php b/apps/user_status/lib/ContactsMenu/StatusProvider.php index 7eb0d7a41e1..e9dc08ffa2c 100644 --- a/apps/user_status/lib/ContactsMenu/StatusProvider.php +++ b/apps/user_status/lib/ContactsMenu/StatusProvider.php @@ -2,7 +2,7 @@ declare(strict_types=1); -/* +/** * @copyright 2023 Christoph Wurst * * @author 2023 Christoph Wurst diff --git a/apps/user_status/lib/Db/UserStatusMapper.php b/apps/user_status/lib/Db/UserStatusMapper.php index 3621c1bfa96..06f69fe0ac8 100644 --- a/apps/user_status/lib/Db/UserStatusMapper.php +++ b/apps/user_status/lib/Db/UserStatusMapper.php @@ -102,7 +102,7 @@ class UserStatusMapper extends QBMapper { * @return UserStatus * @throws \OCP\AppFramework\Db\DoesNotExistException */ - public function findByUserId(string $userId, bool $isBackup = false):UserStatus { + public function findByUserId(string $userId, bool $isBackup = false): UserStatus { $qb = $this->db->getQueryBuilder(); $qb ->select('*') diff --git a/apps/user_status/lib/Service/StatusService.php b/apps/user_status/lib/Service/StatusService.php index 114764f193d..9582c403329 100644 --- a/apps/user_status/lib/Service/StatusService.php +++ b/apps/user_status/lib/Service/StatusService.php @@ -137,7 +137,7 @@ class StatusService { * @return UserStatus * @throws DoesNotExistException */ - public function findByUserId(string $userId):UserStatus { + public function findByUserId(string $userId): UserStatus { return $this->processStatus($this->mapper->findByUserId($userId)); } diff --git a/apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.php b/apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.php index 798e591f975..182cac56217 100644 --- a/apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.php +++ b/apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -/* +/** * @copyright 2023 Christoph Wurst * * @author 2023 Christoph Wurst