Skip to content

Commit 854f3d3

Browse files
committed
fix: Enforce strict types everywhere
Signed-off-by: provokateurin <kate@provokateurin.de>
1 parent 2c3d752 commit 854f3d3

23 files changed

Lines changed: 24 additions & 2 deletions

β€Žlib/AppInfo/Application.phpβ€Ž

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

3+
declare (strict_types=1);
34
/**
45
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
56
* SPDX-License-Identifier: AGPL-3.0-or-later

β€Žlib/AuthorizedAdminSettingMiddleware.phpβ€Ž

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

3+
declare (strict_types=1);
34
/**
45
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
56
* SPDX-License-Identifier: AGPL-3.0-or-later

β€Žlib/Controller/DelegationController.phpβ€Ž

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

3+
declare (strict_types=1);
34
/**
45
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
56
* SPDX-License-Identifier: AGPL-3.0-or-later

β€Žlib/Controller/FolderController.phpβ€Ž

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

3+
declare (strict_types=1);
34
/**
45
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
56
* SPDX-License-Identifier: AGPL-3.0-or-later

β€Žlib/Folder/FolderManager.phpβ€Ž

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

3+
declare (strict_types=1);
34
/**
45
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
56
* SPDX-License-Identifier: AGPL-3.0-or-later

β€Žlib/Listeners/LoadAdditionalScriptsListener.phpβ€Ž

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

3+
declare(strict_types=1);
4+
35
/**
46
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
57
* SPDX-License-Identifier: AGPL-3.0-or-later
68
*/
79

8-
declare(strict_types=1);
9-
1010
namespace OCA\GroupFolders\Listeners;
1111

1212
use OCA\Files\Event\LoadAdditionalScriptsEvent;

β€Žlib/Migration/Version102020Date20180806161449.phpβ€Ž

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

3+
declare (strict_types=1);
34
/**
45
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
56
* SPDX-License-Identifier: AGPL-3.0-or-later

β€Žlib/Migration/Version103000Date20180806161724.phpβ€Ž

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

3+
declare (strict_types=1);
34
/**
45
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
56
* SPDX-License-Identifier: AGPL-3.0-or-later

β€Žlib/Mount/GroupFolderStorage.phpβ€Ž

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

3+
declare (strict_types=1);
34
/**
45
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
56
* SPDX-License-Identifier: AGPL-3.0-or-later

β€Žlib/Mount/GroupMountPoint.phpβ€Ž

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

3+
declare (strict_types=1);
34
/**
45
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
56
* SPDX-License-Identifier: AGPL-3.0-or-later

0 commit comments

Comments
Β (0)