Deprecated
Table of Contents
IAccount.php
| Line | Element | Reason |
|---|---|---|
| 53 | IAccount::getProperties() | use getAllProperties() |
IAccountManager.php
| Line | Element | Reason |
|---|---|---|
| 76 | IAccountManager::PROPERTY_DISPLAYNAME_LEGACY | only added for backwards compatibility with provisioning_api UsersController::getCurrentUser |
| 102 | IAccountManager::PROPERTY_TWITTER |
IAppManager.php
| Line | Element | Reason |
|---|---|---|
| 92 | IAppManager::isInstalled() | Use either self::isEnabledForUser or self::isEnabledForAnyone |
| 200 | IAppManager::getInstalledApps() | Use either self::getEnabledApps or self::getEnabledAppsForUser |
| 285 | IAppManager::getDefaultAppForUser() | Use @see \OCP\INavigationManager::getDefaultEntryIdForUser() instead |
| 295 | IAppManager::getDefaultApps() | Use @see \OCP\INavigationManager::getDefaultEntryIds() instead |
| 306 | 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 |
Controller.php
| Line | Element | Reason |
|---|---|---|
| 94 | Controller::getResponderByHTTPHeader() | Use IRequest::getFormat instead |
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 |
AnyLoginFailedEvent.php
| Line | Element | Reason |
|---|---|---|
| 36 | AnyLoginFailedEvent::geLoginName() | Use getLoginName() instead |
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 |
IJobList.php
| Line | Element | Reason |
|---|---|---|
| 88 | IJobList::getJobs() | Use getJobsIterator instead to avoid duplicated job objects |
IManager.php
| Line | Element | Reason |
|---|---|---|
| 59 | IManager::search() | use \OCP\Calendar\IManager::searchForPrincipal |
| 68 | IManager::isEnabled() | |
| 78 | IManager::registerCalendar() | use \OCP\AppFramework\Bootstrap\IRegistrationContext::registerCalendarProvider |
| 88 | IManager::unregisterCalendar() | |
| 99 | IManager::register() | use \OCP\AppFramework\Bootstrap\IRegistrationContext::registerCalendarProvider |
| 106 | IManager::getCalendars() | use \OCP\Calendar\IManager::getCalendarsForPrincipal |
| 115 | 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 |
|---|---|---|
| 15 | ICommentsEventHandler | Register a listener for the CommentsEvent through the IEventDispatcher |
| 21 | ICommentsEventHandler::handle() | Register a listener for the CommentsEvent through the IEventDispatcher |
ICommentsManager.php
| Line | Element | Reason |
|---|---|---|
| 116 | ICommentsManager::getForObjectSince() |
|
| 220 | ICommentsManager::getNumberOfCommentsForObjectSinceComment() |
|
| 270 | 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. |
| 883 | 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. |
| 893 | 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. |
| 905 | 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. |
| 917 | 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 |
|---|---|---|
| 29 | GenericEvent | use \OCP\EventDispatcher\Event |
| 42 | GenericEvent::__construct() | |
| 54 | GenericEvent::getSubject() | |
| 65 | GenericEvent::getArgument() | |
| 79 | GenericEvent::setArgument() | |
| 90 | GenericEvent::getArguments() | |
| 100 | GenericEvent::setArguments() | |
| 111 | GenericEvent::hasArgument() | |
| 122 | GenericEvent::getIterator() | |
| 133 | GenericEvent::offsetExists() | |
| 145 | GenericEvent::offsetGet() | |
| 157 | GenericEvent::offsetSet() | |
| 168 | GenericEvent::offsetUnset() | |
| 31 | GenericEvent::$subject | |
| 34 | GenericEvent::$arguments |
IEventDispatcher.php
| Line | Element | Reason |
|---|---|---|
| 73 | IEventDispatcher::dispatch() | use \OCP\EventDispatcher\IEventDispatcher::dispatchTyped |
ICloudFederationProviderManager.php
| Line | Element | Reason |
|---|---|---|
| 71 | ICloudFederationProviderManager::sendShare() |
|
| 91 | 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 |
|---|---|---|
| 21 | Files | |
| 32 | Files::rmdirr() | |
| 72 | Files::getMimeType() | |
| 83 | Files::searchByMime() | |
| 100 | Files::streamCopy() | |
| 138 | Files::buildNotExistingFileName() | use getNonExistingName of the OCP\Files\Folder object |
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 |
|---|---|---|
| 540 | IAppConfig::getValues() | Use getAllValues() or searchValues() |
| 551 | 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 |
|---|---|---|
| 107 | IDBConnection::executeUpdate() | use executeStatement |
| 134 | IDBConnection::lastInsertId() | use \OCP\DB\QueryBuilder\IQueryBuilder::getLastInsertId |
| 151 | IDBConnection::insertIfNotExist() |
|
| 237 | IDBConnection::getError() | doesn't return anything meaningful |
| 246 | IDBConnection::errorCode() | doesn't return anything anymore |
| 255 | IDBConnection::errorInfo() | doesn't return anything anymore |
| 290 | IDBConnection::getDatabasePlatform() | Please use self::getDatabaseProvider() and compare to self::PLATFORM_* constants |
IInitialStateService.php
| Line | Element | Reason |
|---|---|---|
| 17 | IInitialStateService | |
| 32 | IInitialStateService::provideInitialState() | |
| 50 | IInitialStateService::provideLazyInitialState() |
IPreview.php
| Line | Element | Reason |
|---|---|---|
| 49 | IPreview::registerProvider() | Register your provider via the IRegistrationContext when booting the app |
IServerContainer.php
| Line | Element | Reason |
|---|---|---|
| 24 | IServerContainer | |
| 34 | IServerContainer::getContactsManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 45 | IServerContainer::getRequest() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 54 | IServerContainer::getRootFolder() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 65 | IServerContainer::getUserFolder() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 74 | IServerContainer::getUserManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 83 | IServerContainer::getGroupManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 92 | IServerContainer::getUserSession() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 101 | IServerContainer::getConfig() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 110 | IServerContainer::getCrypto() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 119 | IServerContainer::getHasher() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 128 | IServerContainer::getSecureRandom() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 135 | IServerContainer::getL10NFactory() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 145 | IServerContainer::getL10N() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 152 | IServerContainer::getEncryptionManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 159 | IServerContainer::getEncryptionFilesHelper() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 168 | IServerContainer::getURLGenerator() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 177 | IServerContainer::getCache() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 186 | IServerContainer::getMemCacheFactory() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 195 | IServerContainer::getSession() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 204 | IServerContainer::getActivityManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 213 | IServerContainer::getDatabaseConnection() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 222 | IServerContainer::getJobList() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 231 | IServerContainer::getCertificateManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 240 | IServerContainer::getTempManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 249 | IServerContainer::getAppManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 258 | IServerContainer::getWebRoot() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 267 | IServerContainer::getMailer() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 276 | IServerContainer::getLockingProvider() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 285 | IServerContainer::getMimeTypeDetector() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 294 | IServerContainer::getMimeTypeLoader() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 303 | IServerContainer::getNotificationManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
| 310 | IServerContainer::getCloudIdManager() | have it injected or fetch it through \Psr\Container\ContainerInterface::get |
IUser.php
| Line | Element | Reason |
|---|---|---|
| 244 | IUser::setEMailAddress() | use setSystemEMailAddress() or setPrimaryEMailAddress() |
IUserManager.php
| Line | Element | Reason |
|---|---|---|
| 109 | IUserManager::search() | use searchDisplayName instead |
IMailer.php
| Line | Element | Reason |
|---|---|---|
| 85 | IMailer::validateMailAddress() | use IEmailValidator.isValid instead |
IManager.php
| Line | Element | Reason |
|---|---|---|
| 30 | IManager::registerNotifier() | use registerNotifierService instead. |
| 38 | IManager::registerNotifierService() | use the IBootStrap registration context |
IOCMProvider.php
| Line | Element | Reason |
|---|---|---|
| 21 | IOCMProvider | Please use ICapabilityAwareOCMProvider |
BeforePreviewFetchedEvent.php
| Line | Element | Reason |
|---|---|---|
| 30 | BeforePreviewFetchedEvent::$width | passing null is deprecated * |
| 32 | BeforePreviewFetchedEvent::$height | passing null is deprecated * |
| 34 | BeforePreviewFetchedEvent::$crop | passing null is deprecated * |
| 36 | BeforePreviewFetchedEvent::$mode | passing null is deprecated * |
IApiCollection.php
| Line | Element | Reason |
|---|---|---|
| 15 | IApiCollection | |
| 22 | IApiCollection::getUserApi() | |
| 30 | IApiCollection::getCapabilitiesApi() |
IApiFactory.php
| Line | Element | Reason |
|---|---|---|
| 16 | IApiFactory | |
| 25 | IApiFactory::getApiCollection() |
ICapabilitiesApi.php
| Line | Element | Reason |
|---|---|---|
| 13 | ICapabilitiesApi | |
| 20 | ICapabilitiesApi::getCapabilities() |
IUserApi.php
| Line | Element | Reason |
|---|---|---|
| 15 | IUserApi | |
| 23 | IUserApi::getUser() |
ICredentials.php
| Line | Element | Reason |
|---|---|---|
| 15 | ICredentials | |
| 22 | ICredentials::getUsername() | |
| 30 | ICredentials::getPassword() |
IInstance.php
| Line | Element | Reason |
|---|---|---|
| 15 | IInstance | |
| 22 | IInstance::getUrl() | |
| 30 | IInstance::getFullUrl() | |
| 38 | IInstance::getVersion() | |
| 46 | IInstance::getProtocol() | |
| 56 | IInstance::isActive() |
IInstanceFactory.php
| Line | Element | Reason |
|---|---|---|
| 13 | IInstanceFactory | |
| 21 | IInstanceFactory::getInstance() |
IUser.php
| Line | Element | Reason |
|---|---|---|
| 15 | IUser | |
| 22 | IUser::getUserId() | |
| 30 | IUser::getEmail() | |
| 38 | IUser::getDisplayName() | |
| 46 | IUser::getPhone() | |
| 54 | IUser::getAddress() | |
| 62 | IUser::getWebsite() | |
| 70 | IUser::getTwitter() | |
| 78 | IUser::getGroups() | |
| 86 | IUser::getLanguage() | |
| 94 | IUser::getUsedSpace() | |
| 102 | IUser::getFreeSpace() | |
| 110 | IUser::getTotalSpace() | |
| 118 | IUser::getQuota() |
IRoute.php
| Line | Element | Reason |
|---|---|---|
| 41 | IRoute::actionInclude() | Use a proper controller instead |
| 76 | IRoute::action() | Use a proper controller instead |
IRouter.php
| Line | Element | Reason |
|---|---|---|
| 16 | IRouter | |
| 28 | IRouter::create() |
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 |
|---|---|---|
| 20 | IManager::KEY_ADMIN_SETTINGS | Use self::SETTINGS_ADMIN instead |
| 26 | IManager::KEY_ADMIN_SECTION | Use self::SETTINGS_ADMIN instead |
| 32 | IManager::KEY_PERSONAL_SETTINGS | Use self::SETTINGS_PERSONAL instead |
| 38 | 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 |
|---|---|---|
| 24 | MapperEvent::EVENT_ASSIGN | |
| 30 | MapperEvent::EVENT_UNASSIGN |
SystemTagsEntityEvent.php
| Line | Element | Reason |
|---|---|---|
| 24 | SystemTagsEntityEvent::EVENT_ENTITY | Listen to the typed event instead |
Template.php
| Line | Element | Reason |
|---|---|---|
| 24 | Template | Use \OCP\Template\ITemplateManager instead |
| 36 | Template::image_path() | Use the function directly instead |
| 49 | Template::mimetype_icon() | Use the function directly instead |
| 61 | Template::preview_icon() | Use the function directly instead |
| 75 | Template::publicPreview_icon() | Use the function directly instead |
| 88 | Template::human_file_size() | Use \OCP\Util::humanFileSize instead |
| 102 | Template::relative_modified_date() | Use the function directly instead |
| 116 | Template::html_select_options() | Use the function directly 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() |
ICountUsersBackend.php
| Line | Element | Reason |
|---|---|---|
| 15 | ICountUsersBackend | use and implement ILimitAwareCountUsersBackend instead. |
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 Server::get(\OCP\Share\IManager::class)->sharingDisabledForUser |
| 416 | Util::connectHook() | use \OCP\EventDispatcher\IEventDispatcher::addListener |
| 431 | Util::emitHook() | use \OCP\EventDispatcher\IEventDispatcher::dispatchTypedEvent |
| 448 | Util::callRegister() | directly use CsrfTokenManager instead |
| 512 | Util::recursiveArraySearch() |
IRuleMatcher.php
| Line | Element | Reason |
|---|---|---|
| 28 | IRuleMatcher::getMatchingOperations() |