Skip to content

Commit 865fd3b

Browse files
committed
fix: add missing copyrights and strict types
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
1 parent a7ff09d commit 865fd3b

9 files changed

Lines changed: 93 additions & 0 deletions

File tree

apps/settings/lib/Controller/DeclarativeSettingsController.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
<?php
2+
3+
declare(strict_types=1);
4+
25
/**
36
* @copyright Copyright (c) 2023 Kate Döen <kate.doeen@nextcloud.com>
47
*

lib/private/AppFramework/Bootstrap/RegistrationContext.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -907,6 +907,13 @@ public function getSetupChecks(): array {
907907
return $this->setupChecks;
908908
}
909909

910+
/**
911+
* @return ServiceRegistration<ITeamResourceProvider>[]
912+
*/
913+
public function getTeamResourceProviders(): array {
914+
return $this->teamResourceProviders;
915+
}
916+
910917
/**
911918
* @return ServiceRegistration<IDeclarativeSettingsForm>[]
912919
*/

lib/private/Settings/DeclarativeManager.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
<?php
2+
3+
declare(strict_types=1);
4+
25
/**
36
* @copyright Copyright (c) 2023 Kate Döen <kate.doeen@nextcloud.com>
47
*

lib/public/Settings/Events/DeclarativeSettingsGetValueEvent.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
<?php
22

3+
declare(strict_types=1);
4+
5+
/**
6+
* @copyright Copyright (c) 2023 Kate Döen <kate.doeen@nextcloud.com>
7+
*
8+
* @author Kate Döen <kate.doeen@nextcloud.com>
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/>.
24+
*
25+
*/
26+
327
namespace OCP\Settings\Events;
428

529
use Exception;

lib/public/Settings/Events/DeclarativeSettingsRegisterFormEvent.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
<?php
22

3+
declare(strict_types=1);
4+
5+
/**
6+
* @copyright Copyright (c) 2023 Kate Döen <kate.doeen@nextcloud.com>
7+
*
8+
* @author Kate Döen <kate.doeen@nextcloud.com>
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/>.
24+
*
25+
*/
26+
327
namespace OCP\Settings\Events;
428

529
use OCP\EventDispatcher\Event;

lib/public/Settings/Events/DeclarativeSettingsSetValueEvent.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
<?php
22

3+
declare(strict_types=1);
4+
5+
/**
6+
* @copyright Copyright (c) 2023 Kate Döen <kate.doeen@nextcloud.com>
7+
*
8+
* @author Kate Döen <kate.doeen@nextcloud.com>
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/>.
24+
*
25+
*/
26+
327
namespace OCP\Settings\Events;
428

529
use OCP\EventDispatcher\Event;

lib/public/Settings/IDeclarativeManager.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
<?php
2+
3+
declare(strict_types=1);
4+
25
/**
36
* @copyright Copyright (c) 2023 Kate Döen <kate.doeen@nextcloud.com>
47
*

lib/public/Settings/IDeclarativeSettingsForm.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
<?php
2+
3+
declare(strict_types=1);
4+
25
/**
36
* @copyright Copyright (c) 2023 Kate Döen <kate.doeen@nextcloud.com>
47
*

tests/lib/Settings/DeclarativeManagerTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
/**
46
* @copyright Copyright (c) 2023 Andrey Borysenko <andrey.borysenko@nextcloud.com>
57
*

0 commit comments

Comments
 (0)