Skip to content

Commit

Permalink
fix: Enforce strict types everywhere
Browse files Browse the repository at this point in the history
Signed-off-by: provokateurin <kate@provokateurin.de>
  • Loading branch information
provokateurin committed Sep 16, 2024
1 parent 3abb9d3 commit dc2ebad
Show file tree
Hide file tree
Showing 21 changed files with 32 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php

declare (strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
Expand Down
1 change: 1 addition & 0 deletions lib/AuthorizedAdminSettingMiddleware.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php

declare (strict_types=1);
/**
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
Expand Down
1 change: 1 addition & 0 deletions lib/Controller/DelegationController.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php

declare (strict_types=1);
/**
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
Expand Down
1 change: 1 addition & 0 deletions lib/Controller/FolderController.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php

declare (strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
Expand Down
2 changes: 2 additions & 0 deletions lib/Folder/FolderManager.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php

declare (strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
Expand Down
1 change: 1 addition & 0 deletions lib/Migration/Version102020Date20180806161449.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php

declare (strict_types=1);
/**
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
Expand Down
1 change: 1 addition & 0 deletions lib/Migration/Version103000Date20180806161724.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php

declare (strict_types=1);
/**
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
Expand Down
2 changes: 2 additions & 0 deletions lib/Mount/GroupFolderStorage.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php

declare (strict_types=1);
/**
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
Expand Down
2 changes: 2 additions & 0 deletions lib/Mount/GroupMountPoint.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php

declare (strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
Expand Down
2 changes: 2 additions & 0 deletions lib/Mount/MountProvider.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php

declare (strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
Expand Down
1 change: 1 addition & 0 deletions lib/Service/ApplicationService.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php

declare (strict_types=1);
/**
* SPDX-FileCopyrightText: 2022 Baptiste Fotia <baptiste.fotia@arawa.fr> for Arawa (https://arawa.fr)
* SPDX-License-Identifier: AGPL-3.0-or-later
Expand Down
1 change: 1 addition & 0 deletions lib/Service/DelegationService.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php

declare (strict_types=1);
/**
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
Expand Down
1 change: 1 addition & 0 deletions lib/Service/FoldersFilter.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php

declare (strict_types=1);
/**
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
Expand Down
2 changes: 2 additions & 0 deletions lib/Settings/Admin.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php

declare (strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
Expand Down
2 changes: 2 additions & 0 deletions lib/Settings/Section.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php

declare (strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
Expand Down
2 changes: 2 additions & 0 deletions lib/Trash/GroupTrashItem.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php

declare (strict_types=1);
/**
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
Expand Down
2 changes: 2 additions & 0 deletions lib/Trash/TrashBackend.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php

declare (strict_types=1);
/**
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
Expand Down
2 changes: 2 additions & 0 deletions lib/Trash/TrashManager.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php

declare (strict_types=1);
/**
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
Expand Down
1 change: 1 addition & 0 deletions tests/ACL/ACLScannerTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php

declare (strict_types=1);
/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
Expand Down
2 changes: 2 additions & 0 deletions tests/Folder/FolderManagerTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php

declare (strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
Expand Down
1 change: 1 addition & 0 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php

declare (strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
Expand Down

0 comments on commit dc2ebad

Please sign in to comment.