Deprecated
Table of Contents
IAccount.php
Line | Element | Reason |
---|---|---|
53 | IAccount::getProperties() | use getAllProperties() |
IAccountManager.php
Line | Element | Reason |
---|---|---|
56 | IAccountManager::VISIBILITY_PRIVATE | |
64 | IAccountManager::VISIBILITY_CONTACTS_ONLY | |
72 | IAccountManager::VISIBILITY_PUBLIC |
IAppManager.php
Line | Element | Reason |
---|---|---|
259 | IAppManager::getDefaultAppForUser() | Use @see \OCP\INavigationManager::getDefaultEntryIdForUser() instead |
269 | IAppManager::getDefaultApps() | Use @see \OCP\INavigationManager::getDefaultEntryIds() instead |
280 | IAppManager::setDefaultApps() | Use @see \OCP\INavigationManager::setDefaultEntryIds() instead |
ManagerEvent.php
Line | Element | Reason |
---|---|---|
22 | ManagerEvent::EVENT_APP_ENABLE | |
28 | ManagerEvent::EVENT_APP_ENABLE_FOR_GROUPS | |
34 | ManagerEvent::EVENT_APP_DISABLE | |
40 | ManagerEvent::EVENT_APP_UPDATE |
App.php
Line | Element | Reason |
---|---|---|
119 | App::registerRoutes() | Just return an array from your routes.php |
Entity.php
Line | Element | Reason |
---|---|---|
301 | Entity::slugify() |
IgnoreOpenAPI.php
Line | Element | Reason |
---|---|---|
20 | IgnoreOpenAPI | Use OpenAPI with OpenAPI::SCOPE_IGNORE instead: |
EmptyContentSecurityPolicy.php
Line | Element | Reason |
---|---|---|
111 | EmptyContentSecurityPolicy::allowEvalScript() | Eval should not be used anymore. Please update your scripts. This function will stop functioning in a future version of Nextcloud. |
333 | EmptyContentSecurityPolicy::addAllowedChildSrcDomain() | use addAllowedWorkerSrcDomains or addAllowedFrameDomain |
346 | EmptyContentSecurityPolicy::disallowChildSrcDomain() | use the WorkerSrcDomains or FrameDomain |
RedirectToDefaultAppResponse.php
Line | Element | Reason |
---|---|---|
23 | RedirectToDefaultAppResponse | Use RedirectResponse() with IURLGenerator::linkToDefaultPageUrl() instead |
32 | RedirectToDefaultAppResponse::__construct() | Use RedirectResponse() with IURLGenerator::linkToDefaultPageUrl() instead |
StrictContentSecurityPolicy.php
Line | Element | Reason |
---|---|---|
26 | StrictContentSecurityPolicy |
StrictEvalContentSecurityPolicy.php
Line | Element | Reason |
---|---|---|
26 | StrictEvalContentSecurityPolicy |
StrictInlineContentSecurityPolicy.php
Line | Element | Reason |
---|---|---|
26 | StrictInlineContentSecurityPolicy |
IAppContainer.php
Line | Element | Reason |
---|---|---|
24 | IAppContainer | |
31 | IAppContainer::getAppName() | |
38 | IAppContainer::getServer() | |
46 | IAppContainer::registerMiddleWare() | use \OCP\AppFramework\Bootstrap\IRegistrationContext::registerMiddleware |
55 | IAppContainer::registerCapability() | use \OCP\AppFramework\Bootstrap\IRegistrationContext::registerCapability |
QueryException.php
Line | Element | Reason |
---|---|---|
22 | QueryException | catch \Psr\Container\ContainerExceptionInterface |
IAppConfig.php
Line | Element | Reason |
---|---|---|
87 | IAppConfig::setAppValue() | use setAppValueString() |
198 | IAppConfig::getAppValue() | use getAppValueString() |
IControllerMethodReflector.php
Line | Element | Reason |
---|---|---|
20 | IControllerMethodReflector | will be obsolete with native attributes in PHP8 |
28 | IControllerMethodReflector::reflect() | Reflect should not be called multiple times and only be used internally. This will be removed in Nextcloud 18 |
40 | IControllerMethodReflector::getType() | this method is only used internally |
47 | IControllerMethodReflector::getParameters() | this method is only used internally |
58 | IControllerMethodReflector::hasAnnotation() | will be obsolete with native attributes in PHP8 |
IRegistry.php
Line | Element | Reason |
---|---|---|
27 | IRegistry::EVENT_PROVIDER_ENABLED | |
33 | IRegistry::EVENT_PROVIDER_DISABLED |
RegistryEvent.php
Line | Element | Reason |
---|---|---|
20 | RegistryEvent | Use TwoFactorProviderForUserRegistered or TwoFactorProviderForUserUnregistered instead |
TwoFactorProviderDisabled.php
Line | Element | Reason |
---|---|---|
18 | TwoFactorProviderDisabled | Use \OCP\Authentication\TwoFactorAuth\TwoFactorProviderUserDeleted instead |
TwoFactorProviderForUserDisabled.php
Line | Element | Reason |
---|---|---|
19 | TwoFactorProviderForUserDisabled | Use \OCP\Authentication\TwoFactorAuth\TwoFactorProviderChallengeFailed instead |
TwoFactorProviderForUserEnabled.php
Line | Element | Reason |
---|---|---|
19 | TwoFactorProviderForUserEnabled | Use \OCP\Authentication\TwoFactorAuth\TwoFactorProviderChallengePassed instead |
IJob.php
Line | Element | Reason |
---|---|---|
39 | IJob::execute() | Use start() instead. This method will be removed with the ILogger interface |
IJobList.php
Line | Element | Reason |
---|---|---|
88 | IJobList::getJobs() | Use getJobsIterator instead to avoid duplicated job objects |
Job.php
Line | Element | Reason |
---|---|---|
45 | Job::execute() | Use start() instead. This method will be removed with the ILogger interface |
QueuedJob.php
Line | Element | Reason |
---|---|---|
28 | QueuedJob::execute() | Use start() instead. This method will be removed with the ILogger interface |
TimedJob.php
Line | Element | Reason |
---|---|---|
74 | TimedJob::execute() | Use start() instead |
IManager.php
Line | Element | Reason |
---|---|---|
56 | IManager::search() | use \OCP\Calendar\IManager::searchForPrincipal |
65 | IManager::isEnabled() | |
75 | IManager::registerCalendar() | use \OCP\AppFramework\Bootstrap\IRegistrationContext::registerCalendarProvider |
85 | IManager::unregisterCalendar() | |
96 | IManager::register() | use \OCP\AppFramework\Bootstrap\IRegistrationContext::registerCalendarProvider |
103 | IManager::getCalendars() | use \OCP\Calendar\IManager::getCalendarsForPrincipal |
112 | IManager::clear() |
IManager.php
Line | Element | Reason |
---|---|---|
23 | IManager::registerBackend() | use \OCP\AppFramework\Bootstrap\IRegistrationContext::registerCalendarResourceBackend |
33 | IManager::unregisterBackend() | |
40 | IManager::getBackends() | |
48 | IManager::getBackend() | |
56 | IManager::clear() |
IManager.php
Line | Element | Reason |
---|---|---|
23 | IManager::registerBackend() | use \OC\AppFramework\Bootstrap::registerCalendarRoomBackend |
33 | IManager::unregisterBackend() | |
40 | IManager::getBackends() | |
48 | IManager::getBackend() | |
56 | IManager::clear() |
AutoCompleteEvent.php
Line | Element | Reason |
---|---|---|
17 | AutoCompleteEvent | Use AutoCompleteFilterEvent instead |
IManager.php
Line | Element | Reason |
---|---|---|
106 | IManager::registerResourceProvider() | Use IProviderManager::registerResourceProvider instead |
CommentsEntityEvent.php
Line | Element | Reason |
---|---|---|
23 | CommentsEntityEvent::EVENT_ENTITY |
|
CommentsEvent.php
Line | Element | Reason |
---|---|---|
22 | CommentsEvent::EVENT_ADD | |
28 | CommentsEvent::EVENT_PRE_UPDATE | |
34 | CommentsEvent::EVENT_UPDATE | |
40 | CommentsEvent::EVENT_DELETE |
ICommentsEventHandler.php
Line | Element | Reason |
---|---|---|
14 | ICommentsEventHandler | Register a listener for the CommentsEvent through the IEventDispatcher |
20 | ICommentsEventHandler::handle() | Register a listener for the CommentsEvent through the IEventDispatcher |
ICommentsManager.php
Line | Element | Reason |
---|---|---|
115 | ICommentsManager::getForObjectSince() |
|
205 | ICommentsManager::getNumberOfCommentsForObjectSinceComment() |
|
255 | ICommentsManager::getNumberOfUnreadCommentsForFolder() | use getNumberOfUnreadCommentsForObjects instead |
ConsoleEvent.php
Line | Element | Reason |
---|---|---|
22 | ConsoleEvent::EVENT_RUN |
IPreparedStatement.php
Line | Element | Reason |
---|---|---|
34 | IPreparedStatement::closeCursor() | use \OCP\DB\IResult::closeCursor on the \OCP\DB\IResult returned by \OCP\IDBConnection::prepare |
44 | IPreparedStatement::fetch() | use \OCP\DB\IResult::fetch on the \OCP\DB\IResult returned by \OCP\IDBConnection::prepare |
54 | IPreparedStatement::fetchAll() | use \OCP\DB\IResult::fetchAll on the \OCP\DB\IResult returned by \OCP\IDBConnection::prepare |
62 | IPreparedStatement::fetchColumn() | use \OCP\DB\IResult::fetchColumn on the \OCP\DB\IResult returned by \OCP\IDBConnection::prepare |
70 | IPreparedStatement::fetchOne() | use \OCP\DB\IResult::fetchOne on the \OCP\DB\IResult returned by \OCP\IDBConnection::prepare |
117 | IPreparedStatement::rowCount() | use \OCP\DB\IResult::rowCount on the \OCP\DB\IResult returned by \OCP\IDBConnection::prepare |
IResult.php
Line | Element | Reason |
---|---|---|
60 | IResult::fetchColumn() | use \OCP\DB\IResult::fetchOne |
IQueryBuilder.php
Line | Element | Reason |
---|---|---|
191 | IQueryBuilder::getState() | This function is going to be removed with the next Doctrine/DBAL update and we can not fix this in our wrapper. |
209 | IQueryBuilder::execute() | Use executeQuery or executeStatement |
901 | IQueryBuilder::getQueryPart() | This function is going to be removed with the next Doctrine/DBAL update and we can not fix this in our wrapper. Please track the details you need, outside the object. |
911 | IQueryBuilder::getQueryParts() | This function is going to be removed with the next Doctrine/DBAL update and we can not fix this in our wrapper. Please track the details you need, outside the object. |
923 | IQueryBuilder::resetQueryParts() | This function is going to be removed with the next Doctrine/DBAL update and we can not fix this in our wrapper. Please create a new IQueryBuilder instead. |
935 | IQueryBuilder::resetQueryPart() | This function is going to be removed with the next Doctrine/DBAL update and we can not fix this in our wrapper. Please create a new IQueryBuilder instead. |
50 | IQueryBuilder::PARAM_DATE |
|
Defaults.php
Line | Element | Reason |
---|---|---|
116 | Defaults::getHTMLName() |
GenericEvent.php
Line | Element | Reason |
---|---|---|
27 | GenericEvent | use \OCP\EventDispatcher\Event |
40 | GenericEvent::__construct() | |
52 | GenericEvent::getSubject() | |
63 | GenericEvent::getArgument() | |
77 | GenericEvent::setArgument() | |
88 | GenericEvent::getArguments() | |
98 | GenericEvent::setArguments() | |
109 | GenericEvent::hasArgument() | |
120 | GenericEvent::getIterator() | |
131 | GenericEvent::offsetExists() | |
143 | GenericEvent::offsetGet() | |
155 | GenericEvent::offsetSet() | |
166 | GenericEvent::offsetUnset() | |
29 | GenericEvent::$subject | |
32 | GenericEvent::$arguments |
IEventDispatcher.php
Line | Element | Reason |
---|---|---|
73 | IEventDispatcher::dispatch() | use \OCP\EventDispatcher\IEventDispatcher::dispatchTyped |
ICloudFederationProviderManager.php
Line | Element | Reason |
---|---|---|
70 | ICloudFederationProviderManager::sendShare() |
|
90 | ICloudFederationProviderManager::sendNotification() |
|
CacheInsertEvent.php
Line | Element | Reason |
---|---|---|
17 | CacheInsertEvent | use CacheEntryInsertedEvent instead |
CacheUpdateEvent.php
Line | Element | Reason |
---|---|---|
17 | CacheUpdateEvent | use CacheEntryUpdatedEvent instead |
ICache.php
Line | Element | Reason |
---|---|---|
216 | ICache::search() | due to lack of pagination, not all backends might implement this |
227 | ICache::searchByMime() | due to lack of pagination, not all backends might implement this |
BeforeNodeDeletedEvent.php
Line | Element | Reason |
---|---|---|
21 | BeforeNodeDeletedEvent::abortOperation() |
|
BeforeNodeRenamedEvent.php
Line | Element | Reason |
---|---|---|
21 | BeforeNodeRenamedEvent::abortOperation() |
|
ILockManager.php
Line | Element | Reason |
---|---|---|
30 | ILockManager::registerLockProvider() | Use registerLazyLockProvider |
TemplateFileCreator.php
Line | Element | Reason |
---|---|---|
55 | TemplateFileCreator::setIconClass() | |
31 | TemplateFileCreator::$actionLabel |
Files.php
Line | Element | Reason |
---|---|---|
18 | Files | |
25 | Files::rmdirr() | |
37 | Files::getMimeType() | |
48 | Files::searchByMime() | |
60 | Files::streamCopy() | |
73 | Files::buildNotExistingFileName() | use getNonExistingName of the OCP\Files\Folder object |
85 | Files::getStorage() | use IAppData instead |
ABackend.php
Line | Element | Reason |
---|---|---|
24 | ABackend::implementsActions() |
ICreateGroupBackend.php
Line | Element | Reason |
---|---|---|
15 | ICreateGroupBackend | Use ICreateNamedGroupBackend instead |
BeforeUserRemovedEvent.php
Line | Element | Reason |
---|---|---|
22 | BeforeUserRemovedEvent |
|
33 | BeforeUserRemovedEvent::__construct() | |
44 | BeforeUserRemovedEvent::getGroup() | |
53 | BeforeUserRemovedEvent::getUser() |
GroupInterface.php
Line | Element | Reason |
---|---|---|
130 | GroupInterface::usersInGroup() | Use searchInGroup instead, for performance reasons |
40 | GroupInterface::REMOVE_FROM_GOUP |
IAppConfig.php
Line | Element | Reason |
---|---|---|
495 | IAppConfig::getValues() | Use getAllValues() or searchValues() |
506 | IAppConfig::getFilteredValues() | Use getAllValues() or searchValues() |
ICache.php
Line | Element | Reason |
---|---|---|
48 | ICache::hasKey() | Directly read from GET to prevent race conditions |
IConfig.php
Line | Element | Reason |
---|---|---|
109 | IConfig::getAppKeys() | Use IAppConfig directly |
121 | IConfig::setAppValue() | Use IAppConfig directly |
134 | IConfig::getAppValue() | Use IAppConfig directly |
144 | IConfig::deleteAppValue() | Use IAppConfig directly |
153 | IConfig::deleteAppValues() | Use IAppConfig directly |
IContainer.php
Line | Element | Reason |
---|---|---|
27 | IContainer | use \Psr\Container\ContainerInterface |
42 | IContainer::resolve() | use \Psr\Container\ContainerInterface::get |
60 | IContainer::query() | use \Psr\Container\ContainerInterface::get |
71 | IContainer::registerParameter() | use \OCP\AppFramework\Bootstrap\IRegistrationContext::registerParameter |
87 | IContainer::registerService() | use \OCP\AppFramework\Bootstrap\IRegistrationContext::registerService |
98 | IContainer::registerAlias() | use \OCP\AppFramework\Bootstrap\IRegistrationContext::registerServiceAlias |
IDBConnection.php
Line | Element | Reason |
---|---|---|
102 | IDBConnection::executeUpdate() | use executeStatement |
129 | IDBConnection::lastInsertId() | use \OCP\DB\QueryBuilder\IQueryBuilder::getLastInsertId |
146 | IDBConnection::insertIfNotExist() |
|
232 | IDBConnection::getError() | doesn't return anything meaningful |
241 | IDBConnection::errorCode() | doesn't return anything anymore |
250 | IDBConnection::errorInfo() | doesn't return anything anymore |
285 | IDBConnection::getDatabasePlatform() | Please use self::getDatabaseProvider() and compare to self::PLATFORM_* constants |
IInitialStateService.php
Line | Element | Reason |
---|---|---|
17 | IInitialStateService | Use OCP\AppFramework\Services\IInitialState or OCP\AppFramework\Services\InitialStateProvider |
32 | IInitialStateService::provideInitialState() | Use OCP\AppFramework\Services\IInitialState or OCP\AppFramework\Services\InitialStateProvider |
50 | IInitialStateService::provideLazyInitialState() | Use OCP\AppFramework\Services\IInitialState or OCP\AppFramework\Services\InitialStateProvider |
IPreview.php
Line | Element | Reason |
---|---|---|
46 | IPreview::registerProvider() | Register your provider via the IRegistrationContext when booting the app |
IServerContainer.php
Line | Element | Reason |
---|---|---|
28 | IServerContainer | |
37 | IServerContainer::getCalendarManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
47 | IServerContainer::getCalendarResourceBackendManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
57 | IServerContainer::getCalendarRoomBackendManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
67 | IServerContainer::getContactsManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
78 | IServerContainer::getRequest() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
87 | IServerContainer::getPreviewManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
97 | IServerContainer::getTagManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
106 | IServerContainer::getRootFolder() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
117 | IServerContainer::getUserFolder() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
126 | IServerContainer::getUserManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
135 | IServerContainer::getGroupManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
144 | IServerContainer::getUserSession() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
153 | IServerContainer::getNavigationManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
162 | IServerContainer::getConfig() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
171 | IServerContainer::getCrypto() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
180 | IServerContainer::getHasher() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
189 | IServerContainer::getSecureRandom() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
198 | IServerContainer::getCredentialsManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
207 | IServerContainer::getAppConfig() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
214 | IServerContainer::getL10NFactory() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
224 | IServerContainer::getL10N() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
231 | IServerContainer::getEncryptionManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
238 | IServerContainer::getEncryptionFilesHelper() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
245 | IServerContainer::getEncryptionKeyStorage() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
254 | IServerContainer::getURLGenerator() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
263 | IServerContainer::getCache() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
272 | IServerContainer::getMemCacheFactory() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
281 | IServerContainer::getSession() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
290 | IServerContainer::getActivityManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
299 | IServerContainer::getDatabaseConnection() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
308 | IServerContainer::getAvatarManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
317 | IServerContainer::getJobList() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
326 | IServerContainer::getLogFactory() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
335 | IServerContainer::getRouter() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
344 | IServerContainer::getCertificateManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
353 | IServerContainer::getHTTPClientService() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
362 | IServerContainer::getEventLogger() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
373 | IServerContainer::getQueryLogger() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
382 | IServerContainer::getTempManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
391 | IServerContainer::getAppManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
400 | IServerContainer::getWebRoot() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
407 | IServerContainer::getMountProviderCollection() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
416 | IServerContainer::getIniWrapper() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
422 | IServerContainer::getCommandBus() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
431 | IServerContainer::getMailer() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
440 | IServerContainer::getLockingProvider() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
447 | IServerContainer::getMountManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
456 | IServerContainer::getMimeTypeDetector() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
465 | IServerContainer::getMimeTypeLoader() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
474 | IServerContainer::getNotificationManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
481 | IServerContainer::getCommentsManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
491 | IServerContainer::getSystemTagManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
501 | IServerContainer::getSystemTagObjectMapper() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
510 | IServerContainer::getShareManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
517 | IServerContainer::getContentSecurityPolicyManager() | Use the AddContentSecurityPolicyEvent |
524 | IServerContainer::getDateTimeZone() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
531 | IServerContainer::getDateTimeFormatter() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
538 | IServerContainer::getCloudIdManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
545 | IServerContainer::getGlobalScaleConfig() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
552 | IServerContainer::getCloudFederationFactory() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
559 | IServerContainer::getCloudFederationProviderManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
566 | IServerContainer::getRemoteApiFactory() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
573 | IServerContainer::getRemoteInstanceFactory() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
580 | IServerContainer::getStorageFactory() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
IUser.php
Line | Element | Reason |
---|---|---|
223 | IUser::setEMailAddress() | use setSystemEMailAddress() or setPrimaryEMailAddress() |
IManager.php
Line | Element | Reason |
---|---|---|
32 | IManager::registerNotifier() | use registerNotifierService instead. |
40 | IManager::registerNotifierService() | use the IBootStrap registration context |
BeforePreviewFetchedEvent.php
Line | Element | Reason |
---|---|---|
29 | BeforePreviewFetchedEvent::$width | passing null is deprecated * |
31 | BeforePreviewFetchedEvent::$height | passing null is deprecated * |
33 | BeforePreviewFetchedEvent::$crop | passing null is deprecated * |
35 | BeforePreviewFetchedEvent::$mode | passing null is deprecated * |
IProvider.php
Line | Element | Reason |
---|---|---|
16 | IProvider | use IProviderV2 instead |
IApiCollection.php
Line | Element | Reason |
---|---|---|
14 | IApiCollection | |
21 | IApiCollection::getUserApi() | |
29 | IApiCollection::getCapabilitiesApi() |
IApiFactory.php
Line | Element | Reason |
---|---|---|
15 | IApiFactory | |
24 | IApiFactory::getApiCollection() |
ICapabilitiesApi.php
Line | Element | Reason |
---|---|---|
12 | ICapabilitiesApi | |
19 | ICapabilitiesApi::getCapabilities() |
IUserApi.php
Line | Element | Reason |
---|---|---|
14 | IUserApi | |
22 | IUserApi::getUser() |
ICredentials.php
Line | Element | Reason |
---|---|---|
14 | ICredentials | |
21 | ICredentials::getUsername() | |
29 | ICredentials::getPassword() |
IInstance.php
Line | Element | Reason |
---|---|---|
14 | IInstance | |
21 | IInstance::getUrl() | |
29 | IInstance::getFullUrl() | |
37 | IInstance::getVersion() | |
45 | IInstance::getProtocol() | |
55 | IInstance::isActive() |
IInstanceFactory.php
Line | Element | Reason |
---|---|---|
12 | IInstanceFactory | |
20 | IInstanceFactory::getInstance() |
IUser.php
Line | Element | Reason |
---|---|---|
14 | IUser | |
21 | IUser::getUserId() | |
29 | IUser::getEmail() | |
37 | IUser::getDisplayName() | |
45 | IUser::getPhone() | |
53 | IUser::getAddress() | |
61 | IUser::getWebsite() | |
69 | IUser::getTwitter() | |
77 | IUser::getGroups() | |
85 | IUser::getLanguage() | |
93 | IUser::getUsedSpace() | |
101 | IUser::getFreeSpace() | |
109 | IUser::getTotalSpace() | |
117 | IUser::getQuota() |
IRouter.php
Line | Element | Reason |
---|---|---|
16 | IRouter | |
28 | IRouter::create() |
PagedProvider.php
Line | Element | Reason |
---|---|---|
15 | PagedProvider | |
29 | PagedProvider::__construct() | |
40 | PagedProvider::search() | |
54 | PagedProvider::searchPaged() | |
21 | PagedProvider::SIZE_ALL |
Provider.php
Line | Element | Reason |
---|---|---|
15 | Provider | |
36 | Provider::__construct() | |
47 | Provider::getOption() | |
65 | Provider::providesResultsFor() | |
77 | Provider::search() | |
20 | Provider::OPTION_APPS | |
28 | Provider::$options |
Result.php
Line | Element | Reason |
---|---|---|
15 | Result | |
59 | Result::__construct() | |
23 | Result::$id | |
32 | Result::$name | |
40 | Result::$link | |
49 | Result::$type |
IThrottler.php
Line | Element | Reason |
---|---|---|
74 | IThrottler::getAttempts() | This method is considered internal as of Nextcloud 28. Use showBruteforceWarning() to decide whether a warning should be shown. |
95 | IThrottler::getDelay() | This method is considered internal as of Nextcloud 28. Use showBruteforceWarning() to decide whether a warning should be shown. |
114 | IThrottler::resetDelayForIP() | This method is considered internal as of Nextcloud 28. Use resetDelay() and only reset the entries of your action and metadata |
125 | IThrottler::sleepDelay() | Use sleepDelayOrThrowOnMax() instead and abort handling the request when it throws |
30 | IThrottler::MAX_DELAY | |
36 | IThrottler::MAX_DELAY_MS | |
42 | IThrottler::MAX_ATTEMPTS |
IContentSecurityPolicyManager.php
Line | Element | Reason |
---|---|---|
19 | IContentSecurityPolicyManager | listen to the AddContentSecurityPolicyEvent to add a policy |
38 | IContentSecurityPolicyManager::addDefaultPolicy() | listen to the AddContentSecurityPolicyEvent to add a policy |
IManager.php
Line | Element | Reason |
---|---|---|
19 | IManager::KEY_ADMIN_SETTINGS | Use self::SETTINGS_ADMIN instead |
25 | IManager::KEY_ADMIN_SECTION | Use self::SETTINGS_ADMIN instead |
31 | IManager::KEY_PERSONAL_SETTINGS | Use self::SETTINGS_PERSONAL instead |
37 | IManager::KEY_PERSONAL_SECTION | Use self::SETTINGS_PERSONAL instead |
Share.php
Line | Element | Reason |
---|---|---|
21 | Share |
Share_Backend.php
Line | Element | Reason |
---|---|---|
40 | Share_Backend::generateTarget() |
AbstractTranscriptionEvent.php
Line | Element | Reason |
---|---|---|
18 | AbstractTranscriptionEvent |
TranscriptionFailedEvent.php
Line | Element | Reason |
---|---|---|
20 | TranscriptionFailedEvent |
TranscriptionSuccessfulEvent.php
Line | Element | Reason |
---|---|---|
20 | TranscriptionSuccessfulEvent |
ISpeechToTextManager.php
Line | Element | Reason |
---|---|---|
22 | ISpeechToTextManager |
ISpeechToTextProvider.php
Line | Element | Reason |
---|---|---|
20 | ISpeechToTextProvider |
ISpeechToTextProviderWithId.php
Line | Element | Reason |
---|---|---|
13 | ISpeechToTextProviderWithId |
ISpeechToTextProviderWithUserId.php
Line | Element | Reason |
---|---|---|
17 | ISpeechToTextProviderWithUserId |
IRegistry.php
Line | Element | Reason |
---|---|---|
19 | IRegistry | used internally only |
29 | IRegistry::register() | use IRegistrationContext::registerCrashReporter |
41 | IRegistry::delegateBreadcrumb() | used internally only |
52 | IRegistry::delegateReport() | used internally only |
65 | IRegistry::delegateMessage() | used internally only |
74 | IRegistry::hasReporters() | use internally only |
IRegistry.php
Line | Element | Reason |
---|---|---|
28 | IRegistry::register() | use registerService |
ManagerEvent.php
Line | Element | Reason |
---|---|---|
23 | ManagerEvent::EVENT_CREATE | |
29 | ManagerEvent::EVENT_UPDATE | |
35 | ManagerEvent::EVENT_DELETE |
MapperEvent.php
Line | Element | Reason |
---|---|---|
23 | MapperEvent::EVENT_ASSIGN | |
29 | MapperEvent::EVENT_UNASSIGN |
SystemTagsEntityEvent.php
Line | Element | Reason |
---|---|---|
24 | SystemTagsEntityEvent::EVENT_ENTITY | Listen to the typed event instead |
AbstractTextProcessingEvent.php
Line | Element | Reason |
---|---|---|
18 | AbstractTextProcessingEvent |
TaskFailedEvent.php
Line | Element | Reason |
---|---|---|
15 | TaskFailedEvent |
TaskSuccessfulEvent.php
Line | Element | Reason |
---|---|---|
13 | TaskSuccessfulEvent |
TaskFailureException.php
Line | Element | Reason |
---|---|---|
14 | TaskFailureException |
FreePromptTaskType.php
Line | Element | Reason |
---|---|---|
20 | FreePromptTaskType |
HeadlineTaskType.php
Line | Element | Reason |
---|---|---|
20 | HeadlineTaskType |
IManager.php
Line | Element | Reason |
---|---|---|
25 | IManager |
IProvider.php
Line | Element | Reason |
---|---|---|
22 | IProvider |
IProviderWithExpectedRuntime.php
Line | Element | Reason |
---|---|---|
20 | IProviderWithExpectedRuntime |
IProviderWithId.php
Line | Element | Reason |
---|---|---|
18 | IProviderWithId |
IProviderWithUserId.php
Line | Element | Reason |
---|---|---|
20 | IProviderWithUserId |
ITaskType.php
Line | Element | Reason |
---|---|---|
18 | ITaskType |
SummaryTaskType.php
Line | Element | Reason |
---|---|---|
20 | SummaryTaskType |
Task.php
Line | Element | Reason |
---|---|---|
18 | Task |
TopicsTaskType.php
Line | Element | Reason |
---|---|---|
20 | TopicsTaskType |
AbstractTextToImageEvent.php
Line | Element | Reason |
---|---|---|
19 | AbstractTextToImageEvent |
TaskFailedEvent.php
Line | Element | Reason |
---|---|---|
18 | TaskFailedEvent |
TaskSuccessfulEvent.php
Line | Element | Reason |
---|---|---|
16 | TaskSuccessfulEvent |
TaskFailureException.php
Line | Element | Reason |
---|---|---|
14 | TaskFailureException |
TaskNotFoundException.php
Line | Element | Reason |
---|---|---|
14 | TaskNotFoundException |
TextToImageException.php
Line | Element | Reason |
---|---|---|
14 | TextToImageException |
IManager.php
Line | Element | Reason |
---|---|---|
25 | IManager |
IProvider.php
Line | Element | Reason |
---|---|---|
20 | IProvider |
IProviderWithUserId.php
Line | Element | Reason |
---|---|---|
14 | IProviderWithUserId |
Task.php
Line | Element | Reason |
---|---|---|
25 | Task |
CouldNotTranslateException.php
Line | Element | Reason |
---|---|---|
16 | CouldNotTranslateException |
IDetectLanguageProvider.php
Line | Element | Reason |
---|---|---|
17 | IDetectLanguageProvider |
ITranslationManager.php
Line | Element | Reason |
---|---|---|
20 | ITranslationManager |
ITranslationProvider.php
Line | Element | Reason |
---|---|---|
19 | ITranslationProvider |
ITranslationProviderWithId.php
Line | Element | Reason |
---|---|---|
17 | ITranslationProviderWithId |
ITranslationProviderWithUserId.php
Line | Element | Reason |
---|---|---|
17 | ITranslationProviderWithUserId |
LanguageTuple.php
Line | Element | Reason |
---|---|---|
19 | LanguageTuple |
ABackend.php
Line | Element | Reason |
---|---|---|
26 | ABackend::implementsActions() |
UserInterface.php
Line | Element | Reason |
---|---|---|
29 | UserInterface::implementsActions() | Switch to the interfaces from OCP\User\Backend |
Util.php
Line | Element | Reason |
---|---|---|
40 | Util::getVersion() | Use \OCP\ServerVersion::getVersion |
72 | Util::getChannel() | Use \OCP\ServerVersion::getChannel |
83 | Util::isSharingDisabledForUser() | Use \OC::$server->get(\OCP\Share\IManager::class)->sharingDisabledForUser |
366 | Util::connectHook() | use \OCP\EventDispatcher\IEventDispatcher::addListener |
381 | Util::emitHook() | use \OCP\EventDispatcher\IEventDispatcher::dispatchTypedEvent |
456 | Util::recursiveArraySearch() |
IRuleMatcher.php
Line | Element | Reason |
---|---|---|
28 | IRuleMatcher::getMatchingOperations() |