aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/TaskProcessing/Exception
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/TaskProcessing/Exception')
-rw-r--r--lib/public/TaskProcessing/Exception/Exception.php20
-rw-r--r--lib/public/TaskProcessing/Exception/NotFoundException.php4
-rw-r--r--lib/public/TaskProcessing/Exception/PreConditionNotMetException.php4
-rw-r--r--lib/public/TaskProcessing/Exception/ProcessingException.php20
-rw-r--r--lib/public/TaskProcessing/Exception/UnauthorizedException.php4
-rw-r--r--lib/public/TaskProcessing/Exception/ValidationException.php4
6 files changed, 20 insertions, 36 deletions
diff --git a/lib/public/TaskProcessing/Exception/Exception.php b/lib/public/TaskProcessing/Exception/Exception.php
index 5b6a9f88b80..257f4d72a32 100644
--- a/lib/public/TaskProcessing/Exception/Exception.php
+++ b/lib/public/TaskProcessing/Exception/Exception.php
@@ -3,24 +3,8 @@
declare(strict_types=1);
/**
- * @copyright Copyright (c) 2024 Marcel Klehr <mklehr@gmx.net>
- *
- * @author Marcel Klehr <mklehr@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/>.
+ * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
diff --git a/lib/public/TaskProcessing/Exception/NotFoundException.php b/lib/public/TaskProcessing/Exception/NotFoundException.php
index 9c8636051ea..07ef4c61394 100644
--- a/lib/public/TaskProcessing/Exception/NotFoundException.php
+++ b/lib/public/TaskProcessing/Exception/NotFoundException.php
@@ -1,5 +1,9 @@
<?php
+/**
+ * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
namespace OCP\TaskProcessing\Exception;
/**
diff --git a/lib/public/TaskProcessing/Exception/PreConditionNotMetException.php b/lib/public/TaskProcessing/Exception/PreConditionNotMetException.php
index 11e5d642d03..5276fb03d34 100644
--- a/lib/public/TaskProcessing/Exception/PreConditionNotMetException.php
+++ b/lib/public/TaskProcessing/Exception/PreConditionNotMetException.php
@@ -1,5 +1,9 @@
<?php
+/**
+ * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
namespace OCP\TaskProcessing\Exception;
/**
diff --git a/lib/public/TaskProcessing/Exception/ProcessingException.php b/lib/public/TaskProcessing/Exception/ProcessingException.php
index 528876acb24..ca69766b118 100644
--- a/lib/public/TaskProcessing/Exception/ProcessingException.php
+++ b/lib/public/TaskProcessing/Exception/ProcessingException.php
@@ -3,24 +3,8 @@
declare(strict_types=1);
/**
- * @copyright Copyright (c) 2024 Marcel Klehr <mklehr@gmx.net>
- *
- * @author Marcel Klehr <mklehr@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/>.
+ * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
diff --git a/lib/public/TaskProcessing/Exception/UnauthorizedException.php b/lib/public/TaskProcessing/Exception/UnauthorizedException.php
index e191d981ac6..8b048c6a9ed 100644
--- a/lib/public/TaskProcessing/Exception/UnauthorizedException.php
+++ b/lib/public/TaskProcessing/Exception/UnauthorizedException.php
@@ -1,5 +1,9 @@
<?php
+/**
+ * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
namespace OCP\TaskProcessing\Exception;
/**
diff --git a/lib/public/TaskProcessing/Exception/ValidationException.php b/lib/public/TaskProcessing/Exception/ValidationException.php
index b17da89919d..0b8da3218b7 100644
--- a/lib/public/TaskProcessing/Exception/ValidationException.php
+++ b/lib/public/TaskProcessing/Exception/ValidationException.php
@@ -1,5 +1,9 @@
<?php
+/**
+ * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
namespace OCP\TaskProcessing\Exception;
/**