diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2023-12-01 07:59:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-01 07:59:33 +0100 |
commit | e34c6ce5048e4ce53c914b42c6f29548d2dd2e07 (patch) | |
tree | a540828965153eb55d138a40fe768297e9c5af61 | |
parent | f49550db979bdc1de23ef6df993ec29f938de1d7 (diff) | |
parent | 73c0f596f703a7d8055ba049e9597c6022c122d7 (diff) | |
download | nextcloud-server-e34c6ce5048e4ce53c914b42c6f29548d2dd2e07.tar.gz nextcloud-server-e34c6ce5048e4ce53c914b42c6f29548d2dd2e07.zip |
Merge pull request #41928 from nextcloud/bugfix/noid/fix-copyright-headers
fix(copyright): Fix copyright doc blocks
7 files changed, 46 insertions, 68 deletions
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 @@ <?php declare(strict_types=1); -/* - * * - * * - * * @copyright 2023 Anna Larch <anna.larch@gmx.net> - * * - * * @author Anna Larch <anna.larch@gmx.net> - * * - * * 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 <http://www.gnu.org/licenses/>. - * * + +/** + * @copyright 2023 Anna Larch <anna.larch@gmx.net> + * + * @author Anna Larch <anna.larch@gmx.net> + * + * @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 <http://www.gnu.org/licenses/>. * */ 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 @@ <?php -/* - * * - * * Dav App - * * - * * @copyright 2023 Anna Larch <anna.larch@gmx.net> - * * - * * @author Anna Larch <anna.larch@gmx.net> - * * - * * 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 <http://www.gnu.org/licenses/>. - * * + +declare(strict_types=1); + +/** + * @copyright 2023 Anna Larch <anna.larch@gmx.net> + * + * @author Anna Larch <anna.larch@gmx.net> + * + * @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 <http://www.gnu.org/licenses/>. * */ 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 @@ <?php -/* - * * - * * Dav App - * * - * * @copyright 2023 Anna Larch <anna.larch@gmx.net> - * * - * * @author Anna Larch <anna.larch@gmx.net> - * * - * * 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 <http://www.gnu.org/licenses/>. - * * - * - */ 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 <christoph@winzerhof-wurst.at> * * @author 2023 Christoph Wurst <christoph@winzerhof-wurst.at> 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 <christoph@winzerhof-wurst.at> * * @author 2023 Christoph Wurst <christoph@winzerhof-wurst.at> |