Skip to content

Commit ffbc8c9

Browse files
Merge pull request #41956 from nextcloud/backport/41928/stable28
[stable28] fix(copyright): Fix copyright doc blocks
2 parents 8b3161e + f65eba5 commit ffbc8c9

File tree

7 files changed

+46
-68
lines changed

7 files changed

+46
-68
lines changed

apps/dav/lib/CalDAV/FreeBusy/FreeBusyGenerator.php

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
<?php
22

33
declare(strict_types=1);
4-
/*
5-
* *
6-
* *
7-
* * @copyright 2023 Anna Larch <anna.larch@gmx.net>
8-
* *
9-
* * @author Anna Larch <anna.larch@gmx.net>
10-
* *
11-
* * This library is free software; you can redistribute it and/or
12-
* * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
13-
* * License as published by the Free Software Foundation; either
14-
* * version 3 of the License, or any later version.
15-
* *
16-
* * This library is distributed in the hope that it will be useful,
17-
* * but WITHOUT ANY WARRANTY; without even the implied warranty of
18-
* * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19-
* * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
20-
* *
21-
* * You should have received a copy of the GNU Affero General Public
22-
* * License along with this library. If not, see <http://www.gnu.org/licenses/>.
23-
* *
4+
5+
/**
6+
* @copyright 2023 Anna Larch <anna.larch@gmx.net>
7+
*
8+
* @author Anna Larch <anna.larch@gmx.net>
9+
*
10+
* @license GNU AGPL version 3 or any later version
11+
*
12+
* This program is free software: you can redistribute it and/or modify
13+
* it under the terms of the GNU Affero General Public License as
14+
* published by the Free Software Foundation, either version 3 of the
15+
* License, or (at your option) any later version.
16+
*
17+
* This program is distributed in the hope that it will be useful,
18+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20+
* GNU Affero General Public License for more details.
21+
*
22+
* You should have received a copy of the GNU Affero General Public License
23+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2424
*
2525
*/
2626

apps/dav/lib/CalDAV/Status/Status.php

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
<?php
2-
/*
3-
* *
4-
* * Dav App
5-
* *
6-
* * @copyright 2023 Anna Larch <anna.larch@gmx.net>
7-
* *
8-
* * @author Anna Larch <anna.larch@gmx.net>
9-
* *
10-
* * This library is free software; you can redistribute it and/or
11-
* * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
12-
* * License as published by the Free Software Foundation; either
13-
* * version 3 of the License, or any later version.
14-
* *
15-
* * This library is distributed in the hope that it will be useful,
16-
* * but WITHOUT ANY WARRANTY; without even the implied warranty of
17-
* * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18-
* * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
19-
* *
20-
* * You should have received a copy of the GNU Affero General Public
21-
* * License along with this library. If not, see <http://www.gnu.org/licenses/>.
22-
* *
2+
3+
declare(strict_types=1);
4+
5+
/**
6+
* @copyright 2023 Anna Larch <anna.larch@gmx.net>
7+
*
8+
* @author Anna Larch <anna.larch@gmx.net>
9+
*
10+
* @license GNU AGPL version 3 or any later version
11+
*
12+
* This program is free software: you can redistribute it and/or modify
13+
* it under the terms of the GNU Affero General Public License as
14+
* published by the Free Software Foundation, either version 3 of the
15+
* License, or (at your option) any later version.
16+
*
17+
* This program is distributed in the hope that it will be useful,
18+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20+
* GNU Affero General Public License for more details.
21+
*
22+
* You should have received a copy of the GNU Affero General Public License
23+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2324
*
2425
*/
2526

apps/dav/lib/CalDAV/Status/StatusService.php

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,4 @@
11
<?php
2-
/*
3-
* *
4-
* * Dav App
5-
* *
6-
* * @copyright 2023 Anna Larch <anna.larch@gmx.net>
7-
* *
8-
* * @author Anna Larch <anna.larch@gmx.net>
9-
* *
10-
* * This library is free software; you can redistribute it and/or
11-
* * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
12-
* * License as published by the Free Software Foundation; either
13-
* * version 3 of the License, or any later version.
14-
* *
15-
* * This library is distributed in the hope that it will be useful,
16-
* * but WITHOUT ANY WARRANTY; without even the implied warranty of
17-
* * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18-
* * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
19-
* *
20-
* * You should have received a copy of the GNU Affero General Public
21-
* * License along with this library. If not, see <http://www.gnu.org/licenses/>.
22-
* *
23-
*
24-
*/
252

263
declare(strict_types=1);
274

apps/user_status/lib/ContactsMenu/StatusProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
/*
5+
/**
66
* @copyright 2023 Christoph Wurst <christoph@winzerhof-wurst.at>
77
*
88
* @author 2023 Christoph Wurst <christoph@winzerhof-wurst.at>

apps/user_status/lib/Db/UserStatusMapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function findAllRecent(?int $limit = null, ?int $offset = null): array {
102102
* @return UserStatus
103103
* @throws \OCP\AppFramework\Db\DoesNotExistException
104104
*/
105-
public function findByUserId(string $userId, bool $isBackup = false):UserStatus {
105+
public function findByUserId(string $userId, bool $isBackup = false): UserStatus {
106106
$qb = $this->db->getQueryBuilder();
107107
$qb
108108
->select('*')

apps/user_status/lib/Service/StatusService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public function findAllRecentStatusChanges(?int $limit = null, ?int $offset = nu
137137
* @return UserStatus
138138
* @throws DoesNotExistException
139139
*/
140-
public function findByUserId(string $userId):UserStatus {
140+
public function findByUserId(string $userId): UserStatus {
141141
return $this->processStatus($this->mapper->findByUserId($userId));
142142
}
143143

apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
/*
5+
/**
66
* @copyright 2023 Christoph Wurst <christoph@winzerhof-wurst.at>
77
*
88
* @author 2023 Christoph Wurst <christoph@winzerhof-wurst.at>

0 commit comments

Comments
 (0)