aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-09-18 23:51:06 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2024-09-20 00:46:03 +0200
commita8f46af20f4fccac0257eba950e70d0da96c4a5a (patch)
treeb3922576860114dac6747ed7fc98ab4360864b2d /lib/public
parente7f8ab1c3b7bdbc6f34a62e5b5bbaa2f903f467b (diff)
downloadnextcloud-server-a8f46af20f4fccac0257eba950e70d0da96c4a5a.tar.gz
nextcloud-server-a8f46af20f4fccac0257eba950e70d0da96c4a5a.zip
chore: Add proper deprecation dates where missing
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php2
-rw-r--r--lib/public/BackgroundJob/IJob.php4
-rw-r--r--lib/public/BackgroundJob/Job.php2
-rw-r--r--lib/public/BackgroundJob/QueuedJob.php2
-rw-r--r--lib/public/BackgroundJob/TimedJob.php2
-rw-r--r--lib/public/Collaboration/AutoComplete/AutoCompleteEvent.php2
-rw-r--r--lib/public/GroupInterface.php2
-rw-r--r--lib/public/Share_Backend.php2
-rw-r--r--lib/public/Support/CrashReport/IRegistry.php10
9 files changed, 14 insertions, 14 deletions
diff --git a/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php b/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php
index 584191b9aaa..b8bbfdb7d67 100644
--- a/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php
+++ b/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php
@@ -106,7 +106,7 @@ class EmptyContentSecurityPolicy {
* @param bool $state
* @return $this
* @since 8.1.0
- * @deprecated Eval should not be used anymore. Please update your scripts. This function will stop functioning in a future version of Nextcloud.
+ * @deprecated 17.0.0 Eval should not be used anymore. Please update your scripts. This function will stop functioning in a future version of Nextcloud.
*/
public function allowEvalScript($state = true) {
$this->evalScriptAllowed = $state;
diff --git a/lib/public/BackgroundJob/IJob.php b/lib/public/BackgroundJob/IJob.php
index 6988e1e682a..28a7df1c377 100644
--- a/lib/public/BackgroundJob/IJob.php
+++ b/lib/public/BackgroundJob/IJob.php
@@ -10,7 +10,7 @@ namespace OCP\BackgroundJob;
use OCP\ILogger;
/**
- * This interface represend a backgroud job run with cron
+ * This interface represents a background job run with cron
*
* To implement a background job, you must extend either \OCP\BackgroundJob\Job,
* \OCP\BackgroundJob\TimedJob or \OCP\BackgroundJob\QueuedJob
@@ -33,7 +33,7 @@ interface IJob {
* @param IJobList $jobList The job list that manages the state of this job
* @param ILogger|null $logger
* @since 7.0.0
- * @deprecated since 25.0.0 Use start() instead. This method will be removed
+ * @deprecated 25.0.0 Use start() instead. This method will be removed
* with the ILogger interface
*/
public function execute(IJobList $jobList, ?ILogger $logger = null);
diff --git a/lib/public/BackgroundJob/Job.php b/lib/public/BackgroundJob/Job.php
index 3b25db311a4..2483387a9c9 100644
--- a/lib/public/BackgroundJob/Job.php
+++ b/lib/public/BackgroundJob/Job.php
@@ -39,7 +39,7 @@ abstract class Job implements IJob, IParallelAwareJob {
* @return void
*
* @since 15.0.0
- * @deprecated since 25.0.0 Use start() instead. This method will be removed
+ * @deprecated 25.0.0 Use start() instead. This method will be removed
* with the ILogger interface
*/
public function execute(IJobList $jobList, ?ILogger $logger = null) {
diff --git a/lib/public/BackgroundJob/QueuedJob.php b/lib/public/BackgroundJob/QueuedJob.php
index caacff42b1a..75e27d1d60f 100644
--- a/lib/public/BackgroundJob/QueuedJob.php
+++ b/lib/public/BackgroundJob/QueuedJob.php
@@ -22,7 +22,7 @@ abstract class QueuedJob extends Job {
* @param ILogger|null $logger
*
* @since 15.0.0
- * @deprecated since 25.0.0 Use start() instead. This method will be removed
+ * @deprecated 25.0.0 Use start() instead. This method will be removed
* with the ILogger interface
*/
final public function execute($jobList, ?ILogger $logger = null) {
diff --git a/lib/public/BackgroundJob/TimedJob.php b/lib/public/BackgroundJob/TimedJob.php
index 6665d194789..bec3f21fe16 100644
--- a/lib/public/BackgroundJob/TimedJob.php
+++ b/lib/public/BackgroundJob/TimedJob.php
@@ -67,7 +67,7 @@ abstract class TimedJob extends Job {
* @param ILogger|null $logger
*
* @since 15.0.0
- * @deprecated since 25.0.0 Use start() instead
+ * @deprecated 25.0.0 Use start() instead
*/
final public function execute(IJobList $jobList, ?ILogger $logger = null) {
$this->start($jobList);
diff --git a/lib/public/Collaboration/AutoComplete/AutoCompleteEvent.php b/lib/public/Collaboration/AutoComplete/AutoCompleteEvent.php
index 7151f05aef3..1a225178310 100644
--- a/lib/public/Collaboration/AutoComplete/AutoCompleteEvent.php
+++ b/lib/public/Collaboration/AutoComplete/AutoCompleteEvent.php
@@ -12,7 +12,7 @@ use OCP\EventDispatcher\GenericEvent;
/**
* @since 16.0.0
- * @deprecated Use {@see AutoCompleteFilterEvent} instead
+ * @deprecated 28.0.0 Use {@see AutoCompleteFilterEvent} instead
*/
class AutoCompleteEvent extends GenericEvent {
/**
diff --git a/lib/public/GroupInterface.php b/lib/public/GroupInterface.php
index 9329fe4a454..a6c01fa1d11 100644
--- a/lib/public/GroupInterface.php
+++ b/lib/public/GroupInterface.php
@@ -35,7 +35,7 @@ interface GroupInterface {
/**
* @since 12.0.0
- * @deprecated 29.0.0
+ * @deprecated 29.0.0
*/
public const REMOVE_FROM_GOUP = 0x00001000; // oops
diff --git a/lib/public/Share_Backend.php b/lib/public/Share_Backend.php
index b77731ccdfd..794d72b7873 100644
--- a/lib/public/Share_Backend.php
+++ b/lib/public/Share_Backend.php
@@ -30,7 +30,7 @@ interface Share_Backend {
* Get a unique name of the item for the specified user
* @param string $itemSource
* @param string|false $shareWith User the item is being shared with
- * @param array|null $exclude List of similar item names already existing as shared items @deprecated since version OC7
+ * @param array|null $exclude List of similar item names already existing as shared items @deprecated 7.0.0
* @return string Target name
*
* This function needs to verify that the user does not already have an item with this name.
diff --git a/lib/public/Support/CrashReport/IRegistry.php b/lib/public/Support/CrashReport/IRegistry.php
index 9da4f24aaa3..503a21038ca 100644
--- a/lib/public/Support/CrashReport/IRegistry.php
+++ b/lib/public/Support/CrashReport/IRegistry.php
@@ -14,7 +14,7 @@ use Throwable;
/**
* @since 13.0.0
- * @deprecated used internally only
+ * @deprecated 20.0.0 used internally only
*/
interface IRegistry {
/**
@@ -35,7 +35,7 @@ interface IRegistry {
* @param string $category
* @param array $context
*
- * @deprecated used internally only
+ * @deprecated 20.0.0 used internally only
* @since 15.0.0
*/
public function delegateBreadcrumb(string $message, string $category, array $context = []): void;
@@ -46,7 +46,7 @@ interface IRegistry {
* @param Exception|Throwable $exception
* @param array $context
*
- * @deprecated used internally only
+ * @deprecated 20.0.0 used internally only
* @since 13.0.0
*/
public function delegateReport($exception, array $context = []);
@@ -59,7 +59,7 @@ interface IRegistry {
*
* @return void
*
- * @deprecated used internally only
+ * @deprecated 20.0.0 used internally only
* @since 17.0.0
*/
public function delegateMessage(string $message, array $context = []): void;
@@ -68,7 +68,7 @@ interface IRegistry {
* Check if any reporter has been registered to delegate to
*
* @return bool
- * @deprecated use internally only
+ * @deprecated 20.0.0 use internally only
* @since 26.0.0
*/
public function hasReporters(): bool;