]> source.dussan.org Git - nextcloud-server.git/commitdiff
composer run cs:fix 36271/head
authorCôme Chilliet <come.chilliet@nextcloud.com>
Fri, 20 Jan 2023 10:45:08 +0000 (11:45 +0100)
committerCôme Chilliet <come.chilliet@nextcloud.com>
Fri, 20 Jan 2023 10:45:08 +0000 (11:45 +0100)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
887 files changed:
build/OCPSinceChecker.php
build/integration/features/bootstrap/Avatar.php
build/integration/features/bootstrap/BasicStructure.php
build/integration/features/bootstrap/ContactsMenu.php
build/integration/features/bootstrap/Download.php
build/integration/features/bootstrap/Mail.php
build/integration/features/bootstrap/Search.php
build/integration/features/bootstrap/TalkContext.php
build/integration/features/bootstrap/Trashbin.php
core/Command/App/ListApps.php
core/Command/Config/ListConfigs.php
core/Command/Maintenance/Install.php
core/Command/Upgrade.php
core/Controller/AvatarController.php
core/Controller/WalledGardenController.php
core/Controller/WellKnownController.php
core/Controller/WhatsNewController.php
core/Controller/WipeController.php
core/Data/LoginFlowV2Tokens.php
core/Db/ProfileConfig.php
core/Middleware/TwoFactorMiddleware.php
core/Migrations/Version13000Date20170718121200.php
core/Migrations/Version13000Date20170814074715.php
core/Migrations/Version13000Date20170919121250.php
core/Migrations/Version13000Date20170926101637.php
core/Migrations/Version14000Date20180404140050.php
core/Migrations/Version14000Date20180516101403.php
core/Migrations/Version14000Date20180712153140.php
core/Migrations/Version15000Date20180926101451.php
core/Migrations/Version15000Date20181015062942.php
core/Migrations/Version15000Date20181029084625.php
core/Migrations/Version16000Date20190207141427.php
core/Migrations/Version16000Date20190427105638.php
core/Migrations/Version16000Date20190428150708.php
core/Migrations/Version17000Date20190514105811.php
core/Migrations/Version18000Date20190920085628.php
core/Migrations/Version18000Date20191014105105.php
core/Migrations/Version18000Date20191204114856.php
core/Migrations/Version20000Date20201109081918.php
core/Migrations/Version20000Date20201109081919.php
core/Migrations/Version23000Date20210721100600.php
core/Migrations/Version23000Date20211213203940.php
core/Migrations/Version24000Date20211210141942.php
core/Migrations/Version25000Date20220602190540.php
core/Migrations/Version25000Date20220905140840.php
core/ajax/update.php
core/register_command.php
core/templates/403.php
core/templates/layout.guest.php
core/templates/layout.noscript.warning.php
core/templates/layout.public.php
core/templates/layout.user.php
core/templates/publicshareauth.php
core/templates/twofactorselectchallenge.php
core/templates/twofactorsetupselection.php
core/templates/update.use-cli.php
lib/private/Accounts/AccountProperty.php
lib/private/Accounts/AccountPropertyCollection.php
lib/private/Accounts/Hooks.php
lib/private/Activity/EventMerger.php
lib/private/App/AppManager.php
lib/private/App/AppStore/Bundles/EducationBundle.php
lib/private/App/AppStore/Bundles/EnterpriseBundle.php
lib/private/App/AppStore/Bundles/GroupwareBundle.php
lib/private/App/AppStore/Bundles/SocialSharingBundle.php
lib/private/App/AppStore/Fetcher/AppFetcher.php
lib/private/App/AppStore/Fetcher/Fetcher.php
lib/private/App/DependencyAnalyzer.php
lib/private/App/InfoParser.php
lib/private/AppConfig.php
lib/private/AppFramework/App.php
lib/private/AppFramework/Bootstrap/ARegistration.php
lib/private/AppFramework/Bootstrap/BootContext.php
lib/private/AppFramework/Bootstrap/Coordinator.php
lib/private/AppFramework/Bootstrap/EventListenerRegistration.php
lib/private/AppFramework/Bootstrap/FunctionInjector.php
lib/private/AppFramework/Bootstrap/ParameterRegistration.php
lib/private/AppFramework/Bootstrap/PreviewProviderRegistration.php
lib/private/AppFramework/Bootstrap/RegistrationContext.php
lib/private/AppFramework/Bootstrap/ServiceAliasRegistration.php
lib/private/AppFramework/Bootstrap/ServiceFactoryRegistration.php
lib/private/AppFramework/Http/Dispatcher.php
lib/private/AppFramework/Http/Request.php
lib/private/AppFramework/Logger.php
lib/private/AppFramework/Middleware/CompressionMiddleware.php
lib/private/AppFramework/Middleware/MiddlewareDispatcher.php
lib/private/AppFramework/Middleware/OCSMiddleware.php
lib/private/AppFramework/Middleware/PublicShare/PublicShareMiddleware.php
lib/private/AppFramework/Middleware/Security/CORSMiddleware.php
lib/private/AppFramework/Middleware/Security/CSPMiddleware.php
lib/private/AppFramework/Middleware/Security/FeaturePolicyMiddleware.php
lib/private/AppFramework/Middleware/Security/SameSiteCookieMiddleware.php
lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php
lib/private/AppFramework/Middleware/SessionMiddleware.php
lib/private/AppFramework/Routing/RouteConfig.php
lib/private/AppFramework/ScopedPsrLogger.php
lib/private/AppFramework/Services/AppConfig.php
lib/private/AppFramework/Utility/SimpleContainer.php
lib/private/AppFramework/Utility/TimeFactory.php
lib/private/Authentication/Events/ARemoteWipeEvent.php
lib/private/Authentication/Listeners/LoginFailedListener.php
lib/private/Authentication/Listeners/RemoteWipeActivityListener.php
lib/private/Authentication/Listeners/RemoteWipeEmailListener.php
lib/private/Authentication/Listeners/RemoteWipeNotificationsListener.php
lib/private/Authentication/Listeners/UserDeletedStoreCleanupListener.php
lib/private/Authentication/Listeners/UserDeletedTokenCleanupListener.php
lib/private/Authentication/Listeners/UserDeletedWebAuthnCleanupListener.php
lib/private/Authentication/Listeners/UserLoggedInListener.php
lib/private/Authentication/Login/ALoginCommand.php
lib/private/Authentication/Login/Chain.php
lib/private/Authentication/Login/ClearLostPasswordTokensCommand.php
lib/private/Authentication/Login/CompleteLoginCommand.php
lib/private/Authentication/Login/CreateSessionTokenCommand.php
lib/private/Authentication/Login/EmailLoginCommand.php
lib/private/Authentication/Login/FinishRememberedLoginCommand.php
lib/private/Authentication/Login/LoggedInCheckCommand.php
lib/private/Authentication/Login/LoginData.php
lib/private/Authentication/Login/LoginResult.php
lib/private/Authentication/Login/PreLoginHookCommand.php
lib/private/Authentication/Login/SetUserTimezoneCommand.php
lib/private/Authentication/Login/TwoFactorCommand.php
lib/private/Authentication/Login/UidLoginCommand.php
lib/private/Authentication/Login/UpdateLastPasswordConfirmCommand.php
lib/private/Authentication/Login/UserDisabledCheckCommand.php
lib/private/Authentication/Login/WebAuthnLoginCommand.php
lib/private/Authentication/LoginCredentials/Credentials.php
lib/private/Authentication/LoginCredentials/Store.php
lib/private/Authentication/Notifications/Notifier.php
lib/private/Authentication/Token/IProvider.php
lib/private/Authentication/Token/IWipeableToken.php
lib/private/Authentication/Token/Manager.php
lib/private/Authentication/Token/RemoteWipe.php
lib/private/Authentication/TwoFactorAuth/EnforcementState.php
lib/private/Authentication/TwoFactorAuth/Manager.php
lib/private/Authentication/TwoFactorAuth/MandatoryTwoFactor.php
lib/private/Authentication/TwoFactorAuth/ProviderManager.php
lib/private/Authentication/TwoFactorAuth/ProviderSet.php
lib/private/Authentication/TwoFactorAuth/Registry.php
lib/private/Authentication/WebAuthn/CredentialRepository.php
lib/private/Authentication/WebAuthn/Db/PublicKeyCredentialEntity.php
lib/private/Authentication/WebAuthn/Manager.php
lib/private/Avatar/AvatarManager.php
lib/private/Avatar/UserAvatar.php
lib/private/Broadcast/Events/BroadcastEvent.php
lib/private/Cache/File.php
lib/private/Calendar/CalendarQuery.php
lib/private/Calendar/Manager.php
lib/private/CapabilitiesManager.php
lib/private/Collaboration/Collaborators/LookupPlugin.php
lib/private/Collaboration/Resources/Collection.php
lib/private/Collaboration/Resources/ProviderManager.php
lib/private/Collaboration/Resources/Resource.php
lib/private/Comments/Comment.php
lib/private/Comments/Manager.php
lib/private/Comments/ManagerFactory.php
lib/private/Contacts/ContactsMenu/ActionFactory.php
lib/private/Contacts/ContactsMenu/Entry.php
lib/private/ContactsManager.php
lib/private/DB/Adapter.php
lib/private/DB/AdapterMySQL.php
lib/private/DB/AdapterSqlite.php
lib/private/DB/ConnectionAdapter.php
lib/private/DB/Exceptions/DbalException.php
lib/private/DB/MySqlTools.php
lib/private/DB/OracleMigrator.php
lib/private/DB/PgSqlTools.php
lib/private/DB/PreparedStatement.php
lib/private/DB/QueryBuilder/ExpressionBuilder/MySqlExpressionBuilder.php
lib/private/DB/QueryBuilder/ExpressionBuilder/OCIExpressionBuilder.php
lib/private/DB/QueryBuilder/ExpressionBuilder/PgSqlExpressionBuilder.php
lib/private/DB/QueryBuilder/QueryBuilder.php
lib/private/DB/ResultAdapter.php
lib/private/DB/SQLiteMigrator.php
lib/private/DB/SchemaWrapper.php
lib/private/Dashboard/Manager.php
lib/private/Diagnostics/EventLogger.php
lib/private/DirectEditing/Token.php
lib/private/Encryption/DecryptAll.php
lib/private/Encryption/EncryptionWrapper.php
lib/private/Encryption/Exceptions/EncryptionHeaderKeyExistsException.php
lib/private/Encryption/Exceptions/ModuleAlreadyExistsException.php
lib/private/Encryption/File.php
lib/private/Encryption/Keys/Storage.php
lib/private/Encryption/Manager.php
lib/private/Encryption/Update.php
lib/private/Encryption/Util.php
lib/private/EventDispatcher/EventDispatcher.php
lib/private/EventDispatcher/ServiceEventListener.php
lib/private/EventDispatcher/SymfonyAdapter.php
lib/private/Federation/CloudFederationFactory.php
lib/private/Federation/CloudFederationProviderManager.php
lib/private/Files/Cache/QuerySearchHelper.php
lib/private/Files/Cache/Scanner.php
lib/private/Files/Cache/SearchBuilder.php
lib/private/Files/Filesystem.php
lib/private/Files/ObjectStore/AppdataPreviewObjectStoreStorage.php
lib/private/Files/ObjectStore/HomeObjectStoreStorage.php
lib/private/Files/ObjectStore/ObjectStoreStorage.php
lib/private/Files/SetupManager.php
lib/private/Files/SimpleFS/SimpleFolder.php
lib/private/Files/Storage/Common.php
lib/private/Files/Storage/FailedStorage.php
lib/private/Files/Storage/LocalTempFileTrait.php
lib/private/Files/Storage/Storage.php
lib/private/Files/Storage/Wrapper/Encoding.php
lib/private/Files/Storage/Wrapper/Encryption.php
lib/private/Files/Stream/Encryption.php
lib/private/Files/Type/Detection.php
lib/private/Files/Type/Loader.php
lib/private/Files/View.php
lib/private/FullTextSearch/FullTextSearchManager.php
lib/private/FullTextSearch/Model/DocumentAccess.php
lib/private/FullTextSearch/Model/IndexDocument.php
lib/private/FullTextSearch/Model/SearchOption.php
lib/private/FullTextSearch/Model/SearchRequestSimpleQuery.php
lib/private/FullTextSearch/Model/SearchTemplate.php
lib/private/GlobalScale/Config.php
lib/private/Group/Database.php
lib/private/Hooks/EmitterTrait.php
lib/private/Http/WellKnown/RequestManager.php
lib/private/InitialStateService.php
lib/private/IntegrityCheck/Checker.php
lib/private/KnownUser/KnownUser.php
lib/private/L10N/Factory.php
lib/private/L10N/L10N.php
lib/private/L10N/LanguageIterator.php
lib/private/L10N/LazyL10N.php
lib/private/Lock/NoopLockingProvider.php
lib/private/Log.php
lib/private/Log/Errorlog.php
lib/private/Log/LogDetails.php
lib/private/Log/LogFactory.php
lib/private/Log/PsrLoggerAdapter.php
lib/private/Log/Systemdlog.php
lib/private/Mail/Attachment.php
lib/private/Memcache/APCu.php
lib/private/Migration/ConsoleOutput.php
lib/private/Notification/Action.php
lib/private/OCS/CoreCapabilities.php
lib/private/OCS/DiscoveryService.php
lib/private/OCS/Exception.php
lib/private/OCS/Result.php
lib/private/Preview/Bitmap.php
lib/private/Preview/Generator.php
lib/private/Preview/GeneratorHelper.php
lib/private/Preview/Image.php
lib/private/Preview/Movie.php
lib/private/Preview/WatcherConnector.php
lib/private/Profile/Actions/EmailAction.php
lib/private/Profile/Actions/PhoneAction.php
lib/private/Profile/Actions/TwitterAction.php
lib/private/Profile/Actions/WebsiteAction.php
lib/private/Profile/ProfileManager.php
lib/private/Repair.php
lib/private/Repair/AddBruteForceCleanupJob.php
lib/private/Repair/AddCleanupUpdaterBackupsJob.php
lib/private/Repair/CleanTags.php
lib/private/Repair/ClearFrontendCaches.php
lib/private/Repair/MoveUpdaterStepFile.php
lib/private/Repair/NC11/FixMountStorages.php
lib/private/Repair/NC13/AddLogRotateJob.php
lib/private/Repair/NC14/AddPreviewBackgroundCleanupJob.php
lib/private/Repair/NC16/AddClenupLoginFlowV2BackgroundJob.php
lib/private/Repair/NC16/CleanupCardDAVPhotoCache.php
lib/private/Repair/NC16/ClearCollectionsAccessCache.php
lib/private/Repair/NC18/ResetGeneratedAvatarFlag.php
lib/private/Repair/NC20/EncryptionLegacyCipher.php
lib/private/Repair/NC20/EncryptionMigration.php
lib/private/Repair/NC20/ShippedDashboardEnable.php
lib/private/Repair/NC21/AddCheckForUserCertificatesJob.php
lib/private/Repair/NC21/ValidatePhoneNumber.php
lib/private/Repair/OldGroupMembershipShares.php
lib/private/Repair/Owncloud/CleanPreviews.php
lib/private/Repair/Owncloud/DropAccountTermsTable.php
lib/private/Repair/Owncloud/MigrateOauthTables.php
lib/private/Repair/Owncloud/MoveAvatars.php
lib/private/Repair/Owncloud/MoveAvatarsBackgroundJob.php
lib/private/RichObjectStrings/Validator.php
lib/private/Search/Provider/File.php
lib/private/Search/Result/Audio.php
lib/private/Search/Result/File.php
lib/private/Search/Result/Folder.php
lib/private/Search/Result/Image.php
lib/private/Search/SearchComposer.php
lib/private/Security/Bruteforce/CleanupJob.php
lib/private/Server.php
lib/private/Session/Session.php
lib/private/Settings/AuthorizedGroup.php
lib/private/Settings/Manager.php
lib/private/Setup/AbstractDatabase.php
lib/private/Share/Constants.php
lib/private/Share/Helper.php
lib/private/Share/Share.php
lib/private/Share20/DefaultShareProvider.php
lib/private/Share20/LegacyHooks.php
lib/private/Share20/Manager.php
lib/private/Share20/ProviderFactory.php
lib/private/Share20/Share.php
lib/private/Share20/ShareAttributes.php
lib/private/Share20/ShareHelper.php
lib/private/Share20/UserRemovedListener.php
lib/private/Streamer.php
lib/private/SubAdmin.php
lib/private/Support/CrashReport/Registry.php
lib/private/SystemConfig.php
lib/private/SystemTag/ManagerFactory.php
lib/private/SystemTag/SystemTag.php
lib/private/Template/JSCombiner.php
lib/private/Template/JSResourceLocator.php
lib/private/TemplateLayout.php
lib/private/Updater.php
lib/private/Updater/VersionCheck.php
lib/private/User/User.php
lib/private/UserStatus/Manager.php
lib/private/legacy/OC_API.php
lib/private/legacy/OC_App.php
lib/private/legacy/OC_Hook.php
lib/private/legacy/OC_Image.php
lib/private/legacy/OC_JSON.php
lib/private/legacy/OC_Template.php
lib/private/legacy/OC_User.php
lib/private/legacy/OC_Util.php
lib/public/Accounts/IAccount.php
lib/public/Accounts/IAccountManager.php
lib/public/Accounts/IAccountProperty.php
lib/public/Accounts/IAccountPropertyCollection.php
lib/public/Accounts/PropertyDoesNotExistException.php
lib/public/Activity/IEventMerger.php
lib/public/Activity/IFilter.php
lib/public/Activity/ISetting.php
lib/public/App/IAppManager.php
lib/public/AppFramework/App.php
lib/public/AppFramework/AuthPublicShareController.php
lib/public/AppFramework/Bootstrap/IBootContext.php
lib/public/AppFramework/Bootstrap/IBootstrap.php
lib/public/AppFramework/Bootstrap/IRegistrationContext.php
lib/public/AppFramework/Controller.php
lib/public/AppFramework/Db/DoesNotExistException.php
lib/public/AppFramework/Db/MultipleObjectsReturnedException.php
lib/public/AppFramework/Db/QBMapper.php
lib/public/AppFramework/Db/TTransactional.php
lib/public/AppFramework/Http/DataDisplayResponse.php
lib/public/AppFramework/Http/DataResponse.php
lib/public/AppFramework/Http/EmptyFeaturePolicy.php
lib/public/AppFramework/Http/FileDisplayResponse.php
lib/public/AppFramework/Http/ICallbackResponse.php
lib/public/AppFramework/Http/IOutput.php
lib/public/AppFramework/Http/JSONResponse.php
lib/public/AppFramework/Http/NotFoundResponse.php
lib/public/AppFramework/Http/Response.php
lib/public/AppFramework/Http/StrictEvalContentSecurityPolicy.php
lib/public/AppFramework/Http/StrictInlineContentSecurityPolicy.php
lib/public/AppFramework/Http/Template/ExternalShareMenuAction.php
lib/public/AppFramework/Http/Template/IMenuAction.php
lib/public/AppFramework/Http/Template/LinkMenuAction.php
lib/public/AppFramework/Http/Template/SimpleMenuAction.php
lib/public/AppFramework/Http/TooManyRequestsResponse.php
lib/public/AppFramework/IAppContainer.php
lib/public/AppFramework/Middleware.php
lib/public/AppFramework/OCSController.php
lib/public/AppFramework/PublicShareController.php
lib/public/AppFramework/Services/IInitialState.php
lib/public/AppFramework/Services/InitialStateProvider.php
lib/public/AppFramework/Utility/IControllerMethodReflector.php
lib/public/AppFramework/Utility/ITimeFactory.php
lib/public/Authentication/Events/LoginFailedEvent.php
lib/public/Authentication/IAlternativeLogin.php
lib/public/Authentication/IApacheBackend.php
lib/public/Authentication/IProvideUserSecretBackend.php
lib/public/Authentication/LoginCredentials/ICredentials.php
lib/public/Authentication/LoginCredentials/IStore.php
lib/public/Authentication/TwoFactorAuth/IActivatableAtLogin.php
lib/public/Authentication/TwoFactorAuth/IActivatableByAdmin.php
lib/public/Authentication/TwoFactorAuth/IDeactivatableByAdmin.php
lib/public/Authentication/TwoFactorAuth/ILoginSetupProvider.php
lib/public/Authentication/TwoFactorAuth/IPersonalProviderSettings.php
lib/public/Authentication/TwoFactorAuth/IProvider.php
lib/public/Authentication/TwoFactorAuth/IProvidesCustomCSP.php
lib/public/Authentication/TwoFactorAuth/IProvidesIcons.php
lib/public/Authentication/TwoFactorAuth/IProvidesPersonalSettings.php
lib/public/Authentication/TwoFactorAuth/RegistryEvent.php
lib/public/Authentication/TwoFactorAuth/TwoFactorProviderDisabled.php
lib/public/BackgroundJob/QueuedJob.php
lib/public/Broadcast/Events/IBroadcastEvent.php
lib/public/Calendar/ICalendar.php
lib/public/Calendar/ICalendarProvider.php
lib/public/Calendar/ICalendarQuery.php
lib/public/Calendar/ICreateFromString.php
lib/public/Calendar/IHandleImipMessage.php
lib/public/Calendar/IManager.php
lib/public/Calendar/IMetadataProvider.php
lib/public/Calendar/Resource/IBackend.php
lib/public/Calendar/Resource/IManager.php
lib/public/Calendar/Resource/IResource.php
lib/public/Calendar/Resource/IResourceMetadata.php
lib/public/Calendar/Room/IBackend.php
lib/public/Calendar/Room/IManager.php
lib/public/Calendar/Room/IRoom.php
lib/public/Calendar/Room/IRoomMetadata.php
lib/public/Capabilities/ICapability.php
lib/public/Collaboration/AutoComplete/AutoCompleteEvent.php
lib/public/Collaboration/AutoComplete/ISorter.php
lib/public/Collaboration/Reference/IReference.php
lib/public/Collaboration/Resources/ICollection.php
lib/public/Collaboration/Resources/IManager.php
lib/public/Collaboration/Resources/IProvider.php
lib/public/Collaboration/Resources/IProviderManager.php
lib/public/Collaboration/Resources/IResource.php
lib/public/Comments/CommentsEvent.php
lib/public/Comments/ICommentsEventHandler.php
lib/public/Comments/ICommentsManager.php
lib/public/Comments/ICommentsManagerFactory.php
lib/public/Console/ConsoleEvent.php
lib/public/Contacts/ContactsMenu/IAction.php
lib/public/Contacts/ContactsMenu/IActionFactory.php
lib/public/Contacts/ContactsMenu/IContactsStore.php
lib/public/Contacts/ContactsMenu/IEntry.php
lib/public/Contacts/ContactsMenu/ILinkAction.php
lib/public/Contacts/ContactsMenu/IProvider.php
lib/public/Contacts/Events/ContactInteractedWithEvent.php
lib/public/Contacts/IManager.php
lib/public/DB/Exception.php
lib/public/DB/IPreparedStatement.php
lib/public/DB/IResult.php
lib/public/DB/ISchemaWrapper.php
lib/public/DB/QueryBuilder/IQueryBuilder.php
lib/public/Dashboard/IAPIWidget.php
lib/public/Dashboard/IConditionalWidget.php
lib/public/Dashboard/IManager.php
lib/public/Dashboard/IWidget.php
lib/public/Defaults.php
lib/public/DirectEditing/ACreateEmpty.php
lib/public/DirectEditing/ACreateFromTemplate.php
lib/public/DirectEditing/ATemplate.php
lib/public/DirectEditing/IEditor.php
lib/public/DirectEditing/IManager.php
lib/public/DirectEditing/IToken.php
lib/public/DirectEditing/RegisterDirectEditorEvent.php
lib/public/Encryption/Exceptions/GenericEncryptionException.php
lib/public/Encryption/IEncryptionModule.php
lib/public/Encryption/IFile.php
lib/public/Encryption/IManager.php
lib/public/Encryption/Keys/IStorage.php
lib/public/EventDispatcher/ABroadcastedEvent.php
lib/public/EventDispatcher/Event.php
lib/public/EventDispatcher/IEventDispatcher.php
lib/public/EventDispatcher/IEventListener.php
lib/public/Federation/Exceptions/ActionNotSupportedException.php
lib/public/Federation/Exceptions/AuthenticationFailedException.php
lib/public/Federation/Exceptions/ProviderAlreadyExistsException.php
lib/public/Federation/Exceptions/ProviderCouldNotAddShareException.php
lib/public/Federation/Exceptions/ProviderDoesNotExistsException.php
lib/public/Federation/ICloudFederationFactory.php
lib/public/Federation/ICloudFederationNotification.php
lib/public/Federation/ICloudFederationProvider.php
lib/public/Federation/ICloudFederationProviderManager.php
lib/public/Federation/ICloudFederationShare.php
lib/public/Files/AppData/IAppDataFactory.php
lib/public/Files/Events/BeforeFileScannedEvent.php
lib/public/Files/Events/BeforeFolderScannedEvent.php
lib/public/Files/Events/FileCacheUpdated.php
lib/public/Files/Events/FileScannedEvent.php
lib/public/Files/Events/FolderScannedEvent.php
lib/public/Files/Events/Node/AbstractNodeEvent.php
lib/public/Files/Events/Node/AbstractNodesEvent.php
lib/public/Files/Events/NodeAddedToCache.php
lib/public/Files/Events/NodeRemovedFromCache.php
lib/public/Files/ForbiddenException.php
lib/public/Files/IMimeTypeDetector.php
lib/public/Files/IMimeTypeLoader.php
lib/public/Files/IRootFolder.php
lib/public/Files/Lock/ILock.php
lib/public/Files/Lock/ILockManager.php
lib/public/Files/Lock/ILockProvider.php
lib/public/Files/Mount/IMountManager.php
lib/public/Files/Mount/IMountPoint.php
lib/public/Files/ObjectStore/IObjectStore.php
lib/public/Files/SimpleFS/ISimpleFile.php
lib/public/Files/StorageAuthException.php
lib/public/Files/StorageBadConfigException.php
lib/public/Files/StorageConnectionException.php
lib/public/Files/StorageTimeoutException.php
lib/public/Files/Template/ITemplateManager.php
lib/public/Files/Template/Template.php
lib/public/Files_FullTextSearch/Model/AFilesDocument.php
lib/public/FullTextSearch/IFullTextSearchManager.php
lib/public/FullTextSearch/IFullTextSearchPlatform.php
lib/public/FullTextSearch/IFullTextSearchProvider.php
lib/public/FullTextSearch/Model/IDocumentAccess.php
lib/public/FullTextSearch/Model/IIndexOptions.php
lib/public/FullTextSearch/Model/ISearchOption.php
lib/public/FullTextSearch/Model/ISearchRequest.php
lib/public/FullTextSearch/Model/ISearchResult.php
lib/public/FullTextSearch/Model/ISearchTemplate.php
lib/public/FullTextSearch/Service/IIndexService.php
lib/public/FullTextSearch/Service/IProviderService.php
lib/public/FullTextSearch/Service/ISearchService.php
lib/public/GlobalScale/IConfig.php
lib/public/Group/Backend/ABackend.php
lib/public/Group/Backend/IAddToGroupBackend.php
lib/public/Group/Backend/ICountDisabledInGroup.php
lib/public/Group/Backend/ICountUsersBackend.php
lib/public/Group/Backend/ICreateGroupBackend.php
lib/public/Group/Backend/IDeleteGroupBackend.php
lib/public/Group/Backend/IGetDisplayNameBackend.php
lib/public/Group/Backend/IGroupDetailsBackend.php
lib/public/Group/Backend/IIsAdminBackend.php
lib/public/Group/Backend/INamedBackend.php
lib/public/Group/Backend/IRemoveFromGroupBackend.php
lib/public/Group/Backend/ISetDisplayNameBackend.php
lib/public/Group/Events/BeforeGroupCreatedEvent.php
lib/public/Group/Events/BeforeGroupDeletedEvent.php
lib/public/Group/Events/BeforeUserAddedEvent.php
lib/public/Group/Events/BeforeUserRemovedEvent.php
lib/public/Group/Events/GroupCreatedEvent.php
lib/public/Group/Events/GroupDeletedEvent.php
lib/public/Group/Events/SubAdminAddedEvent.php
lib/public/Group/Events/SubAdminRemovedEvent.php
lib/public/Group/Events/UserAddedEvent.php
lib/public/Group/Events/UserRemovedEvent.php
lib/public/Group/ISubAdmin.php
lib/public/GroupInterface.php
lib/public/Http/Client/IClient.php
lib/public/Http/WellKnown/GenericResponse.php
lib/public/Http/WellKnown/IHandler.php
lib/public/Http/WellKnown/IRequestContext.php
lib/public/Http/WellKnown/IResponse.php
lib/public/Http/WellKnown/JrdResponse.php
lib/public/IAddressBook.php
lib/public/IAvatar.php
lib/public/IAvatarManager.php
lib/public/ICache.php
lib/public/IContainer.php
lib/public/INavigationManager.php
lib/public/IPreview.php
lib/public/ISearch.php
lib/public/IServerContainer.php
lib/public/ISession.php
lib/public/ITagManager.php
lib/public/IURLGenerator.php
lib/public/IUser.php
lib/public/IUserBackend.php
lib/public/IUserManager.php
lib/public/L10N/ILanguageIterator.php
lib/public/LDAP/ILDAPProviderFactory.php
lib/public/Lock/LockedException.php
lib/public/Lock/ManuallyLockedException.php
lib/public/Log/Audit/CriticalActionPerformedEvent.php
lib/public/Log/IDataLogger.php
lib/public/Log/RotationTrait.php
lib/public/Mail/Events/BeforeMessageSent.php
lib/public/Mail/Headers/AutoSubmitted.php
lib/public/Mail/IAttachment.php
lib/public/Mail/IEMailTemplate.php
lib/public/Mail/IMessage.php
lib/public/Migration/BigIntMigration.php
lib/public/Migration/IOutput.php
lib/public/Migration/IRepairStep.php
lib/public/Notification/AlreadyProcessedException.php
lib/public/Notification/IAction.php
lib/public/Notification/IDismissableNotifier.php
lib/public/Notification/INotifier.php
lib/public/OCS/IDiscoveryService.php
lib/public/Profile/ILinkAction.php
lib/public/Profile/ParameterDoesNotExistException.php
lib/public/RichObjectStrings/IValidator.php
lib/public/Route/IRouter.php
lib/public/SabrePluginEvent.php
lib/public/SabrePluginException.php
lib/public/Search/IProvider.php
lib/public/Search/ISearchQuery.php
lib/public/Search/PagedProvider.php
lib/public/Search/Provider.php
lib/public/Search/Result.php
lib/public/Search/SearchResult.php
lib/public/Search/SearchResultEntry.php
lib/public/Security/CSP/AddContentSecurityPolicyEvent.php
lib/public/Security/Events/GenerateSecurePasswordEvent.php
lib/public/Security/Events/ValidatePasswordPolicyEvent.php
lib/public/Security/FeaturePolicy/AddFeaturePolicyEvent.php
lib/public/Security/ICredentialsManager.php
lib/public/Security/ICrypto.php
lib/public/Security/IRemoteHostValidator.php
lib/public/Security/ISecureRandom.php
lib/public/Security/VerificationToken/IVerificationToken.php
lib/public/Security/VerificationToken/InvalidTokenException.php
lib/public/Settings/ISettings.php
lib/public/Share.php
lib/public/Share/Events/ShareCreatedEvent.php
lib/public/Share/Events/ShareDeletedEvent.php
lib/public/Share/Events/VerifyMountPointEvent.php
lib/public/Share/Exceptions/GenericShareException.php
lib/public/Share/Exceptions/ShareNotFound.php
lib/public/Share/IAttributes.php
lib/public/Share/IManager.php
lib/public/Share/IProviderFactory.php
lib/public/Share/IShare.php
lib/public/Share/IShareHelper.php
lib/public/Share/IShareProvider.php
lib/public/Share_Backend.php
lib/public/Support/CrashReport/ICollectBreadcrumbs.php
lib/public/Support/CrashReport/IMessageReporter.php
lib/public/Support/CrashReport/IRegistry.php
lib/public/Support/CrashReport/IReporter.php
lib/public/Support/Subscription/IRegistry.php
lib/public/Support/Subscription/ISubscription.php
lib/public/Support/Subscription/ISupportedApps.php
lib/public/SystemTag/ISystemTagManager.php
lib/public/SystemTag/ISystemTagManagerFactory.php
lib/public/SystemTag/ISystemTagObjectMapper.php
lib/public/SystemTag/ManagerEvent.php
lib/public/SystemTag/MapperEvent.php
lib/public/SystemTag/SystemTagsEntityEvent.php
lib/public/SystemTag/TagNotFoundException.php
lib/public/Talk/IBroker.php
lib/public/Talk/IConversation.php
lib/public/Talk/IConversationOptions.php
lib/public/Talk/ITalkBackend.php
lib/public/User/Backend/ABackend.php
lib/public/User/Backend/ICreateUserBackend.php
lib/public/User/Backend/IGetDisplayNameBackend.php
lib/public/User/Backend/IGetHomeBackend.php
lib/public/User/Backend/IGetRealUIDBackend.php
lib/public/User/Backend/IPasswordConfirmationBackend.php
lib/public/User/Backend/IProvideAvatarBackend.php
lib/public/User/Backend/ISearchKnownUsersBackend.php
lib/public/User/Backend/ISetDisplayNameBackend.php
lib/public/User/Backend/ISetPasswordBackend.php
lib/public/User/Events/BeforePasswordUpdatedEvent.php
lib/public/User/Events/BeforeUserCreatedEvent.php
lib/public/User/Events/BeforeUserDeletedEvent.php
lib/public/User/Events/BeforeUserLoggedInEvent.php
lib/public/User/Events/BeforeUserLoggedInWithCookieEvent.php
lib/public/User/Events/BeforeUserLoggedOutEvent.php
lib/public/User/Events/PasswordUpdatedEvent.php
lib/public/User/Events/PostLoginEvent.php
lib/public/User/Events/UserCreatedEvent.php
lib/public/User/Events/UserDeletedEvent.php
lib/public/User/Events/UserLiveStatusEvent.php
lib/public/User/Events/UserLoggedInEvent.php
lib/public/User/Events/UserLoggedInWithCookieEvent.php
lib/public/User/Events/UserLoggedOutEvent.php
lib/public/UserInterface.php
lib/public/UserMigration/IExportDestination.php
lib/public/UserMigration/IMigrator.php
lib/public/UserStatus/IManager.php
lib/public/UserStatus/IProvider.php
lib/public/UserStatus/IUserStatus.php
lib/public/WorkflowEngine/EntityContext/IContextPortation.php
lib/public/WorkflowEngine/EntityContext/IDisplayText.php
lib/public/WorkflowEngine/Events/RegisterChecksEvent.php
lib/public/WorkflowEngine/Events/RegisterEntitiesEvent.php
lib/public/WorkflowEngine/Events/RegisterOperationsEvent.php
lib/public/WorkflowEngine/GenericEntityEvent.php
lib/public/WorkflowEngine/IComplexOperation.php
lib/public/WorkflowEngine/IEntity.php
lib/public/WorkflowEngine/ISpecificOperation.php
tests/Core/Command/Apps/AppsDisableTest.php
tests/Core/Command/Apps/AppsEnableTest.php
tests/Core/Command/Encryption/ChangeKeyStorageRootTest.php
tests/Core/Command/Encryption/DecryptAllTest.php
tests/Core/Command/Encryption/EncryptAllTest.php
tests/Core/Command/Group/AddTest.php
tests/Core/Command/Group/AddUserTest.php
tests/Core/Command/Group/DeleteTest.php
tests/Core/Command/Group/InfoTest.php
tests/Core/Command/Group/ListCommandTest.php
tests/Core/Command/Group/RemoveUserTest.php
tests/Core/Command/SystemTag/AddTest.php
tests/Core/Command/SystemTag/DeleteTest.php
tests/Core/Command/SystemTag/EditTest.php
tests/Core/Command/SystemTag/ListCommandTest.php
tests/Core/Command/TwoFactorAuth/CleanupTest.php
tests/Core/Command/TwoFactorAuth/DisableTest.php
tests/Core/Command/TwoFactorAuth/EnableTest.php
tests/Core/Command/TwoFactorAuth/EnforceTest.php
tests/Core/Command/TwoFactorAuth/StateTest.php
tests/Core/Controller/AppPasswordControllerTest.php
tests/Core/Controller/CSRFTokenControllerTest.php
tests/Core/Controller/ClientFlowLoginV2ControllerTest.php
tests/Core/Controller/ContactsMenuControllerTest.php
tests/Core/Controller/CssControllerTest.php
tests/Core/Controller/GuestAvatarControllerTest.php
tests/Core/Controller/JsControllerTest.php
tests/Core/Controller/LoginControllerTest.php
tests/Core/Controller/NavigationControllerTest.php
tests/Core/Controller/PreviewControllerTest.php
tests/Core/Controller/TwoFactorChallengeControllerTest.php
tests/Core/Controller/UserControllerTest.php
tests/Core/Controller/WellKnownControllerTest.php
tests/Core/Controller/WipeControllerTest.php
tests/Core/Middleware/TwoFactorMiddlewareTest.php
tests/Test/Repair/Owncloud/CleanPreviewsTest.php
tests/acceptance/features/bootstrap/AppNavigationContext.php
tests/acceptance/features/bootstrap/AppSettingsContext.php
tests/acceptance/features/bootstrap/AppsManagementContext.php
tests/acceptance/features/bootstrap/CommentsAppContext.php
tests/acceptance/features/bootstrap/ContactsMenuContext.php
tests/acceptance/features/bootstrap/DialogContext.php
tests/acceptance/features/bootstrap/FileListAncestorSetter.php
tests/acceptance/features/bootstrap/FileListContext.php
tests/acceptance/features/bootstrap/FilesAppContext.php
tests/acceptance/features/bootstrap/FilesAppSharingContext.php
tests/acceptance/features/bootstrap/LoginPageContext.php
tests/acceptance/features/bootstrap/PublicShareContext.php
tests/acceptance/features/bootstrap/SearchContext.php
tests/acceptance/features/bootstrap/SettingsContext.php
tests/acceptance/features/bootstrap/SettingsMenuContext.php
tests/acceptance/features/bootstrap/ToastContext.php
tests/acceptance/features/bootstrap/UsersSettingsContext.php
tests/acceptance/features/bootstrap/WaitFor.php
tests/acceptance/features/core/Actor.php
tests/acceptance/features/core/ActorAware.php
tests/acceptance/features/core/ActorAwareInterface.php
tests/acceptance/features/core/ActorContext.php
tests/acceptance/features/core/ElementFinder.php
tests/acceptance/features/core/ElementWrapper.php
tests/acceptance/features/core/Locator.php
tests/acceptance/features/core/NextcloudTestServerContext.php
tests/acceptance/features/core/NextcloudTestServerHelper.php
tests/acceptance/features/core/NextcloudTestServerLocalApacheHelper.php
tests/acceptance/features/core/NextcloudTestServerLocalBuiltInHelper.php
tests/acceptance/features/core/NoSuchElementException.php
tests/acceptance/features/core/Utils.php
tests/lib/APITest.php
tests/lib/Accounts/HooksTest.php
tests/lib/Activity/ManagerTest.php
tests/lib/AllConfigTest.php
tests/lib/App/CompareVersionTest.php
tests/lib/App/DependencyAnalyzerTest.php
tests/lib/App/PlatformRepositoryTest.php
tests/lib/AppFramework/Bootstrap/BootContextTest.php
tests/lib/AppFramework/Bootstrap/CoordinatorTest.php
tests/lib/AppFramework/Bootstrap/FunctionInjectorTest.php
tests/lib/AppFramework/Bootstrap/RegistrationContextTest.php
tests/lib/AppFramework/Controller/AuthPublicShareControllerTest.php
tests/lib/AppFramework/Controller/ControllerTest.php
tests/lib/AppFramework/Controller/PublicShareControllerTest.php
tests/lib/AppFramework/Db/QBMapperTest.php
tests/lib/AppFramework/Db/TransactionalTest.php
tests/lib/AppFramework/DependencyInjection/DIContainerTest.php
tests/lib/AppFramework/DependencyInjection/DIIntergrationTests.php
tests/lib/AppFramework/Http/ContentSecurityPolicyTest.php
tests/lib/AppFramework/Http/DataResponseTest.php
tests/lib/AppFramework/Http/EmptyContentSecurityPolicyTest.php
tests/lib/AppFramework/Http/EmptyFeaturePolicyTest.php
tests/lib/AppFramework/Http/FeaturePolicyTest.php
tests/lib/AppFramework/Http/JSONResponseTest.php
tests/lib/AppFramework/Http/RedirectResponseTest.php
tests/lib/AppFramework/Http/ResponseTest.php
tests/lib/AppFramework/Http/StreamResponseTest.php
tests/lib/AppFramework/Http/TemplateResponseTest.php
tests/lib/AppFramework/Middleware/AdditionalScriptsMiddlewareTest.php
tests/lib/AppFramework/Middleware/CompressionMiddlewareTest.php
tests/lib/AppFramework/Middleware/MiddlewareTest.php
tests/lib/AppFramework/Middleware/NotModifiedMiddlewareTest.php
tests/lib/AppFramework/Middleware/OCSMiddlewareTest.php
tests/lib/AppFramework/Middleware/PublicShare/PublicShareMiddlewareTest.php
tests/lib/AppFramework/Middleware/Security/CORSMiddlewareTest.php
tests/lib/AppFramework/Middleware/Security/CSPMiddlewareTest.php
tests/lib/AppFramework/Middleware/Security/FeaturePolicyMiddlewareTest.php
tests/lib/AppFramework/Middleware/Security/SameSiteCookieMiddlewareTest.php
tests/lib/AppFramework/Middleware/Security/SecurityMiddlewareTest.php
tests/lib/AppFramework/Middleware/SessionMiddlewareTest.php
tests/lib/AppFramework/OCS/BaseResponseTest.php
tests/lib/AppFramework/Utility/ControllerMethodReflectorTest.php
tests/lib/AppFramework/Utility/SimpleContainerTest.php
tests/lib/Authentication/Listeners/RemoteWipeActivityListenerTest.php
tests/lib/Authentication/Listeners/RemoteWipeEmailListenerTest.php
tests/lib/Authentication/Listeners/RemoteWipeNotificationsListenerTest.php
tests/lib/Authentication/Listeners/UserDeletedTokenCleanupListenerTest.php
tests/lib/Authentication/Login/ALoginCommandTest.php
tests/lib/Authentication/Login/ClearLostPasswordTokensCommandTest.php
tests/lib/Authentication/Login/CompleteLoginCommandTest.php
tests/lib/Authentication/Login/CreateSessionTokenCommandTest.php
tests/lib/Authentication/Login/EmailLoginCommandTest.php
tests/lib/Authentication/Login/FinishRememberedLoginCommandTest.php
tests/lib/Authentication/Login/LoggedInCheckCommandTest.php
tests/lib/Authentication/Login/PreLoginHookCommandTest.php
tests/lib/Authentication/Login/SetUserTimezoneCommandTest.php
tests/lib/Authentication/Login/TwoFactorCommandTest.php
tests/lib/Authentication/Login/UidLoginCommandTest.php
tests/lib/Authentication/Login/UpdateLastPasswordConfirmCommandTest.php
tests/lib/Authentication/Login/UserDisabledCheckCommandTest.php
tests/lib/Authentication/LoginCredentials/CredentialsTest.php
tests/lib/Authentication/LoginCredentials/StoreTest.php
tests/lib/Authentication/Token/PublicKeyTokenMapperTest.php
tests/lib/Authentication/Token/RemoteWipeTest.php
tests/lib/Authentication/TwoFactorAuth/Db/ProviderUserAssignmentDaoTest.php
tests/lib/Authentication/TwoFactorAuth/ManagerTest.php
tests/lib/Authentication/TwoFactorAuth/MandatoryTwoFactorTest.php
tests/lib/Authentication/TwoFactorAuth/ProviderLoaderTest.php
tests/lib/Authentication/TwoFactorAuth/ProviderManagerTest.php
tests/lib/Authentication/TwoFactorAuth/ProviderSetTest.php
tests/lib/Authentication/TwoFactorAuth/RegistryTest.php
tests/lib/Calendar/ManagerTest.php
tests/lib/Calendar/Resource/ManagerTest.php
tests/lib/Calendar/Room/ManagerTest.php
tests/lib/CapabilitiesManagerTest.php
tests/lib/Collaboration/Collaborators/LookupPluginTest.php
tests/lib/Collaboration/Collaborators/RemotePluginTest.php
tests/lib/Collaboration/Resources/ManagerTest.php
tests/lib/Collaboration/Resources/ProviderManagerTest.php
tests/lib/Comments/CommentTest.php
tests/lib/Contacts/ContactsMenu/ActionProviderStoreTest.php
tests/lib/Contacts/ContactsMenu/ManagerTest.php
tests/lib/Contacts/ContactsMenu/Providers/EMailproviderTest.php
tests/lib/Contacts/ContactsMenu/Providers/LocalTimeProviderTest.php
tests/lib/ContactsManagerTest.php
tests/lib/DB/Exception/DbalExceptionTest.php
tests/lib/Diagnostics/EventLoggerTest.php
tests/lib/Diagnostics/QueryLoggerTest.php
tests/lib/EmojiHelperTest.php
tests/lib/Encryption/DecryptAllTest.php
tests/lib/Encryption/EncryptionWrapperTest.php
tests/lib/Encryption/ManagerTest.php
tests/lib/Encryption/UpdateTest.php
tests/lib/ErrorHandlerTest.php
tests/lib/EventDispatcher/SymfonyAdapterTest.php
tests/lib/Files/Cache/WatcherTest.php
tests/lib/Files/Mount/ObjectHomeMountProviderTest.php
tests/lib/Files/Mount/ObjectStorePreviewCacheMountProviderTest.php
tests/lib/Files/ObjectStore/MapperTest.php
tests/lib/Files/ObjectStore/ObjectStoreTest.php
tests/lib/Files/PathVerificationTest.php
tests/lib/Files/Storage/Wrapper/AvailabilityTest.php
tests/lib/Files/Storage/Wrapper/EncryptionTest.php
tests/lib/Files/Storage/Wrapper/JailTest.php
tests/lib/Files/Storage/Wrapper/PermissionsMaskTest.php
tests/lib/Files/Stream/DummyEncryptionWrapper.php
tests/lib/Files/Stream/EncryptionTest.php
tests/lib/Files/Stream/QuotaTest.php
tests/lib/GlobalScale/ConfigTest.php
tests/lib/Group/GroupTest.php
tests/lib/Group/ManagerTest.php
tests/lib/Http/WellKnown/RequestManagerTest.php
tests/lib/InitialStateServiceTest.php
tests/lib/IntegrityCheck/CheckerTest.php
tests/lib/L10N/FactoryTest.php
tests/lib/LegacyHelperTest.php
tests/lib/Lock/MemcacheLockingProviderTest.php
tests/lib/Lockdown/Filesystem/NullCacheTest.php
tests/lib/Lockdown/Filesystem/NullStorageTest.php
tests/lib/LoggerTest.php
tests/lib/Migration/BackgroundRepairTest.php
tests/lib/NaturalSortTest.php
tests/lib/Notification/DummyApp.php
tests/lib/Notification/DummyNotifier.php
tests/lib/OCS/DiscoveryServiceTest.php
tests/lib/OCS/MapStatusCodeTest.php
tests/lib/Preview/GeneratorTest.php
tests/lib/Preview/Provider.php
tests/lib/Repair/CleanTagsTest.php
tests/lib/Repair/ClearFrontendCachesTest.php
tests/lib/Repair/ClearGeneratedAvatarCacheTest.php
tests/lib/Repair/NC11/FixMountStoragesTest.php
tests/lib/Repair/OldGroupMembershipSharesTest.php
tests/lib/Repair/RepairCollationTest.php
tests/lib/Repair/RepairDavSharesTest.php
tests/lib/Repair/RepairInvalidSharesTest.php
tests/lib/Repair/RepairMimeTypesTest.php
tests/lib/Repair/RepairSqliteAutoincrementTest.php
tests/lib/Security/CertificateTest.php
tests/lib/Security/CredentialsManagerTest.php
tests/lib/Security/HasherTest.php
tests/lib/Security/IdentityProof/SignerTest.php
tests/lib/Security/RemoteHostValidatorIntegrationTest.php
tests/lib/Security/RemoteHostValidatorTest.php
tests/lib/SetupTest.php
tests/lib/Share20/DefaultShareProviderTest.php
tests/lib/Share20/LegacyHooksTest.php
tests/lib/Share20/ManagerTest.php
tests/lib/Share20/ShareByMailProviderTest.php
tests/lib/Share20/ShareHelperTest.php
tests/lib/SubAdminTest.php
tests/lib/Support/CrashReport/RegistryTest.php
tests/lib/Support/Subscription/DummySubscription.php
tests/lib/Support/Subscription/RegistryTest.php
tests/lib/SystemTag/SystemTagManagerTest.php
tests/lib/SystemTag/SystemTagObjectMapperTest.php
tests/lib/TagsTest.php
tests/lib/TempManagerTest.php
tests/lib/Template/JSCombinerTest.php
tests/lib/TestMoveableMountPoint.php
tests/lib/UrlGeneratorTest.php
tests/lib/User/ManagerTest.php
tests/lib/User/UserTest.php

index 75ce9c97cbcf66fd215e7aa7c72b82ff4ab9ed2d..f882d1b77245e5d2e771aaada98f0ce51e955e95 100644 (file)
@@ -28,7 +28,6 @@ require_once(dirname(__DIR__) . '/3rdparty/autoload.php');
  * this class checks all methods for the presence of the @since tag
  */
 class SinceTagCheckVisitor extends \PhpParser\NodeVisitorAbstract {
-
        /** @var string */
        protected $namespace = '';
        /** @var string */
index 6f8b98ad60533ff4410be58995ea57ab9771b85c..6b8e5d88092a42818d7f27a35cfe40198fdb8363 100644 (file)
@@ -26,7 +26,6 @@ use PHPUnit\Framework\Assert;
 require __DIR__ . '/../../vendor/autoload.php';
 
 trait Avatar {
-
        /** @var string **/
        private $lastAvatar;
 
index 632e827669b29bf6b3285439e353abeaae342f6b..9060c85c756554f3352f99dfa26178dde1ea27ed 100644 (file)
@@ -73,7 +73,6 @@ trait BasicStructure {
        protected $remoteBaseUrl;
 
        public function __construct($baseUrl, $admin, $regular_user_password) {
-
                // Initialize your context here
                $this->baseUrl = $baseUrl;
                $this->adminUser = $admin;
index c5266ffb7d1e012336d7a5ff9502c577c6b703df..0506d827a392f75350babc20c512ad726b8c5f8c 100644 (file)
@@ -23,7 +23,6 @@
 use PHPUnit\Framework\Assert;
 
 trait ContactsMenu {
-
        // BasicStructure trait is expected to be used in the class that uses this
        // trait.
 
index 7879159325ad2de3302370c5c032c465deaabe7a..e5e6dc64853ef0a36415025adfb3645231a6a461 100644 (file)
@@ -26,7 +26,6 @@ use PHPUnit\Framework\Assert;
 require __DIR__ . '/../../vendor/autoload.php';
 
 trait Download {
-
        /** @var string **/
        private $downloadedFile;
 
index c661a5935c601ae5655863e7ef858436d1645a71..c2d9e86275c06eaaa37e9e0756bb92789b82a98a 100644 (file)
@@ -21,7 +21,6 @@
  *
  */
 trait Mail {
-
        // CommandLine trait is expected to be used in the class that uses this
        // trait.
 
index 91c66ae1d20e8e2cd59662c08ed9a2d6a59a57f6..c9d5f75a1d350aa7ca0b9490ae6d6dab637a1933 100644 (file)
@@ -24,7 +24,6 @@ use Behat\Gherkin\Node\TableNode;
 use PHPUnit\Framework\Assert;
 
 trait Search {
-
        // BasicStructure trait is expected to be used in the class that uses this
        // trait.
 
index 9c4b903782963afcf0ac3e1daced879930f023e7..5417c22a058dfca46d784f205a17cc3ec79c4b6f 100644 (file)
@@ -23,7 +23,6 @@
 use Behat\Behat\Context\Context;
 
 class TalkContext implements Context {
-
        /**
         * @BeforeFeature @Talk
         * @BeforeScenario @Talk
index 998720b67b28e6ccbf7e38acb0d3ce20f8c9c753..19e9b57c3fb2680278febe0549e4fd506c9f0345 100644 (file)
@@ -31,7 +31,6 @@ require __DIR__ . '/../../vendor/autoload.php';
  * Trashbin functions
  */
 trait Trashbin {
-
        // WebDav trait is expected to be used in the class that uses this trait.
 
        /**
index 6405afc2f68e17a86293696d06f6d6d38bafe076..365ac48e0800d2536ab54d46f36fb09203915376 100644 (file)
@@ -107,11 +107,11 @@ class ListApps extends Base {
 
                                $output->writeln('Disabled:');
                                parent::writeArrayInOutputFormat($input, $output, $items['disabled']);
-                       break;
+                               break;
 
                        default:
                                parent::writeArrayInOutputFormat($input, $output, $items);
-                       break;
+                               break;
                }
        }
 
index a0fa9a84ea843a50a6512b0eb0319ffa83311a50..dd8fad72d7c90cf6423977e70dedf8752174dfd3 100644 (file)
@@ -77,7 +77,7 @@ class ListConfigs extends Base {
                                $configs = [
                                        'system' => $this->getSystemConfigs($noSensitiveValues),
                                ];
-                       break;
+                               break;
 
                        case 'all':
                                $apps = $this->appConfig->getApps();
@@ -88,7 +88,7 @@ class ListConfigs extends Base {
                                foreach ($apps as $appName) {
                                        $configs['apps'][$appName] = $this->getAppConfigs($appName, $noSensitiveValues);
                                }
-                       break;
+                               break;
 
                        default:
                                $configs = [
index d53cd867b066363c151d96d8c79581faf3cc5c8a..fa93a6619066665c2a723685edfc1baa6c4efa8c 100644 (file)
@@ -74,7 +74,6 @@ class Install extends Command {
        }
 
        protected function execute(InputInterface $input, OutputInterface $output): int {
-
                // validate the environment
                $server = \OC::$server;
                $setupHelper = new Setup(
index d476b91d6bfab74c0d0fa285b663c64e55c7d358..e929dc22bc8cd4a9ca69b71994e9b4e5a081e6c2 100644 (file)
@@ -95,10 +95,10 @@ class Upgrade extends Command {
 
                        $self = $this;
                        $updater = new Updater(
-                                       $this->config,
-                                       \OC::$server->getIntegrityCodeChecker(),
-                                       $this->logger,
-                                       $this->installer
+                               $this->config,
+                               \OC::$server->getIntegrityCodeChecker(),
+                               $this->logger,
+                               $this->installer
                        );
 
                        /** @var IEventDispatcher $dispatcher */
index 673ed1be05b80359afdfc931017d43d671c57d5d..c6567b332092fd871d96ac3ba65920a5b1240740 100644 (file)
@@ -308,16 +308,16 @@ class AvatarController extends Controller {
                        return new JSONResponse(['data' => [
                                'message' => $this->l->t("No temporary profile picture available, try again")
                        ]],
-                                                                       Http::STATUS_NOT_FOUND);
+                               Http::STATUS_NOT_FOUND);
                }
 
                $image = new \OCP\Image();
                $image->loadFromData($tmpAvatar);
 
                $resp = new DataDisplayResponse(
-                               $image->data() ?? '',
-                               Http::STATUS_OK,
-                               ['Content-Type' => $image->mimeType()]);
+                       $image->data() ?? '',
+                       Http::STATUS_OK,
+                       ['Content-Type' => $image->mimeType()]);
 
                $resp->setETag((string)crc32($image->data() ?? ''));
                $resp->cacheFor(0);
@@ -331,12 +331,12 @@ class AvatarController extends Controller {
        public function postCroppedAvatar(?array $crop = null): JSONResponse {
                if (is_null($crop)) {
                        return new JSONResponse(['data' => ['message' => $this->l->t("No crop data provided")]],
-                                                                       Http::STATUS_BAD_REQUEST);
+                               Http::STATUS_BAD_REQUEST);
                }
 
                if (!isset($crop['x'], $crop['y'], $crop['w'], $crop['h'])) {
                        return new JSONResponse(['data' => ['message' => $this->l->t("No valid crop data provided")]],
-                                                                       Http::STATUS_BAD_REQUEST);
+                               Http::STATUS_BAD_REQUEST);
                }
 
                $tmpAvatar = $this->cache->get('tmpAvatar');
@@ -344,7 +344,7 @@ class AvatarController extends Controller {
                        return new JSONResponse(['data' => [
                                'message' => $this->l->t("No temporary profile picture available, try again")
                        ]],
-                                                                       Http::STATUS_BAD_REQUEST);
+                               Http::STATUS_BAD_REQUEST);
                }
 
                $image = new \OCP\Image();
@@ -358,7 +358,7 @@ class AvatarController extends Controller {
                        return new JSONResponse(['status' => 'success']);
                } catch (\OC\NotSquareException $e) {
                        return new JSONResponse(['data' => ['message' => $this->l->t('Crop is not square')]],
-                                                                       Http::STATUS_BAD_REQUEST);
+                               Http::STATUS_BAD_REQUEST);
                } catch (\Exception $e) {
                        $this->logger->error($e->getMessage(), ['exception' => $e, 'app' => 'core']);
                        return new JSONResponse(['data' => ['message' => $this->l->t('An error occurred. Please contact your admin.')]], Http::STATUS_BAD_REQUEST);
index 584c264aaf92ba88b36dd3a36ee86549d0911282..0079cc5a69a73e79b8e57f941a96d62c0ec53789 100644 (file)
@@ -28,7 +28,6 @@ use OCP\AppFramework\Http;
 use OCP\AppFramework\Http\Response;
 
 class WalledGardenController extends Controller {
-
        /**
         * @PublicPage
         * @NoCSRFRequired
index 12384b6f9ad16b042ed5a212ab49e1dfdfbf7775..01ae5e4fae8574cb16a9811a27274c18e03361eb 100644 (file)
@@ -33,7 +33,6 @@ use OCP\AppFramework\Http\Response;
 use OCP\IRequest;
 
 class WellKnownController extends Controller {
-
        /** @var RequestManager */
        private $requestManager;
 
index 12024dec03085e97c78f74a627dc9f4d8ac3fe8c..0dae0f9732222487db09be16efe0bff2e42ce5d6 100644 (file)
@@ -37,7 +37,6 @@ use OCP\IUserSession;
 use OCP\L10N\IFactory;
 
 class WhatsNewController extends OCSController {
-
        /** @var IConfig */
        protected $config;
        /** @var IUserSession */
index 5eef03b129f0367920b50ff8d0cfd0da8f60f396..44ec5fc598aee371c23c0242345d76edbf83efe4 100644 (file)
@@ -33,7 +33,6 @@ use OCP\AppFramework\Http\JSONResponse;
 use OCP\IRequest;
 
 class WipeController extends Controller {
-
        /** @var RemoteWipe */
        private $remoteWipe;
 
index 0e932d49ed6331d3b12b2984d8caa2760ca84da9..c247a49fe0ada995b9905aa01606a85d971d8afb 100644 (file)
@@ -26,7 +26,6 @@ declare(strict_types=1);
 namespace OC\Core\Data;
 
 class LoginFlowV2Tokens {
-
        /** @var string */
        private $loginToken;
        /** @var string */
index eb50da37a641cb5bc35a6a1f87b57a8b9d18f011..3ebfe02ca79faf1d9096cca1c6f895c4e6c8fda2 100644 (file)
@@ -40,7 +40,6 @@ use OCP\Profile\ParameterDoesNotExistException;
  * @method void setConfig(string $config)
  */
 class ProfileConfig extends Entity implements JsonSerializable {
-
        /**
         * Visible to users, guests, and public access
         *
index 45c165d1ba5931694fc9e0b6297199828ac5a705..0ea21ce78ded591483d10a9465975b95a07692ec 100644 (file)
@@ -46,7 +46,6 @@ use OCP\IURLGenerator;
 use OCP\IUser;
 
 class TwoFactorMiddleware extends Middleware {
-
        /** @var Manager */
        private $twoFactorManager;
 
index 3e14b4af47adbbe89379f478aa4a7663d4773a55..5439998fce30300635ada85dd711b8ba5da8117c 100644 (file)
@@ -39,7 +39,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\SimpleMigrationStep;
 
 class Version13000Date20170718121200 extends SimpleMigrationStep {
-
        /** @var IDBConnection */
        private $connection;
 
index 6882662dc53bdd4c92d7c17894d6939313f36240..c05c0324aebba3140aa3e82012c0a75923c45688 100644 (file)
@@ -28,7 +28,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\SimpleMigrationStep;
 
 class Version13000Date20170814074715 extends SimpleMigrationStep {
-
        /**
         * @param IOutput $output
         * @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
index 65d52829373358edf7828d439a989fceed052a3e..8aabaf2358722dce38be18f3802ff3d87d201f66 100644 (file)
@@ -33,7 +33,6 @@ use OCP\Migration\SimpleMigrationStep;
  * Auto-generated migration step: Please modify to your needs!
  */
 class Version13000Date20170919121250 extends SimpleMigrationStep {
-
        /**
         * @param IOutput $output
         * @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
index 0961c15be719313b3f4d00d33e43b393d5dcfbb3..b86535b005af1c30e90b85f1bb5660cf4937f9e9 100644 (file)
@@ -29,7 +29,6 @@ use OCP\Migration\BigIntMigration;
  * Auto-generated migration step: Please modify to your needs!
  */
 class Version13000Date20170926101637 extends BigIntMigration {
-
        /**
         * @return array Returns an array with the following structure
         * ['table1' => ['column1', 'column2'], ...]
index d7b7ce1fce27f8e6e88ab738d76ef23ea9a22d35..e670fe525da13c2154b580ce57a1b70093af57bd 100644 (file)
@@ -35,7 +35,6 @@ use OCP\Migration\SimpleMigrationStep;
  * Auto-generated migration step: Please modify to your needs!
  */
 class Version14000Date20180404140050 extends SimpleMigrationStep {
-
        /** @var IDBConnection */
        private $connection;
 
index cd2df5b10ab4ba33c90a461012a9a6f48f505d28..1cddcf74bacbec5dc06188ca89a07eb40b4b172b 100644 (file)
@@ -27,7 +27,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\SimpleMigrationStep;
 
 class Version14000Date20180516101403 extends SimpleMigrationStep {
-
        /**
         * @param IOutput $output
         * @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
index 444cad072a090abaf366e3625995672e2900b533..2f2ecdfcc0decc8bb0af6cc226ac3cbce354ea72 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Migration\SimpleMigrationStep;
  */
 class Version14000Date20180712153140 extends SimpleMigrationStep {
        public function changeSchema(\OCP\Migration\IOutput $output, \Closure $schemaClosure, array $options) {
-
                /** @var ISchemaWrapper $schema */
                $schema = $schemaClosure();
 
index f70a786bbcdca9cecb3b70a931f143b4ad9758f3..c73501c4fe062ad56d4d2dbf8a9684c51649b90b 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\SimpleMigrationStep;
 
 class Version15000Date20180926101451 extends SimpleMigrationStep {
-
        /**
         * @param IOutput $output
         * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
index deb64f321423a7d37684821d67bb6f49d2641612..42729c0254588297241e30a87cccd343f5093f90 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\SimpleMigrationStep;
 
 class Version15000Date20181015062942 extends SimpleMigrationStep {
-
        /**
         * @param IOutput $output
         * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
index c3022148b0aeab2d4e20e64021644c7f9d6cf53f..28d3f5b5ca7ad92a1d9c2174a11205a15239b6ba 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\SimpleMigrationStep;
 
 class Version15000Date20181029084625 extends SimpleMigrationStep {
-
        /**
         * @param IOutput $output
         * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
index 837715a68381cc4060caaaf330b1d55c2fcfd343..6dc5a5b1773dc07504df884568293861116e14cb 100644 (file)
@@ -35,8 +35,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\SimpleMigrationStep;
 
 class Version16000Date20190207141427 extends SimpleMigrationStep {
-
-
        /**
         * @param IOutput $output
         * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
index dbad19d9b5437ace19003893a28c58d529e3f150..4df64a592502995cbef24032437d01a512a94ed4 100644 (file)
@@ -33,7 +33,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\SimpleMigrationStep;
 
 class Version16000Date20190427105638 extends SimpleMigrationStep {
-
        /** @var IDBConnection */
        private $connection;
 
index 14645925d3d4476f21df213ef5feb4fa4ac87d59..61d5ee0d2fa0e190567193c324681bf3d5343576 100644 (file)
@@ -35,7 +35,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\SimpleMigrationStep;
 
 class Version16000Date20190428150708 extends SimpleMigrationStep {
-
        /**
         * @param IOutput $output
         * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
index 53c4cd67647f10539c6f1ed4bea87444e356f68e..6e081f7214d7cd276a12fe206bfb1b5834627958 100644 (file)
@@ -36,7 +36,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\SimpleMigrationStep;
 
 class Version17000Date20190514105811 extends SimpleMigrationStep {
-
        /**
         * @param IOutput $output
         * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
index 9384abeed3003115aaa93c12678183c2e9a898b3..d7b1727aa59e9352cccda54da096e94f63c48017 100644 (file)
@@ -36,7 +36,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\SimpleMigrationStep;
 
 class Version18000Date20190920085628 extends SimpleMigrationStep {
-
        /** @var IDBConnection */
        protected $connection;
 
index 740a03ba5d11f28cd5d61a0bcac437e37d62de2f..340c9b3d7292c2c7ea086cbe3a86693589b8360e 100644 (file)
@@ -36,7 +36,6 @@ use OCP\Migration\SimpleMigrationStep;
 use OCP\Migration\IOutput;
 
 class Version18000Date20191014105105 extends SimpleMigrationStep {
-
        /** @var IDBConnection */
        protected $connection;
 
index 9fec994ba4481675b86db6d6b2e3be15980e3ad6..d7f4dbafe8774db332524e8a61080616a6fea64e 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Migration\SimpleMigrationStep;
 use OCP\Migration\IOutput;
 
 class Version18000Date20191204114856 extends SimpleMigrationStep {
-
        /** @var IDBConnection */
        protected $connection;
 
index 9ebdd40aaf2d235c4310668477845bc5de92e394..aae89465d750e3f9722755a06d86fbe1ffd5c374 100644 (file)
@@ -35,7 +35,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\SimpleMigrationStep;
 
 class Version20000Date20201109081918 extends SimpleMigrationStep {
-
        /** @var IDBConnection */
        protected $connection;
 
index 4c78dd901bd042347cfb83a9cec0d446384598f4..0556e84a7b40c26e3ec6c4f43307d4bbb552901b 100644 (file)
@@ -31,7 +31,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\SimpleMigrationStep;
 
 class Version20000Date20201109081919 extends SimpleMigrationStep {
-
        /**
         * @param IOutput $output
         * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
index d247811f8b9eaf694957d09dc1a92f223c384058..99353819f606c4d5a925fa97489a68c1f2a7edb6 100644 (file)
@@ -30,7 +30,6 @@ use OCP\Migration\SimpleMigrationStep;
 use OCP\Migration\IOutput;
 
 class Version23000Date20210721100600 extends SimpleMigrationStep {
-
        /**
         * @param IOutput $output
         * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
index 943edbbd3004176815ee2e013bc34f9e80066774..2a10acdafcfa7cb51b8afaaa79b67acdde0058a5 100644 (file)
@@ -29,7 +29,6 @@ namespace OC\Core\Migrations;
 use OCP\Migration\BigIntMigration;
 
 class Version23000Date20211213203940 extends BigIntMigration {
-
        /**
         * @return array Returns an array with the following structure
         * ['table1' => ['column1', 'column2'], ...]
index ea85e331d5520bb3313946d3e9c5073b20319ebb..47a4b11ce4f6925ccdd1b4a9d5c0e8c7ac2a29f8 100644 (file)
@@ -37,7 +37,6 @@ use OCP\Migration\SimpleMigrationStep;
  *
  */
 class Version24000Date20211210141942 extends SimpleMigrationStep {
-
        /** @var IDBConnection */
        protected $connection;
 
index 3a00423570a048c154d00f32a22a221e0dcea4ac..ba5345f2ae754913441e62899c596aa5cf27e33b 100644 (file)
@@ -33,7 +33,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\SimpleMigrationStep;
 
 class Version25000Date20220602190540 extends SimpleMigrationStep {
-
        /**
         * @param IOutput $output
         * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
index 6cda6132a7fdf8629e38c4550e694ce221c52034..ab7857cb63ccb5bb7982545e0d7f3c008f623478 100644 (file)
@@ -33,7 +33,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\SimpleMigrationStep;
 
 class Version25000Date20220905140840 extends SimpleMigrationStep {
-
        /**
         * @param IOutput $output
         * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
index 56dffef409c1cc94bf48ea12bcbf1be972bcc03c..74907fa56b9a5cbdcf6474190b62046df2802ace 100644 (file)
@@ -112,10 +112,10 @@ if (\OCP\Util::needUpgrade()) {
        $logger = \OC::$server->get(\Psr\Log\LoggerInterface::class);
        $config = \OC::$server->getConfig();
        $updater = new \OC\Updater(
-                       $config,
-                       \OC::$server->getIntegrityCodeChecker(),
-                       $logger,
-                       \OC::$server->query(\OC\Installer::class)
+               $config,
+               \OC::$server->getIntegrityCodeChecker(),
+               $logger,
+               \OC::$server->query(\OC\Installer::class)
        );
        $incompatibleApps = [];
 
index b6da0a6d44d0138579cc3fa5e146886b6adddb3f..df0084020763759bfb36ce7dd879188b1a975a7a 100644 (file)
@@ -55,19 +55,19 @@ $application->add(new OC\Core\Command\Status(\OC::$server->get(\OCP\IConfig::cla
 $application->add(new OC\Core\Command\Check(\OC::$server->getSystemConfig()));
 $application->add(new OC\Core\Command\L10n\CreateJs());
 $application->add(new \OC\Core\Command\Integrity\SignApp(
-               \OC::$server->getIntegrityCodeChecker(),
-               new \OC\IntegrityCheck\Helpers\FileAccessHelper(),
-               \OC::$server->getURLGenerator()
+       \OC::$server->getIntegrityCodeChecker(),
+       new \OC\IntegrityCheck\Helpers\FileAccessHelper(),
+       \OC::$server->getURLGenerator()
 ));
 $application->add(new \OC\Core\Command\Integrity\SignCore(
-               \OC::$server->getIntegrityCodeChecker(),
-               new \OC\IntegrityCheck\Helpers\FileAccessHelper()
+       \OC::$server->getIntegrityCodeChecker(),
+       new \OC\IntegrityCheck\Helpers\FileAccessHelper()
 ));
 $application->add(new \OC\Core\Command\Integrity\CheckApp(
-               \OC::$server->getIntegrityCodeChecker()
+       \OC::$server->getIntegrityCodeChecker()
 ));
 $application->add(new \OC\Core\Command\Integrity\CheckCore(
-               \OC::$server->getIntegrityCodeChecker()
+       \OC::$server->getIntegrityCodeChecker()
 ));
 
 
@@ -142,21 +142,21 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
                \OC::$server->getConfig()
        );
        $application->add(new OC\Core\Command\Encryption\ChangeKeyStorageRoot(
-                       $view,
-                       \OC::$server->getUserManager(),
-                       \OC::$server->getConfig(),
-                       $util,
-                       new \Symfony\Component\Console\Helper\QuestionHelper()
-               )
+               $view,
+               \OC::$server->getUserManager(),
+               \OC::$server->getConfig(),
+               $util,
+               new \Symfony\Component\Console\Helper\QuestionHelper()
+       )
        );
        $application->add(new OC\Core\Command\Encryption\ShowKeyStorageRoot($util));
        $application->add(new OC\Core\Command\Encryption\MigrateKeyStorage(
-                       $view,
-                       \OC::$server->getUserManager(),
-                       \OC::$server->getConfig(),
-                       $util,
-                       \OC::$server->getCrypto()
-               )
+               $view,
+               \OC::$server->getUserManager(),
+               \OC::$server->getConfig(),
+               $util,
+               \OC::$server->getCrypto()
+       )
        );
 
        $application->add(new OC\Core\Command\Maintenance\DataFingerprint(\OC::$server->getConfig(), new \OC\AppFramework\Utility\TimeFactory()));
index d41d6cd3083d27cc1731fe6b2e1921cbab3d4173..bdb5737f23d9eb424526c7cf9a7ea1411b08a337 100644 (file)
@@ -12,6 +12,6 @@ if (!isset($_)) {//standalone  page is not supported anymore - redirect to /
 <div class="guest-box">
        <h2><?php p($l->t('Access forbidden')); ?></h2>
                <p class='hint'><?php if (isset($_['message'])) {
-       p($_['message']);
-}?></p>
+                       p($_['message']);
+               }?></p>
 </ul>
index b32d163cd693a8dfeb75ffb09029da5f4f1c6c5a..69acb6be375ed7ec029441fc3fae37988152e7a7 100644 (file)
@@ -9,8 +9,8 @@
                <title>
                        <?php
                                p(!empty($_['pageTitle']) ? $_['pageTitle'] . ' – ' : '');
-                               p($theme->getTitle());
-                       ?>
+p($theme->getTitle());
+?>
                </title>
                <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
                <?php if ($theme->getiTunesAppId() !== '') { ?>
index 7d7a32bfbf460f59bbac7c42deba96dde687e473..311394592d11ae39879d9d8554a53d2df4c3770a 100644 (file)
@@ -2,10 +2,10 @@
        <div id="nojavascript">
                <div>
                        <?php print_unescaped(str_replace(
-                                       ['{linkstart}', '{linkend}'],
-                                       ['<a href="https://www.enable-javascript.com/" target="_blank" rel="noreferrer noopener">', '</a>'],
-                                       $l->t('This application requires JavaScript for correct operation. Please {linkstart}enable JavaScript{linkend} and reload the page.')
-                               )); ?>
+                               ['{linkstart}', '{linkend}'],
+                               ['<a href="https://www.enable-javascript.com/" target="_blank" rel="noreferrer noopener">', '</a>'],
+                               $l->t('This application requires JavaScript for correct operation. Please {linkstart}enable JavaScript{linkend} and reload the page.')
+                       )); ?>
                </div>
        </div>
 </noscript>
index 65110fb84f5058319a9e9b7faf13f63df39f820f..e5329716cc70903e59fcc0dda23f89d00671c4f2 100644 (file)
@@ -5,8 +5,8 @@
        <title>
                <?php
                p(!empty($_['application'])?$_['application'].' - ':'');
-               p($theme->getTitle());
-               ?>
+p($theme->getTitle());
+?>
        </title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
        <?php if ($theme->getiTunesAppId() !== '') { ?>
 
                <div class="header-right">
                <?php
-               /** @var \OCP\AppFramework\Http\Template\PublicTemplateResponse $template */
-               if (isset($template) && $template->getActionCount() !== 0) {
-                       $primary = $template->getPrimaryAction();
-                       $others = $template->getOtherActions(); ?>
+/** @var \OCP\AppFramework\Http\Template\PublicTemplateResponse $template */
+if (isset($template) && $template->getActionCount() !== 0) {
+       $primary = $template->getPrimaryAction();
+       $others = $template->getOtherActions(); ?>
                        <span id="header-primary-action" class="<?php if ($template->getActionCount() === 1) {
                                p($primary->getIcon());
                        } ?>">
                                                        foreach ($others as $action) {
                                                                print_unescaped($action->render());
                                                        }
-                                               ?>
+                               ?>
                                        </ul>
                                </div>
                        </div>
                        <?php } ?>
                <?php
-               } ?>
+} ?>
                </div>
        </header>
        <main id="content" class="app-<?php p($_['appid']) ?>">
        <footer>
                <p><?php print_unescaped($theme->getLongFooter()); ?></p>
                <?php
-               if ($_['showSimpleSignUpLink']) {
-                       ?>
+if ($_['showSimpleSignUpLink']) {
+       ?>
                        <p>
                                <a href="https://nextcloud.com/signup/" target="_blank" rel="noreferrer noopener">
                                        <?php p($l->t('Get your own free account')); ?>
                                </a>
                        </p>
                        <?php
-               }
+}
                ?>
        </footer>
        <?php } ?>
index b2eed70c2998f5c13e116feee5427ab5472ef686..951f0dabe21fc0fa89ac828fb5580b3db8152b20 100644 (file)
@@ -19,9 +19,9 @@ $getUserAvatar = static function (int $size) use ($_): string {
                <title>
                        <?php
                                p(!empty($_['pageTitle'])?$_['pageTitle'].' - ':'');
-                               p(!empty($_['application'])?$_['application'].' - ':'');
-                               p($theme->getTitle());
-                       ?>
+p(!empty($_['application'])?$_['application'].' - ':'');
+p($theme->getTitle());
+?>
                </title>
                <meta name="viewport" content="width=device-width, initial-scale=1.0" />
 
@@ -43,8 +43,8 @@ $getUserAvatar = static function (int $size) use ($_): string {
                <?php print_unescaped($_['headers']); ?>
        </head>
        <body id="<?php p($_['bodyid']);?>" <?php foreach ($_['enabledThemes'] as $themeId) {
-                               p("data-theme-$themeId ");
-                       }?> data-themes=<?php p(join(',', $_['enabledThemes'])) ?>>
+               p("data-theme-$themeId ");
+       }?> data-themes=<?php p(join(',', $_['enabledThemes'])) ?>>
        <?php include 'layout.noscript.warning.php'; ?>
 
                <?php foreach ($_['initialStates'] as $app => $initialState) { ?>
@@ -75,19 +75,19 @@ $getUserAvatar = static function (int $size) use ($_): string {
                                                aria-label="<?php p($l->t('Open settings menu'));?>"
                                                aria-haspopup="true" aria-controls="expanddiv" aria-expanded="false">
                                                <div id="avatardiv-menu" class="avatardiv<?php if ($_['userAvatarSet']) {
-                               print_unescaped(' avatardiv-shown');
-                       } else {
-                               print_unescaped('" style="display: none');
-                       } ?>"
+                                                       print_unescaped(' avatardiv-shown');
+                                               } else {
+                                                       print_unescaped('" style="display: none');
+                                               } ?>"
                                                         data-user="<?php p($_['user_uid']); ?>"
                                                         data-displayname="<?php p($_['user_displayname']); ?>"
                        <?php
-                       if ($_['userAvatarSet']) {
-                               $avatar32 = $getUserAvatar(32); ?> data-avatar="<?php p($avatar32); ?>"
+                                               if ($_['userAvatarSet']) {
+                                                       $avatar32 = $getUserAvatar(32); ?> data-avatar="<?php p($avatar32); ?>"
                        <?php
-                       } ?>>
+                                               } ?>>
                                                        <?php
-                                                       if ($_['userAvatarSet']) {?>
+                                                                               if ($_['userAvatarSet']) {?>
                                                                <img alt="" width="32" height="32"
                                                                src="<?php p($avatar32);?>"
                                                                srcset="<?php p($getUserAvatar(64));?> 2x, <?php p($getUserAvatar(128));?> 4x"
index 4af292b2dc537f04c00047e46a81c3ebf5009505..516795852b29ff594cb4e01059c3ade48d273016 100644 (file)
@@ -4,7 +4,7 @@
        \OCP\Util::addStyle('core', 'guest');
        \OCP\Util::addStyle('core', 'publicshareauth');
        \OCP\Util::addScript('core', 'publicshareauth');
-?>
+       ?>
 
 <div class="guest-box">
        <!-- password prompt form. It should be hidden when we show the email prompt form -->
index e815fa166316d52e900c480b1b74b407d9979e79..d81ce7c4a67c11c8c822f7aedceb6fe3e5b8d493 100644 (file)
@@ -37,18 +37,18 @@ $noProviders = empty($_['providers']);
                <li>
                        <a class="two-factor-provider"
                           href="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.TwoFactorChallenge.showChallenge',
-                                                               [
-                                                                       'challengeProviderId' => $provider->getId(),
-                                                                       'redirect_url' => $_['redirect_url'],
-                                                               ]
-                                                       )) ?>">
+                               [
+                                       'challengeProviderId' => $provider->getId(),
+                                       'redirect_url' => $_['redirect_url'],
+                               ]
+                          )) ?>">
                                <?php
                                if ($provider instanceof \OCP\Authentication\TwoFactorAuth\IProvidesIcons) {
                                        $icon = $provider->getLightIcon();
                                } else {
                                        $icon = image_path('core', 'actions/password-white.svg');
                                }
-                               ?>
+               ?>
                                <img src="<?php p($icon) ?>" alt="" />
                                <div>
                                        <h3><?php p($provider->getDisplayName()) ?></h3>
index 9e7946a4deffd650f71e6768d3d269095970dbdd..4ef19d8634967d83ca1ac6ccb38e233d39fc783f 100644 (file)
@@ -31,17 +31,17 @@ declare(strict_types=1);
                <li>
                        <a class="two-factor-provider"
                           href="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.TwoFactorChallenge.setupProvider',
-                                                               [
-                                                                       'providerId' => $provider->getId(),
-                                                               ]
-                                                       )) ?>">
+                               [
+                                       'providerId' => $provider->getId(),
+                               ]
+                          )) ?>">
                                <?php
                                if ($provider instanceof \OCP\Authentication\TwoFactorAuth\IProvidesIcons) {
                                        $icon = $provider->getLightIcon();
                                } else {
                                        $icon = image_path('core', 'actions/password-white.svg');
                                }
-                               ?>
+               ?>
                                <img src="<?php p($icon) ?>" alt="" />
                                <div>
                                        <h3><?php p($provider->getDisplayName()) ?></h3>
index 66cce4e521fb8083fa06da4ab23ff5e301126de9..403de7feadcd3f13d84c3b27190b4e3efa3aa2e3 100644 (file)
@@ -3,12 +3,12 @@
                <h2 class="title"><?php p($l->t('Update needed')) ?></h2>
                <div class="text-left">
                        <?php if ($_['tooBig']) {
-       p($l->t('Please use the command line updater because you have a big instance with more than 50 users.'));
-} else {
-       p($l->t('Please use the command line updater because automatic updating is disabled in the config.php.'));
-} ?><br><br>
+                               p($l->t('Please use the command line updater because you have a big instance with more than 50 users.'));
+                       } else {
+                               p($l->t('Please use the command line updater because automatic updating is disabled in the config.php.'));
+                       } ?><br><br>
                        <?php
-                       print_unescaped($l->t('For help, see the  <a target="_blank" rel="noreferrer noopener" href="%s">documentation</a>.', [link_to_docs('admin-cli-upgrade')])); ?>
+                                               print_unescaped($l->t('For help, see the  <a target="_blank" rel="noreferrer noopener" href="%s">documentation</a>.', [link_to_docs('admin-cli-upgrade')])); ?>
                </div>
        </div>
 
index 896dfd247b5c6c344a54a8221cef26eb5701dd05..a8e195feb98e829f5cac0b40e94c09c8eda7a4d6 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Accounts\IAccountManager;
 use OCP\Accounts\IAccountProperty;
 
 class AccountProperty implements IAccountProperty {
-
        /** @var string */
        private $name;
        /** @var string */
index 091c5734218b4f3ec2802c74d80e92ae9607cf49..1e5d8a5112a4f830ad40119ac0172e4ff2bd9460 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Accounts\IAccountProperty;
 use OCP\Accounts\IAccountPropertyCollection;
 
 class AccountPropertyCollection implements IAccountPropertyCollection {
-
        /** @var string */
        protected $collectionName = '';
 
index b440bc394d698677bbd9d92b0bc08f36f4943e10..a6c52275d2dd43dfc60af8484b624110c271407f 100644 (file)
@@ -36,7 +36,6 @@ use Psr\Log\LoggerInterface;
  * @template-implements IEventListener<UserChangedEvent>
  */
 class Hooks implements IEventListener {
-
        /** @var IAccountManager */
        private $accountManager;
        /** @var LoggerInterface */
index 5f0993532cb1fc76f3a88d89068e9b84de067dea..9332d8b111a19124788b638a8aab76ae17fcba38 100644 (file)
@@ -29,7 +29,6 @@ use OCP\Activity\IEventMerger;
 use OCP\IL10N;
 
 class EventMerger implements IEventMerger {
-
        /** @var IL10N */
        protected $l10n;
 
index 6d2fe51d0eddf29d0046bc3ff8b899046cc9a851..d14f0a2644e03323af4b85296a2bdff7c0257d56 100644 (file)
@@ -52,7 +52,6 @@ use Psr\Log\LoggerInterface;
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
 
 class AppManager implements IAppManager {
-
        /**
         * Apps with these types can not be enabled for certain groups only
         * @var string[]
index 661cc70578f14b67abdfe53cd6e64cac5e2c57a0..58ffd4f83b8c0a848f1bfc19295879e2f6d8f1f0 100644 (file)
@@ -24,7 +24,6 @@
 namespace OC\App\AppStore\Bundles;
 
 class EducationBundle extends Bundle {
-
        /**
         * {@inheritDoc}
         */
index 901467048a8833b1eeefce7ef142b04bb11840ba..bb64ec391ff83b7651e9c19c38db25a819757d67 100644 (file)
@@ -24,7 +24,6 @@
 namespace OC\App\AppStore\Bundles;
 
 class EnterpriseBundle extends Bundle {
-
        /**
         * {@inheritDoc}
         */
index f1e130806c4f5dfa8acfdbb96d65926d46b62e08..3a46ada52ad5a42f5d3b1301cf8aa0f5c9b35dda 100644 (file)
@@ -25,7 +25,6 @@
 namespace OC\App\AppStore\Bundles;
 
 class GroupwareBundle extends Bundle {
-
        /**
         * {@inheritDoc}
         */
index 394cce17d636af5526a15025dae9df30b42b52aa..f823792745b30366922d047d813834be4473795a 100644 (file)
@@ -24,7 +24,6 @@
 namespace OC\App\AppStore\Bundles;
 
 class SocialSharingBundle extends Bundle {
-
        /**
         * {@inheritDoc}
         */
index 579f350b5bb6387717a40fe9ea786a763a0c9ba2..35bec10f5ae3ee99e8b0e0ce2952187a5364181a 100644 (file)
@@ -39,7 +39,6 @@ use OCP\Support\Subscription\IRegistry;
 use Psr\Log\LoggerInterface;
 
 class AppFetcher extends Fetcher {
-
        /** @var CompareVersion */
        private $compareVersion;
 
@@ -117,15 +116,15 @@ class AppFetcher extends Fetcher {
                                                        $minPhpVersion = $phpVersion->getMinimumVersion();
                                                        $maxPhpVersion = $phpVersion->getMaximumVersion();
                                                        $minPhpFulfilled = $minPhpVersion === '' || $this->compareVersion->isCompatible(
-                                                                       PHP_VERSION,
-                                                                       $minPhpVersion,
-                                                                       '>='
-                                                               );
+                                                               PHP_VERSION,
+                                                               $minPhpVersion,
+                                                               '>='
+                                                       );
                                                        $maxPhpFulfilled = $maxPhpVersion === '' || $this->compareVersion->isCompatible(
-                                                                       PHP_VERSION,
-                                                                       $maxPhpVersion,
-                                                                       '<='
-                                                               );
+                                                               PHP_VERSION,
+                                                               $maxPhpVersion,
+                                                               '<='
+                                                       );
 
                                                        $isPhpCompatible = $minPhpFulfilled && $maxPhpFulfilled;
                                                }
index 788f15c183fd0aa0eef8eb9f9e7f2a0addf920bf..0eb089bbdc2a35d3df57cd8cb7108dfa65d9091f 100644 (file)
@@ -167,10 +167,8 @@ abstract class Fetcher {
 
                        // Always get latests apps info if $allowUnstable
                        if (!$allowUnstable && is_array($jsonBlob)) {
-
                                // No caching when the version has been updated
                                if (isset($jsonBlob['ncversion']) && $jsonBlob['ncversion'] === $this->getVersion()) {
-
                                        // If the timestamp is older than 3600 seconds request the files new
                                        if ((int)$jsonBlob['timestamp'] > ($this->timeFactory->getTime() - self::INVALIDATE_AFTER_SECONDS)) {
                                                return $jsonBlob['data'];
index 373e3c5e04d5aefcbde62e576957ef056bd99630..aa136f0e965f30e3363ef49fd483788d2e1735a1 100644 (file)
@@ -33,7 +33,6 @@ namespace OC\App;
 use OCP\IL10N;
 
 class DependencyAnalyzer {
-
        /** @var Platform */
        private $platform;
        /** @var \OCP\IL10N */
index 9d57ef95688d3478f1dcdf70a38aeff7dea8b866..25f191502c389335aee2a5173cb5f89c77615c6f 100644 (file)
@@ -267,7 +267,7 @@ class InfoParser {
                                } else {
                                        $array[$element] = $data;
                                }
-                               // Just a value
+                       // Just a value
                        } else {
                                if ($totalElement > 1) {
                                        $array[$element][] = $this->xmlToArray($node);
index 325220823b89ea607c2af0c98f25c5164314c579..04e7637346661f998dd12d25e2d61c24ff92eeee 100644 (file)
@@ -42,7 +42,6 @@ use OCP\IConfig;
  * database.
  */
 class AppConfig implements IAppConfig {
-
        /** @var array[] */
        protected $sensitiveValues = [
                'circles' => [
@@ -285,7 +284,6 @@ class AppConfig implements IAppConfig {
                 * > Large objects (LOBs) are not supported in comparison conditions.
                 */
                if (!($this->conn instanceof OracleConnection)) {
-
                        /*
                         * Only update the value when it is not the same
                         * Note that NULL requires some special handling. Since comparing
index 170acba068956d233d3e4e3e4d3a5a0a36451910..d2ef7da9e46a1fbe66241ec68d0dad9b5e7cca5e 100644 (file)
@@ -53,7 +53,6 @@ use OCP\IRequest;
  * Handles all the dependency injection, controllers and output flow
  */
 class App {
-
        /** @var string[] */
        private static $nameSpaceCache = [];
 
index bb8fe0c8e92e7c6fc60ebfe80ee4d2e51add2eee..797d7d2317b7c5f710344e5644a9dc3d0ad799cd 100644 (file)
@@ -29,7 +29,6 @@ namespace OC\AppFramework\Bootstrap;
  * @psalm-immutable
  */
 abstract class ARegistration {
-
        /** @var string */
        private $appId;
 
index f21d7d00b1eb76ad6e0514de20859c62e97e0c36..8c37d00a419c06b080eb67ba6860a7d3198f63b1 100644 (file)
@@ -31,7 +31,6 @@ use OCP\AppFramework\IAppContainer;
 use OCP\IServerContainer;
 
 class BootContext implements IBootContext {
-
        /** @var IAppContainer */
        private $appContainer;
 
index 3ab6ac4c8b068e8efa295f70b8335c31068e66f4..f5f50b1b77559fee412626a98a06c893e1127125 100644 (file)
@@ -46,7 +46,6 @@ use Psr\Log\LoggerInterface;
 use Throwable;
 
 class Coordinator {
-
        /** @var IServerContainer */
        private $serverContainer;
 
index be279cbfd52b9df72808353e4362b4bfe228deb3..2ad410be26f05b956dc358b58751326ab5490df7 100644 (file)
@@ -30,7 +30,6 @@ namespace OC\AppFramework\Bootstrap;
  * @template-extends ServiceRegistration<\OCP\EventDispatcher\IEventListener>
  */
 class EventListenerRegistration extends ServiceRegistration {
-
        /** @var string */
        private $event;
 
index 13eb5d88969a70359bb48db426de4271d1b2a657..2f95906ab4cd91ac2207dd56a7e1e64d62cf6e1d 100644 (file)
@@ -33,7 +33,6 @@ use ReflectionParameter;
 use function array_map;
 
 class FunctionInjector {
-
        /** @var ContainerInterface */
        private $container;
 
index 5a683f41a9f7b3cea3087dc19a77079cd2543508..b501a757abdceba921dbc1f32beecf60a88726bd 100644 (file)
@@ -29,7 +29,6 @@ namespace OC\AppFramework\Bootstrap;
  * @psalm-immutable
  */
 final class ParameterRegistration extends ARegistration {
-
        /** @var string */
        private $name;
 
index 47c25d393008b6a8cfa828de3747e6f1bf6a9cbb..36c5cae7db37d8f607c98e054a22d2e026693c36 100644 (file)
@@ -30,7 +30,6 @@ namespace OC\AppFramework\Bootstrap;
  * @template-extends ServiceRegistration<\OCP\Preview\IProviderV2>
  */
 class PreviewProviderRegistration extends ServiceRegistration {
-
        /** @var string */
        private $mimeTypeRegex;
 
index 3ade98e334f4de52f1cf2a11e37b5ef14fad6d09..04faf330dc364b84eb2dbfbed2c6898e7ecd2f9a 100644 (file)
@@ -58,7 +58,6 @@ use Psr\Log\LoggerInterface;
 use Throwable;
 
 class RegistrationContext {
-
        /** @var ServiceRegistration<ICapability>[] */
        private $capabilities = [];
 
index a8b9ddd1295af0bfadca1d935d9cafd2de2d9c13..e2b115e0353b25080e0f19544bf20a5dc20dac90 100644 (file)
@@ -29,7 +29,6 @@ namespace OC\AppFramework\Bootstrap;
  * @psalm-immutable
  */
 class ServiceAliasRegistration extends ARegistration {
-
        /**
         * @var string
         * @psalm-var string|class-string
index 21e6d37865a072bf9a4ad43eb865669eaf27cac2..b6658e552396a45d2a7958b594dae177dd81db5a 100644 (file)
@@ -29,7 +29,6 @@ namespace OC\AppFramework\Bootstrap;
  * @psalm-immutable
  */
 class ServiceFactoryRegistration extends ARegistration {
-
        /**
         * @var string
         * @psalm-var string|class-string
index cc288edc96611123d5eca91bee832d41b891454d..b4b03574d567acac22393b696faa28e95ead35b2 100644 (file)
@@ -49,7 +49,6 @@ use Psr\Log\LoggerInterface;
  * Class to dispatch the request to the middleware dispatcher
  */
 class Dispatcher {
-
        /** @var MiddlewareDispatcher */
        private $middlewareDispatcher;
 
@@ -169,7 +168,7 @@ class Dispatcher {
                } catch (\Throwable $throwable) {
                        $exception = new \Exception($throwable->getMessage() . ' in file \'' . $throwable->getFile() . '\' line ' . $throwable->getLine(), $throwable->getCode(), $throwable);
                        $response = $this->middlewareDispatcher->afterException(
-                       $controller, $methodName, $exception);
+                               $controller, $methodName, $exception);
                }
 
                $response = $this->middlewareDispatcher->afterController(
@@ -202,7 +201,6 @@ class Dispatcher {
                $types = ['int', 'integer', 'bool', 'boolean', 'float', 'double'];
 
                foreach ($this->reflector->getParameters() as $param => $default) {
-
                        // try to get the parameter from the request object and cast
                        // it to the type annotated in the @param annotation
                        $value = $this->request->getParam($param, $default);
@@ -234,7 +232,6 @@ class Dispatcher {
 
                // format response
                if ($response instanceof DataResponse || !($response instanceof Response)) {
-
                        // get format from the url format or request format parameter
                        $format = $this->request->getParam('format');
 
index d8aac063f3e44fec1c7f9e50e3a40fe906f6f38b..ac162f6565e398471175621ec456b08686ce0cb3 100644 (file)
@@ -429,7 +429,7 @@ class Request implements \ArrayAccess, \Countable, IRequest {
                                        $this->items['post'] = $params;
                                }
                        }
-                       // Handle application/x-www-form-urlencoded for methods other than GET
+               // Handle application/x-www-form-urlencoded for methods other than GET
                // or post correctly
                } elseif ($this->method !== 'GET'
                                && $this->method !== 'POST'
index 7fb30905df354eb04b050cf560ae754fb123c6e9..cd70cead7e9f1ba08bee68c8a0cd6d54ad0404fd 100644 (file)
@@ -32,7 +32,6 @@ use OCP\ILogger;
  * @deprecated
  */
 class Logger implements ILogger {
-
        /** @var ILogger */
        private $logger;
 
index 5128afa8cadf8aa404a089c6f30dff1813e4c44b..530c270c7bcfa91861f5812dd5ca645bf163af1a 100644 (file)
@@ -35,7 +35,6 @@ use OCP\AppFramework\Middleware;
 use OCP\IRequest;
 
 class CompressionMiddleware extends Middleware {
-
        /** @var bool */
        private $useGZip;
 
index adf17e53caab4d225ea3960bbea73ad4066b7de4..35eb0098eedc0a8d374d8e42c28e85c4770109de 100644 (file)
@@ -39,7 +39,6 @@ use OCP\AppFramework\Middleware;
  * This class is used to store and run all the middleware in correct order
  */
 class MiddlewareDispatcher {
-
        /**
         * @var array array containing all the middlewares
         */
index 4c2dbd0f8287affd5e7b9d6671acc8d415e6c9d1..955b15f80c81a99db4bb57cf045a352d8a1577ac 100644 (file)
@@ -39,7 +39,6 @@ use OCP\AppFramework\OCSController;
 use OCP\IRequest;
 
 class OCSMiddleware extends Middleware {
-
        /** @var IRequest */
        private $request;
 
index d956ce58912efc03a6c0b16f6f5027e4c61dd48b..f20bd333452d9497d17ecc4c537238d546c26fad 100644 (file)
@@ -35,7 +35,6 @@ use OCP\IRequest;
 use OCP\ISession;
 
 class PublicShareMiddleware extends Middleware {
-
        /** @var IRequest */
        private $request;
 
index dd9649150069994a66a0247972073ed9d592a0ee..2476f4ec9b31aab38eb02d7a3c462e6f9be5b966 100644 (file)
@@ -118,7 +118,6 @@ class CORSMiddleware extends Middleware {
 
                if (isset($this->request->server['HTTP_ORIGIN']) &&
                        $this->reflector->hasAnnotation('CORS')) {
-
                        // allow credentials headers must not be true or CSRF is possible
                        // otherwise
                        foreach ($response->getHeaders() as $header => $value) {
index 1eea52d620cdb1e494c6d9456c784cc84d04f6ff..ae0dc1f134e633c3fc26d33927481d0ebb1d90d4 100644 (file)
@@ -36,7 +36,6 @@ use OCP\AppFramework\Http\Response;
 use OCP\AppFramework\Middleware;
 
 class CSPMiddleware extends Middleware {
-
        /** @var ContentSecurityPolicyManager */
        private $contentSecurityPolicyManager;
        /** @var ContentSecurityPolicyNonceManager */
index 534ff56ccedb67d008b08627a1a2180991e96498..418d4185184e5586e457d0f2d0e3734e3b828b02 100644 (file)
@@ -33,7 +33,6 @@ use OCP\AppFramework\Http\Response;
 use OCP\AppFramework\Middleware;
 
 class FeaturePolicyMiddleware extends Middleware {
-
        /** @var FeaturePolicyManager */
        private $policyManager;
 
index 0ab5d061c444660c89d825ff68125fd5b4067cd8..e6d35dc66f2745ad41f19eee7d1c94c5369ceb5c 100644 (file)
@@ -31,7 +31,6 @@ use OCP\AppFramework\Http\Response;
 use OCP\AppFramework\Middleware;
 
 class SameSiteCookieMiddleware extends Middleware {
-
        /** @var Request */
        private $request;
 
index e0f36231b68c86e68f9ad287e4965c17b31ab12e..eb8c1b8dc433d40e3f12e86a13a71b4e9bd3fb53 100644 (file)
@@ -137,7 +137,6 @@ class SecurityMiddleware extends Middleware {
         * @suppress PhanUndeclaredClassConstant
         */
        public function beforeController($controller, $methodName) {
-
                // this will set the current navigation entry of the app, use this only
                // for normal HTML requests and not for AJAX requests
                $this->navigationManager->setActiveEntry($this->appName);
@@ -207,11 +206,11 @@ class SecurityMiddleware extends Middleware {
                         * This allows oauth apps (e.g. moodle) to use the OCS endpoints
                         */
                        if (!$this->request->passesCSRFCheck() && !(
-                                       $controller instanceof OCSController && (
-                                               $this->request->getHeader('OCS-APIREQUEST') === 'true' ||
-                                               strpos($this->request->getHeader('Authorization'), 'Bearer ') === 0
-                                       )
-                               )) {
+                               $controller instanceof OCSController && (
+                                       $this->request->getHeader('OCS-APIREQUEST') === 'true' ||
+                                       strpos($this->request->getHeader('Authorization'), 'Bearer ') === 0
+                               )
+                       )) {
                                throw new CrossSiteRequestForgeryException();
                        }
                }
index 32ac2b17ae5b1a6e933abfd50ebd46bbe7945188..af195df0de9192474a96871ee0ecaedbf728c73e 100644 (file)
@@ -32,7 +32,6 @@ use OCP\AppFramework\Middleware;
 use OCP\ISession;
 
 class SessionMiddleware extends Middleware {
-
        /** @var ControllerMethodReflector */
        private $reflector;
 
index 3986abd6d6eaa4873c95cf7fa89b169b54f235dd..6e3e49e8d99180842cc5961014af1d3cff120d23 100644 (file)
@@ -79,7 +79,6 @@ class RouteConfig {
         * The routes and resource will be registered to the \OCP\Route\IRouter
         */
        public function register() {
-
                // parse simple
                $this->processIndexRoutes($this->routes);
 
index 46832c6d38d2de67c7bc6b17787a94ffe0809af6..4ed91cdb6c02f3acba0b5a548912fc35b9111d1f 100644 (file)
@@ -30,7 +30,6 @@ use Psr\Log\LoggerInterface;
 use function array_merge;
 
 class ScopedPsrLogger implements LoggerInterface {
-
        /** @var LoggerInterface */
        private $inner;
 
index 355a41239875e7a76e009da8df02363390880599..1fc07bc22b007b8f6c15792881cea6536b608851 100644 (file)
@@ -30,7 +30,6 @@ use OCP\AppFramework\Services\IAppConfig;
 use OCP\IConfig;
 
 class AppConfig implements IAppConfig {
-
        /** @var IConfig */
        private $config;
 
index 925ef67de64cb3bc9e08ae36b6e92507b98673c4..06e9d4a3ec771d4a645454048b35d66a0bf669ff 100644 (file)
@@ -45,7 +45,6 @@ use function class_exists;
  * SimpleContainer is a simple implementation of a container on basis of Pimple
  */
 class SimpleContainer implements ArrayAccess, ContainerInterface, IContainer {
-
        /** @var Container */
        private $container;
 
index d4fe451a995e85165e86cf5c5d3454c1a7dbd948..27117ed3cfc27293a72c5498a78f318e0e0327aa 100644 (file)
@@ -33,8 +33,6 @@ use OCP\AppFramework\Utility\ITimeFactory;
  * Needed to mock calls to time()
  */
 class TimeFactory implements ITimeFactory {
-
-
        /**
         * @return int the result of a call to time()
         */
index adfe19350136f2813a429ee347ce045769d51e08..e36b7d1087b497dfa77adb61ee52df75fcdde18f 100644 (file)
@@ -29,7 +29,6 @@ use OC\Authentication\Token\IToken;
 use OCP\EventDispatcher\Event;
 
 abstract class ARemoteWipeEvent extends Event {
-
        /** @var IToken */
        private $token;
 
index f75ee51b287025e7a0c0e7dc33e92ac56b538209..d2971e07b55e7803936d9ede2721f891602a2d23 100644 (file)
@@ -39,7 +39,6 @@ use OCP\Util;
  * @template-implements IEventListener<\OC\Authentication\Events\LoginFailed>
  */
 class LoginFailedListener implements IEventListener {
-
        /** @var IEventDispatcher */
        private $dispatcher;
 
index 6cc2403653f2996835ef7b9cddcb9ebad14c8026..edebb2a2641a981bf4310677c0c9b54417e5a7cc 100644 (file)
@@ -39,7 +39,6 @@ use Psr\Log\LoggerInterface;
  * @template-implements IEventListener<\OC\Authentication\Events\ARemoteWipeEvent>
  */
 class RemoteWipeActivityListener implements IEventListener {
-
        /** @var IActvityManager */
        private $activityManager;
 
index 4499f90d79bfe492e1aad7308b8cc2f91356b003..cba2b183589848329be55121d0da129da75424f8 100644 (file)
@@ -44,7 +44,6 @@ use function substr;
  * @template-implements IEventListener<\OC\Authentication\Events\ARemoteWipeEvent>
  */
 class RemoteWipeEmailListener implements IEventListener {
-
        /** @var IMailer */
        private $mailer;
 
index 4b7e809d742858532604c3a43ace08f63f11624a..81feab32746f03a7d825c8eed9b352e5b1d8d5a0 100644 (file)
@@ -38,7 +38,6 @@ use OCP\Notification\IManager as INotificationManager;
  * @template-implements IEventListener<\OC\Authentication\Events\ARemoteWipeEvent>
  */
 class RemoteWipeNotificationsListener implements IEventListener {
-
        /** @var INotificationManager */
        private $notificationManager;
 
index e52b989c353adbe59b690e59eb423a647a15e19b..e478c21239f26704750d80a0787bb5d23f31e01c 100644 (file)
@@ -34,7 +34,6 @@ use OCP\User\Events\UserDeletedEvent;
  * @template-implements IEventListener<\OCP\User\Events\UserDeletedEvent>
  */
 class UserDeletedStoreCleanupListener implements IEventListener {
-
        /** @var Registry */
        private $registry;
 
index 6a3f4402886c31debb59b5c52b97b2e17a1eeb2c..a09a08568d545bc27fa049522d36277723e36983 100644 (file)
@@ -37,7 +37,6 @@ use Throwable;
  * @template-implements IEventListener<\OCP\User\Events\UserDeletedEvent>
  */
 class UserDeletedTokenCleanupListener implements IEventListener {
-
        /** @var Manager */
        private $manager;
 
index a56ac3bd54ebb3aa01300b996e5327fdb2b7fa53..4927c3ac7f964f0f92b85d572ee511247a3d9599 100644 (file)
@@ -32,7 +32,6 @@ use OCP\EventDispatcher\IEventListener;
 use OCP\User\Events\UserDeletedEvent;
 
 class UserDeletedWebAuthnCleanupListener implements IEventListener {
-
        /** @var PublicKeyCredentialMapper */
        private $credentialMapper;
 
index 88298889057481ddbbab3db38adc6b83673855d0..df030c447493ade14256053530dcc70a2fff5977 100644 (file)
@@ -35,7 +35,6 @@ use OCP\User\Events\PostLoginEvent;
  * @template-implements IEventListener<\OCP\User\Events\PostLoginEvent>
  */
 class UserLoggedInListener implements IEventListener {
-
        /** @var Manager */
        private $manager;
 
index 5b245db6bda33c0bf73f210e5cca316aa6c3cc7d..7944eac1b623126a7883d46bb9e13da3a4f621df 100644 (file)
@@ -26,7 +26,6 @@ declare(strict_types=1);
 namespace OC\Authentication\Login;
 
 abstract class ALoginCommand {
-
        /** @var ALoginCommand */
        protected $next;
 
index 32f44268d520d460943eed20cecdeffb62e0bde3..3c3179472c4f487e1cf602d2f9396bdab24bef86 100644 (file)
@@ -26,7 +26,6 @@ declare(strict_types=1);
 namespace OC\Authentication\Login;
 
 class Chain {
-
        /** @var PreLoginHookCommand */
        private $preLoginHookCommand;
 
index 7e872a855a5ba858c86a72cfa3dbe5fbbb3d7eff..1643b5af1d521aabc0c588dd55e943c2013b04fb 100644 (file)
@@ -28,7 +28,6 @@ namespace OC\Authentication\Login;
 use OCP\IConfig;
 
 class ClearLostPasswordTokensCommand extends ALoginCommand {
-
        /** @var IConfig */
        private $config;
 
index ffe76b4c89d3c2e2e420aca61293184058862fe6..46f7f1a3fa74629e694623509687105a57841285 100644 (file)
@@ -28,7 +28,6 @@ namespace OC\Authentication\Login;
 use OC\User\Session;
 
 class CompleteLoginCommand extends ALoginCommand {
-
        /** @var Session */
        private $userSession;
 
index 31ca0936942594c151a3f1bba4be7b3cf7bf1165..ba237dfbf205c8ec77a49cc463aaeb23bd5cfa62 100644 (file)
@@ -32,7 +32,6 @@ use OC\User\Session;
 use OCP\IConfig;
 
 class CreateSessionTokenCommand extends ALoginCommand {
-
        /** @var IConfig */
        private $config;
 
index 7145ab9e14f3463f18b914c6ec5760e50475d048..315fe45069771b9cdd52688bacb1c5a74a5c6631 100644 (file)
@@ -28,7 +28,6 @@ namespace OC\Authentication\Login;
 use OCP\IUserManager;
 
 class EmailLoginCommand extends ALoginCommand {
-
        /** @var IUserManager */
        private $userManager;
 
@@ -45,7 +44,6 @@ class EmailLoginCommand extends ALoginCommand {
                        $users = $this->userManager->getByEmail($loginData->getUsername());
                        // we only allow login by email if unique
                        if (count($users) === 1) {
-
                                // FIXME: This is a workaround to still stick to configured LDAP login filters
                                // this can be removed once the email login is properly implemented in the local user backend
                                // as described in https://github.com/nextcloud/server/issues/5221
index 9b5b4ed0642675b49350f04758a46fe703af04b5..04ed7ed846ee80142ee8b931a8c07c991b9ad145 100644 (file)
@@ -30,7 +30,6 @@ use OC\User\Session;
 use OCP\IConfig;
 
 class FinishRememberedLoginCommand extends ALoginCommand {
-
        /** @var Session */
        private $userSession;
        /** @var IConfig */
index 9f80d47a3d4464d5c22b1ade61449a5279f4e06f..dc1a4d2d88328ae50f91b9fc319fa80a9c2c1660 100644 (file)
@@ -33,7 +33,6 @@ use OCP\EventDispatcher\IEventDispatcher;
 use Psr\Log\LoggerInterface;
 
 class LoggedInCheckCommand extends ALoginCommand {
-
        /** @var LoggerInterface */
        private $logger;
        /** @var IEventDispatcher */
index 43d1a725668b4cca9b62f70eb2dac76b071018be..240a1dc647612f0ae61fa064b70e2ba9307c2ce8 100644 (file)
@@ -30,7 +30,6 @@ use OCP\IRequest;
 use OCP\IUser;
 
 class LoginData {
-
        /** @var IRequest */
        private $request;
 
index 1f91c9c6a259f9329b52f5f40a0ccd0fc27f184b..dec012c2fc98cbd5440cddb7a492f8c0276e25e9 100644 (file)
@@ -26,7 +26,6 @@ declare(strict_types=1);
 namespace OC\Authentication\Login;
 
 class LoginResult {
-
        /** @var bool */
        private $success;
 
index b989927a21c005d71a79974ed59317e454ed9a52..21c97433f5a1d476fac56843ef03568d7100d328 100644 (file)
@@ -30,7 +30,6 @@ use OC\Hooks\PublicEmitter;
 use OCP\IUserManager;
 
 class PreLoginHookCommand extends ALoginCommand {
-
        /** @var IUserManager */
        private $userManager;
 
index 57859b032b693dcef8d73fd65fd7a29db44626b4..f68fce1771e26d1b181c453774286a05fff421e2 100644 (file)
@@ -29,7 +29,6 @@ use OCP\IConfig;
 use OCP\ISession;
 
 class SetUserTimezoneCommand extends ALoginCommand {
-
        /** @var IConfig */
        private $config;
 
index d20bc881f1fe00d36389a99f77b66eaa76f79a88..256d88ffa811be8c6cce5496808abf39c6b6580c 100644 (file)
@@ -34,7 +34,6 @@ use OCP\Authentication\TwoFactorAuth\IProvider;
 use OCP\IURLGenerator;
 
 class TwoFactorCommand extends ALoginCommand {
-
        /** @var Manager */
        private $twoFactorManager;
 
index a1bc9c585ab99ae62db56df55579950525856c7c..d3216b6aad81bdc1798a09594b802bf93819183d 100644 (file)
@@ -29,7 +29,6 @@ use OC\User\Manager;
 use OCP\IUser;
 
 class UidLoginCommand extends ALoginCommand {
-
        /** @var Manager */
        private $userManager;
 
index cd9cdfab6e8a2400b9990228f8beaea23f5b4271..571ea931d8a1b7b9fa35ff1f8f910439cc78ff12 100644 (file)
@@ -28,7 +28,6 @@ namespace OC\Authentication\Login;
 use OCP\ISession;
 
 class UpdateLastPasswordConfirmCommand extends ALoginCommand {
-
        /** @var ISession */
        private $session;
 
index 87446dc72d730477834255e872ac4577ccf77d08..7cf4c7235ec19ba4558577ae492e2f848130124b 100644 (file)
@@ -31,7 +31,6 @@ use OCP\IUserManager;
 use Psr\Log\LoggerInterface;
 
 class UserDisabledCheckCommand extends ALoginCommand {
-
        /** @var IUserManager */
        private $userManager;
 
index 5f79768d257dab1e892288f20e7b9010692f25ff..478a579853caebdf52b48a2b4a4836afef8b924a 100644 (file)
@@ -28,7 +28,6 @@ namespace OC\Authentication\Login;
 use OCP\IUserManager;
 
 class WebAuthnLoginCommand extends ALoginCommand {
-
        /** @var IUserManager */
        private $userManager;
 
index 42f8f3740598715e702235c1859c1962195a91a2..69bfc2ba19822983f824d2a8e13c7699da7ad5ba 100644 (file)
@@ -25,7 +25,6 @@ namespace OC\Authentication\LoginCredentials;
 use OCP\Authentication\LoginCredentials\ICredentials;
 
 class Credentials implements ICredentials {
-
        /** @var string */
        private $uid;
 
index d3db0444664ce7e9afb7f9efcdb955b7a30c8948..3a09e983ee8e68e84ba481d47fca6bf54587c32c 100644 (file)
@@ -38,7 +38,6 @@ use OCP\Util;
 use Psr\Log\LoggerInterface;
 
 class Store implements IStore {
-
        /** @var ISession */
        private $session;
 
index 849b421d4c390d26a753f698811538f212ce094c..8cf5d65377174735b4aa7d9847d1de7865242120 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Notification\INotification;
 use OCP\Notification\INotifier;
 
 class Notifier implements INotifier {
-
        /** @var IL10nFactory */
        private $factory;
 
index 33e0ad4626336c28789735a100d073ae8dfc2136..b5af3f3a5ee9bf7a68799b7b5c14c956be4c2415 100644 (file)
@@ -35,8 +35,6 @@ use OC\Authentication\Exceptions\PasswordlessTokenException;
 use OC\Authentication\Exceptions\WipeTokenException;
 
 interface IProvider {
-
-
        /**
         * Create and persist a new token
         *
index 64dbb604ed281a6e35f9c9d72980afe983b1e7de..5ba994e0d5eecd0088953445d4a1767d57c3f649 100644 (file)
@@ -27,7 +27,6 @@ declare(strict_types=1);
 namespace OC\Authentication\Token;
 
 interface IWipeableToken extends IToken {
-
        /**
         * Mark the token for remote wipe
         */
index f8a0fb11c525bcffe8c543ac623d7e7778c93426..59c7ca714c6329f8e844d21125444906ee833413 100644 (file)
@@ -34,7 +34,6 @@ use OC\Authentication\Exceptions\PasswordlessTokenException;
 use OC\Authentication\Exceptions\WipeTokenException;
 
 class Manager implements IProvider {
-
        /** @var PublicKeyTokenProvider */
        private $publicKeyTokenProvider;
 
index 9e152d16a04d9617cf6655865ac68253aab53c96..5fd01cfbe879cd2860dc298c17b89654e6663c64 100644 (file)
@@ -37,7 +37,6 @@ use OCP\EventDispatcher\IEventDispatcher;
 use OCP\IUser;
 
 class RemoteWipe {
-
        /** @var IProvider */
        private $tokenProvider;
 
index ed157f49006c99c0da70e0132fd69a7ba0416c06..b95128c1e0fe28f5458edd0d5a72cebdfd3ddaad 100644 (file)
@@ -28,7 +28,6 @@ namespace OC\Authentication\TwoFactorAuth;
 use JsonSerializable;
 
 class EnforcementState implements JsonSerializable {
-
        /** @var bool */
        private $enforced;
 
index ce732384987558f4e2ad7c225129d64258ecc72d..d62556465df82a898287ed6f8b418974426ade2c 100644 (file)
@@ -342,7 +342,6 @@ class Manager {
 
                // First check if the session tells us we should do 2FA (99% case)
                if (!$this->session->exists(self::SESSION_UID_KEY)) {
-
                        // Check if the session tells us it is 2FA authenticated already
                        if ($this->session->exists(self::SESSION_UID_DONE) &&
                                $this->session->get(self::SESSION_UID_DONE) === $user->getUID()) {
index 675f4faf63a7783c2f30af65ab17b90af31e716c..3bfbd77941b570d6aa1cb4159c1e4e7b01475667 100644 (file)
@@ -30,7 +30,6 @@ use OCP\IGroupManager;
 use OCP\IUser;
 
 class MandatoryTwoFactor {
-
        /** @var IConfig */
        private $config;
 
index e2bb367f47ec75cd23a761b351fa43a58fc6aec1..c7c075bdab3ed1ea7268801e26dccfb7e3f51663 100644 (file)
@@ -33,7 +33,6 @@ use OCP\Authentication\TwoFactorAuth\IRegistry;
 use OCP\IUser;
 
 class ProviderManager {
-
        /** @var ProviderLoader */
        private $providerLoader;
 
index 5e05cb0f71015760e46a61f24bca045ac05b0478..af270fb83c8b93fe36e625818cfdc6dfaa5a967d 100644 (file)
@@ -33,7 +33,6 @@ use OCP\Authentication\TwoFactorAuth\IProvider;
  * Contains all two-factor provider information for the two-factor login challenge
  */
 class ProviderSet {
-
        /** @var IProvider */
        private $providers;
 
index 1846ebcf8e2682b52432f19dbe2ee1fef742dcbc..6c82572578c137ebd6ed372582e12ec2e10957b6 100644 (file)
@@ -35,7 +35,6 @@ use OCP\EventDispatcher\IEventDispatcher;
 use OCP\IUser;
 
 class Registry implements IRegistry {
-
        /** @var ProviderUserAssignmentDao */
        private $assignmentDao;
 
index 34af75b1ba681f2982ab1593e62ec402d2579640..e5c3fcf16189fdb60665845eb2927a46c7570e67 100644 (file)
@@ -33,7 +33,6 @@ use Webauthn\PublicKeyCredentialSourceRepository;
 use Webauthn\PublicKeyCredentialUserEntity;
 
 class CredentialRepository implements PublicKeyCredentialSourceRepository {
-
        /** @var PublicKeyCredentialMapper */
        private $credentialMapper;
 
index 786154d6d1413dddf551889777104acf22776246..6f97ded483d71452758f0955451752244f78b08c 100644 (file)
@@ -43,7 +43,6 @@ use Webauthn\PublicKeyCredentialSource;
  * @method void setData(string $data);
  */
 class PublicKeyCredentialEntity extends Entity implements JsonSerializable {
-
        /** @var string */
        protected $name;
 
index de22fd6d450a7d7100ab1ea7c75e391e48c3c9f7..744a3fa354acf1dfa17d392970f04dc7e0dbf59d 100644 (file)
@@ -56,7 +56,6 @@ use Webauthn\PublicKeyCredentialUserEntity;
 use Webauthn\TokenBinding\TokenBindingNotSupportedHandler;
 
 class Manager {
-
        /** @var CredentialRepository */
        private $repository;
 
index ec9bed408508927e19556786c1c7c0fa05e6410f..5c4f04de6d6106856427152e430f996aa49eaf6b 100644 (file)
@@ -55,7 +55,6 @@ use Psr\Log\LoggerInterface;
  * This class implements methods to access Avatar functionality
  */
 class AvatarManager implements IAvatarManager {
-
        /** @var IUserSession */
        private $userSession;
 
index 02fcfcb0fc8ca716f38df92877e1a0dd2fb16c3e..6d39d5f067dab8eebf37a072a303b7dbf32565ae 100644 (file)
@@ -124,7 +124,7 @@ class UserAvatar extends Avatar {
                if (
                        (is_resource($data) && get_resource_type($data) === 'gd') ||
                        (is_object($data) && get_class($data) === \GdImage::class)
-                       ) {
+               ) {
                        $img->setResource($data);
                } elseif (is_resource($data)) {
                        $img->loadFromFileHandle($data);
index 47871e00132c460cdcc1c3ad73b8910c6fff4252..de950ac93710877daeb657cbc40a0c48f573cc36 100644 (file)
@@ -31,7 +31,6 @@ use OCP\EventDispatcher\ABroadcastedEvent;
 use OCP\EventDispatcher\Event;
 
 class BroadcastEvent extends Event implements IBroadcastEvent {
-
        /** @var ABroadcastedEvent */
        private $event;
 
index 8e192b2233290601cc5f4671eb580cfefac5c4af..1f63e462bb58e83f8364f257fb58415778accfa9 100644 (file)
@@ -36,7 +36,6 @@ use OCP\Security\ISecureRandom;
 use Psr\Log\LoggerInterface;
 
 class File implements ICache {
-
        /** @var View */
        protected $storage;
 
index 0569b66b616de7e733ea89f8ba0e1f1d8ed4126f..64f74c2728b1a63b82a0c3ccca09b65b3c3f9a81 100644 (file)
@@ -28,7 +28,6 @@ namespace OC\Calendar;
 use OCP\Calendar\ICalendarQuery;
 
 class CalendarQuery implements ICalendarQuery {
-
        /** @var string */
        private $principalUri;
 
index e85c2d2e37717f0c829b9e1baf4b75d7451198f9..7ef9dc585ae3c24a197336add93e3f1855ca96b2 100644 (file)
@@ -47,7 +47,6 @@ use function array_map;
 use function array_merge;
 
 class Manager implements IManager {
-
        /**
         * @var ICalendar[] holds all registered calendars
         */
index ff92ebb54444892dc4210283751b0b63829ea2cc..9e63798475bfb580195d44deb860f73fde4559aa 100644 (file)
@@ -35,7 +35,6 @@ use OCP\Capabilities\IInitialStateExcludedCapability;
 use Psr\Log\LoggerInterface;
 
 class CapabilitiesManager {
-
        /** @var \Closure[] */
        private $capabilities = [];
 
index 72cbfd4de4b88fb167bfa81bb00f752cf9ca0c7b..a9038a0aa35e898888effc55f80e24dc240fdbac 100644 (file)
@@ -38,7 +38,6 @@ use OCP\Share\IShare;
 use Psr\Log\LoggerInterface;
 
 class LookupPlugin implements ISearchPlugin {
-
        /** @var IConfig */
        private $config;
        /** @var IClientService */
index ba4005c2139305ee9e380e07bf1cd9e38bab28df..2e67c041566fd2620a0d6330980c777c988c868a 100644 (file)
@@ -37,7 +37,6 @@ use OCP\IDBConnection;
 use OCP\IUser;
 
 class Collection implements ICollection {
-
        /** @var IManager|Manager */
        protected $manager;
 
index 4b099f33b4fcabde4d0390181ddb5f7e8b75bd51..4f5ed53b16256df4da397cd476155ebdd9f5096e 100644 (file)
@@ -33,7 +33,6 @@ use OCP\IServerContainer;
 use Psr\Log\LoggerInterface;
 
 class ProviderManager implements IProviderManager {
-
        /** @var string[] */
        protected $providers = [];
 
index f138204403cb27d7343f393e2e6b7d3744bbaedc..b5e0215cb39cd56da4775fe592af18f07202548f 100644 (file)
@@ -33,7 +33,6 @@ use OCP\IDBConnection;
 use OCP\IUser;
 
 class Resource implements IResource {
-
        /** @var IManager */
        protected $manager;
 
index c481e36f95b0819497eeffbda8631b0a4b71b69a..f9e5c166872452c952a01e48061cca381ec59d58 100644 (file)
@@ -306,7 +306,7 @@ class Comment implements IComment {
         */
        public function setActor($actorType, $actorId) {
                if (
-                          !is_string($actorType) || !trim($actorType)
+                       !is_string($actorType) || !trim($actorType)
                        || !is_string($actorId) || $actorId === ''
                ) {
                        throw new \InvalidArgumentException('String expected.');
@@ -388,7 +388,7 @@ class Comment implements IComment {
         */
        public function setObject($objectType, $objectId) {
                if (
-                          !is_string($objectType) || !trim($objectType)
+                       !is_string($objectType) || !trim($objectType)
                        || !is_string($objectId) || trim($objectId) === ''
                ) {
                        throw new \InvalidArgumentException('String expected.');
index 3eb9aab6817fa4f017bdf0b384481dcfeada4e9b..00cf323bfbfc36c75408cefbcb8659c44d9eaeb1 100644 (file)
@@ -47,7 +47,6 @@ use OCP\Util;
 use Psr\Log\LoggerInterface;
 
 class Manager implements ICommentsManager {
-
        /** @var  IDBConnection */
        protected $dbConn;
 
index c2fb3d37ab7ffba0e4a7ae4cb284f3fa20b061ff..2b59a284b61bc307bdc0c949676e75320afc4026 100644 (file)
@@ -30,7 +30,6 @@ use OCP\Comments\ICommentsManagerFactory;
 use OCP\IServerContainer;
 
 class ManagerFactory implements ICommentsManagerFactory {
-
        /**
         * Server container
         *
index 891951a88e5e552dbd0f233da97c9f37d04a71e5..739c43d0bce0d94da67b234ab038800d7c0fdce9 100644 (file)
@@ -27,7 +27,6 @@ use OCP\Contacts\ContactsMenu\IActionFactory;
 use OCP\Contacts\ContactsMenu\ILinkAction;
 
 class ActionFactory implements IActionFactory {
-
        /**
         * {@inheritDoc}
         */
index 3bbe679e99947617a95247b309aec07b7f675762..51fde7604074939edb08b8711206fb40b645e5fc 100644 (file)
@@ -31,7 +31,6 @@ use OCP\Contacts\ContactsMenu\IAction;
 use OCP\Contacts\ContactsMenu\IEntry;
 
 class Entry implements IEntry {
-
        /** @var string|int|null */
        private $id = null;
 
index cc8111774d1854cffe5b75fd55a7e42cdd890be8..5a02968ad9bc5a933e3534cb1146b58d3040a494 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Contacts\IManager;
 use OCP\IAddressBook;
 
 class ContactsManager implements IManager {
-
        /**
         * This function is used to search and find contacts within the users address books.
         * In case $pattern is empty all contacts will be returned.
index 334006d1706ce40167a51538589c220caac1b2f5..acaa529c0e2d8de342768420f5438d02146e78b6 100644 (file)
@@ -36,7 +36,6 @@ use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
  * handled by the database abstraction layer.
  */
 class Adapter {
-
        /**
         * @var \OC\DB\Connection $conn
         */
index b4be5c2e96a87da8fc26283fa6aedb302d3b3b5a..295783616b6786c2bd98d09f6f330b41605ad00c 100644 (file)
@@ -23,7 +23,6 @@
 namespace OC\DB;
 
 class AdapterMySQL extends Adapter {
-
        /** @var string */
        protected $collation;
 
index bed7194ac39ca60c4ce430c7479f04e61f6541d0..27c700bce7f899c9b7fb6205934694e7694cd528 100644 (file)
@@ -29,7 +29,6 @@ namespace OC\DB;
 use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
 
 class AdapterSqlite extends Adapter {
-
        /**
         * @param string $tableName
         */
index b21bce490f465df852da1c9bab2716e59ec04cc7..a53c7ecd994fc19d47b80058d02c63e4272af66f 100644 (file)
@@ -38,7 +38,6 @@ use OCP\IDBConnection;
  * Adapts the public API to our internal DBAL connection wrapper
  */
 class ConnectionAdapter implements IDBConnection {
-
        /** @var Connection */
        private $inner;
 
index ca0119a576cb19bcb785fcf97da3e6c01ada7fa5..f9610c5bf2597bef32cec2feefe3e1c734f90f61 100644 (file)
@@ -49,7 +49,6 @@ use OCP\DB\Exception;
  * @psalm-immutable
  */
 class DbalException extends Exception {
-
        /** @var \Doctrine\DBAL\Exception */
        private $original;
 
index a4bf728881fad56d612920002470532a44ab443b..b78db32eb538d127c9280945f265d84b12c93d5c 100644 (file)
@@ -29,7 +29,6 @@ use OCP\IDBConnection;
  * Various MySQL specific helper functions.
  */
 class MySqlTools {
-
        /**
         * @param IDBConnection $connection
         * @return bool
index df331230f4726b466edca43847f8e6e323b0dcb2..db9fc33f07f3583327cfe85cbaa286a0bd3dcdaf 100644 (file)
@@ -37,7 +37,6 @@ use Doctrine\DBAL\Schema\Schema;
 use Doctrine\DBAL\Schema\Table;
 
 class OracleMigrator extends Migrator {
-
        /**
         * Quote a column's name but changing the name requires recreating
         * the column instance and copying over all properties.
@@ -74,7 +73,7 @@ class OracleMigrator extends Migrator {
         */
        protected function quoteIndex($index) {
                return new Index(
-               //TODO migrate existing uppercase indexes, then $this->connection->quoteIdentifier($index->getName()),
+                       //TODO migrate existing uppercase indexes, then $this->connection->quoteIdentifier($index->getName()),
                        $index->getName(),
                        array_map(function ($columnName) {
                                return $this->connection->quoteIdentifier($columnName);
index a150e9475d3dd25667947ea54aa2996604ae0169..2781d3556e269f45aa4de13f3f06eedc3047aa78 100644 (file)
@@ -33,7 +33,6 @@ use function preg_quote;
  * Various PostgreSQL specific helper functions.
  */
 class PgSqlTools {
-
        /** @var \OCP\IConfig */
        private $config;
 
index 0debc762c872e3ccd71497ca4a18f8d0f8681650..849aa3798328495d8c19ee6de5b219f175496de1 100644 (file)
@@ -42,7 +42,6 @@ use PDO;
  * methods without much magic.
  */
 class PreparedStatement implements IPreparedStatement {
-
        /** @var Statement */
        private $statement;
 
index 3bb54d4b26ecc0e2664110ef59412a106e9aacc6..618487e0f715a7d5a45874a85dd39d913598cf7c 100644 (file)
@@ -31,7 +31,6 @@ use OCP\DB\QueryBuilder\IQueryBuilder;
 use OCP\DB\QueryBuilder\IQueryFunction;
 
 class MySqlExpressionBuilder extends ExpressionBuilder {
-
        /** @var string */
        protected $collation;
 
index f9b58d7d8eda43780f009ee2043b3922660fbe43..caeb800988585c72cc420ea73c2bc9e8b2fe64cf 100644 (file)
@@ -31,7 +31,6 @@ use OCP\DB\QueryBuilder\IQueryBuilder;
 use OCP\DB\QueryBuilder\IQueryFunction;
 
 class OCIExpressionBuilder extends ExpressionBuilder {
-
        /**
         * @param mixed $column
         * @param mixed|null $type
index 0fba5363a28313de514eaf83cf68dcb3b9ccf046..03b58e222f3f83441eb003f0ad212b8cacea4fc1 100644 (file)
@@ -29,7 +29,6 @@ use OCP\DB\QueryBuilder\IQueryBuilder;
 use OCP\DB\QueryBuilder\IQueryFunction;
 
 class PgSqlExpressionBuilder extends ExpressionBuilder {
-
        /**
         * Returns a IQueryFunction that casts the column to the given type
         *
index e81ba61b3a76a631cb86bd9e2b38fe3898673a7d..99eaed07488bac2278687039d66ba7fe7d1481ee 100644 (file)
@@ -56,7 +56,6 @@ use OCP\DB\QueryBuilder\IQueryFunction;
 use Psr\Log\LoggerInterface;
 
 class QueryBuilder implements IQueryBuilder {
-
        /** @var ConnectionAdapter */
        private $connection;
 
index 989839a473d5ab9ecf06dc270487e9c86241bb3f..63881b71e7dc6da213fe58c7b6868eeeab9c3f17 100644 (file)
@@ -33,7 +33,6 @@ use PDO;
  * Adapts DBAL 2.6 API for DBAL 3.x for backwards compatibility of a leaked type
  */
 class ResultAdapter implements IResult {
-
        /** @var Result */
        private $inner;
 
index 76138fee54521d86fc1e8c7784e46354994de861..2be3591afdcbe2bbf9916978361687010dbcdb48 100644 (file)
@@ -28,7 +28,6 @@ use Doctrine\DBAL\Types\BigIntType;
 use Doctrine\DBAL\Types\Type;
 
 class SQLiteMigrator extends Migrator {
-
        /**
         * @param Schema $targetSchema
         * @param \Doctrine\DBAL\Connection $connection
index 40d41f0dafc8c56d75c71279c1c7fc7552d1f4c1..31b74014a9803cdd2ddf75d09c0cf10f140b236f 100644 (file)
@@ -29,7 +29,6 @@ use Doctrine\DBAL\Schema\Schema;
 use OCP\DB\ISchemaWrapper;
 
 class SchemaWrapper implements ISchemaWrapper {
-
        /** @var Connection */
        protected $connection;
 
index ba34219a61589392dffab4e5eb45d6e8dab8a6cb..18a66499167e07b15145423631cb8ca7e98b32ac 100644 (file)
@@ -37,7 +37,6 @@ use Throwable;
 use Psr\Log\LoggerInterface;
 
 class Manager implements IManager {
-
        /** @var array */
        private $lazyWidgets = [];
 
index 7b9bd9630ab2cd1577598ce0eb1238134bf24708..f1dd1addb08e1f0959ce2fb45751cf410aaadd5d 100644 (file)
@@ -31,7 +31,6 @@ use OCP\Diagnostics\IEventLogger;
 use Psr\Log\LoggerInterface;
 
 class EventLogger implements IEventLogger {
-
        /** @var Event[] */
        private $events = [];
 
index 5f98ef51386fe06229059d1c55f9dbb0bd2bc50c..0ec911f9624685513925656f949c2b57f50a234f 100644 (file)
@@ -26,7 +26,6 @@ use OCP\DirectEditing\IToken;
 use OCP\Files\File;
 
 class Token implements IToken {
-
        /** @var Manager */
        private $manager;
        private $data;
index 6d604e38d4b2943195c8687ce0e519a1330b3852..7bf4ce62d282ce8d924b0ca4878593b4fe760ef2 100644 (file)
@@ -37,7 +37,6 @@ use Symfony\Component\Console\Input\InputInterface;
 use Symfony\Component\Console\Output\OutputInterface;
 
 class DecryptAll {
-
        /** @var  OutputInterface */
        protected $output;
 
@@ -250,7 +249,6 @@ class DecryptAll {
         * @return bool
         */
        protected function decryptFile($path) {
-
                // skip already decrypted files
                $fileInfo = $this->rootView->getFileInfo($path);
                if ($fileInfo !== false && !$fileInfo->isEncrypted()) {
index f2803fa5ff8a261bb209e3091f7f4fa13b532a86..37264e8182355c1a580cad34fc9b536b95a371b6 100644 (file)
@@ -40,7 +40,6 @@ use Psr\Log\LoggerInterface;
  * @package OC\Encryption
  */
 class EncryptionWrapper {
-
        /** @var ArrayCache  */
        private $arrayCache;
 
index 7c9e70b4958ba6d972f917e526c837e090a71608..99cfb1eb8d11ee12e86e867fe58ad18f8e5519ae 100644 (file)
@@ -25,7 +25,6 @@ namespace OC\Encryption\Exceptions;
 use OCP\Encryption\Exceptions\GenericEncryptionException;
 
 class EncryptionHeaderKeyExistsException extends GenericEncryptionException {
-
        /**
         * @param string $key
         */
index 64b34e1b883b39382f0e3675cdfb79dc58d6a01c..d0a2756212b6b26fae275d6e79dc66ad8dd5218e 100644 (file)
@@ -25,7 +25,6 @@ namespace OC\Encryption\Exceptions;
 use OCP\Encryption\Exceptions\GenericEncryptionException;
 
 class ModuleAlreadyExistsException extends GenericEncryptionException {
-
        /**
         * @param string $id
         * @param string $name
index 87bc35bc1590c49ed95c01b17f8e90ce077a500d..daab097ce7c6b8d9624e8c81e4d7abb64f6461d8 100644 (file)
@@ -71,7 +71,6 @@ class File implements \OCP\Encryption\IFile {
         * @return array{users: string[], public: bool}
         */
        public function getAccessList($path) {
-
                // Make sure that a share key is generated for the owner too
                [$owner, $ownerPath] = $this->util->getUidAndFilename($path);
 
index a3772af5878e092195f2756a863eea2ed4a74a10..b6376dc0146692f1322a3fe48106fb80b9e93096 100644 (file)
@@ -37,7 +37,6 @@ use OCP\IConfig;
 use OCP\Security\ICrypto;
 
 class Storage implements IStorage {
-
        // hidden file which indicate that the folder is a valid key storage
        public const KEY_STORAGE_MARKER = '.oc_key_storage';
 
index 5788da990d58169d9d4954773c583a64bee491d3..a553d6a55d18ae02b90a84c09691fa5775674d12 100644 (file)
@@ -37,7 +37,6 @@ use OCP\IL10N;
 use Psr\Log\LoggerInterface;
 
 class Manager implements IManager {
-
        /** @var array */
        protected $encryptionModules;
 
index 9996d6e077c9621f9662e795edecf396697a73de..2e390177baf33e9b561e356f0ac4d9925ca5b688 100644 (file)
@@ -37,7 +37,6 @@ use Psr\Log\LoggerInterface;
  * update encrypted files, e.g. because a file was shared
  */
 class Update {
-
        /** @var View */
        protected $view;
 
index bf7bbce8ad71d1f7c6039bf6e231fb0fb1a4cc1a..371f2588289cf74b5f30a9ab6af202197fae7834 100644 (file)
@@ -308,7 +308,6 @@ class Util {
                $normalizedPath = Filesystem::normalizePath($path);
                $root = explode('/', $normalizedPath, 4);
                if (count($root) > 1) {
-
                        // detect alternative key storage root
                        $rootDir = $this->getKeyStorageRoot();
                        if ($rootDir !== '' &&
index 7de1f68d8d77dd236226b454eb2ae97c513ea9c4..2a3063449233a8d0ecd5187bd76b45c730ea4c84 100644 (file)
@@ -39,7 +39,6 @@ use OCP\IServerContainer;
 use Symfony\Component\EventDispatcher\EventDispatcher as SymfonyDispatcher;
 
 class EventDispatcher implements IEventDispatcher {
-
        /** @var SymfonyDispatcher */
        private $dispatcher;
 
index a7e15f1df1b536ccdd5162da15c653c91e0d2501..21cdf7f8cc21e1aac923a33ce1aee441b98b8de5 100644 (file)
@@ -41,7 +41,6 @@ use function sprintf;
  * created by the service container
  */
 final class ServiceEventListener {
-
        /** @var IServerContainer */
        private $container;
 
index a12e932e380dc231ef32ab7204d2ebed1800e63e..aa6fcbc1ad341f008aab33dc1ddd4bec60d8900d 100644 (file)
@@ -40,7 +40,6 @@ use function is_string;
  * @deprecated 20.0.0 use \OCP\EventDispatcher\IEventDispatcher
  */
 class SymfonyAdapter implements EventDispatcherInterface {
-
        /** @var EventDispatcher */
        private $eventDispatcher;
        private LoggerInterface $logger;
index 010ffdafe47f497d16900c9f137a0b6e8f32713d..391213c21e0b1b639a6c0607193e9ceadb8fc769 100644 (file)
@@ -27,7 +27,6 @@ use OCP\Federation\ICloudFederationNotification;
 use OCP\Federation\ICloudFederationShare;
 
 class CloudFederationFactory implements ICloudFederationFactory {
-
        /**
         * get a CloudFederationShare Object to prepare a share you want to send
         *
index f077e36d97d97b599f831cd78927f92efa4f1174..b11c4060ab4f2b29550e082313d86a8009c90065 100644 (file)
@@ -42,7 +42,6 @@ use Psr\Log\LoggerInterface;
  * @package OC\Federation
  */
 class CloudFederationProviderManager implements ICloudFederationProviderManager {
-
        /** @var array list of available cloud federation providers */
        private $cloudFederationProvider;
 
index 3529ede9746d7a9b7da71a393f53f26dc88a4cfd..eba2aac927bc47a055bcf51e305c25957ee96ae6 100644 (file)
@@ -38,7 +38,6 @@ use OCP\IDBConnection;
 use Psr\Log\LoggerInterface;
 
 class QuerySearchHelper {
-
        /** @var IMimeTypeLoader */
        private $mimetypeLoader;
        /** @var IDBConnection */
index 7be9c75026287b614e57f80dc90298236a40739c..f7d1d105d83ca5de9bddc7c0ba87d41b3ca86206 100644 (file)
@@ -142,7 +142,6 @@ class Scanner extends BasicEmitter implements IScanner {
                }
                // only proceed if $file is not a partial file, blacklist is handled by the storage
                if (!self::isPartialFile($file)) {
-
                        // acquire a lock
                        if ($lock) {
                                if ($this->storage->instanceOfStorage('\OCP\Files\Storage\ILockingStorage')) {
@@ -164,7 +163,6 @@ class Scanner extends BasicEmitter implements IScanner {
 
                        try {
                                if ($data) {
-
                                        // pre-emit only if it was a file. By that we avoid counting/treating folders as files
                                        if ($data['mimetype'] !== 'httpd/unix-directory') {
                                                $this->emit('\OC\Files\Cache\Scanner', 'scanFile', [$file, $this->storageId]);
index 1a8c3637063dec24328853da2f9d181bce2ef86a..63dc4b9cd0e23e13db23e77cb4f076eabdbbb63f 100644 (file)
@@ -111,7 +111,7 @@ class SearchBuilder {
                                        } else {
                                                throw new \InvalidArgumentException('Binary operators inside "not" is not supported');
                                        }
-                               // no break
+                                       // no break
                                case ISearchBinaryOperator::OPERATOR_AND:
                                        return call_user_func_array([$expr, 'andX'], $this->searchOperatorArrayToDBExprArray($builder, $operator->getArguments()));
                                case ISearchBinaryOperator::OPERATOR_OR:
index 6c763540847fd368e00c10a4d27a485a8978641c..64a6fc57b27f9b3e6fe4d460ca83c7f103f6d6de 100644 (file)
@@ -49,7 +49,6 @@ use OCP\IUserManager;
 use OCP\IUserSession;
 
 class Filesystem {
-
        /**
         * @var Mount\Manager $mounts
         */
index 1e10c3ad593b0814b232a6f687741cf7265d9e3c..2f6db935236af5a805ac9f94f83b575b68e9886e 100644 (file)
@@ -26,7 +26,6 @@ declare(strict_types=1);
 namespace OC\Files\ObjectStore;
 
 class AppdataPreviewObjectStoreStorage extends ObjectStoreStorage {
-
        /** @var string */
        private $internalId;
 
index afc0ac96abc8087dbceeefe4992be9d889342641..824adcc1d0e22ead9cb935680a68290a94a2586b 100644 (file)
@@ -28,7 +28,6 @@ namespace OC\Files\ObjectStore;
 use OC\User\User;
 
 class HomeObjectStoreStorage extends ObjectStoreStorage implements \OCP\Files\IHomeStorage {
-
        /**
         * The home user storage requires a user object to create a unique storage id
         * @param array $params
index 02b65bf37f74db709915266bd58c13efd286c841..d0c5bd14b38372413bd381379b58eb3d1cdca6fd 100644 (file)
@@ -342,7 +342,7 @@ class ObjectStoreStorage extends \OC\Files\Storage\Common {
                                } else {
                                        return false;
                                }
-                       // no break
+                               // no break
                        case 'w':
                        case 'wb':
                        case 'w+':
index ec5cd59d96011d2c4ad924ada327eb875bf2af77..979e4ce966ae5ae5041126ea467df56360f714b4 100644 (file)
@@ -191,10 +191,10 @@ class SetupManager {
                                return new PermissionsMask([
                                        'storage' => $storage,
                                        'mask' => Constants::PERMISSION_ALL & ~(
-                                                       Constants::PERMISSION_UPDATE |
-                                                       Constants::PERMISSION_CREATE |
-                                                       Constants::PERMISSION_DELETE
-                                               ),
+                                               Constants::PERMISSION_UPDATE |
+                                               Constants::PERMISSION_CREATE |
+                                               Constants::PERMISSION_DELETE
+                                       ),
                                ]);
                        }
                        return $storage;
index 1f267119871a1a21bab6165fcd9612c5181d8210..4d24aa138c13cd9cbdb80fb632a66c8983d92977 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Files\SimpleFS\ISimpleFolder;
 use OCP\Files\SimpleFS\ISimpleFile;
 
 class SimpleFolder implements ISimpleFolder {
-
        /** @var Folder */
        private $folder;
 
index a53ed5d19572c4c7ea915bf8e95961ae4e3f667c..0c121feb11ef71773c095df39951a1110684e442 100644 (file)
@@ -523,7 +523,6 @@ abstract class Common implements Storage, ILockingStorage, IWriteStreamStorage {
         * @throws InvalidPathException
         */
        public function verifyPath($path, $fileName) {
-
                // verify empty and dot files
                $trimmed = trim($fileName);
                if ($trimmed === '') {
index 482cdc453afcbf74bf652773cd2846f75becac3b..d748b3410c3f9e0823ce110138fa2a204f26e570 100644 (file)
@@ -34,7 +34,6 @@ use OCP\Lock\ILockingProvider;
  * Storage placeholder to represent a missing precondition, storage unavailable
  */
 class FailedStorage extends Common {
-
        /** @var \Exception */
        protected $e;
 
index 2a1338148f57127844a10bf88ad68c47ca61932e..2ac0a74b6928a4c98f748f536a39e40725347d90 100644 (file)
@@ -35,7 +35,6 @@ namespace OC\Files\Storage;
  * in classes which extend it, e.g. $this->stat() .
  */
 trait LocalTempFileTrait {
-
        /** @var string[] */
        protected $cachedFiles = [];
 
index cc317de266918707df974f1667a44521fe4d1c85..0a2511de164ff125639526bf152d96a84b5b0c07 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Lock\ILockingProvider;
  * All paths passed to the storage are relative to the storage and should NOT have a leading slash.
  */
 interface Storage extends \OCP\Files\Storage {
-
        /**
         * get a cache instance for the storage
         *
index cb82e00845c36ead8337f50ba52a02b41c711382..ed680f5045d19bc01cd6a6f47af3728dbadbb1cc 100644 (file)
@@ -40,7 +40,6 @@ use OCP\ICache;
  * the actual given name and then try its NFD form.
  */
 class Encoding extends Wrapper {
-
        /**
         * @var ICache
         */
index 2f7123426d11622b5e5db64d002d761da37d2551..be0db3d414a4e03236b422b2d40a6a0436b1e390 100644 (file)
@@ -375,7 +375,6 @@ class Encryption extends Wrapper {
         * @throws ModuleDoesNotExistsException
         */
        public function fopen($path, $mode) {
-
                // check if the file is stored in the array cache, this means that we
                // copy a file over to the versions folder, in this case we don't want to
                // decrypt it
@@ -685,7 +684,6 @@ class Encryption extends Wrapper {
                $preserveMtime = false,
                $isRename = false
        ) {
-
                // TODO clean this up once the underlying moveFromStorage in OC\Files\Storage\Wrapper\Common is fixed:
                // - call $this->storage->copyFromStorage() instead of $this->copyBetweenStorage
                // - copy the file cache update from  $this->copyBetweenStorage to this method
@@ -766,7 +764,6 @@ class Encryption extends Wrapper {
                $preserveMtime,
                $isRename
        ) {
-
                // for versions we have nothing to do, because versions should always use the
                // key from the original file. Just create a 1:1 copy and done
                if ($this->isVersion($targetInternalPath) ||
index 9cc8b238ee1c2d380d5a132a47c4cf52053a369c..cebf7bafced7b7d961a16440eeab75e4d8671900 100644 (file)
@@ -37,7 +37,6 @@ use function is_array;
 use function stream_context_create;
 
 class Encryption extends Wrapper {
-
        /** @var \OC\Encryption\Util */
        protected $util;
 
@@ -375,7 +374,6 @@ class Encryption extends Wrapper {
 
                        // only allow writes on seekable streams, or at the end of the encrypted stream
                        if (!$this->readOnly && ($resultFseek || $positionInFile === $this->size)) {
-
                                // switch the writeFlag so flush() will write the block
                                $this->writeFlag = true;
                                $this->fileUpdated = true;
@@ -392,7 +390,7 @@ class Encryption extends Wrapper {
                                        $length += $remainingLength;
                                        $data = '';
                                // if $data doesn't fit the current block, the fill the current block and reiterate
-                                       // after the block is filled, it is flushed and $data is updatedxxx
+                               // after the block is filled, it is flushed and $data is updatedxxx
                                } else {
                                        $this->cache = substr($this->cache, 0, $blockPosition) .
                                                substr($data, 0, $this->unencryptedBlockSize - $blockPosition);
index 4cade02446003e469552e3e2a472038a4ebf6065..432bc4c4d6d1547624a3c835768a8bb68e38fb99 100644 (file)
@@ -202,7 +202,6 @@ class Detection implements IMimeTypeDetector {
 
                // note: leading dot doesn't qualify as extension
                if (strpos($fileName, '.') > 0) {
-
                        // remove versioning extension: name.v1508946057 and transfer extension: name.ocTransferId2057600214.part
                        $fileName = preg_replace('!((\.v\d+)|((\.ocTransferId\d+)?\.part))$!', '', $fileName);
 
index 8193a3f7b0350ca9545e6f9d3aa52cffe0c43244..bf5af36ec6e7c73b5f8377ebc8918f237e46c5ea 100644 (file)
@@ -33,7 +33,6 @@ use OCP\IDBConnection;
  * @package OC\Files\Type
  */
 class Loader implements IMimeTypeLoader {
-
        /** @var IDBConnection */
        private $dbConnection;
 
@@ -121,7 +120,7 @@ class Loader implements IMimeTypeLoader {
                        ->from('mimetypes')
                        ->where(
                                $fetch->expr()->eq('mimetype', $fetch->createNamedParameter($mimetype)
-                       ));
+                               ));
 
                $result = $fetch->execute();
                $row = $result->fetch();
index 16a9381768b3aa2ddc4aaf1c3ffda5bb9a2ae162..8f073da9164c88238f165faea5b74afbefa72bee 100644 (file)
@@ -821,14 +821,14 @@ class View {
                                                        } else {
                                                                $result = false;
                                                        }
-                                                       // moving a file/folder within the same mount point
+                                               // moving a file/folder within the same mount point
                                                } elseif ($storage1 === $storage2) {
                                                        if ($storage1) {
                                                                $result = $storage1->rename($internalPath1, $internalPath2);
                                                        } else {
                                                                $result = false;
                                                        }
-                                                       // moving a file/folder between storages (from $storage1 to $storage2)
+                                               // moving a file/folder between storages (from $storage1 to $storage2)
                                                } else {
                                                        $result = $storage2->moveFromStorage($storage1, $internalPath1, $internalPath2);
                                                }
@@ -1047,7 +1047,6 @@ class View {
        public function fromTmpFile($tmpFile, $path) {
                $this->assertPathLength($path);
                if (Filesystem::isValidPath($path)) {
-
                        // Get directory that the file is going into
                        $filePath = dirname($path);
 
@@ -1803,7 +1802,6 @@ class View {
         * @return boolean
         */
        private function targetIsNotShared(IStorage $targetStorage, string $targetInternalPath) {
-
                // note: cannot use the view because the target is already locked
                $fileId = (int)$targetStorage->getCache()->getId($targetInternalPath);
                if ($fileId === -1) {
index 6265c6dc94d9c4d8a72e6172d3006349c5cd1056..8d850513949c5c4b78528620f8356a7e150d5bdf 100644 (file)
@@ -39,8 +39,6 @@ use OCP\FullTextSearch\Service\ISearchService;
  * @package OC\FullTextSearch
  */
 class FullTextSearchManager implements IFullTextSearchManager {
-
-
        /** @var IProviderService */
        private $providerService;
 
index 3fe08dfcc083c76a76226ddaae66c0c8ec8cabb6..cb2b95284f1d7c61495a9d55f7692259113c87d6 100644 (file)
@@ -49,8 +49,6 @@ use OCP\FullTextSearch\Model\IDocumentAccess;
  * @package OC\FullTextSearch\Model
  */
 final class DocumentAccess implements IDocumentAccess, JsonSerializable {
-
-
        /** @var string */
        private $ownerId;
 
index 3078f12c4653f23b4bfd997c039da6ab831ff79b..74788463693adb76ab0989b6b65d22e52c87ecbc 100644 (file)
@@ -47,8 +47,6 @@ use OCP\FullTextSearch\Model\IIndexDocument;
  * @package OC\FullTextSearch\Model
  */
 class IndexDocument implements IIndexDocument, JsonSerializable {
-
-
        /** @var string */
        protected $id = '';
 
index c4c63a801a3b74b5c0cd84f35b7304ce6d5ee49c..91f45db5fb481c800eafdb5a29ebe7318b0cd7ce 100644 (file)
@@ -36,8 +36,6 @@ use OCP\FullTextSearch\Model\ISearchOption;
  * @package OC\FullTextSearch\Model
  */
 final class SearchOption implements ISearchOption, JsonSerializable {
-
-
        /** @var string */
        private $name = '';
 
index d6bfe6d91023a376a05f55dfd60d15ee70555c81..c58d55b9b553185639fee37cf8d4902eea6087f9 100644 (file)
@@ -37,8 +37,6 @@ use OCP\FullTextSearch\Model\ISearchRequestSimpleQuery;
  * @package OC\FullTextSearch\Model
  */
 final class SearchRequestSimpleQuery implements ISearchRequestSimpleQuery, JsonSerializable {
-
-
        /** @var int */
        private $type = 0;
 
index eb1ab8ead84bef6d926355bb4adc6a81d8a6b722..4bb56f24b58a6c0297a4502c32b5c925a07b14d6 100644 (file)
@@ -56,8 +56,6 @@ use OCP\FullTextSearch\Model\ISearchTemplate;
  * @package OC\FullTextSearch\Model
  */
 final class SearchTemplate implements ISearchTemplate, JsonSerializable {
-
-
        /** @var string */
        private $icon = '';
 
index 71bcbbc4a1eaf6ecc7293630aec3dd35900562ae..a5449ade691eb12b40e05dd74d235128881d7ad6 100644 (file)
@@ -25,7 +25,6 @@ namespace OC\GlobalScale;
 use OCP\IConfig;
 
 class Config implements \OCP\GlobalScale\IConfig {
-
        /** @var IConfig */
        private $config;
 
index 7b7ee41def9b2705c6b5fa491cf9097742159698..5f17477db772b719dedd563e367103e770ee0de2 100644 (file)
@@ -49,16 +49,15 @@ use OCP\IDBConnection;
  */
 class Database extends ABackend implements
        IAddToGroupBackend,
-                          ICountDisabledInGroup,
-                          ICountUsersBackend,
-                          ICreateGroupBackend,
-                          IDeleteGroupBackend,
-                          IGetDisplayNameBackend,
-                          IGroupDetailsBackend,
-                          IRemoveFromGroupBackend,
-                          ISetDisplayNameBackend,
-                          INamedBackend {
-
+       ICountDisabledInGroup,
+       ICountUsersBackend,
+       ICreateGroupBackend,
+       IDeleteGroupBackend,
+       IGetDisplayNameBackend,
+       IGroupDetailsBackend,
+       IRemoveFromGroupBackend,
+       ISetDisplayNameBackend,
+       INamedBackend {
        /** @var string[] */
        private $groupCache = [];
 
index de012cca0449816e7e0a38b48e946e696fd5a937..da4e3da2bd6599d3607f35cd4ac9a7480ed863d5 100644 (file)
@@ -27,7 +27,6 @@ namespace OC\Hooks;
  * @deprecated 18.0.0 use events and the \OCP\EventDispatcher\IEventDispatcher service
  */
 trait EmitterTrait {
-
        /**
         * @var callable[][] $listeners
         */
index 17e2ed658a602cdc796ed81bbc1fb93297eac5a9..b83ff2ada509141335bb81a0f1430edf9817b526 100644 (file)
@@ -39,7 +39,6 @@ use RuntimeException;
 use function array_reduce;
 
 class RequestManager {
-
        /** @var Coordinator */
        private $coordinator;
 
index 4920e1bf40e023dfd2c972633587f40e2198921f..1d997e4133a3dd6924abce59ee170fa72f33cdce 100644 (file)
@@ -37,7 +37,6 @@ use OCP\IServerContainer;
 use Psr\Log\LoggerInterface;
 
 class InitialStateService implements IInitialStateService {
-
        /** @var LoggerInterface */
        private $logger;
 
index ba555cff438814ee2a5edea0cee0f7e2a7092e65..9587e0fd42a8863b7bde77ff48393f0caac0aae9 100644 (file)
@@ -259,7 +259,7 @@ class Checker {
                        $hashes = $this->generateHashes($iterator, $path);
                        $signature = $this->createSignatureData($hashes, $certificate, $privateKey);
                        $this->fileAccessHelper->file_put_contents(
-                                       $appInfoDir . '/signature.json',
+                               $appInfoDir . '/signature.json',
                                json_encode($signature, JSON_PRETTY_PRINT)
                        );
                } catch (\Exception $e) {
@@ -357,7 +357,7 @@ class Checker {
                // Verify if certificate has proper CN. "core" CN is always trusted.
                if ($x509->getDN(X509::DN_OPENSSL)['CN'] !== $certificateCN && $x509->getDN(X509::DN_OPENSSL)['CN'] !== 'core') {
                        throw new InvalidSignatureException(
-                                       sprintf('Certificate is not valid for required scope. (Requested: %s, current: CN=%s)', $certificateCN, $x509->getDN(true)['CN'])
+                               sprintf('Certificate is not valid for required scope. (Requested: %s, current: CN=%s)', $certificateCN, $x509->getDN(true)['CN'])
                        );
                }
 
@@ -515,10 +515,10 @@ class Checker {
                                $path = $this->appLocator->getAppPath($appId);
                        }
                        $result = $this->verify(
-                                       $path . '/appinfo/signature.json',
-                                       $path,
-                                       $appId,
-                                       $forceVerify
+                               $path . '/appinfo/signature.json',
+                               $path,
+                               $appId,
+                               $forceVerify
                        );
                } catch (\Exception $e) {
                        $result = [
@@ -566,9 +566,9 @@ class Checker {
        public function verifyCoreSignature(): array {
                try {
                        $result = $this->verify(
-                                       $this->environmentHelper->getServerRoot() . '/core/signature.json',
-                                       $this->environmentHelper->getServerRoot(),
-                                       'core'
+                               $this->environmentHelper->getServerRoot() . '/core/signature.json',
+                               $this->environmentHelper->getServerRoot(),
+                               'core'
                        );
                } catch (\Exception $e) {
                        $result = [
index fa0453e03294af0479f265f89197ffd2b5b6f53e..532d3ccb5658f3eed4e79df2c0c215720d3e5686 100644 (file)
@@ -34,7 +34,6 @@ use OCP\AppFramework\Db\Entity;
  * @method string getKnownUser()
  */
 class KnownUser extends Entity {
-
        /** @var string */
        protected $knownTo;
 
index 71910873db77f93974ccb8befb551363abd42d28..593af02bd1c086e3c2ce5a4b3b0fd408d250ce80 100644 (file)
@@ -54,7 +54,6 @@ use function is_null;
  * A factory that generates language instances
  */
 class Factory implements IFactory {
-
        /** @var string */
        protected $requestLanguage = '';
 
index 82ef3350b1f8b5a980a974c39878dbef17ac50e4..d0794c9c9c06fab2523eead3467ed10dbfa97aeb 100644 (file)
@@ -34,7 +34,6 @@ use Punic\Calendar;
 use Symfony\Component\Translation\IdentityTranslator;
 
 class L10N implements IL10N {
-
        /** @var IFactory */
        protected $factory;
 
index 4a76667caf24b6fb77e0539638a1e0be4484d706..b3549782d543acac42a5bf5d195c354e2e97c1d5 100644 (file)
@@ -63,8 +63,8 @@ class LanguageIterator implements ILanguageIterator {
                                        return $forcedLang;
                                }
                                $this->next();
-                       /** @noinspection PhpMissingBreakStatementInspection */
-                       // no break
+                               /** @noinspection PhpMissingBreakStatementInspection */
+                               // no break
                        case 1:
                                $forcedLang = $this->config->getSystemValue('force_language', false);
                                if (is_string($forcedLang)
@@ -73,16 +73,16 @@ class LanguageIterator implements ILanguageIterator {
                                        return $truncated;
                                }
                                $this->next();
-                       /** @noinspection PhpMissingBreakStatementInspection */
-                       // no break
+                               /** @noinspection PhpMissingBreakStatementInspection */
+                               // no break
                        case 2:
                                $userLang = $this->config->getUserValue($this->user->getUID(), 'core', 'lang', null);
                                if (is_string($userLang)) {
                                        return $userLang;
                                }
                                $this->next();
-                       /** @noinspection PhpMissingBreakStatementInspection */
-                       // no break
+                               /** @noinspection PhpMissingBreakStatementInspection */
+                               // no break
                        case 3:
                                $userLang = $this->config->getUserValue($this->user->getUID(), 'core', 'lang', null);
                                if (is_string($userLang)
@@ -94,7 +94,7 @@ class LanguageIterator implements ILanguageIterator {
                                // no break
                        case 4:
                                return $this->config->getSystemValue('default_language', 'en');
-                       /** @noinspection PhpMissingBreakStatementInspection */
+                               /** @noinspection PhpMissingBreakStatementInspection */
                        case 5:
                                $defaultLang = $this->config->getSystemValue('default_language', 'en');
                                if (($truncated = $this->getTruncatedLanguage($defaultLang)) !== $defaultLang) {
index f56761799b32119c5d0f3f058ef9caa26852f8dd..3226c1a604b16727162ec5c651c14e983a2e150b 100644 (file)
@@ -28,7 +28,6 @@ namespace OC\L10N;
 use OCP\IL10N;
 
 class LazyL10N implements IL10N {
-
        /** @var IL10N */
        private $l;
 
index ff56932a8944321104fa6f4c189d5d51fa3947fe..542cb5c028e16d7791984fd4b56f80bf71d384c9 100644 (file)
@@ -34,7 +34,6 @@ use OCP\Lock\ILockingProvider;
  * To be used when locking is disabled.
  */
 class NoopLockingProvider implements ILockingProvider {
-
        /**
         * {@inheritdoc}
         */
index 2ee5bfc9c5a4104b05c85466ff618ce7ae9d9549..c139510a3b3fe05f410b93d6a63aa950cd409cf1 100644 (file)
@@ -237,7 +237,6 @@ class Log implements ILogger, IDataLogger {
                        // default to false to just process this once per request
                        $this->logConditionSatisfied = false;
                        if (!empty($logCondition)) {
-
                                // check for secret token in the request
                                if (isset($logCondition['shared_secret'])) {
                                        $request = \OC::$server->getRequest();
index 5c00528210abafc0adc8ad3dc397cc87d42bce53..72d11aa098c65bac8a40c80ca22fbda85c949342 100644 (file)
@@ -32,7 +32,6 @@ use OC\SystemConfig;
 use OCP\Log\IWriter;
 
 class Errorlog extends LogDetails implements IWriter {
-
        /** @var string */
        protected $tag;
 
index b35445727082f8c74000412e209a253a756c7c24..c82904d7cea4031d9aabc69d2f89cb5e35621281 100644 (file)
@@ -28,7 +28,6 @@ namespace OC\Log;
 use OC\SystemConfig;
 
 abstract class LogDetails {
-
        /** @var SystemConfig */
        private $config;
 
index 2fdadc3bdb24d11c903d9945d17584cb895d4502..a5008f5ef77c1d9ddf65e0fa16ffb6a0edc48c3b 100644 (file)
@@ -57,7 +57,7 @@ class LogFactory implements ILogFactory {
                        case 'file':
                                return $this->buildLogFile();
 
-                       // Backwards compatibility for old and fallback for unknown log types
+                               // Backwards compatibility for old and fallback for unknown log types
                        case 'owncloud':
                        case 'nextcloud':
                        default:
index 1cf81c49a69a7cdaeeea1ae8adf18faa84e460f3..80c4c187b13b15080b2cabba7f175ad13f191c40 100644 (file)
@@ -35,7 +35,6 @@ use function array_key_exists;
 use function array_merge;
 
 final class PsrLoggerAdapter implements LoggerInterface, IDataLogger {
-
        /** @var Log */
        private $logger;
 
index 20a6062371360f8977804975b178d66e119d9eda..8619cb5e4dd9af991a6c9ceb7b6a40d0de000b06 100644 (file)
@@ -78,7 +78,7 @@ class Systemdlog extends LogDetails implements IWriter {
        public function write(string $app, $message, int $level) {
                $journal_level = $this->levels[$level];
                sd_journal_send('PRIORITY='.$journal_level,
-                               'SYSLOG_IDENTIFIER='.$this->syslogId,
-                               'MESSAGE=' . $this->logDetailsAsJSON($app, $message, $level));
+                       'SYSLOG_IDENTIFIER='.$this->syslogId,
+                       'MESSAGE=' . $this->logDetailsAsJSON($app, $message, $level));
        }
 }
index bebcd19e107ed9d520240d76afea514b0f5534a9..12f71df86d9f3185a3e0301eefb8933731fcf08f 100644 (file)
@@ -35,7 +35,6 @@ use OCP\Mail\IAttachment;
  * @since 13.0.0
  */
 class Attachment implements IAttachment {
-
        /** @var \Swift_Mime_Attachment */
        protected $swiftAttachment;
 
index f0eb98b9db2a85fab67a46d095f5fef330a98d83..957926ab84854b93a7ede6af09bfc797372253cc 100644 (file)
@@ -156,8 +156,8 @@ class APCu extends Cache implements IMemcache {
                } elseif (!\OC::$server->get(IniGetWrapper::class)->getBool('apc.enable_cli') && \OC::$CLI) {
                        return false;
                } elseif (
-                               version_compare(phpversion('apc') ?: '0.0.0', '4.0.6') === -1 &&
-                               version_compare(phpversion('apcu') ?: '0.0.0', '5.1.0') === -1
+                       version_compare(phpversion('apc') ?: '0.0.0', '4.0.6') === -1 &&
+                       version_compare(phpversion('apcu') ?: '0.0.0', '5.1.0') === -1
                ) {
                        return false;
                } else {
index b8fb25e9655492b40938991b4f98a62f89390420..9e3396f2a75e3499a4c57ca6847046f783a46e0e 100644 (file)
@@ -34,7 +34,6 @@ use Symfony\Component\Console\Output\OutputInterface;
  * @package OC\Migration
  */
 class ConsoleOutput implements IOutput {
-
        /** @var OutputInterface */
        private $output;
 
index 6d1375a611b96e265bcf5743cc155b4073405eb0..ff9cf9e38f5615659086a369f30d8b405e2767dd 100644 (file)
@@ -27,7 +27,6 @@ namespace OC\Notification;
 use OCP\Notification\IAction;
 
 class Action implements IAction {
-
        /** @var string */
        protected $label;
 
index 578152ff10894d55924279aa81546462f8bc772d..2c630531b17c958f42e6e7b770e6f6a747f89c15 100644 (file)
@@ -32,7 +32,6 @@ use OCP\IURLGenerator;
  * @package OC\OCS
  */
 class CoreCapabilities implements ICapability {
-
        /** @var IConfig */
        private $config;
 
index 7ab876811e742c13a98565688c048aee209f07d8..8f98ff7d5aeb7aae913643d3dcb25ea5d1fe0f40 100644 (file)
@@ -36,7 +36,6 @@ use OCP\ICacheFactory;
 use OCP\OCS\IDiscoveryService;
 
 class DiscoveryService implements IDiscoveryService {
-
        /** @var ICache */
        private $cache;
 
index 981c138b385a40d1b2bb784e7e66988c02afa3ff..ca3c3f704305ef740fb6015c878ddf1577e49164 100644 (file)
@@ -23,7 +23,6 @@
 namespace OC\OCS;
 
 class Exception extends \Exception {
-
        /** @var Result */
        private $result;
 
index 73c2bf982723c6d200eea03077be58213f2a309e..d77e360e6d29ea7ad024e89577773804253746b5 100644 (file)
@@ -31,7 +31,6 @@
 namespace OC\OCS;
 
 class Result {
-
        /** @var array  */
        protected $data;
 
index ffe5bc88856cee2f1f5106836efbb35a38604210..84c7b4a8968cd951ba0aa268ea5cca228cd595a7 100644 (file)
@@ -37,7 +37,6 @@ use Psr\Log\LoggerInterface;
  * @package OC\Preview
  */
 abstract class Bitmap extends ProviderV2 {
-
        /**
         * {@inheritDoc}
         */
index 7d2408d683fed6eda8409582e3d2cd5f404a26e6..47f2952c6e6b8153a431e59137a8c578f20c2a31 100644 (file)
@@ -513,7 +513,6 @@ class Generator {
         * @return int[]
         */
        private function calculateSize($width, $height, $crop, $mode, $maxWidth, $maxHeight) {
-
                /*
                 * If we are not cropping we have to make sure the requested image
                 * respects the aspect ratio of the original.
index 6a94b9482418974dcc442b8b367d099ac1adc875..64714a9f899ca34d793d52e06d5e9775caeacbb5 100644 (file)
@@ -38,7 +38,6 @@ use OCP\Preview\IProviderV2;
  * Very small wrapper class to make the generator fully unit testable
  */
 class GeneratorHelper {
-
        /** @var IRootFolder */
        private $rootFolder;
 
index 55e1220b56a37c36533db225f444e6ff42284e06..95b66a922fd144d404ffa93ab5a988242045b049 100644 (file)
@@ -33,7 +33,6 @@ use OCP\Files\File;
 use OCP\IImage;
 
 abstract class Image extends ProviderV2 {
-
        /**
         * {@inheritDoc}
         */
index 5cb66a00881d750a074771935ec8c6abb6cecaff..486c301d987ad48a026aeda3affc1bca97d3b035 100644 (file)
@@ -35,7 +35,6 @@ use OCP\IImage;
 use Psr\Log\LoggerInterface;
 
 class Movie extends ProviderV2 {
-
        /**
         * @deprecated 23.0.0 pass option to \OCP\Preview\ProviderV2
         * @var string
index 4d038c9a2b7dca9161fef7338fc6c481630b3ff0..d0eafed42c12323cac865d553ee5748048fb394c 100644 (file)
@@ -30,7 +30,6 @@ use OCP\Files\IRootFolder;
 use OCP\Files\Node;
 
 class WatcherConnector {
-
        /** @var IRootFolder */
        private $root;
 
index d3c749e06c3c6290120403408be4c46f3476e33c..8ab4939b515049bc88300c81a3ca62aac71bfa5f 100644 (file)
@@ -33,7 +33,6 @@ use OCP\L10N\IFactory;
 use OCP\Profile\ILinkAction;
 
 class EmailAction implements ILinkAction {
-
        /** @var string */
        private $value;
 
index 43974df62fbba464ba0d2d3f450e6fc1bbf86542..6081a04ad7e06e0941e1f829bbf9ca39ad67837d 100644 (file)
@@ -33,7 +33,6 @@ use OCP\L10N\IFactory;
 use OCP\Profile\ILinkAction;
 
 class PhoneAction implements ILinkAction {
-
        /** @var string */
        private $value;
 
index 204284be1f5bebcd2d246f04b214709873fa16c5..041da42e539953324588757b68e55dfdc792a332 100644 (file)
@@ -34,7 +34,6 @@ use OCP\L10N\IFactory;
 use OCP\Profile\ILinkAction;
 
 class TwitterAction implements ILinkAction {
-
        /** @var string */
        private $value;
 
index 0a08879059c29bcac060c88861995ea9a87bb55d..6b052be57bd201e5d2c9b880a5f3fe27543bc7c6 100644 (file)
@@ -33,7 +33,6 @@ use OCP\L10N\IFactory;
 use OCP\Profile\ILinkAction;
 
 class WebsiteAction implements ILinkAction {
-
        /** @var string */
        private $value;
 
index ab1af1c1c16bf1898787cff10376db8b9f01cb42..ddc0670604b55beb2067b14ae3dfadd60d20ad8c 100644 (file)
@@ -50,7 +50,6 @@ use Psr\Container\ContainerInterface;
 use Psr\Log\LoggerInterface;
 
 class ProfileManager {
-
        /** @var IAccountManager */
        private $accountManager;
 
index 9ca3ece6dd493c55eaeaa8551823be35c8011ec6..330fa241b1e090e5add9266f7ffedc9d4f6d91f1 100644 (file)
@@ -89,7 +89,6 @@ use Psr\Log\LoggerInterface;
 use Throwable;
 
 class Repair implements IOutput {
-
        /** @var IRepairStep[] */
        private array $repairSteps;
 
index 5a82c7c9176ebe63c67577067d0aee61e419e58e..5584e5b81c760909e011cbfd1db330f0b01baaee 100644 (file)
@@ -31,7 +31,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\IRepairStep;
 
 class AddBruteForceCleanupJob implements IRepairStep {
-
        /** @var IJobList */
        protected $jobList;
 
index b9e20186fc832c4ad364159ba429e2014c41ee5d..3642931694afee705f8362fb3e258bac4d33ce6f 100644 (file)
@@ -28,7 +28,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\IRepairStep;
 
 class AddCleanupUpdaterBackupsJob implements IRepairStep {
-
        /** @var IJobList */
        protected $jobList;
 
index 0dd7011298411ee036ffbb098f5072fb7cecf89d..531fcc1112f9e8d825a71e6115718df28aa4749b 100644 (file)
@@ -38,7 +38,6 @@ use OCP\Migration\IRepairStep;
  * @package OC\Repair
  */
 class CleanTags implements IRepairStep {
-
        /** @var IDBConnection */
        protected $connection;
 
index 47f037fd626f127db49b8ab4eaa0c4be6af6dce4..bf94e5bfbffae18d660746c3a42b5eb6b1d36b8f 100644 (file)
@@ -30,7 +30,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\IRepairStep;
 
 class ClearFrontendCaches implements IRepairStep {
-
        /** @var ICacheFactory */
        protected $cacheFactory;
 
index 9731babe4cecb621428042e039fd7b59ccbca42d..905fc9451f54f94834c8a7e5d28d0f7479f84113 100644 (file)
@@ -27,7 +27,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\IRepairStep;
 
 class MoveUpdaterStepFile implements IRepairStep {
-
        /** @var \OCP\IConfig */
        protected $config;
 
index 6552ea4bde909511d12eda80f572818370bb5635..4cf721e9b1344b0c5f312c14e8f7e6a8ee4448a7 100644 (file)
@@ -29,7 +29,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\IRepairStep;
 
 class FixMountStorages implements IRepairStep {
-
        /** @var IDBConnection */
        private $db;
 
index 0b5f3d10e707bcc61bbe4c2f9a8fc7d930e1a97c..e0156ff873ca9045048476536c64ead2f5384d9b 100644 (file)
@@ -28,7 +28,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\IRepairStep;
 
 class AddLogRotateJob implements IRepairStep {
-
        /** @var IJobList */
        private $jobList;
 
index afd442a18b5a25d6c4399cd011356013e8826b22..e12f2771903202a6060c5b17752c0cb6f86c6ee2 100644 (file)
@@ -31,7 +31,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\IRepairStep;
 
 class AddPreviewBackgroundCleanupJob implements IRepairStep {
-
        /** @var IJobList */
        private $jobList;
 
index 70c73fbf9a6abf0126048b03227588f999875c58..217141cf0b9cae718ea7573d09aca0c30649b93d 100644 (file)
@@ -31,7 +31,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\IRepairStep;
 
 class AddClenupLoginFlowV2BackgroundJob implements IRepairStep {
-
        /** @var IJobList */
        private $jobList;
 
index 25dc24fb66cd77ee72e730d040a80e52b906797f..b12604cd132d92cc926a5fc9a5eec66183f3b4b3 100644 (file)
@@ -45,7 +45,6 @@ use RuntimeException;
  * photo could be returned for this vcard. These invalid files are removed by this migration step.
  */
 class CleanupCardDAVPhotoCache implements IRepairStep {
-
        /** @var IConfig */
        private $config;
 
index 44cb4b050ad67c5722f8ac93a665ac913adf2d75..8bc73c8f66baa98d242830be90e01c2917e590a3 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\IRepairStep;
 
 class ClearCollectionsAccessCache implements IRepairStep {
-
        /** @var IConfig */
        private $config;
 
index 95839823a8241576e6162bf0bc6f67bd79bdfdd4..3635c86e1b9a3cb58fbcb6c133b151b432dda1d2 100644 (file)
@@ -31,7 +31,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\IRepairStep;
 
 class ResetGeneratedAvatarFlag implements IRepairStep {
-
        /** @var IConfig */
        private $config;
        /** @var IDBConnection */
index d9ac1bcad4bdefbf4a44a563e9f3dad737751701..6e31423915f247a2e4b428521b7c682822f39aef 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\IRepairStep;
 
 class EncryptionLegacyCipher implements IRepairStep {
-
        /** @var IConfig */
        private $config;
        /** @var IManager */
index 60b5032955c5fb29dd2e6ef2f78f96a4977e82be..6e209314462d8ab85a654ee890e5036b7279a6de 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\IRepairStep;
 
 class EncryptionMigration implements IRepairStep {
-
        /** @var IConfig */
        private $config;
        /** @var IManager */
index 61f402f1af4d1791af179fd1bad0e80acc3b9ca6..a9713d49a6f34185700638732f757ed1c3c977bd 100644 (file)
@@ -30,7 +30,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\IRepairStep;
 
 class ShippedDashboardEnable implements IRepairStep {
-
        /** @var IConfig */
        private $config;
 
index 3a98f6bab3c862f447b58ea9b9c4bacedcfb0d54..e9b26947db69d1860bcba73f8e0915ad2289c535 100644 (file)
@@ -29,7 +29,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\IRepairStep;
 
 class AddCheckForUserCertificatesJob implements IRepairStep {
-
        /** @var IJobList */
        protected $jobList;
        /** @var IConfig */
index 3217a1f082c5320b008090b9ddcfa74dd9e6a2af..f9c3c5952bf62fc6e55cb5cd30279072cd6b29d5 100644 (file)
@@ -34,7 +34,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\IRepairStep;
 
 class ValidatePhoneNumber implements IRepairStep {
-
        /** @var IConfig */
        protected $config;
        /** @var IUserManager */
index 1cee4077731e019985c5745199c5737117c23a77..be507debbd996d8b5699603e494ec3acd68b8fea 100644 (file)
@@ -29,7 +29,6 @@ use OCP\Migration\IRepairStep;
 use OCP\Share\IShare;
 
 class OldGroupMembershipShares implements IRepairStep {
-
        /** @var \OCP\IDBConnection */
        protected $connection;
 
index b9146b772494313455b0e7702aeca4ff955af3aa..853a94c8adccf49dab4b4777400bcdccff88ca88 100644 (file)
@@ -30,7 +30,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\IRepairStep;
 
 class CleanPreviews implements IRepairStep {
-
        /** @var IJobList */
        private $jobList;
 
index e0c6a4f17ac091681a76859eacb14081254019f2..d5c01d64131224bea5fc2fd6c84ea5e02a07d8b4 100644 (file)
@@ -27,7 +27,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\IRepairStep;
 
 class DropAccountTermsTable implements IRepairStep {
-
        /** @var IDBConnection */
        protected $db;
 
index 4011a043f206a5f4e82b519265a617db16fcf743..10481a966f2816b63c04e37827f8e437df5a9224 100644 (file)
@@ -27,7 +27,6 @@ use OC\DB\SchemaWrapper;
 use OCP\DB\QueryBuilder\IQueryBuilder;
 
 class MigrateOauthTables implements IRepairStep {
-
        /** @var Connection */
        protected $db;
 
index ab48731ecb08d74a1f6e354d7f09f67d89d50d05..fa3dd92464812b317565172f664efc741a03619b 100644 (file)
@@ -28,7 +28,6 @@ use OCP\Migration\IOutput;
 use OCP\Migration\IRepairStep;
 
 class MoveAvatars implements IRepairStep {
-
        /** @var IJobList */
        private $jobList;
 
index 280426fb9c176ae165922ac4ec522d3165ac2ff8..83c78c2cba44453a7bdc5078cdae3f942d3ee067 100644 (file)
@@ -34,7 +34,6 @@ use Psr\Log\LoggerInterface;
 use function is_resource;
 
 class MoveAvatarsBackgroundJob extends QueuedJob {
-
        /** @var IUserManager */
        private $userManager;
 
index 23ca2a6a0fa329a239655b9c9e8e86901712ca69..4585cbfc8148cba77003efba353588efcaaea04b 100644 (file)
@@ -35,7 +35,6 @@ use OCP\RichObjectStrings\IValidator;
  * @since 11.0.0
  */
 class Validator implements IValidator {
-
        /** @var Definitions */
        protected $definitions;
 
index fba8e6db05fe1f2b6427a95136c40750d6f51e19..7046fea33d29efb03f83a4a361f9af75b736f5a4 100644 (file)
@@ -42,7 +42,6 @@ use OCP\Search\PagedProvider;
  * @deprecated 20.0.0
  */
 class File extends PagedProvider {
-
        /**
         * Search for files and folders matching the given query
         *
index 0a734767df07f447ee7e1b3dce1901218a522e24..41afe691e8c8bb6f0a6c108da3a0ac3b94f6a32f 100644 (file)
@@ -28,7 +28,6 @@ namespace OC\Search\Result;
  * @deprecated 20.0.0
  */
 class Audio extends File {
-
        /**
         * Type name; translated in templates
         * @var string
index dc10cab09e98547b352abb496256001af999bf40..59111b0cee2b30d94c098c0e69901290cc8fd021 100644 (file)
@@ -36,7 +36,6 @@ use OCP\IUserSession;
  * @deprecated 20.0.0
  */
 class File extends \OCP\Search\Result {
-
        /**
         * Type name; translated in templates
         * @var string
index 590943fb941f1786a3690cc5f56cf91262d08580..36d0e91c042b0fce36ebb5666272048ac28d2b56 100644 (file)
@@ -28,7 +28,6 @@ namespace OC\Search\Result;
  * @deprecated 20.0.0
  */
 class Folder extends File {
-
        /**
         * Type name; translated in templates
         * @var string
index 9870e316a795448223ba0149e0ac69ba9e75f4bd..27f5702e39a5859ca59fdc8206683b9f35fcc3b6 100644 (file)
@@ -28,7 +28,6 @@ namespace OC\Search\Result;
  * @deprecated 20.0.0
  */
 class Image extends File {
-
        /**
         * Type name; translated in templates
         * @var string
index 3c228261ec20534211ccf2b9f14d1b16bf10ff52..4ec73ec54e97645a4558204bfd51fa16a42e3d4a 100644 (file)
@@ -58,7 +58,6 @@ use function array_map;
  * @see IProvider::search() for the arguments of the individual search requests
  */
 class SearchComposer {
-
        /** @var IProvider[] */
        private $providers = [];
 
index 6faf853760a056843829838e5425e142f9abc9c5..45cfe572acb0aded6907fad816ac46a18c53f721 100644 (file)
@@ -32,7 +32,6 @@ use OCP\DB\QueryBuilder\IQueryBuilder;
 use OCP\IDBConnection;
 
 class CleanupJob extends TimedJob {
-
        /** @var IDBConnection */
        private $connection;
 
index 92fa9bf768dddb8fe09f7a874770dce958289bad..d8857b4efc6c13141cf5d6a1acefc5cce21be2bf 100644 (file)
@@ -275,7 +275,6 @@ use OC\Profiler\Profiler;
  * TODO: hookup all manager classes
  */
 class Server extends ServerContainer implements IServerContainer {
-
        /** @var string */
        private $webRoot;
 
index affba322bec70e32573a1228de11c6a2a0acb1b7..b434461a335b04f682450e935f0768867a83f311 100644 (file)
@@ -30,7 +30,6 @@ namespace OC\Session;
 use OCP\ISession;
 
 abstract class Session implements \ArrayAccess, ISession {
-
        /**
         * @var bool
         */
index d549e3d48f3a978d1723bff6f65841108bab200a..21b897b678778c6f3d322c7264b2b6edebfbde0e 100644 (file)
@@ -33,7 +33,6 @@ use OCP\AppFramework\Db\Entity;
  * @method getClass(): string
  */
 class AuthorizedGroup extends Entity implements \JsonSerializable {
-
        /** @var string $group_id */
        protected $groupId;
 
index 44f1df09c15103e51e5cbf9862eb63ac5e64455d..2d44ac7d3df4cc299bb06e60c95e318009adad1d 100644 (file)
@@ -48,7 +48,6 @@ use OCP\Settings\ISubAdminSettings;
 use Psr\Log\LoggerInterface;
 
 class Manager implements IManager {
-
        /** @var LoggerInterface */
        private $log;
 
index 6c67254deba5a8d47f28857a6fa13eebd8bb0823..94719a742e2a61ad9c44496ebef2f581405ab267 100644 (file)
@@ -37,7 +37,6 @@ use OCP\Security\ISecureRandom;
 use Psr\Log\LoggerInterface;
 
 abstract class AbstractDatabase {
-
        /** @var IL10N */
        protected $trans;
        /** @var string */
index 3632a2a26d1c0af0fd8ad76a135cc480aadbaef7..03c4c2ba828ec03dd25ebd42bdf1f116a85a054b 100644 (file)
@@ -29,7 +29,6 @@ namespace OC\Share;
 use OCP\Share\IShare;
 
 class Constants {
-
        /**
         * @deprecated 17.0.0 - use IShare::TYPE_USER instead
         */
index 8f2cfa4e197bc7fa48bd7554a4355b73cd4db9b9..f1b9ae2b9fa28a14d0108cdf4c6d0933e0ea253b 100644 (file)
@@ -26,7 +26,6 @@
 namespace OC\Share;
 
 class Helper extends \OC\Share\Constants {
-
        /**
         * get default expire settings defined by the admin
         * @return array contains 'defaultExpireDateSet', 'enforceExpireDate', 'expireAfterDays'
@@ -128,14 +127,14 @@ class Helper extends \OC\Share\Constants {
                if (rtrim($normalizedServer1, '/') === rtrim($normalizedServer2, '/')) {
                        // FIXME this should be a method in the user management instead
                        \OCP\Util::emitHook(
-                                       '\OCA\Files_Sharing\API\Server2Server',
-                                       'preLoginNameUsedAsUserName',
-                                       ['uid' => &$user1]
+                               '\OCA\Files_Sharing\API\Server2Server',
+                               'preLoginNameUsedAsUserName',
+                               ['uid' => &$user1]
                        );
                        \OCP\Util::emitHook(
-                                       '\OCA\Files_Sharing\API\Server2Server',
-                                       'preLoginNameUsedAsUserName',
-                                       ['uid' => &$user2]
+                               '\OCA\Files_Sharing\API\Server2Server',
+                               'preLoginNameUsedAsUserName',
+                               ['uid' => &$user2]
                        );
 
                        if ($user1 === $user2) {
index 9e7b913d60aa8f88af7702ef13c6e68c5d0a0e26..487625affc11315602b2022a8892f7814248df35 100644 (file)
@@ -50,7 +50,6 @@ use Psr\Log\LoggerInterface;
  *  - post_shared
  */
 class Share extends Constants {
-
        /** CRUDS permissions (Create, Read, Update, Delete, Share) using a bitmask
         * Construct permissions for share() and setPermissions with Or (|) e.g.
         * Give user read and update permissions: PERMISSION_READ | PERMISSION_UPDATE
index a5a5568788d928e66f074e586f62d5d63878d94c..215b47344b5b41cf2a5f549044a1199b1a98cd2d 100644 (file)
@@ -62,7 +62,6 @@ use OCP\Share\IShareProvider;
  * @package OC\Share20
  */
 class DefaultShareProvider implements IShareProvider {
-
        // Special share type for user modified group shares
        public const SHARE_TYPE_USERGROUP = 2;
 
@@ -608,7 +607,6 @@ class DefaultShareProvider implements IShareProvider {
                                ->where($qb->expr()->eq('id', $qb->createNamedParameter($share->getId())))
                                ->execute();
                } elseif ($share->getShareType() === IShare::TYPE_GROUP) {
-
                        // Check if there is a usergroup share
                        $qb = $this->dbConn->getQueryBuilder();
                        $stmt = $qb->select('id')
@@ -664,9 +662,9 @@ class DefaultShareProvider implements IShareProvider {
        public function getSharesInFolder($userId, Folder $node, $reshares, $shallow = true) {
                $qb = $this->dbConn->getQueryBuilder();
                $qb->select('s.*',
-                               'f.fileid', 'f.path', 'f.permissions AS f_permissions', 'f.storage', 'f.path_hash',
-                               'f.parent AS f_parent', 'f.name', 'f.mimetype', 'f.mimepart', 'f.size', 'f.mtime', 'f.storage_mtime',
-                               'f.encrypted', 'f.unencrypted_size', 'f.etag', 'f.checksum')
+                       'f.fileid', 'f.path', 'f.permissions AS f_permissions', 'f.storage', 'f.path_hash',
+                       'f.parent AS f_parent', 'f.name', 'f.mimetype', 'f.mimepart', 'f.size', 'f.mtime', 'f.storage_mtime',
+                       'f.encrypted', 'f.unencrypted_size', 'f.etag', 'f.checksum')
                        ->from('share', 's')
                        ->andWhere($qb->expr()->orX(
                                $qb->expr()->eq('item_type', $qb->createNamedParameter('file')),
index 94cfa6636d72bdaee5ab99baf3a05ae0d60caf8c..feb4604e8848e17dd33773dad17a47b485cedeb1 100644 (file)
@@ -33,7 +33,6 @@ use Symfony\Component\EventDispatcher\EventDispatcherInterface;
 use Symfony\Component\EventDispatcher\GenericEvent;
 
 class LegacyHooks {
-
        /** @var EventDispatcherInterface */
        private $eventDispatcher;
 
index ffd779707dff00d8fa44285e6124d8e313f91967..7fd99545668b18b5039dcdbe55176ccf40037355 100644 (file)
@@ -82,7 +82,6 @@ use Symfony\Component\EventDispatcher\GenericEvent;
  * This class is the communication hub for all sharing related operations.
  */
 class Manager implements IManager {
-
        /** @var IProviderFactory */
        private $factory;
        private LoggerInterface $logger;
@@ -668,7 +667,6 @@ class Manager implements IManager {
         * @param IShare $share
         */
        protected function setLinkParent(IShare $share) {
-
                // No sense in checking if the method is not there.
                if (method_exists($share, 'setParent')) {
                        $storage = $share->getNode()->getStorage();
index 9bba4d771aae899426f11022248f64c7aff8e4e5..16f9a17ee4229e7e82aa356181e8d2526a9d6efa 100644 (file)
@@ -56,7 +56,6 @@ use Psr\Log\LoggerInterface;
  * @package OC\Share20
  */
 class ProviderFactory implements IProviderFactory {
-
        /** @var IServerContainer */
        private $serverContainer;
        /** @var DefaultShareProvider */
index c2d455036961ca35328d2fec65e4f9fa785b7f63..0a50fa0ccfb52080a5db0223aa46ca70e59b41b6 100644 (file)
@@ -41,7 +41,6 @@ use OCP\Share\IAttributes;
 use OCP\Share\IShare;
 
 class Share implements IShare {
-
        /** @var string */
        private $id;
        /** @var string */
index 92f034e6783a5f51212160e83986606acb78f80d..9b97c94275d84fdf3fae9d5ef57829640d3a1c94 100644 (file)
@@ -23,7 +23,6 @@ namespace OC\Share20;
 use OCP\Share\IAttributes;
 
 class ShareAttributes implements IAttributes {
-
        /** @var array */
        private $attributes;
 
index 329e4470cb43f0e3312c03a3e1219c33bd460d02..3debfe185e0eb6f75d017ba369bd912ab7006c47 100644 (file)
@@ -31,7 +31,6 @@ use OCP\Share\IManager;
 use OCP\Share\IShareHelper;
 
 class ShareHelper implements IShareHelper {
-
        /** @var IManager */
        private $shareManager;
 
index 6db0f2e091053b33b7d80074c0f8e307ec37e298..3af7b5a365047f41a30360d6c02763c6d82b8b2b 100644 (file)
@@ -34,7 +34,6 @@ use OCP\Share\IManager;
  * @template-implements IEventListener<UserRemovedEvent>
  */
 class UserRemovedListener implements IEventListener {
-
        /** @var IManager */
        protected $shareManager;
 
index db7d0024b5a4f915528d9fe8ba28aa5bb6950ee3..f96646e336558b81ca70894995335bb05ad4bc9b 100644 (file)
@@ -54,7 +54,6 @@ class Streamer {
         *        be included in the streamed file
         */
        public function __construct(IRequest $request, int $size, int $numberOfFiles) {
-
                /**
                 * zip32 constraints for a basic (without compression, volumes nor
                 * encryption) zip file according to the Zip specification:
index 10eff9ffad572ed01b104d7c5eb176171f4227e0..54f14b8ab88707555453561202a11a784ee422c9 100644 (file)
@@ -42,7 +42,6 @@ use OCP\IUser;
 use OCP\IUserManager;
 
 class SubAdmin extends PublicEmitter implements ISubAdmin {
-
        /** @var IUserManager */
        private $userManager;
 
index f5457f60ad485ab50c5b732ccc63cc3cb3e707f6..f2a35069288961779cb4bca9622577149715d6cf 100644 (file)
@@ -38,7 +38,6 @@ use Throwable;
 use function array_shift;
 
 class Registry implements IRegistry {
-
        /** @var string[] */
        private $lazyReporters = [];
 
index 6cd0e4376c5253c89f7aa2e70ae7c4abc2e3d7b5..a18c4c2a138cbeee47f56764c26eae931b635fb6 100644 (file)
@@ -34,7 +34,6 @@ use OCP\IConfig;
  * fixes cyclic DI: AllConfig needs AppConfig needs Database needs AllConfig
  */
 class SystemConfig {
-
        /** @var array */
        protected $sensitiveValues = [
                'instanceid' => true,
index f878cbf07c38b3746c0c0ef970296e2a1430b225..ca0508fe19b1708913ec2a8aefb36d0d5bb47867 100644 (file)
@@ -38,7 +38,6 @@ use OCP\SystemTag\ISystemTagObjectMapper;
  * @since 9.0.0
  */
 class ManagerFactory implements ISystemTagManagerFactory {
-
        /**
         * Server container
         *
index e6b84c9916eb363d340c68fbaa07886b79028d71..da6d4bd4b1196db5a45c7af6d5d6d3e19e1b83a1 100644 (file)
@@ -30,7 +30,6 @@ namespace OC\SystemTag;
 use OCP\SystemTag\ISystemTag;
 
 class SystemTag implements ISystemTag {
-
        /**
         * @var string
         */
index c075e65d76aab9b330e708e164ebb88a798ece6d..b87829360d50873f57b6bf935cbf3ec4563bb2f5 100644 (file)
@@ -37,7 +37,6 @@ use OCP\IURLGenerator;
 use Psr\Log\LoggerInterface;
 
 class JSCombiner {
-
        /** @var IAppData */
        protected $appData;
 
index 88323af75dedcbc0fc9c2219ddc57e754ec1897b..7648c7953f30a6c7f4de92b0165ad12e653e38b4 100644 (file)
@@ -30,7 +30,6 @@ namespace OC\Template;
 use Psr\Log\LoggerInterface;
 
 class JSResourceLocator extends ResourceLocator {
-
        /** @var JSCombiner */
        protected $jsCombiner;
 
index aa1ee203f319705e46b55bb1473c4446a0dbef1c..5a4cd32e5df0598744f7ca741b42b1028bed7377 100644 (file)
@@ -79,7 +79,6 @@ class TemplateLayout extends \OC_Template {
         * @param string $appId application id
         */
        public function __construct($renderAs, $appId = '') {
-
                /** @var IConfig */
                $this->config = \OC::$server->get(IConfig::class);
 
index 53b07e2580941e333c2a5a7352c09eb024c408b2..09516674e9be3d210e68f97a8236a51b160b0846 100644 (file)
@@ -73,7 +73,6 @@ use Psr\Log\LoggerInterface;
  *  - failure(string $message)
  */
 class Updater extends BasicEmitter {
-
        /** @var LoggerInterface */
        private $log;
 
index d9f795796b8cef58aee42cdcaba31e290225c853..3abbae682b595861c836a9b2410a55c188d9cae0 100644 (file)
@@ -31,7 +31,6 @@ use OCP\IConfig;
 use OCP\Util;
 
 class VersionCheck {
-
        /** @var IClientService */
        private $clientService;
 
index eda6b5f79d9466149e05f883d36d94da5c9149a8..7044770b57e0efd71d92d5187b6440143f44be35 100644 (file)
@@ -275,7 +275,6 @@ class User implements IUser {
                $this->dispatcher->dispatchTyped(new BeforeUserDeletedEvent($this));
                $result = $this->backend->deleteUser($this->uid);
                if ($result) {
-
                        // FIXME: Feels like an hack - suggestions?
 
                        $groupManager = \OC::$server->getGroupManager();
index c93795bea5b925b9048db37350ce3d1dde519be9..89a1bb455c7ccc30a01415618110f5534ccde6df 100644 (file)
@@ -32,7 +32,6 @@ use Psr\Container\ContainerExceptionInterface;
 use Psr\Log\LoggerInterface;
 
 class Manager implements IManager {
-
        /** @var IServerContainer */
        private $container;
 
index 0da546f32632475ab7fb4bfead3aaeec7fdcd5c4..275e02986c4b2246e30c2d513f86eae4a0ce12c1 100644 (file)
@@ -32,7 +32,6 @@ use OCP\API;
 use OCP\AppFramework\Http;
 
 class OC_API {
-
        /**
         * api actions
         */
index f5e4780a25f32c9b0c4e949a6e229479f708d50b..c7433d7c6c84b19f68ffdd929bc94a46bbe1d00c 100644 (file)
@@ -429,7 +429,6 @@ class OC_App {
         */
        public function enable(string $appId,
                                                   array $groups = []) {
-
                // Check if app is already downloaded
                /** @var Installer $installer */
                $installer = \OC::$server->query(Installer::class);
index b223b0fa6d6c2163d09839fa74697fa1ebf40191..a7a0f755673c88f6b5794657fc50e9c67985cf1a 100644 (file)
@@ -87,7 +87,6 @@ class OC_Hook {
         * TODO: write example
         */
        public static function emit($signalClass, $signalName, $params = []) {
-
                // Return false if no hook handlers are listening to this
                // emitting class
                if (!array_key_exists($signalClass, self::$registered)) {
index d2faae9e24deff11496a934e3a732bab347f5c3b..f2fa2058faa687d2023803ff048751bc8ccb19df 100644 (file)
@@ -49,7 +49,6 @@ use OCP\IImage;
  * Class for basic image manipulation
  */
 class OC_Image implements \OCP\IImage {
-
        // Default memory limit for images to load (256 MBytes).
        protected const DEFAULT_MEMORY_LIMIT = 256;
 
@@ -728,30 +727,30 @@ class OC_Image implements \OCP\IImage {
                                        $this->logger->debug('OC_Image->loadFromFile, webp images not supported: ' . $imagePath, ['app' => 'core']);
                                }
                                break;
-                       /*
-                       case IMAGETYPE_TIFF_II: // (intel byte order)
-                               break;
-                       case IMAGETYPE_TIFF_MM: // (motorola byte order)
-                               break;
-                       case IMAGETYPE_JPC:
-                               break;
-                       case IMAGETYPE_JP2:
-                               break;
-                       case IMAGETYPE_JPX:
-                               break;
-                       case IMAGETYPE_JB2:
-                               break;
-                       case IMAGETYPE_SWC:
-                               break;
-                       case IMAGETYPE_IFF:
-                               break;
-                       case IMAGETYPE_ICO:
-                               break;
-                       case IMAGETYPE_SWF:
-                               break;
-                       case IMAGETYPE_PSD:
-                               break;
-                       */
+                               /*
+                               case IMAGETYPE_TIFF_II: // (intel byte order)
+                                       break;
+                               case IMAGETYPE_TIFF_MM: // (motorola byte order)
+                                       break;
+                               case IMAGETYPE_JPC:
+                                       break;
+                               case IMAGETYPE_JP2:
+                                       break;
+                               case IMAGETYPE_JPX:
+                                       break;
+                               case IMAGETYPE_JB2:
+                                       break;
+                               case IMAGETYPE_SWC:
+                                       break;
+                               case IMAGETYPE_IFF:
+                                       break;
+                               case IMAGETYPE_ICO:
+                                       break;
+                               case IMAGETYPE_SWF:
+                                       break;
+                               case IMAGETYPE_PSD:
+                                       break;
+                               */
                        default:
 
                                // this is mostly file created from encrypted file
index 7734e29c545161a655182c1e2f4766eda2e93bef..b9cfb8210e09fc6e398117e75a5b9b71ccd10e95 100644 (file)
@@ -28,7 +28,6 @@
  *
  */
 class OC_JSON {
-
        /**
         * Check if the app is enabled, send json error msg if not
         * @param string $app
index 813cedd074081283ba5a7294bac158de1b920873..0c9fa1ccc0cdc0922686fde6241bc074b677d965 100644 (file)
@@ -47,7 +47,6 @@ require_once __DIR__.'/template/functions.php';
  * This class provides the templates for ownCloud.
  */
 class OC_Template extends \OC\Template\Base {
-
        /** @var string */
        private $renderAs; // Create a full page?
 
@@ -101,7 +100,6 @@ class OC_Template extends \OC\Template\Base {
         */
        public static function initTemplateEngine($renderAs) {
                if (self::$initTemplateEngineFirstRun) {
-
                        // apps that started before the template initialization can load their own scripts/styles
                        // so to make sure this scripts/styles here are loaded first we put all core scripts first
                        // check lib/public/Util.php
index de066e143b40539e578208d6eb2ccd9c806041b2..8aaa9072ba4860be87e19c2507205517a0792c18 100644 (file)
@@ -202,10 +202,10 @@ class OC_User {
                                /** @var IEventDispatcher $dispatcher */
                                $dispatcher = \OC::$server->get(IEventDispatcher::class);
                                $dispatcher->dispatchTyped(new UserLoggedInEvent(
-                                               \OC::$server->get(IUserManager::class)->get($uid),
-                                               $uid,
-                                               null,
-                                               false)
+                                       \OC::$server->get(IUserManager::class)->get($uid),
+                                       $uid,
+                                       null,
+                                       false)
                                );
 
                                //trigger creation of user home and /files folder
index 429f7ed5d05ab3eb1486ad0b682f2ab4605b0ddf..6dc08341b18bff73205ebdc08e1af1baa3e80946 100644 (file)
@@ -544,7 +544,7 @@ class OC_Util {
                                        'hint' => $l->t('This can usually be fixed by giving the web server write access to the config directory. See %s',
                                                [ $urlGenerator->linkToDocs('admin-dir_permissions') ]) . '. '
                                                . $l->t('Or, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it. See %s',
-                                               [ $urlGenerator->linkToDocs('admin-config') ])
+                                                       [ $urlGenerator->linkToDocs('admin-config') ])
                                ];
                        }
                }
@@ -839,11 +839,11 @@ class OC_Util {
                // Check if we are a user
                if (!\OC::$server->getUserSession()->isLoggedIn()) {
                        header('Location: ' . \OC::$server->getURLGenerator()->linkToRoute(
-                                               'core.login.showLoginForm',
-                                               [
-                                                       'redirect_url' => \OC::$server->getRequest()->getRequestUri(),
-                                               ]
-                                       )
+                               'core.login.showLoginForm',
+                               [
+                                       'redirect_url' => \OC::$server->getRequest()->getRequestUri(),
+                               ]
+                       )
                        );
                        exit();
                }
index 383f21068a994e7014d4edee1f9d46881726bcc5..190896a54ef9faaa9317962977a888c645733f6d 100644 (file)
@@ -35,7 +35,6 @@ use OCP\IUser;
  * @since 15.0.0
  */
 interface IAccount extends \JsonSerializable {
-
        /**
         * Set a property with data
         *
index 77c32d6ff4e5c6ae48c8b6609736f481ebfea5ce..7c977b575ae78740510d07ed2195ce6f184f7bc7 100644 (file)
@@ -39,7 +39,6 @@ use OCP\IUser;
  *
  */
 interface IAccountManager {
-
        /**
         * Contact details visible locally only
         *
index 94866fc48078b05d395157217144d48efeb4ca23..82a83e8948a5ad663a4eddfb471fd2807f2c21d9 100644 (file)
@@ -34,7 +34,6 @@ use InvalidArgumentException;
  * @since 15.0.0
  */
 interface IAccountProperty extends \JsonSerializable {
-
        /**
         * Set the value of a property
         *
index 0d4c416cbaa1c38c258cb4f0990e4424b9536c02..3f42cb1e6b72c827e941b6224e2d4ff1aa582c8c 100644 (file)
@@ -37,7 +37,6 @@ use JsonSerializable;
  * @since 22.0.0
  */
 interface IAccountPropertyCollection extends JsonSerializable {
-
        /**
         * retuns the collection name
         *
index 17c629fdc3ec50bbb004c1b8cc77af03ccc5b794..0ce3f1b069b1ad1450aa2c43246bc8ce560a721b 100644 (file)
@@ -30,7 +30,6 @@ namespace OCP\Accounts;
  *
  */
 class PropertyDoesNotExistException extends \Exception {
-
        /**
         * Constructor
         * @param string $msg the error message
index a093a52744c5b26dbf9df2735e8866ef7efde9dc..d72106b24f71dc619137c9aac123a262fd7aadb2 100644 (file)
@@ -28,7 +28,6 @@ namespace OCP\Activity;
  * @since 11.0
  */
 interface IEventMerger {
-
        /**
         * Combines two events when possible to have grouping:
         *
index 967a739726cf6a36d9f60c881a4cc48e456f7535..8d98cc37c07df7ffceda0390cfcece32660273d1 100644 (file)
@@ -28,7 +28,6 @@ namespace OCP\Activity;
  * @since 11.0.0
  */
 interface IFilter {
-
        /**
         * @return string Lowercase a-z and underscore only identifier
         * @since 11.0.0
index 53e01d42868008b3182ddc3470af365ac090ec00..0e5b7653b2701347ff826cc33f47fe0e023aff9a 100644 (file)
@@ -28,7 +28,6 @@ namespace OCP\Activity;
  * @since 11.0.0
  */
 interface ISetting {
-
        /**
         * @return string Lowercase a-z and underscore only identifier
         * @since 11.0.0
index f7c9d8480993943bf34b5bfbf9676cb2b0a866aa..de36fafcdfeb77c4e8d3a7193633a0e58a711298 100644 (file)
@@ -42,7 +42,6 @@ use OCP\IUser;
  * @since 8.0.0
  */
 interface IAppManager {
-
        /**
         * Returns the app information from "appinfo/info.xml".
         *
index 88045c73df5027fe0efaef2a9e72f69632be4cc1..4d6e9177b787d03cfb5e8f9f427422628aece546 100644 (file)
@@ -47,7 +47,6 @@ use OCP\Route\IRouter;
  * @since 6.0.0
  */
 class App {
-
        /** @var IAppContainer */
        private $container;
 
index bd0e32f566dde515d43d09c9c8ff0f899c64349f..00834506b058ef5565f39f7856ebf832bd86458a 100644 (file)
@@ -46,7 +46,6 @@ use OCP\IURLGenerator;
  * @since 14.0.0
  */
 abstract class AuthPublicShareController extends PublicShareController {
-
        /** @var IURLGenerator */
        protected $urlGenerator;
 
index a69c9423a98fc375a6122f65d9c19b93689d8a72..72a9602217dc9fde92c531b15cafb917ab59b475 100644 (file)
@@ -35,7 +35,6 @@ use Throwable;
  * @since 20.0.0
  */
 interface IBootContext {
-
        /**
         * Get hold of the app's container
         *
index bdb739e0cfa93ee01835bcb474afd0ed5c491f4f..8ebb377c152c766159acbdf3a708fe2d963831f1 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\AppFramework\Bootstrap;
  * @since 20.0.0
  */
 interface IBootstrap {
-
        /**
         * @param IRegistrationContext $context
         *
index 0f398c13979bb2016da87d60edaceb64f97a1ed6..7ff2bdca52e1972f0e8473056787771de89c789c 100644 (file)
@@ -47,7 +47,6 @@ use OCP\Preview\IProviderV2;
  * @see IBootstrap::register()
  */
 interface IRegistrationContext {
-
        /**
         * @param string $capability
         * @psalm-param class-string<ICapability> $capability
index 12a6a75cf0f9a8acb665ec4778f781249302ba57..89cfd2e55fc038f5dcee98c9ce06e997a2d099ee 100644 (file)
@@ -38,7 +38,6 @@ use OCP\IRequest;
  * @since 6.0.0
  */
 abstract class Controller {
-
        /**
         * app name
         * @var string
index eb0a8437a64c229b09308c0539426e9bc8057bd3..58e8652879517e3fef7daa6df7096ea6166b12ef 100644 (file)
@@ -33,7 +33,6 @@ namespace OCP\AppFramework\Db;
  * @since 7.0.0
  */
 class DoesNotExistException extends \Exception implements IMapperException {
-
        /**
         * Constructor
         * @param string $msg the error message
index 9281db75961f88c55326a0a35766e0d5f112faff..6ae45849d838c47f62a9da60e25098c20cd9a341 100644 (file)
@@ -33,7 +33,6 @@ namespace OCP\AppFramework\Db;
  * @since 7.0.0
  */
 class MultipleObjectsReturnedException extends \Exception implements IMapperException {
-
        /**
         * Constructor
         * @param string $msg the error message
index 2491fd83f4a646aa4938428e8d84de0f9b47d51c..57f4cba2ff51a8dc41fd75136ca34af47675bb63 100644 (file)
@@ -43,7 +43,6 @@ use OCP\IDBConnection;
  * @template T of Entity
  */
 abstract class QBMapper {
-
        /** @var string */
        protected $tableName;
 
index 59f4a346386f4c8b056ad72c5c30a72156db1644..1e02a129e699480f05766c76cc164a7029b51df1 100644 (file)
@@ -35,7 +35,6 @@ use Throwable;
  * @since 24.0.0
  */
 trait TTransactional {
-
        /**
         * Run an atomic database operation
         *
index 32c8d09b6648cbe1e7e72bf9854bdbfc26d8566e..78ab343abd6439b1c097c92d23ef687688a487aa 100644 (file)
@@ -32,7 +32,6 @@ use OCP\AppFramework\Http;
  * @since 8.1.0
  */
 class DataDisplayResponse extends Response {
-
        /**
         * response data
         * @var string
index ca0392e521c129f6a6c29595b347a5ba308f50e6..e329b9c2975645447699ef2473ea2119b047fb59 100644 (file)
@@ -32,7 +32,6 @@ use OCP\AppFramework\Http;
  * @since 8.0.0
  */
 class DataResponse extends Response {
-
        /**
         * response data
         * @var array|int|float|string|bool|object
index 1cc6034963a1c594db14f257866e56ad4ec61d65..b73eaf667e73fbb789a4d667faa52709c86380a1 100644 (file)
@@ -36,7 +36,6 @@ namespace OCP\AppFramework\Http;
  * @since 17.0.0
  */
 class EmptyFeaturePolicy {
-
        /** @var string[] of allowed domains to autoplay media */
        protected $autoplayDomains = null;
 
index 90c18e85546e7c11e5d4599fb9df6e6bcd98e44b..41b452b555328e3bbc4ecade3b21a15c7b877d3e 100644 (file)
@@ -31,7 +31,6 @@ use OCP\AppFramework\Http;
  * @since 11.0.0
  */
 class FileDisplayResponse extends Response implements ICallbackResponse {
-
        /** @var \OCP\Files\File|\OCP\Files\SimpleFS\ISimpleFile */
        private $file;
 
index 8bb32de4d58d3eeb4c0b1c02fa3ce598d642d874..e0948769d94d7604081140c2177535e552656bbd 100644 (file)
@@ -30,7 +30,6 @@ namespace OCP\AppFramework\Http;
  * @since 8.1.0
  */
 interface ICallbackResponse {
-
        /**
         * Outputs the content that should be printed
         *
index f9c0b7898d9a30174d75bb7188af2bc897044e22..33f13503d2792a85827267024e2e4170f415a8ec 100644 (file)
@@ -31,7 +31,6 @@ namespace OCP\AppFramework\Http;
  * @since 8.1.0
  */
 interface IOutput {
-
        /**
         * @param string $out
         * @since 8.1.0
index 4870a64afd731fab44bc2267d3981c81f0eb94b3..d31a276167373b63986ca268900931ea2f9bf390 100644 (file)
@@ -34,7 +34,6 @@ use OCP\AppFramework\Http;
  * @since 6.0.0
  */
 class JSONResponse extends Response {
-
        /**
         * response data
         * @var array|object
index 651e41735b9c007cddbf024fcd9fbed658e809dd..34b74d353db8d7043e2f9f0c34698d9f6ff9a375 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\AppFramework\Http;
  * @since 8.1.0
  */
 class NotFoundResponse extends TemplateResponse {
-
        /**
         * @since 8.1.0
         */
index 9dd84a1664947495b1203a82d3c63e7e7cff0150..4db6caa556c1b82f99ab69f58273682dfb98ed74 100644 (file)
@@ -43,7 +43,6 @@ use Psr\Log\LoggerInterface;
  * @since 6.0.0
  */
 class Response {
-
        /**
         * Headers - defaults to ['Cache-Control' => 'no-cache, no-store, must-revalidate']
         * @var array
index b0eb482f9f7c0a89d262398bc890ef2ce7f20787..ed799e4fd9422d211529cc12895622f7afa43c12 100644 (file)
@@ -42,7 +42,6 @@ namespace OCP\AppFramework\Http;
  * @deprecated 17.0.0
  */
 class StrictEvalContentSecurityPolicy extends ContentSecurityPolicy {
-
        /**
         * @since 14.0.0
         */
index 7010862dc125404ff47a76f7c35a0e8c9d11c63b..45b230ad9b5bf180db8d8f5db19175300f137ef4 100644 (file)
@@ -42,7 +42,6 @@ namespace OCP\AppFramework\Http;
  * @deprecated 17.0.0
  */
 class StrictInlineContentSecurityPolicy extends ContentSecurityPolicy {
-
        /**
         * @since 14.0.0
         */
index d4114c51c090dbbf774f2b65a2b1722ef6f49f7e..e5b09193ba987c4111195e4636b73820f1648253 100644 (file)
@@ -33,7 +33,6 @@ use OCP\Util;
  * @since 14.0.0
  */
 class ExternalShareMenuAction extends SimpleMenuAction {
-
        /** @var string */
        private $owner;
 
index 970211952b0992211d56020cc9b555f31893f8a8..83e52bd882f2517edbf1290ab4365228c31d32b4 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\AppFramework\Http\Template;
  * @since 14.0
  */
 interface IMenuAction {
-
        /**
         * @since 14.0.0
         * @return string
index 61398f99374c7a98b6c4832f0d45ff8d276b3912..4982172bffe95619b0309aa785fe2d664bf42cd1 100644 (file)
@@ -31,7 +31,6 @@ use OCP\Util;
  * @since 14.0.0
  */
 class LinkMenuAction extends SimpleMenuAction {
-
        /**
         * LinkMenuAction constructor.
         *
index f8492eb298901a878ad1c661cc024212a7ca0a02..de13f3ef0b29e910f8816f957676ceb82fed9cc4 100644 (file)
@@ -31,7 +31,6 @@ use OCP\Util;
  * @since 14.0.0
  */
 class SimpleMenuAction implements IMenuAction {
-
        /** @var string */
        private $id;
 
index 908a9c60fd8b0438af69353870dc935679cf858a..caf565ee954eb721a46c1c029c4769a630d5db89 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Template;
  * @since 19.0.0
  */
 class TooManyRequestsResponse extends Response {
-
        /**
         * @since 19.0.0
         */
index a3b821440330981227710358431069c44155f7fb..355e1fd036671882f4d9271f4fdbe1460afac208 100644 (file)
@@ -42,7 +42,6 @@ use Psr\Container\ContainerInterface;
  * @since 6.0.0
  */
 interface IAppContainer extends ContainerInterface, IContainer {
-
        /**
         * used to return the appname of the set application
         * @return string the name of your application
index 1e8e92964b00b1d01de0a8dfd8c9e6358af035c2..5ae8eccae513a76180a4486c3e553f265c412943 100644 (file)
@@ -35,8 +35,6 @@ use OCP\AppFramework\Http\Response;
  * @since 6.0.0
  */
 abstract class Middleware {
-
-
        /**
         * This is being run in normal order before the controller is being
         * called which allows several modifications and checks
index 11bac9effd58054fb6d54a1f58203c3af4d34158..51c71ad4e64eba9f9056fab8174ce534ea006238 100644 (file)
@@ -64,7 +64,7 @@ abstract class OCSController extends ApiController {
                                                                $corsAllowedHeaders = 'Authorization, Content-Type, Accept, OCS-APIRequest',
                                                                $corsMaxAge = 1728000) {
                parent::__construct($appName, $request, $corsMethods,
-                                                       $corsAllowedHeaders, $corsMaxAge);
+                       $corsAllowedHeaders, $corsMaxAge);
                $this->registerResponder('json', function ($data) {
                        return $this->buildOCSResponse('json', $data);
                });
index ec3e8500d61ae867f97c99341b5f584efd41670c..706dc0b9ae9fa150f1e80a7b609ffc0e83170473 100644 (file)
@@ -43,7 +43,6 @@ use OCP\ISession;
  * @since 14.0.0
  */
 abstract class PublicShareController extends Controller {
-
        /** @var ISession */
        protected $session;
 
index d83658937643d176373bda8fd7db5a8dda197403..1a597567e192a9218be1eb9d502352c98f6763ac 100644 (file)
@@ -33,7 +33,6 @@ use Closure;
  * @since 20.0.0
  */
 interface IInitialState {
-
        /**
         * Allows an app to provide its initial state to the template system.
         * Use this if you know your initial state sill be used for example if
index dbc486537924262039ab2299ed3b3748824777e7..b9956b5fa719d06302d9c19817231bb7f375397f 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\AppFramework\Services;
  * @since 21.0.0
  */
 abstract class InitialStateProvider implements \JsonSerializable {
-
        /**
         * @since 21.0.0
         */
index fbeb14b1a353b060c7217f943bde3e73e620cca7..a091c8b37077c8585b78d030b07b0dcbfb9838a2 100644 (file)
@@ -37,7 +37,6 @@ namespace OCP\AppFramework\Utility;
  * @see https://help.nextcloud.com/t/how-should-we-use-php8-attributes/104278
  */
 interface IControllerMethodReflector {
-
        /**
         * @param object $object an object or classname
         * @param string $method the method which we want to inspect
index 63a87cf1b16a075d037d5a6bd45a507b385dd809..92101fd384878eece74c3017d95dc0cca6254c80 100644 (file)
@@ -31,7 +31,6 @@ namespace OCP\AppFramework\Utility;
  * @since 8.0.0
  */
 interface ITimeFactory {
-
        /**
         * @return int the result of a call to time()
         * @since 8.0.0
index b1a70e4dd55c6f5ce36d1330a1148ea2195ce2a9..73028a0432038233189333047418dd85e5845740 100644 (file)
@@ -34,7 +34,6 @@ use OCP\EventDispatcher\Event;
  * @since 19.0.0
  */
 class LoginFailedEvent extends Event {
-
        /** @var string */
        private $uid;
 
index 837487f057ef89843cb03a31b269c5324a0e0260..0fd6333359de2d013c3a8f08b4d911ed412efe23 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Authentication;
  * @since 20.0.0
  */
 interface IAlternativeLogin {
-
        /**
         * Label shown on the login option
         * @return string
index 4528bef3479196ae180b84254d8002cf38d41577..d138c5bfc245fbeaf786adbe804e5f4240276103 100644 (file)
@@ -33,7 +33,6 @@ namespace OCP\Authentication;
  * @since 6.0.0
  */
 interface IApacheBackend {
-
        /**
         * In case the user has been authenticated by a module true is returned.
         *
index 08f4043d8289d4cab129dc7d9b2c633c9f3ab1e3..43ec6af0c4f96bdd748fbf5303de2cf326949474 100644 (file)
@@ -30,7 +30,6 @@ namespace OCP\Authentication;
  * @since 23.0.0
  */
 interface IProvideUserSecretBackend {
-
        /**
         * Optionally returns a stable per-user secret. This secret is for
         * instance used to secure file encryption keys.
index c01761648a4c70cceb7d0952a233ab5b292feccb..480ae06bbcbc19acdf7f3395a2fa19211746b003 100644 (file)
@@ -29,7 +29,6 @@ use OCP\Authentication\Exceptions\PasswordUnavailableException;
  * @since 12
  */
 interface ICredentials {
-
        /**
         * Get the user UID
         *
index 33ffefe2344fe64c6ea9d84f21e7429f2af25c14..71e2d276a71e8041e09fadb1b12d1d83925838b7 100644 (file)
@@ -31,7 +31,6 @@ use OCP\Authentication\Exceptions\CredentialsUnavailableException;
  * @since 12
  */
 interface IStore {
-
        /**
         * Get login credentials of the currently logged in user
         *
index e3ef7c62f40849b2345bacf455f9d23172214e5b..e84399f01709be10da080df4ff9dee1b2f39a371 100644 (file)
@@ -31,7 +31,6 @@ use OCP\IUser;
  * @since 17.0.0
  */
 interface IActivatableAtLogin extends IProvider {
-
        /**
         * @param IUser $user
         *
index d9fd80992356b7fb25cb9025c2180da784041414..90eb25b061f9ea108c1242539800b2e22327e910 100644 (file)
@@ -35,7 +35,6 @@ use OCP\IUser;
  * @since 15.0.0
  */
 interface IActivatableByAdmin extends IProvider {
-
        /**
         * Enable this provider for the given user.
         *
index 1acf3e575d8d7d621f30b4c64a40950a43274ec5..6e0827371e0747cbecfc65cd94d38bbd49793c60 100644 (file)
@@ -35,7 +35,6 @@ use OCP\IUser;
  * @since 15.0.0
  */
 interface IDeactivatableByAdmin extends IProvider {
-
        /**
         * Disable this provider for the given user.
         *
index 9d07b11ebedcea4dfa9d6abb7e69eabd9198f1f9..48699bb7a3136a853077cd68b358a8e1139d51d2 100644 (file)
@@ -31,7 +31,6 @@ use OCP\Template;
  * @since 17.0.0
  */
 interface ILoginSetupProvider {
-
        /**
         * @return Template
         *
index 23913b761b24a31c2c837dfaec5c52a64bdd4d1d..35fa4301131b7a09fc6acdc0ad9bd68df2b9c1e6 100644 (file)
@@ -33,7 +33,6 @@ use OCP\Template;
  * @since 15.0.0
  */
 interface IPersonalProviderSettings {
-
        /**
         * @return Template
         *
index 8f1c4ae28025e251d61a6a3d0d6c0c5f2d811ee9..09fa7a56f5ce90b3f5a87306d456ff80227f9833 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Template;
  * @since 9.1.0
  */
 interface IProvider {
-
        /**
         * @since 14.0.0
         * @deprecated 22.0.0
index 5d4c010fbdc5bdcce92575b29d811b58c8c00cd5..db94eb3be79ff2fc69a5d638c79636bbd7189946 100644 (file)
@@ -32,7 +32,6 @@ use OCP\AppFramework\Http\ContentSecurityPolicy;
  * @since 13.0.0
  */
 interface IProvidesCustomCSP {
-
        /**
         * @return ContentSecurityPolicy
         *
index cd5205e54168cc09b951cc9b769452ab767b2e67..d62f46e8bc33d5a3b30c546986159421c1f09fce 100644 (file)
@@ -32,7 +32,6 @@ namespace OCP\Authentication\TwoFactorAuth;
  * @since 15.0.0
  */
 interface IProvidesIcons extends IProvider {
-
        /**
         * Get the path to the light (white) icon of this provider
         *
index 3a101764c94f17fa5598543a022983bfc7dbe7d1..c4cc752325cf85d846237c31ff6510a3739db926 100644 (file)
@@ -35,7 +35,6 @@ use OCP\IUser;
  * @since 15.0.0
  */
 interface IProvidesPersonalSettings extends IProvider {
-
        /**
         * @param IUser $user
         *
index 830ce8e1c3bebc399a725a0b9d73240c5ee02cf7..fcc7e5f9207069bca93f397af694f8eab2b03c86 100644 (file)
@@ -33,7 +33,6 @@ use OCP\IUser;
  * @since 15.0.0
  */
 class RegistryEvent extends Event {
-
        /** @var IProvider */
        private $provider;
 
index 539c5716bbd4478326b0d41456862983cd814371..20c9479a1a974c322c7160563ead05890e395644 100644 (file)
@@ -31,7 +31,6 @@ use OCP\EventDispatcher\Event;
  * @since 20.0.0
  */
 final class TwoFactorProviderDisabled extends Event {
-
        /** @var string */
        private $providerId;
 
index b9c4d693b8fbd8c8ce4b21000eec3bd0d7cd3b1f..e93db3420b807c450d7c3d4a526316337a7b586b 100644 (file)
@@ -33,7 +33,6 @@ use OCP\ILogger;
  * @since 15.0.0
  */
 abstract class QueuedJob extends Job {
-
        /**
         * Run the job, then remove it from the joblist
         *
index e7a0e70ba0a6a03b7517b9bac9d42bf2175644d7..f96fbdea59588550417dea401ae1c081e7e6fd15 100644 (file)
@@ -31,7 +31,6 @@ use JsonSerializable;
  * @since 18.0.0
  */
 interface IBroadcastEvent {
-
        /**
         * @return string the name of the event
         * @since 18.0.0
index 2631ef327fc6b59dac184bbdb77b2334609a228e..c6037690f657240123867afd8f2cb019f7cfbe32 100644 (file)
@@ -32,7 +32,6 @@ namespace OCP\Calendar;
  * @since 13.0.0
  */
 interface ICalendar {
-
        /**
         * @return string defining the technical unique key
         * @since 13.0.0
index 14ef644e5805e333f43993dd88fc3b005fc0270a..99b199c15187ce6b0e5dc60a3f4787c68440f3c3 100644 (file)
@@ -34,7 +34,6 @@ namespace OCP\Calendar;
  * @since 23.0.0
  */
 interface ICalendarProvider {
-
        /**
         * @param string $principalUri URI of the principal
         * @param string[] $calendarUris optionally specify which calendars to load, or all if this array is empty
index 6a1fff619f6172078f1373b5906d4c3af8ffd3f1..9151f2b3d47cce0ac678f3a01e95958cef93b5f1 100644 (file)
@@ -34,7 +34,6 @@ use DateTimeImmutable;
  * @since 23.0.0
  */
 interface ICalendarQuery {
-
        /**
         * @since 24.0.0
         */
index 17d529cdef3f3c85e5404ba6d2ddd0cb2cd7f7f7..9e60f20db4c2ca5afe1c3a412852a428f597a87d 100644 (file)
@@ -33,7 +33,6 @@ use OCP\Calendar\Exceptions\CalendarException;
  * @since 23.0.0
  */
 interface ICreateFromString extends ICalendar {
-
        /**
         * @since 23.0.0
         *
index 58c1400d987eee4cce2c46ff366c8b940e862902..e3848d6a859d9267b1c9b40d84be5f6050ee6848 100644 (file)
@@ -36,7 +36,6 @@ use OCP\Calendar\Exceptions\CalendarException;
  * @since 26.0.0
  */
 interface IHandleImipMessage extends ICalendar {
-
        /**
         * Handle an iMIP VEvent for validation and processing
         *
index dd65917d12be82814f7f781c8a16c74355a85e8f..bd23e67bebc93c0fbdc4460e95244b6870b73d93 100644 (file)
@@ -58,7 +58,6 @@ namespace OCP\Calendar;
  * @since 13.0.0
  */
 interface IManager {
-
        /**
         * This function is used to search and find objects within the user's calendars.
         * In case $pattern is empty all events/journals/todos will be returned.
index 5d0770caabde93d595e24bc3dcaefa524833edf3..31f888e45d71a37f5011b07876bd6f776608ed20 100644 (file)
@@ -30,7 +30,6 @@ namespace OCP\Calendar;
  * @since 17.0.0
  */
 interface IMetadataProvider {
-
        /**
         * Get a list of all metadata keys available for this room
         *
index a1e050df60ad351affcb866c1e9357604a5541d8..95ff958be86caac826eedb0ffa9037f8930bcbdd 100644 (file)
@@ -31,7 +31,6 @@ use OCP\Calendar\BackendTemporarilyUnavailableException;
  * @since 14.0.0
  */
 interface IBackend {
-
        /**
         * get a list of all resources in this backend
         *
index 268cf8ec633f2807d58d0ba15c40993c57f6a7cc..00f94bcc54811521c07cdab4bb2a1531ba515b17 100644 (file)
@@ -30,7 +30,6 @@ namespace OCP\Calendar\Resource;
  * @deprecated 24.0.0
  */
 interface IManager {
-
        /**
         * Registers a resource backend
         *
index f2c3d0a06f00564648e8d3f786ff2e74c1e64098..d419b9f2abc13f9a356d37deb9c3479cc9a9e568 100644 (file)
@@ -28,7 +28,6 @@ namespace OCP\Calendar\Resource;
  * @since 14.0.0
  */
 interface IResource {
-
        /**
         * get the resource id
         *
index 4d2eaf7248807457a9d48ab691756edcb3abd7af..f97f684e8af0a83e04ebdff89ebf58f92f2def91 100644 (file)
@@ -32,7 +32,6 @@ namespace OCP\Calendar\Resource;
  * @since 17.0.0
  */
 interface IResourceMetadata {
-
        /**
         * Type of resource
         *
index 095240202bfaa312df1b52e20ca833306e7cdb88..211780ef57c5cb0feeaa13eed3c153d07a0bef38 100644 (file)
@@ -31,7 +31,6 @@ use OCP\Calendar\BackendTemporarilyUnavailableException;
  * @since 14.0.0
  */
 interface IBackend {
-
        /**
         * get a list of all rooms in this backend
         *
index c55f3fd4ae4bf110cb019f57eb10865448b73c4a..3095ddc118aebcac57d76e7ebae835bcefb39f0e 100644 (file)
@@ -30,7 +30,6 @@ namespace OCP\Calendar\Room;
  * @deprecated 24.0.0
  */
 interface IManager {
-
        /**
         * Registers a room backend
         *
index 6402c02319bd3d7a5dab3c2c622ff2cfe85a0e5e..e29f658899e6ae853eedabda749fa9c246e22345 100644 (file)
@@ -28,7 +28,6 @@ namespace OCP\Calendar\Room;
  * @since 14.0.0
  */
 interface IRoom {
-
        /**
         * Get a unique ID for the room
         *
index ba0eba713111855818aa9d033d977d78d60daae3..d28bd9a6e946dea0aae43bec37c5cb029d27d9e2 100644 (file)
@@ -32,7 +32,6 @@ namespace OCP\Calendar\Room;
  * @since 17.0.0
  */
 interface IRoomMetadata {
-
        /**
         * Type of room
         *
index 34cbe63973e00368171dd96f36aa6676d05182db..fed1dba49d1891bad5a1765420aa9ec7d5cd4674 100644 (file)
@@ -34,7 +34,6 @@ namespace OCP\Capabilities;
  * @since 8.2.0
  */
 interface ICapability {
-
        /**
         * Function an app uses to return the capabilities
         *
index 503f31bfffbaa2b206cf9e1f838601688f302f1b..5206dc37115679cf86dc00abc8c115fa6993bcfe 100644 (file)
@@ -31,7 +31,6 @@ use OCP\EventDispatcher\GenericEvent;
  * @since 16.0.0
  */
 class AutoCompleteEvent extends GenericEvent {
-
        /**
         * @param array $arguments
         * @since 16.0.0
index ddf39671d874b5725b33f89f0ba25e14d68165aa..91a50761967d0a3bcd7f4c91a42fad590cc8ff72 100644 (file)
@@ -30,7 +30,6 @@ namespace OCP\Collaboration\AutoComplete;
  * @since 13.0.0
  */
 interface ISorter {
-
        /**
         * @return string The ID of the sorter, e.g. commenters
         * @since 13.0.0
index 31608b52cc58f6381b1a23cb46c02eaf75f1e71d..1b9157fd9b187464c9d60b51d071cbde7d8a681d 100644 (file)
@@ -30,7 +30,6 @@ use JsonSerializable;
  * @since 25.0.0
  */
 interface IReference extends JsonSerializable {
-
        /**
         * @since 25.0.0
         */
index 5efae755f4d02b7cc20b32d4a722dfc27e38f944..1fae6fc8db3c7732f4e688d10ce999582e01e5d9 100644 (file)
@@ -31,7 +31,6 @@ use OCP\IUser;
  * @since 16.0.0
  */
 interface ICollection {
-
        /**
         * @return int
         * @since 16.0.0
index f220a9c489f64d2890e02fd88fded1193bd5c191..a71fa0bb335ef19d9d373f6bd7477cf15abd16cd 100644 (file)
@@ -33,7 +33,6 @@ use OCP\IUser;
  * @since 16.0.0
  */
 interface IManager extends IProvider {
-
        /**
         * @param int $id
         * @return ICollection
index 88a74496e55902502d3589ae56c21697db23f27f..befb3acc00bb34290723b2e741037e0ac7c92953 100644 (file)
@@ -32,7 +32,6 @@ use OCP\IUser;
  * @since 16.0.0
  */
 interface IProvider {
-
        /**
         * Get the resource type of the provider
         *
index 5dcb3eeaca94e835fcb3581d9131156dd0abaf0c..ba1ab0eba9d191e7e187b4042647f4b334fcdfda 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Collaboration\Resources;
  * @since 18.0.0
  */
 interface IProviderManager {
-
        /**
         * @return IProvider[] list of resource providers
         * @since 18.0.0
index 20148090d641443ae379977335c6b6a713ffc7a8..3d724e79470313940f1ae2d9f6415cd8b1a4eac6 100644 (file)
@@ -32,7 +32,6 @@ use OCP\IUser;
  * @since 16.0.0
  */
 interface IResource {
-
        /**
         * @return string
         * @since 16.0.0
index 244df0243f7dc5629fbc44a6e8be37394de1559d..1793a1e3a8633044b1399408138aef3c1e99c8f1 100644 (file)
@@ -31,7 +31,6 @@ use OCP\EventDispatcher\Event;
  * @since 9.0.0
  */
 class CommentsEvent extends Event {
-
        /**
         * @deprecated 22.0.0
         */
index 4e19a3aaadc6b2191aec84ff9d6bcc8b2ad5714b..19d9dee133952c7643c02b672e2f898efb233fc0 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Comments;
  * @since 11.0.0
  */
 interface ICommentsEventHandler {
-
        /**
         * @param CommentsEvent $event
         * @since 11.0.0
index da9e4d76a386ceb514028d01392b585c926b0c8d..a245e5d2f2006213f85c9042dcb89bcac11f6bf8 100644 (file)
@@ -39,7 +39,6 @@ use OCP\PreConditionNotMetException;
  * @since 9.0.0
  */
 interface ICommentsManager {
-
        /**
         * @const DELETED_USER type and id for a user that has been deleted
         * @see deleteReferencesOfActor
index e6f69807b054521f8c81f1404a259a2db1dc4229..b1c70d445f3172700baceedb3d7f534a62dd539b 100644 (file)
@@ -35,7 +35,6 @@ use OCP\IServerContainer;
  * @since 9.0.0
  */
 interface ICommentsManagerFactory {
-
        /**
         * Constructor for the comments manager factory
         *
index 803cf761c0cf3c0327c063ef725fc9defaa81b58..99f42d2895fbba668f5da64574e2e70c9d586ca6 100644 (file)
@@ -31,7 +31,6 @@ use OCP\EventDispatcher\Event;
  * @since 9.0.0
  */
 class ConsoleEvent extends Event {
-
        /**
         * @deprecated 22.0.0
         */
index f6022fefac343cb841efde97b8bf35d078eea657..f9b868906df3fd686bfd1da888b9091965787fba 100644 (file)
@@ -30,7 +30,6 @@ use JsonSerializable;
  * @since 12.0
  */
 interface IAction extends JsonSerializable {
-
        /**
         * @param string $icon absolute URI to an icon
         * @since 12.0
index b4e4eb968191f5a9f1e4db2ae8f435f565f133d8..791fc1f288cbda515a0205a3f6ee33e073f13ea4 100644 (file)
@@ -26,7 +26,6 @@ namespace OCP\Contacts\ContactsMenu;
  * @since 12.0
  */
 interface IActionFactory {
-
        /**
         * Construct and return a new link action for the contacts menu
         *
index 8b36f9cde5c1cc6dd99b97f59fc72e1460bdd1b9..ce153375a29b77771a0599128103a8cbdbdaccb8 100644 (file)
@@ -30,8 +30,6 @@ use OCP\IUser;
  * @since 13.0.0
  */
 interface IContactsStore {
-
-
        /**
         * @param IUser $user
         * @param string|null $filter
index d4e3e31cf79913ae68237ecfdc1e355202bed359..9d78b0c8f573177c40e36f4b631eed56f06438d3 100644 (file)
@@ -29,7 +29,6 @@ use JsonSerializable;
  * @since 12.0
  */
 interface IEntry extends JsonSerializable {
-
        /**
         * @since 12.0
         * @return string
index 936dd22bcf2498c0a86cbbf9a08b8d95a87de156..989e4ef522c6c44ec2dcee17492938511a877b15 100644 (file)
@@ -26,7 +26,6 @@ namespace OCP\Contacts\ContactsMenu;
  * @since 12.0
  */
 interface ILinkAction extends IAction {
-
        /**
         * @param string $href the target URL of the action
         * @since 12.0
index c6c695c56986a59de24155b7189981bdccb4b2a6..c05f2707c188ba199165c836c3f5f47ff0c848cd 100644 (file)
@@ -26,7 +26,6 @@ namespace OCP\Contacts\ContactsMenu;
  * @since 12.0
  */
 interface IProvider {
-
        /**
         * @since 12.0
         * @param IEntry $entry
index b879c89a730567e4d967811fcef112112a3fe2e4..050183bd76101ae5288cf4e07c35b969050fcf75 100644 (file)
@@ -39,7 +39,6 @@ use OCP\IUser;
  * @since 19.0.0
  */
 class ContactInteractedWithEvent extends Event {
-
        /** @var IUser */
        private $actor;
 
index 2e87f6c8afc1165dddbfd2d0d6f33524eb788b42..7aa3d9ce38b40559917369321bd3a55c06738f10 100644 (file)
@@ -48,7 +48,6 @@ namespace OCP\Contacts;
  * @since 6.0.0
  */
 interface IManager {
-
        /**
         * This function is used to search and find contacts within the users address books.
         * In case $pattern is empty all contacts will be returned.
index d9d11e308d686fa09ceb1394ca9e5583cb74f074..105cbd188d7eb56ee1f259faddcd2e79090ea4ec 100644 (file)
@@ -39,7 +39,6 @@ use Exception as BaseException;
  * @since 21.0.0
  */
 class Exception extends BaseException {
-
        /**
         * Nextcloud lost connection to the database
         *
index 391f987d20a2e7654c6b13446a7247f7a8c67654..2ef5cf7fc4661b4c55dff4182e6aaddb8ea659ea 100644 (file)
@@ -42,7 +42,6 @@ use PDO;
  * @since 21.0.0
  */
 interface IPreparedStatement {
-
        /**
         * @return true
         *
index cbed1e51dacdf350ae221ed3d7bd436de15ec3d1..10a60cd5ff4e1a3ebfb500ed2754b1cbefd434c8 100644 (file)
@@ -44,7 +44,6 @@ use PDO;
  * @since 21.0.0
  */
 interface IResult {
-
        /**
         * @return true
         *
index 5c7ebaa7c3020f6089f4e1b6a439852c58d6cedb..06827203f74da32dfdc45a68dfe2d453381103c9 100644 (file)
@@ -36,7 +36,6 @@ use Doctrine\DBAL\Platforms\AbstractPlatform;
  * @since 13.0.0
  */
 interface ISchemaWrapper {
-
        /**
         * @param string $tableName
         *
index 218b7d8cb2d6cf8ff0ab9c0bb97f0042ed45aef1..d677ee214f8d10a7ef777f274cc5940e9c373804 100644 (file)
@@ -38,7 +38,6 @@ use OCP\DB\IResult;
  * @psalm-taint-specialize
  */
 interface IQueryBuilder {
-
        /**
         * @since 9.0.0
         */
index 42ba9544d8af2177bc2f844bcb75ad9d1ae65b36..6553e8ec89a16c3db74feeecc62e71edae50d2fc 100644 (file)
@@ -32,7 +32,6 @@ namespace OCP\Dashboard;
  * @since 22.0.0
  */
 interface IAPIWidget extends IWidget {
-
        /**
         * @return \OCP\Dashboard\Model\WidgetItem[] The widget items
         * @since 22.0.0
index 4fdeec700d3a1932b0126bb07c6f97689782ff82..443a9c9332c8c7bd610c1aff7ae0bd333d303894 100644 (file)
@@ -35,7 +35,6 @@ namespace OCP\Dashboard;
  * @since 26.0.0
  */
 interface IConditionalWidget extends IWidget {
-
        /**
         * @return bool Whether the widget is enabled and should be registered
         * @since 26.0.0
index d9e73c89eb971d6f336a03812cdb359811cb0d97..77bff7b34ff6d80cfcaf2445f0f8c63d4dc373bf 100644 (file)
@@ -31,7 +31,6 @@ namespace OCP\Dashboard;
  * @since 20.0.0
  */
 interface IManager {
-
        /**
         * @param string $widgetClass
         * @since 20.0.0
index 6f3f795f958481d4dec6fa249ed8ee56ff55dded..46ba2135775b7f0d5f63607c62ee21ae2f566a6c 100644 (file)
@@ -31,7 +31,6 @@ namespace OCP\Dashboard;
  * @since 20.0.0
  */
 interface IWidget {
-
        /**
         * @return string Unique id that identifies the widget, e.g. the app id
         * @since 20.0.0
index cbef0ec79a4a3461f75cb866fea68e0f8b6ef71f..cb04d62df0d1a510a147b6e00a095752f02e9c3f 100644 (file)
@@ -39,7 +39,6 @@ namespace OCP;
  * @since 6.0.0
  */
 class Defaults {
-
        /**
         * \OC_Defaults instance to retrieve the defaults
         * @since 6.0.0
index 263663c7907a406c69aedc310b9e944e0c5c0da4..89209748e4fdf4e5097352fe3c0a13a361c2f5be 100644 (file)
@@ -28,7 +28,6 @@ use OCP\Files\File;
  * @since 18.0.0
  */
 abstract class ACreateEmpty {
-
        /**
         * Unique id for the creator to filter templates
         *
index 0bdebc3e2d1548802d503b1c2b3c34c38a1ef312..c91e56d79d7a93b87802bfded7d5f6ea4b9ba344 100644 (file)
@@ -26,7 +26,6 @@ namespace OCP\DirectEditing;
  * @since 18.0.0
  */
 abstract class ACreateFromTemplate extends ACreateEmpty {
-
        /**
         * List of available templates for the create from template action
         *
index 53aff0d40ffea93c6140de074d9dd95301532458..f66628ad93bcd4d748171769d95d0e1e399a9ac2 100644 (file)
@@ -30,7 +30,6 @@ use JsonSerializable;
  * @since 18.0.0
  */
 abstract class ATemplate implements JsonSerializable {
-
        /**
         * Return a unique id so the app can identify the template
         *
index f3b0de07e5bc3857c9c78c3e2b9f7694d7e4849e..c70b4751e6e61ce2df556d829ba974112574f19b 100644 (file)
@@ -31,7 +31,6 @@ use OCP\AppFramework\Http\Response;
  * @since 18.0.0
  */
 interface IEditor {
-
        /**
         * Return a unique identifier for the editor
         *
index a1a5ed4f2bd7542a15972c35c47cd32b2712dac8..ee4408fee84050cd3fb6db79451b73a858a93ba4 100644 (file)
@@ -35,7 +35,6 @@ use RuntimeException;
  * @since 18.0.0
  */
 interface IManager {
-
        /**
         * Register a new editor
         *
index 502ef7f5032af19cbd7e4c03dd2de87ba20ad987..d9c51ca31d347ea5091fca2a069274f0f24ab740 100644 (file)
@@ -29,7 +29,6 @@ use OCP\Files\NotFoundException;
  * @since 18.0.0
  */
 interface IToken {
-
        /**
         * Extend the token validity time
         *
index ed9a450d5e64d61e57e6f38fbf2c4afc47464b7f..655fe815f6c56cdbe18a1be56c4c842686afd804 100644 (file)
@@ -31,7 +31,6 @@ use OCP\EventDispatcher\Event;
  * @since 18.0.0
  */
 class RegisterDirectEditorEvent extends Event {
-
        /**
         * @var IManager
         */
index aef4114bb1b1b36401e833998827c874f2f4d11c..8406d0593d2e4134e73b67fc0b017f971b626aca 100644 (file)
@@ -34,7 +34,6 @@ use OCP\HintException;
  * @since 8.1.0
  */
 class GenericEncryptionException extends HintException {
-
        /**
         * @param string $message
         * @param string $hint
index 058256e4850f5b79bd7a8543cf4465dda1684f26..d0ae430a81a6e2a9c8c96733d51689b7089f0255 100644 (file)
@@ -35,7 +35,6 @@ use Symfony\Component\Console\Output\OutputInterface;
  * @since 8.1.0
  */
 interface IEncryptionModule {
-
        /**
         * @return string defining the technical unique id
         * @since 8.1.0
index ab2b46a5ce46b4428ff55b655a7962ebb9e69cf4..209245677bba5eb01b141182db1a16a5d5dfaf11 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Encryption;
  * @since 8.1.0
  */
 interface IFile {
-
        /**
         * get list of users with access to the file
         *
index 1a745716209ccaf2cdeb1d614457f049b1d54ed5..f55fd9a50fd1a977c2fcd02e3cabff914357bfab 100644 (file)
@@ -33,7 +33,6 @@ use OC\Encryption\Exceptions\ModuleDoesNotExistsException;
  * @since 8.1.0
  */
 interface IManager {
-
        /**
         * Check if encryption is available (at least one encryption module needs to be enabled)
         *
index ae1449c7fdf9e331b10c8eaadef11897f70d5ffb..832cb97ec379bece329a30d7951d48436a57f213 100644 (file)
@@ -31,7 +31,6 @@ namespace OCP\Encryption\Keys;
  * @since 8.1.0
  */
 interface IStorage {
-
        /**
         * get user specific key
         *
index 3e41d316b9c00915ee5bd8e274c274a9c7dca4f8..aa18ce94498772da5532951323651f42eba26668 100644 (file)
@@ -31,7 +31,6 @@ use JsonSerializable;
  * @since 18.0.0
  */
 abstract class ABroadcastedEvent extends Event implements JsonSerializable {
-
        /**
         * @since 18.0.0
         */
index 92f18a4fa43a00d44bd9abd579465bf0b61cabda..94104300a099621437ee3ba9715da7bd680805a6 100644 (file)
@@ -41,7 +41,6 @@ use Psr\EventDispatcher\StoppableEventInterface;
  * @since 17.0.0
  */
 class Event implements StoppableEventInterface {
-
        /**
         * @var bool
         *
index 82505b6a5121666b83603baac41bae650053e565..0a96fa799d402c7bb3d6501f39d27c69d588748d 100644 (file)
@@ -32,7 +32,6 @@ namespace OCP\EventDispatcher;
  * @since 17.0.0
  */
 interface IEventDispatcher {
-
        /**
         * @template T of \OCP\EventDispatcher\Event
         * @param string $eventName preferably the fully-qualified class name of the Event sub class
index 638e0570ca0532fadd93e7f7d28e55dde71fcaf6..829a8769be241d2b90914d87011135345c035379 100644 (file)
@@ -31,7 +31,6 @@ namespace OCP\EventDispatcher;
  * @template T of Event
  */
 interface IEventListener {
-
        /**
         * @param Event $event
         * @psalm-param T $event
index 7b2ca3d9597821be0ea87162dafd326e7e57cd69..e5f8d50fd997b0795e18f9cde11b6cdc60b4bfc8 100644 (file)
@@ -31,7 +31,6 @@ use OCP\HintException;
  * @since 14.0.0
  */
 class ActionNotSupportedException extends HintException {
-
        /**
         * ActionNotSupportedException constructor.
         *
index dfcd963603573c168f30f11bf5a5ab552807b37b..2bd3e361edd01ee36873a07f54bb69309f2bb4d3 100644 (file)
@@ -31,7 +31,6 @@ use OCP\HintException;
  * @since 14.0.0
  */
 class AuthenticationFailedException extends HintException {
-
        /**
         * BadRequestException constructor.
         *
index b6d4b7e9bce14c60a926998dbb0bddb70a22cbc9..d30d81eca2783ed8a1b8b74dea47f484f602c1eb 100644 (file)
@@ -33,7 +33,6 @@ use OCP\HintException;
  * @since 14.0.0
  */
 class ProviderAlreadyExistsException extends HintException {
-
        /**
         * ProviderAlreadyExistsException constructor.
         *
index efcc87883861cf2ef3b585b1ab36d08dfe68367b..9294f5e1d95b679a95203bd4b7a520d8fb4a376c 100644 (file)
@@ -32,7 +32,6 @@ use OCP\HintException;
  * @since 14.0.0
  */
 class ProviderCouldNotAddShareException extends HintException {
-
        /**
         * ProviderCouldNotAddShareException constructor.
         *
index 69c69f17d991d3cce3d6336fd9d8deb1e95f7dc2..849209da22d44dbf090677460122f21e9c454941 100644 (file)
@@ -31,7 +31,6 @@ use OCP\HintException;
  * @since 14.0.0
  */
 class ProviderDoesNotExistsException extends HintException {
-
        /**
         * ProviderDoesNotExistsException constructor.
         *
index d92e9f6b4edbfb01f4b446775d83b702457323e3..ba1d93bb4cd638f6eaa42fafea64982432049a8f 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Federation;
  * @since 14.0.0
  */
 interface ICloudFederationFactory {
-
        /**
         * get a CloudFederationShare Object to prepare a share you want to send
         *
index b8fec05d6d2e1ba61083ff5ccd8154e9f1205193..2b51b2bc8dbad47388a19ea66b448ff18c3e8850 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Federation;
  * @since 14.0.0
  */
 interface ICloudFederationNotification {
-
        /**
         * add a message to the notification
         *
index 2e9d58fcb3ebcb8a2cde64cd191e2cebf0c96e98..7cb620848ef757bc163a7a6df855b87cb3d7e4de 100644 (file)
@@ -39,7 +39,6 @@ use OCP\Share\Exceptions\ShareNotFound;
  */
 
 interface ICloudFederationProvider {
-
        /**
         * get the name of the share type, handled by this provider
         *
index e607b0555abaa67b50923ef9b8f0f1d913efc862..7272653b14de405c2d98f5bd9fa7dab04b0d98f0 100644 (file)
@@ -32,7 +32,6 @@ namespace OCP\Federation;
  *
  */
 interface ICloudFederationProviderManager {
-
        /**
         * Registers an callback function which must return an cloud federation provider
         *
index 892a47e81860843794cc0dede217eea2f9ddbfed..c2a4ca29e11c76852e449ce76faa0d673bd68f4f 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Federation;
  * @since 14.0.0
  */
 interface ICloudFederationShare {
-
        /**
         * set uid of the recipient
         *
index b689da36b83b2b27662074a36c38baaff289ef3c..fe53b582720565499cc95885f40f75988ab37f59 100644 (file)
@@ -10,7 +10,6 @@ use OCP\Files\IAppData;
  * @since 25.0.0
  */
 interface IAppDataFactory {
-
        /**
         * Get the AppData folder for the specified $appId
         * @param string $appId
index 10aabc4a143584ee54914a3fb9805086bd3ee32f..c5e0a40cfd95ec74a037e4801660492836fa6f79 100644 (file)
@@ -31,7 +31,6 @@ use OCP\EventDispatcher\Event;
  * @since 18.0.0
  */
 class BeforeFileScannedEvent extends Event {
-
        /** @var string */
        private $absolutePath;
 
index add86ab719c60c2d1d5f9bcc1849737f6bd1e397..3f163a5a73bca623310aa0c726414333d8abc0fa 100644 (file)
@@ -31,7 +31,6 @@ use OCP\EventDispatcher\Event;
  * @since 18.0.0
  */
 class BeforeFolderScannedEvent extends Event {
-
        /** @var string */
        private $absolutePath;
 
index 28376fc10b9f4c6f3574a3531f1c64c488e74941..18d6318f2f4938ecb39d930f9c50bb7e8c28b496 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Files\Storage\IStorage;
  * @since 18.0.0
  */
 class FileCacheUpdated extends Event {
-
        /** @var IStorage */
        private $storage;
 
index 3d6b3020b946f03224762e79e30682ed79e9f695..96a40a0204cb0360c2034983199ab5d8c08da88c 100644 (file)
@@ -31,7 +31,6 @@ use OCP\EventDispatcher\Event;
  * @since 18.0.0
  */
 class FileScannedEvent extends Event {
-
        /** @var string */
        private $absolutePath;
 
index 82c408daaba630e71ef426e5d4aba1ec6b531a2a..e890797936413beea0031039aba87cd308e57b76 100644 (file)
@@ -31,7 +31,6 @@ use OCP\EventDispatcher\Event;
  * @since 18.0.0
  */
 class FolderScannedEvent extends Event {
-
        /** @var string */
        private $absolutePath;
 
index 6478d527eee7636bcd3dbeec700c90f706f10e7f..d6c1c6d0f95b8ce080b85070736b94ca87023b6f 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Files\Node;
  * @since 20.0.0
  */
 abstract class AbstractNodeEvent extends Event {
-
        /** @var Node */
        private $node;
 
index dd2174f08841215f6b655d93f1dca0d293c9e1db..6bd9bc32a880b15958ce078ae7336b498b5dc128 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Files\Node;
  * @since 20.0.0
  */
 abstract class AbstractNodesEvent extends Event {
-
        /** @var Node */
        private $source;
        /** @var Node */
index 8699131d4d42d32f95b156f50f44161a22161b9b..6986b4b59899d4254703621a1691ca6384089ade 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Files\Storage\IStorage;
  * @since 18.0.0
  */
 class NodeAddedToCache extends Event {
-
        /** @var IStorage */
        private $storage;
 
index 7c85e5e4586953b0b9a4837dc8b3df3bd9690112..9f67cb71371e96b0b9002c2ee92bae9bab90bacb 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Files\Storage\IStorage;
  * @since 18.0.0
  */
 class NodeRemovedFromCache extends Event {
-
        /** @var IStorage */
        private $storage;
 
index 4b148dde93b6f8eaaa2404f0b74742fe1be321d3..6a0a8d7fc4bade356853a3cf8e5343c184c044ff 100644 (file)
@@ -32,7 +32,6 @@ namespace OCP\Files;
  * @since 9.0.0
  */
 class ForbiddenException extends \Exception {
-
        /** @var bool */
        private $retry;
 
index 6017360cab050cd7da974d30bf888eade0f9a0c1..11ba5cfc95f91c44ec95e2fd0570446d0ce12e1c 100644 (file)
@@ -32,7 +32,6 @@ namespace OCP\Files;
  * Interface to handle mimetypes (detection and icon retrieval)
  **/
 interface IMimeTypeDetector {
-
        /**
         * detect mimetype only based on filename, content of file is not used
         * @param string $path
index faed18ed7d9054d19d7668865a5cae42fd50fd4a..d4f2767bc17bee768af8ff36607b968f89e33299 100644 (file)
@@ -28,7 +28,6 @@ namespace OCP\Files;
  * Interface to load mimetypes
  **/
 interface IMimeTypeLoader {
-
        /**
         * Get a mimetype from its ID
         *
index 7d007cb690cdb24860280244f14f1af1ace42654..452c0fd31573bab20a08bf723932e25c02310e9a 100644 (file)
@@ -33,7 +33,6 @@ use OC\User\NoUserException;
  * @since 8.0.0
  */
 interface IRootFolder extends Folder, Emitter {
-
        /**
         * Returns a view to user's files folder
         *
index 03737a178c6c5b14ec116e55f9e885a75880641d..2f863a585dccd477929dde6c01aeafe2859d8675 100644 (file)
@@ -30,7 +30,6 @@ namespace OCP\Files\Lock;
  * @since 24.0.0
  */
 interface ILock {
-
        /**
         * User owned manual lock
         *
index cad66380e938fe8900bc8f1cdb3b09e2002fc64c..2cdb027a570e1025731b377f1ce690b3547a1ee9 100644 (file)
@@ -39,7 +39,6 @@ use OCP\PreConditionNotMetException;
  * @since 24.0.0
  */
 interface ILockManager extends ILockProvider {
-
        /**
         * @throws PreConditionNotMetException if there is already a lock provider registered
         * @since 24.0.0
index 50326c427e4d7e73cfd5026cd5d85a66906e46c6..c2e18e6b19d2eef7b2315d8ea5999a7b04e62c01 100644 (file)
@@ -32,7 +32,6 @@ use OCP\PreConditionNotMetException;
  * @since 24.0.0
  */
 interface ILockProvider {
-
        /**
         * @throws PreConditionNotMetException
         * @throws NoLockProviderException
index aa760f53e961e9106d8230ef3fa32d9a28ee94de..a55e5758199d0956d8419d4f1d8fb47f25091af5 100644 (file)
@@ -33,7 +33,6 @@ namespace OCP\Files\Mount;
  * @since 8.2.0
  */
 interface IMountManager {
-
        /**
         * Add a new mount
         *
index 66144bc4360a694e0426d6aa30599997d084c839..b8e7ec9118f20a9d4acbad5db32826f5e0dadd9c 100644 (file)
@@ -28,7 +28,6 @@ namespace OCP\Files\Mount;
  * @since 8.0.0
  */
 interface IMountPoint {
-
        /**
         * get complete path to the mount point
         *
index 924141a3d4bbfcc1b9f3ed64732008a94fec782b..a202ef7c0c2e79bf8c283b02f40d11141e919d48 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Files\NotFoundException;
  * @since 7.0.0
  */
 interface IObjectStore {
-
        /**
         * @return string the container or bucket name where objects are stored
         * @since 7.0.0
index 34cd128d4496bd96dc12e1b2e57ef2e096339284..9050fe770b9ca4c4f9a04dfc1f7c91b8fb53ca07 100644 (file)
@@ -37,7 +37,6 @@ use OCP\Files\NotPermittedException;
  * @since 11.0.0
  */
 interface ISimpleFile {
-
        /**
         * Get the name
         *
index 696792c8d43f70d59e605705fde821fe712575e0..5fce191b57eba18eb5b0d3260eb395a524f0c4e0 100644 (file)
@@ -28,7 +28,6 @@ namespace OCP\Files;
  * @since 9.0.0
  */
 class StorageAuthException extends StorageNotAvailableException {
-
        /**
         * StorageAuthException constructor.
         *
index e05b9217799af7e97ecb784324ceb84d7ced5d93..0e16a24daa88b9a6a1629cb0337f60d12bf68c1c 100644 (file)
@@ -28,7 +28,6 @@ namespace OCP\Files;
  * @since 9.0.0
  */
 class StorageBadConfigException extends StorageNotAvailableException {
-
        /**
         * ExtStorageBadConfigException constructor.
         *
index d9a69e53edd30fe6e42d1bb9a4d8af0763fc1837..9113faf72a1eb71b3f9666482928f0609afa5175 100644 (file)
@@ -28,7 +28,6 @@ namespace OCP\Files;
  * @since 9.0.0
  */
 class StorageConnectionException extends StorageNotAvailableException {
-
        /**
         * StorageConnectionException constructor.
         *
index 256f7e710a1b61ab7fec1431bb6a95ab1b0ec03d..bad88ad35e0aeb684c7d34a0682515814f09ea70 100644 (file)
@@ -28,7 +28,6 @@ namespace OCP\Files;
  * @since 9.0.0
  */
 class StorageTimeoutException extends StorageNotAvailableException {
-
        /**
         * StorageTimeoutException constructor.
         *
index a874ec6491aedb541deefdd6487a3ec55b428b96..f39cf65fba4cfa209535a502118ab02b0f6b0863 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Files\GenericFileException;
  * @since 21.0.0
  */
 interface ITemplateManager {
-
        /**
         * Register a template type support
         *
index d71ef3b3655d249545b1dc8cc7cc12f5ebb73219..8fefc422c86d6c204b3330270a1870ba7ccc36fb 100644 (file)
@@ -31,7 +31,6 @@ use OCP\Files\File;
  * @since 21.0.0
  */
 final class Template implements \JsonSerializable {
-
        /** @var string */
        private $templateType;
        /** @var string */
index 421015067dfd6442fac38157bf6971853814dc5e..5a9d989f9afcef9bfc1978e389749c2134271ecb 100644 (file)
@@ -49,8 +49,6 @@ use OCP\FullTextSearch\Model\IIndexDocument;
  *
  */
 abstract class AFilesDocument extends IndexDocument {
-
-
        /**
         * Returns the owner of the document/file.
         *
index ee9f4ba20e1545b79f4979a11174e67181f96c9d..bd8fe19a349daf210cf9c20824092e4419a24d3b 100644 (file)
@@ -41,8 +41,6 @@ use OCP\FullTextSearch\Service\ISearchService;
  *
  */
 interface IFullTextSearchManager {
-
-
        /**
         * Register a IProviderService.
         *
index 147a883885e64a6b4fce6dc420307d981ec2a3f3..6ef39a4b2ed43e06007cc7e4341497e06a832342 100644 (file)
@@ -70,8 +70,6 @@ use OCP\FullTextSearch\Model\ISearchResult;
  *
  */
 interface IFullTextSearchPlatform {
-
-
        /**
         * Must returns a unique Id used to identify the Search Platform.
         * Id must contains only alphanumeric chars, with no space.
index 3d78199f4d675f8fe205aa7de705b6d1a6410f86..c9e4e44d93132361431058e3926d946a91f841ab 100644 (file)
@@ -71,8 +71,6 @@ use OCP\FullTextSearch\Model\ISearchTemplate;
  *
  */
 interface IFullTextSearchProvider {
-
-
        /**
         * Must returns a unique Id used to identify the Content Provider.
         * Id must contains only alphanumeric chars, with no space.
index 84ce46db36158120af195e8cd764153721377d81..08d600849a5d644956a0e0f340d95ccff5769396 100644 (file)
@@ -45,8 +45,6 @@ namespace OCP\FullTextSearch\Model;
  *
  */
 interface IDocumentAccess {
-
-
        /**
         * Owner of the document can be set at the init of the object.
         *
index f8ee10671e5a4f284b1f0f34e1b7d8d8347174db..9f66496703dd74ca6b853bf0030759f627ce1b8c 100644 (file)
@@ -37,8 +37,6 @@ namespace OCP\FullTextSearch\Model;
  *
  */
 interface IIndexOptions {
-
-
        /**
         * Get the value (as a string) for an option.
         *
index 7cfe07d9c3e67b5e08c43b12c6e4bda9d838346a..fbea54977da368147974e400c2abfffc966ddc2d 100644 (file)
@@ -33,8 +33,6 @@ namespace OCP\FullTextSearch\Model;
  *
  */
 interface ISearchOption {
-
-
        /**
         * @since 16.0.0
         */
index 76fc3b18b024cb34567298cadff89f31df76211d..5eaac6557c7a98de6b745eb96036e6e531c709f5 100644 (file)
@@ -43,8 +43,6 @@ namespace OCP\FullTextSearch\Model;
  *
  */
 interface ISearchRequest {
-
-
        /**
         * Get the maximum number of results to be returns by the Search Platform.
         *
index 729f79da762bb7d605dd8b5f849a79f278a8c4da..60070856264f24a1d3737f1a80ea85e9d6bc58d5 100644 (file)
@@ -46,8 +46,6 @@ use OCP\FullTextSearch\IFullTextSearchProvider;
  *
  */
 interface ISearchResult {
-
-
        /**
         * Get the original SearchRequest.
         *
index adeccd4224c8ec088345f895d39acfc50931e23c..c7e946761bbc61bf106d7a4295d6624774fb9748 100644 (file)
@@ -52,8 +52,6 @@ use OCP\FullTextSearch\IFullTextSearchProvider;
  *
  */
 interface ISearchTemplate {
-
-
        /**
         * Set the class of the icon to be displayed in the left panel of the
         * FullTextSearch navigation page, in front of the related Content Provider.
index b9b15e96371e75d0188a39544dc7552dc31df768..f7ab451fe77006f1a56403a3e8989c16966bb47c 100644 (file)
@@ -34,8 +34,6 @@ use OCP\FullTextSearch\Model\IIndex;
  *
  */
 interface IIndexService {
-
-
        /**
         * Create an Index
         *
index 8a5db07cb1dc4bfc08b986b071b128541ddf1d17..23d33c57b09a3e50e986dad46109d1c3c3766a63 100644 (file)
@@ -32,8 +32,6 @@ namespace OCP\FullTextSearch\Service;
  *
  */
 interface IProviderService {
-
-
        /**
         * Check if the provider $providerId is already indexed.
         *
index 6a29e15755affc7d8b815d0c7f2df5d26a4df0e5..3a65781d477c5c94138aa3a5c7dfa1d4573464f6 100644 (file)
@@ -35,8 +35,6 @@ use OCP\FullTextSearch\Model\ISearchResult;
  *
  */
 interface ISearchService {
-
-
        /**
         * generate a search request, based on an array:
         *
index 03bac271fbe022daffa57049b5376af256aa8bb8..f28bea4b9b132296937c9959faaa604f27d2279e 100644 (file)
@@ -30,7 +30,6 @@ namespace OCP\GlobalScale;
  * @since 12.0.1
  */
 interface IConfig {
-
        /**
         * check if global scale is enabled
         *
index 2d611c27b4f38cb2bd1fb2c6c7ecd76a3961173c..e5b7f78ac6a3c6c8cf4a54b03f69cbb133284c6d 100644 (file)
@@ -31,7 +31,6 @@ use OCP\GroupInterface;
  * @since 14.0.0
  */
 abstract class ABackend implements GroupInterface {
-
        /**
         * @deprecated 14.0.0
         *
index 8019766ca843eee6ee311b6197de4a85d7460b27..e7f1f92bd3aa36b12a4bfe698f982e0faad1c5e5 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Group\Backend;
  * @since 14.0.0
  */
 interface IAddToGroupBackend {
-
        /**
         * @since 14.0.0
         */
index a971d3d0c06df5be5ee938dc05fecdd52b28e724..44d25715cb332800fe59507dd343cd158b6f76b0 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Group\Backend;
  * @since 14.0.0
  */
 interface ICountDisabledInGroup {
-
        /**
         * @since 14.0.0
         */
index 946dd20ee8b805a6ed371203fa0805f24ebcf5bb..10920975451645d5699f3c39294d8a50dc905884 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Group\Backend;
  * @since 14.0.0
  */
 interface ICountUsersBackend {
-
        /**
         * @since 14.0.0
         */
index 43f2960725b384e1882dd6f9f4d2815a1fbf59b3..1c90eae114915fd1d61f8ada19d159ffeb7c3ccb 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Group\Backend;
  * @since 14.0.0
  */
 interface ICreateGroupBackend {
-
        /**
         * @since 14.0.0
         */
index 90be105e7d8a83c9c768fff7d846cdd06c467d8a..422ec4905fe877a9ab38c070b7f02fc71f6cdd13 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Group\Backend;
  * @since 14.0.0
  */
 interface IDeleteGroupBackend {
-
        /**
         * @since 14.0.0
         */
index 096555d0c8e1888968b7ee5dcdce6020672ab7e7..d3f83b1550619763d3b174962160992dd701f8b8 100644 (file)
@@ -30,7 +30,6 @@ namespace OCP\Group\Backend;
  * @since 17.0.0
  */
 interface IGetDisplayNameBackend {
-
        /**
         * @param string $gid
         * @return string
index 56241d5538b8106b477ad7aff9ea6ad263367c95..4852f978195921b5607ae417d302d16f6d6fb541 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Group\Backend;
  * @since 14.0.0
  */
 interface IGroupDetailsBackend {
-
        /**
         * @since 14.0.0
         */
index 4ee67cc139f8459776c467939c5e986d29ce9bbf..c653ef51f87df2e55afc4648bf36009b99865d3c 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Group\Backend;
  * @since 14.0.0
  */
 interface IIsAdminBackend {
-
        /**
         * @since 14.0.0
         */
index eca9b5d7aca97944579b61409d0b2dedbac80346..3ce7ea663efcd968f30ba1c0a45a249b06805cee 100644 (file)
@@ -26,7 +26,6 @@ namespace OCP\Group\Backend;
  * @since 22.0.0
  */
 interface INamedBackend {
-
        /**
         * Backend name to be shown in group management
         * @return string the name of the backend to be shown
index 8532bcefd1c0d34a397fac6d134ae51b10f5d3e0..13e8ee4441fd39363048b951cc96eeba80755d08 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Group\Backend;
  * @since 14.0.0
  */
 interface IRemoveFromGroupBackend {
-
        /**
         * @since 14.0.0
         */
index e5896b52953e0b1f2e7ec352a5af232125a6818e..463e83ae4c13347bc54967e52fa4b7cb2191dfe0 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Group\Backend;
  * @since 18.0.0
  */
 interface ISetDisplayNameBackend {
-
        /**
         * @param string $gid
         * @param string $displayName
index a8bd6a4e10089ce6958a70b1ce6521a59befe2f8..ba053277984d475c1e16444260793472aa94e455 100644 (file)
@@ -31,7 +31,6 @@ use OCP\EventDispatcher\Event;
  * @since 18.0.0
  */
 class BeforeGroupCreatedEvent extends Event {
-
        /** @var string */
        private $name;
 
index 7824a17dfdd7015995432a54038793c4ca4442a4..eed9014d9b8123d132b8fec280ad5a6ec4cf1022 100644 (file)
@@ -32,7 +32,6 @@ use OCP\IGroup;
  * @since 18.0.0
  */
 class BeforeGroupDeletedEvent extends Event {
-
        /** @var IGroup */
        private $group;
 
index 526d94f564f0b7d892135506857f0ae7f522bc6f..7aad16bef199ad5e2b1f43847c85d3c610e4fdb2 100644 (file)
@@ -33,7 +33,6 @@ use OCP\IUser;
  * @since 18.0.0
  */
 class BeforeUserAddedEvent extends Event {
-
        /** @var IGroup */
        private $group;
 
index 164e3282c3197ab55a7b3e742b3e045cace84310..e3d2d0bf682449cc2a8227d475b3811d826e45f6 100644 (file)
@@ -38,7 +38,6 @@ use OCP\IUser;
  * https://github.com/nextcloud/server/issues
  */
 class BeforeUserRemovedEvent extends Event {
-
        /** @var IGroup */
        private $group;
 
index 38c5aaf4fec4c74fb7395a7762905231dd15ab52..2f1213497829061eff74d11a4c79c3bad9228b0a 100644 (file)
@@ -32,7 +32,6 @@ use OCP\IGroup;
  * @since 18.0.0
  */
 class GroupCreatedEvent extends Event {
-
        /** @var IGroup */
        private $group;
 
index d3d9a3736f44f2650fe084339801699b002c60f4..d4567a643b9b1205347009815e8d2b139a7bde99 100644 (file)
@@ -32,7 +32,6 @@ use OCP\IGroup;
  * @since 18.0.0
  */
 class GroupDeletedEvent extends Event {
-
        /** @var IGroup */
        private $group;
 
index 08bca54253a6783749461e23ee28c49b31e187d3..17f117515a49ee921f9f43d53df1aeb1c585a43c 100644 (file)
@@ -33,7 +33,6 @@ use OCP\IUser;
  * @since 21.0.0
  */
 class SubAdminAddedEvent extends Event {
-
        /** @var IGroup */
        private $group;
 
index 41d42a24b882abc6c0eaa27ebf217e1d5da4f905..334fd15178a6efec27144d196e04ed1e4fb0bedd 100644 (file)
@@ -33,7 +33,6 @@ use OCP\IUser;
  * @since 21.0.0
  */
 class SubAdminRemovedEvent extends Event {
-
        /** @var IGroup */
        private $group;
 
index 85b618d5e78e73960d5a9d64aef4e86bd2d1af2a..99b1cd775d636425b2752ee43cc42c945500ca47 100644 (file)
@@ -33,7 +33,6 @@ use OCP\IUser;
  * @since 18.0.0
  */
 class UserAddedEvent extends Event {
-
        /** @var IGroup */
        private $group;
 
index c3c9483996f708a15b1d98deeec4f3e248037512..9ea1700d5604f3b1c063db455796c2558c27f2dc 100644 (file)
@@ -33,7 +33,6 @@ use OCP\IUser;
  * @since 18.0.0
  */
 class UserRemovedEvent extends Event {
-
        /** @var IGroup */
        private $group;
 
index d2b302a4b8c3ef4269f99dc60c8ec5f787985d5e..c8c14e1c880a76eba81c027b82b06f6ef5e20e11 100644 (file)
@@ -32,7 +32,6 @@ use OCP\IUser;
  * @since 16.0.0
  */
 interface ISubAdmin {
-
        /**
         * add a SubAdmin
         * @param IUser $user user to be SubAdmin
index f1765afed961e67532280b0794e7da5b658918d9..b7c0713612612fb6f3b66646b53a49048fbce763 100644 (file)
@@ -36,7 +36,6 @@ namespace OCP;
  * @since 4.5.0
  */
 interface GroupInterface {
-
        /**
         * actions that user backends can define
         */
index 9a6dc7a9b651d53ad5eb2f97c9240c075d2bcc1e..d692edc5b71d4a048398d2f2524ca2cf22a8ca7c 100644 (file)
@@ -32,7 +32,6 @@ namespace OCP\Http\Client;
  * @since 8.1.0
  */
 interface IClient {
-
        /**
         * Sends a GET request
         * @param string $uri
index a240c0eebde211c7d9c13241a67614fe1b528652..f427758b363a56904a2e14f86b6b8e0814431741 100644 (file)
@@ -31,7 +31,6 @@ use OCP\AppFramework\Http\Response;
  * @since 21.0.0
  */
 final class GenericResponse implements IResponse {
-
        /** @var Response */
        private $response;
 
index c0dd1d372bc327cf33be15c4c2ffc34785711581..18a25dd0baa180926ee529d53e68b116bad000c3 100644 (file)
@@ -34,7 +34,6 @@ namespace OCP\Http\WellKnown;
  * @since 21.0.0
  */
 interface IHandler {
-
        /**
         * @param string $service the name of the well known service, e.g. 'webfinger'
         * @param IRequestContext $context
index 1d05b116e9b63a1eefade3e6cc7999c06a76fb92..a764ad96c931e81fffa1d89b17ee613c8dfea1f9 100644 (file)
@@ -36,7 +36,6 @@ use OCP\IRequest;
  * @since 21.0.0
  */
 interface IRequestContext {
-
        /**
         * @return IRequest
         *
index 1504d4d006660c306a64af1aea71010c8e44a81f..d3ae5f7afccb416f8bbc6502945339489119ecd4 100644 (file)
@@ -31,7 +31,6 @@ use OCP\AppFramework\Http\Response;
  * @since 21.0.0
  */
 interface IResponse {
-
        /**
         * @since 21.0.0
         */
index 192334ce83ca092b1dc4238da0995e1f9e9a7ff2..7a25f8fe0c3c46d6b4ab2c0cc4e6ae71582ef8c9 100644 (file)
@@ -38,7 +38,6 @@ use function array_filter;
  * @since 21.0.0
  */
 final class JrdResponse implements IResponse {
-
        /** @var string */
        private $subject;
 
index 8df9a0c007d113818dfeff031a14d98de177880a..10988bd81e6e12027d6600fe9b05ff073f9741a8 100644 (file)
@@ -38,7 +38,6 @@ namespace OCP {
         * @since 5.0.0
         */
        interface IAddressBook {
-
                /**
                 * @return string defining the technical unique key
                 * @since 5.0.0
index f9fe9a645e65bc2b4695dcef5352e4033bd4031a..a80726c73f646ca2f44f83e45dc408dcce533137 100644 (file)
@@ -34,7 +34,6 @@ use OCP\Files\SimpleFS\ISimpleFile;
  * @since 6.0.0
  */
 interface IAvatar {
-
        /**
         * Get the users avatar
         *
index 15894550d100ef0bf301b63aa0c31c5068dde474..aef85855ff63e2180387db837a23b9f5286caa2b 100644 (file)
@@ -35,7 +35,6 @@ namespace OCP;
  */
 
 interface IAvatarManager {
-
        /**
         * Return a user specific instance of \OCP\IAvatar
         * @see IAvatar
index 0e818277f608ef072fcf7c386544265656bb3477..d13aec534d5b5c5241d7f2a6dc106bfb9dc3639f 100644 (file)
@@ -33,7 +33,6 @@ namespace OCP;
  * @since 6.0.0
  */
 interface ICache {
-
        /**
         * Get a value from the user cache
         * @param string $key
index 08634ad508fd96d9878d19b0764f0c4c484f7765..86595e1e8f7af228130a0e66ee66cb3c0fec78b2 100644 (file)
@@ -43,7 +43,6 @@ use Psr\Container\ContainerInterface;
  * @deprecated 20.0.0 use \Psr\Container\ContainerInterface
  */
 interface IContainer extends ContainerInterface {
-
        /**
         * @template T
         *
index 71979042811113fb7ba9d1d28c8616b330dea2c1..710cbd1248d5a92995fd2fd94e267b3548cbcf9d 100644 (file)
@@ -37,7 +37,6 @@ namespace OCP;
  * @since 6.0.0
  */
 interface INavigationManager {
-
        /**
         * Navigation entries of the app navigation
         * @since 16.0.0
index a8a798a526ce410cf5dec5503421e3f87f53560a..8483587d60e33be52b819f738d0521cb0b9dbe5f 100644 (file)
@@ -38,7 +38,6 @@ use OCP\Files\SimpleFS\ISimpleFile;
  * @since 6.0.0
  */
 interface IPreview {
-
        /**
         * @since 9.2.0
         * @deprecated 22.0.0
index 3b6f8cf60652969854caede4519891a1b44fdf6d..f0016c7c4dbcf42c4256a3dfc5b72cfb15252171 100644 (file)
@@ -31,7 +31,6 @@ namespace OCP;
  * @deprecated 20.0.0
  */
 interface ISearch {
-
        /**
         * Search all providers for $query
         * @param string $query
index 6c07a5218ba73b511cab017f1464c1ef93cc8c41..c69dab8b3c6fd84c7df0d093125e05a2930eb5d4 100644 (file)
@@ -60,7 +60,6 @@ use Symfony\Component\EventDispatcher\EventDispatcherInterface;
  * @since 6.0.0
  */
 interface IServerContainer extends ContainerInterface, IContainer {
-
        /**
         * The calendar manager will act as a broker between consumers for calendar information and
         * providers which actual deliver the calendar information.
index 12cd716ec3f92ae95fe821cc2b2dd4b40b104dbd..5836a6f373e9f3cfeae9e7740c430e328f35e037 100644 (file)
@@ -41,7 +41,6 @@ use OCP\Session\Exceptions\SessionNotAvailableException;
  * @since 6.0.0
  */
 interface ISession {
-
        /**
         * Set a value in the session
         *
index f015dad809e958dbd780d5c50e80c3686a27d780..d35135bb32aedbd344bd6ae11143905d13bb0807 100644 (file)
@@ -40,7 +40,6 @@ namespace OCP;
  * @since 6.0.0
  */
 interface ITagManager {
-
        /**
         * Create a new \OCP\ITags instance and load tags from db for the current user.
         *
index b6d78876478af05926b27ae1207a12a9d350cf00..8229d51f2316b3c33024e158a8dd8a7b65959e7f 100644 (file)
@@ -35,7 +35,6 @@ namespace OCP;
  * @since 6.0.0
  */
 interface IURLGenerator {
-
        /**
         * Regex for matching http(s) urls
         *
index bb7bdf3304aa8257862a7791b1fbcb17cecba958..3a7e6ab1f11a40a47322544f77822c387cd1d47a 100644 (file)
@@ -35,7 +35,6 @@ use InvalidArgumentException;
  * @since 8.0.0
  */
 interface IUser {
-
        /**
         * get the user id
         *
index 22df225cb8a30fb512aa38f671982e8084d1141e..8c8ead61965890168f6126f7d0f26eb5bdcf66d7 100644 (file)
@@ -31,7 +31,6 @@ namespace OCP;
  * @since 8.0.0
  */
 interface IUserBackend {
-
        /**
         * Backend name to be shown in user management
         * @return string the name of the backend to be shown
index 151c153917f6dee3f924fbb0d43bedbb9d2833ac..1efb3d5f0c250c70892457f3c41ef6336f6faafe 100644 (file)
@@ -46,7 +46,6 @@ namespace OCP;
  * @since 8.0.0
  */
 interface IUserManager {
-
        /**
         * @since 26.0.0
         */
index 534d4229b1c75e3b7484dcec63b63919baef1cdb..d3644a4b2e69212845eafcbe13a990300959d7f9 100644 (file)
@@ -41,7 +41,6 @@ namespace OCP\L10N;
  * @since 14.0.0
  */
 interface ILanguageIterator extends \Iterator {
-
        /**
         * Return the current element
         *
index 246c665b04bd51a5577272c066410a0971594447..f987e91ec6ea0615cb4ad867b214101d2ccb3208 100644 (file)
@@ -36,7 +36,6 @@ use OCP\IServerContainer;
  * @since 11.0.0
  */
 interface ILDAPProviderFactory {
-
        /**
         * Constructor for the LDAP provider factory
         *
index cf85096d38968f17fed6f60ca323ed40170caa5f..ec7701523fb9cd437329d1e52823d54105a83695 100644 (file)
@@ -34,7 +34,6 @@ namespace OCP\Lock;
  * @since 8.1.0
  */
 class LockedException extends \Exception {
-
        /**
         * Locked path
         *
index 55a1e807a57dd46b971bd1d316b899777e6b5883..914f0392e39e01907aef2db0b23606ff4e16f5c2 100644 (file)
@@ -31,8 +31,6 @@ namespace OCP\Lock;
  * @since 18.0.0
  */
 class ManuallyLockedException extends LockedException {
-
-
        /**
         * owner of the lock
         *
index 1b991e4d8718fc36fb3187546972679e124b45ee..79c67e5b8bd8f82149205f6cecd367d8660d4aa2 100644 (file)
@@ -33,7 +33,6 @@ use OCP\EventDispatcher\Event;
  * @since 22.0.0
  */
 class CriticalActionPerformedEvent extends Event {
-
        /** @var string */
        private $logMessage;
 
index e9e476c37600ba4e3b3e0182db016ba2874dbfbb..2a261b2b665b59a7e458faf543224f2517304f4b 100644 (file)
@@ -31,7 +31,6 @@ namespace OCP\Log;
  * @since 18.0.1
  */
 interface IDataLogger {
-
        /**
         * allows to log custom data, similar to how logException works
         *
index 8fc1516c34600d2ee73511bb01f20cb2bf342963..b2415b6f61f10ea6d74f8bc728aa40b81a3f8b43 100644 (file)
@@ -30,7 +30,6 @@ namespace OCP\Log;
  * @since 14.0.0
  */
 trait RotationTrait {
-
        /**
         * @var string
         * @since 14.0.0
index e4ea0680f9ecf77514e3e7e75ba300775d084328..dea748e404405503eb2ea21dd902f07a668cac15 100644 (file)
@@ -35,7 +35,6 @@ use OCP\Mail\IMessage;
  * @since 19.0.0
  */
 class BeforeMessageSent extends Event {
-
        /** @var IMessage */
        private $message;
 
index 21df18dd91895e0709b86f0f5573e808d63516cf..45b43c7a65240918b81b2ac6dba54951d5892e7a 100644 (file)
@@ -36,7 +36,6 @@ namespace OCP\Mail\Headers;
  * @since 26.0.0
  */
 final class AutoSubmitted {
-
        /**
         * Name of the Header as used in the final message later
         *
index 714d4a45158c2b355b48d0072cc68153d9936c9b..5d013dd1c457183482232991a0da23ec6350ee6d 100644 (file)
@@ -32,7 +32,6 @@ namespace OCP\Mail;
  * @since 13.0.0
  */
 interface IAttachment {
-
        /**
         * @param string $filename
         * @return IAttachment
index 2d7765498148ff772b1cd5cc73b0d7058b54ef8c..ea0fa970c9acdb9a473f2c71a926852c3a7f32ea 100644 (file)
@@ -57,7 +57,6 @@ namespace OCP\Mail;
  * @since 12.0.0
  */
 interface IEMailTemplate {
-
        /**
         * Sets the subject of the email
         *
index 994d32603e93a07b4334017480beb18335fd36af..35a67bc4bb81a63be4669bce760c1181ef85d4d9 100644 (file)
@@ -32,7 +32,6 @@ namespace OCP\Mail;
  * @since 13.0.0
  */
 interface IMessage {
-
        /**
         * @param IAttachment $attachment
         * @return IMessage
index 85da6fd740d2cb827390c8209d6a02687dcf4c9d..a9782f1f2645a88478fef93d8bc293d7c03d2a7a 100644 (file)
@@ -31,7 +31,6 @@ use OCP\DB\ISchemaWrapper;
  * @since 13.0.0
  */
 abstract class BigIntMigration extends SimpleMigrationStep {
-
        /**
         * @return array Returns an array with the following structure
         * ['table1' => ['column1', 'column2'], ...]
index 212b5d927f88d45de2e467500eb8a2082056ecdb..70fb56b6bdd191facbb59741350c41737df94954 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Migration;
  * @since 9.1.0
  */
 interface IOutput {
-
        /**
         * @param string $message
         * @return void
index 74f0060b990548e84b5605f8e03aea4cf4b091b2..ec899c945f86b1a423e606958fc112b373e062ff 100644 (file)
@@ -28,7 +28,6 @@ namespace OCP\Migration;
  * @since 9.1.0
  */
 interface IRepairStep {
-
        /**
         * Returns the step's name
         *
index 5b0e672d5a0301aa19be9b9cab077ea165f1c71d..bc200eb71bdde59cf1d340c023b4d60ffedb1a69 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Notification;
  * @since 17.0.0
  */
 class AlreadyProcessedException extends \RuntimeException {
-
        /**
         * @since 17.0.0
         */
index 2499b66a1a973bc9ac929bc6473ab8fab3e89759..bcd013f08bc0962ca5dd6fdb503bba01f114bb87 100644 (file)
@@ -30,7 +30,6 @@ namespace OCP\Notification;
  * @since 9.0.0
  */
 interface IAction {
-
        /**
         * @since 17.0.0
         */
index 8c236875cca5ede6ec48abf84357d99296041de3..c13e880a4a63077b1b05bf7de833ad57b545b748 100644 (file)
@@ -35,7 +35,6 @@ namespace OCP\Notification;
  * @since 18.0.0
  */
 interface IDismissableNotifier extends INotifier {
-
        /**
         * @param INotification $notification
         * @throws \InvalidArgumentException In case the handler can't handle the notification
index b8333cd368a34d48e14d0e93a8c7c5c35d149fa5..ba43cc04cf6c082af6ddf8387462d89bbf98e2bb 100644 (file)
@@ -30,7 +30,6 @@ namespace OCP\Notification;
  * @since 9.0.0
  */
 interface INotifier {
-
        /**
         * Identifier of the notifier, only use [a-z0-9_]
         *
index b3f0a0e53f7a228b5214df50d6aa1a12f89d5f8d..fa03a6b972c6ba9d8c4deb75741aa6e4fb5d5588 100644 (file)
@@ -35,7 +35,6 @@ namespace OCP\OCS;
  * @since 12.0.0
  */
 interface IDiscoveryService {
-
        /**
         * Discover OCS end-points
         *
index 67e69a73d9cb620852f72c65d20d3a323a0ab69b..53bdd11361a7272e218077ee33120d4f68a67382 100644 (file)
@@ -32,7 +32,6 @@ use OCP\IUser;
  * @since 23.0.0
  */
 interface ILinkAction {
-
        /**
         * Preload the user specific value required by the action
         *
index 543a8edc17a0ffe99c7e76c09aa80af12f03180e..6143aa269641cd04392ea232095181c050d46952 100644 (file)
@@ -30,7 +30,6 @@ namespace OCP\Profile;
  * @since 23.0.0
  */
 class ParameterDoesNotExistException extends \Exception {
-
        /**
         * @since 23.0.0
         */
index 1dfd2a8d32927fa2fe240b6a737410d21cd0bb2e..f465254eeab9baf2adec02f7ce543244ffdf74a6 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\RichObjectStrings;
  * @since 11.0.0
  */
 interface IValidator {
-
        /**
         * @param string $subject
         * @param array[] $parameters
index 5b50cf8c3c883e09251655a7467e4fe51cb8bce2..9eff94193ab1c1d7ab03cbc355ad9546df78b1ed 100644 (file)
@@ -32,7 +32,6 @@ namespace OCP\Route;
  * @deprecated 9.0.0
  */
 interface IRouter {
-
        /**
         * Create a \OCP\Route\IRoute.
         *
index c0dde301ff1e97640a961edfdb4923efaf5b95cd..81131ff711315dc8adb4b8c50b30c0fe014f4481 100644 (file)
@@ -32,7 +32,6 @@ use Sabre\DAV\Server;
  * @since 8.2.0
  */
 class SabrePluginEvent extends Event {
-
        /** @var int */
        protected $statusCode;
 
index 8e322b1fa9b7f831da05fbbfb57ebe43dece9a9b..85bd105f750cf3a0498917853e0be712cb1c8e96 100644 (file)
@@ -27,7 +27,6 @@ use Sabre\DAV\Exception;
  * @since 8.2.0
  */
 class SabrePluginException extends Exception {
-
        /**
         * Returns the HTTP statuscode for this exception
         *
index c94dfe7a4e43d7c6e088d44da542710b25102056..61655c47367f11bb4ff2c7aef01f78d236345bca 100644 (file)
@@ -40,7 +40,6 @@ use OCP\IUser;
  * @since 20.0.0
  */
 interface IProvider {
-
        /**
         * Get the unique ID of this search provider
         *
index 2f4f1038fe4735d0684a6b910fadf05407bac905..a545d1dbccbacddbb47be5cb18b995bfd3749672 100644 (file)
@@ -38,7 +38,6 @@ namespace OCP\Search;
  * @since 20.0.0
  */
 interface ISearchQuery {
-
        /**
         * @since 20.0.0
         */
index 61f5dd457ee0caa99747a649b9fa553b611d6a7a..8cbcc40da61e0aeaecce961086c5b1f0dc26c032 100644 (file)
@@ -32,7 +32,6 @@ namespace OCP\Search;
  * @deprecated 20.0.0
  */
 abstract class PagedProvider extends Provider {
-
        /**
         * show all results
         * @since 8.0.0
index 2cf0c4d043b6ad281916be4ea1b700845647cc8f..e709cb402eb0076fa7fd1d6bfab81db432e196c3 100644 (file)
@@ -32,7 +32,6 @@ namespace OCP\Search;
  * @deprecated 20.0.0
  */
 abstract class Provider {
-
        /**
         * @since 8.0.0
         * @deprecated 20.0.0
index 86476ade72153e485abb430af114078fed026876..e063413059fa3b83560afc9591d3882e831cfb50 100644 (file)
@@ -31,7 +31,6 @@ namespace OCP\Search;
  * @deprecated 20.0.0
  */
 class Result {
-
        /**
         * A unique identifier for the result, usually given as the item ID in its
         * corresponding application.
index 5371b77ef0a56d4a41bc5a957e9b7146117e7484..9ac8b28fb8ba7790dd6b43cfff7d101a1923dce1 100644 (file)
@@ -33,7 +33,6 @@ use function array_values;
  * @since 20.0.0
  */
 final class SearchResult implements JsonSerializable {
-
        /** @var string */
        private $name;
 
index 42c3a4cbdd777e3f2a05bf1d4e18233b778ef99b..86a3f08cfe6e607acfbe64c2d7099942de57ecca 100644 (file)
@@ -44,7 +44,6 @@ use JsonSerializable;
  * @since 20.0.0
  */
 class SearchResultEntry implements JsonSerializable {
-
        /**
         * @var string
         * @since 20.0.0
index 13aeab8bf44413145aefec61d2f6b3645a49ea75..2bbce0402a77916bba81d1b44e3c295f666c4e9e 100644 (file)
@@ -45,7 +45,6 @@ use OCP\EventDispatcher\Event;
  * @since 17.0.0
  */
 class AddContentSecurityPolicyEvent extends Event {
-
        /** @var ContentSecurityPolicyManager */
        private $policyManager;
 
index 6897cb1ee91dc2fa50f3a36d512e6cbc3bd0791e..a2d067f0e861145faf76aa2c8fce79be46ca4102 100644 (file)
@@ -31,7 +31,6 @@ use OCP\EventDispatcher\Event;
  * @since 18.0.0
  */
 class GenerateSecurePasswordEvent extends Event {
-
        /** @var null|string */
        private $password;
 
index efe420d3cf2b658c2223f7e18767119019612480..7f577d75b60f2edbb22856bc4af2ecd17317cde5 100644 (file)
@@ -31,7 +31,6 @@ use OCP\EventDispatcher\Event;
  * @since 18.0.0
  */
 class ValidatePasswordPolicyEvent extends Event {
-
        /** @var string */
        private $password;
 
index a0478ad56fe7ad9f3f6e300c539317a97db6d7d3..8d39b58a141c8095359af975aa8c9d25c0e18714 100644 (file)
@@ -37,7 +37,6 @@ use OCP\EventDispatcher\Event;
  * @since 17.0.0
  */
 class AddFeaturePolicyEvent extends Event {
-
        /** @var FeaturePolicyManager */
        private $policyManager;
 
index 7ac0d705a772bf855eae5286071d30ed7480d896..17b84a306f6951769bcc66760f0122515db14a5e 100644 (file)
@@ -32,7 +32,6 @@ namespace OCP\Security;
  * @since 8.2.0
  */
 interface ICredentialsManager {
-
        /**
         * Store a set of credentials
         *
index 2ca501e62be03836acc53f9765dbbeac92a1a3ee..1ec2f60c4e8647343979969424c941465acf45dd 100644 (file)
@@ -37,7 +37,6 @@ namespace OCP\Security;
  * @since 8.0.0
  */
 interface ICrypto {
-
        /**
         * @param string $message The message to authenticate
         * @param string $password Password to use (defaults to `secret` in config.php)
index 99f149aee04fd757dce9b93eeda2a9652765e9a7..5cb25584dcaf3819e18861065d863caf5ab8b0ae 100644 (file)
@@ -31,7 +31,6 @@ namespace OCP\Security;
  * @since 26.0.0
  */
 interface IRemoteHostValidator {
-
        /**
         * Validate if a host may be connected to
         *
index 250ecd253582d21433dc637783b77c1b89211956..3634ebf99f7f0986927ce88d207b9a7a7ce73c9f 100644 (file)
@@ -39,7 +39,6 @@ namespace OCP\Security;
  * @since 8.0.0
  */
 interface ISecureRandom {
-
        /**
         * Flags for characters that can be used for <code>generate($length, $characters)</code>
         */
index e1d9203ec3b20ba8ddad9e7e65e374ca6c15d4e1..308b0d5c1a8a6973a6d29dd69f8dba0d0870e608 100644 (file)
@@ -32,7 +32,6 @@ use OCP\IUser;
  * @since 23.0.0
  */
 interface IVerificationToken {
-
        /**
         * Checks whether the a provided tokent matches a stored token and its
         * constraints. An InvalidTokenException is thrown on issues, otherwise
index 5c8144c5c74d0e851b3f943e353b2e7e3836299c..b8ef797c44ef775e048c68ced6cbe890e70dac67 100644 (file)
@@ -28,7 +28,6 @@ namespace OCP\Security\VerificationToken;
 
 /** @since 23.0.0 */
 class InvalidTokenException extends \Exception {
-
        /**
         * @since 23.0.0
         */
index be7e0b7bf8232e4435a7fcbd037d9bd2424c63dc..43c7008a15e0e04a3ec2a835b1e7f9ee8996d19a 100644 (file)
@@ -30,7 +30,6 @@ use OCP\AppFramework\Http\TemplateResponse;
  * @since 9.1
  */
 interface ISettings {
-
        /**
         * @return TemplateResponse returns the instance with all parameters set, ready to be rendered
         * @since 9.1
index cb6b145bcfb2525e637c1c19cd34859a978a0252..9499cdb14b6903315ca6c6b54d656fe991aa2079 100644 (file)
@@ -42,7 +42,6 @@ namespace OCP;
  * @deprecated 17.0.0
  */
 class Share extends \OC\Share\Constants {
-
        /**
         * Get the item of item type shared with a given user by source
         * @param string $itemType
@@ -99,7 +98,6 @@ class Share extends \OC\Share\Constants {
         */
        public static function getItemsShared($itemType, $format = self::FORMAT_NONE, $parameters = null,
                $limit = -1, $includeCollections = false) {
-
                // only used by AppVNCSafe app (https://github.com/vnc-biz/nextcloud-appvncsafe/issues/2) - only here to not break apps syntax
        }
 
index 85de3a83040325267f1cf0b53d6c3750a4036c3c..52a0eb636f1321f567f7e5479350e5fa7bcebd99 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Share\IShare;
  * @since 18.0.0
  */
 class ShareCreatedEvent extends Event {
-
        /** @var IShare */
        private $share;
 
index 9a42088a8ffe51c1bbbb3387ddafa1150f1bc6bc..b6544ba3b175148eed52bb000dde1e0d578d7021 100644 (file)
@@ -33,7 +33,6 @@ use OCP\Share\IShare;
  * @since 21.0.0
  */
 class ShareDeletedEvent extends Event {
-
        /** @var IShare */
        private $share;
 
index c824eea460847f9643097b54507d7111d9c8c746..650f4ad224500ae486a8c65433dbb617a80358e2 100644 (file)
@@ -33,7 +33,6 @@ use OCP\Share\IShare;
  * @since 19.0.0
  */
 class VerifyMountPointEvent extends Event {
-
        /** @var IShare */
        private $share;
        /** @var View */
index 85c440e2387fb1a8cd8baf3ec63ada481f60e7b2..496aae1406bbdbc49f1c60aa307582b85406a3e5 100644 (file)
@@ -32,7 +32,6 @@ use OCP\HintException;
  * @since 9.0.0
  */
 class GenericShareException extends HintException {
-
        /**
         * @param string $message
         * @param string $hint
index 66827b4d179053c9ac5c2e99dec0f054bb18983b..7f73220e38db884414a2dc963db6b939ea7e9da4 100644 (file)
@@ -27,7 +27,6 @@ namespace OCP\Share\Exceptions;
  * @since 9.0.0
  */
 class ShareNotFound extends GenericShareException {
-
        /**
         * @param string $message
         * @param string $hint
index 6e4cee08b12ba229c9cee6a3c11ea698518d60dd..75450e75757ef06682815e8621ad32ee0b15fb19 100644 (file)
@@ -27,7 +27,6 @@ namespace OCP\Share;
  * @since 25.0.0
  */
 interface IAttributes {
-
        /**
         * Sets an attribute enabled/disabled. If the key did not exist before it will be created.
         *
index 82a92428b31decb84360dd7a56c48b98bc0a28ea..9ac224ed7ef30b7742178ab5b3ee5c59429ad17c 100644 (file)
@@ -46,7 +46,6 @@ use OCP\Share\Exceptions\ShareNotFound;
  * @since 9.0.0
  */
 interface IManager {
-
        /**
         * Create a Share
         *
index 71d95203007cb1e52571480be937054c9b734d0b..4e7fbb2d1910aa1b68715da5e8e306ff8073aa6e 100644 (file)
@@ -31,7 +31,6 @@ use OC\Share20\Exception\ProviderException;
  * @since 9.0.0
  */
 interface IProviderFactory {
-
        /**
         * @param string $id
         * @return IShareProvider
index 5a825552e26933e303ae0ec1f55bb3f006353792..f8f75be4c419a6a3ebdf1dfb37dfb8c01daaef4d 100644 (file)
@@ -43,7 +43,6 @@ use OCP\Share\Exceptions\IllegalIDChangeException;
  * @since 9.0.0
  */
 interface IShare {
-
        /**
         * @since 17.0.0
         */
index 8bb08de07d6a3cbce187ebe351ed70cbeeb18d2b..4d35010b333a7cea8822036342d1b4b2a6e3520c 100644 (file)
@@ -31,7 +31,6 @@ use OCP\Files\Node;
  * @since 12
  */
 interface IShareHelper {
-
        /**
         * @param Node $node
         * @return array [ users => [Mapping $uid => $pathForUser], remotes => [Mapping $cloudId => $pathToMountRoot]]
index c549592d6f6297f51ed4798e56503e7059b805d0..b6e0c4ba38bf99c6993287ca2d403f295e50d721 100644 (file)
@@ -36,7 +36,6 @@ use OCP\Share\Exceptions\ShareNotFound;
  * @since 9.0.0
  */
 interface IShareProvider {
-
        /**
         * Return the identifier of this provider.
         *
index 6b046df0febd344770b90ce2ba4ee51d36e466b9..044ecf9aa28a853055822b9b09c37ded019497a8 100644 (file)
@@ -33,7 +33,6 @@ namespace OCP;
  * @since 5.0.0
  */
 interface Share_Backend {
-
        /**
         * Check if this $itemSource exist for the user
         * @param string $itemSource
index 105f3272bd4d992dbc1c326ad28d974403b90baf..75797a2474a65bd6fb841a5c8016df4571fcc675 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Support\CrashReport;
  * @since 15.0.0
  */
 interface ICollectBreadcrumbs extends IReporter {
-
        /**
         * Collect breadcrumbs for crash reports
         *
index e56710750b6a9ae2f929b310800a9118561d15ad..ff0564ae48e210c6c627c9bc7d0a22272b807c01 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Support\CrashReport;
  * @since 17.0.0
  */
 interface IMessageReporter extends IReporter {
-
        /**
         * Report a (error) message
         *
index 35cf78920da7062ab358b2e38d0e18a7f33a74d5..a80fffdc18a3aff436a663f14f06ff8a1dec7be8 100644 (file)
@@ -34,7 +34,6 @@ use Throwable;
  * @deprecated used internally only
  */
 interface IRegistry {
-
        /**
         * Register a reporter instance
         *
index ecbfa348d047768f4f7c93482ec1fa9ada87753a..ada3221cfb5f2fc90e036d20cb5496f8f2139202 100644 (file)
@@ -32,7 +32,6 @@ use Throwable;
  * @since 13.0.0
  */
 interface IReporter {
-
        /**
         * Report an (unhandled) exception
         *
index 4a34cc91c5ef5a04221ff3c1a13aac0381ad1e80..f2e6b3fc1614272d33e57a5e6f2255b4dd0f4f3c 100644 (file)
@@ -34,7 +34,6 @@ use OCP\Support\Subscription\Exception\AlreadyRegisteredException;
  * @since 17.0.0
  */
 interface IRegistry {
-
        /**
         * Register a subscription instance. In case it is called multiple times an
         * exception is thrown
index c602156b47cfe595782e348a99c592eeed34d82d..b532e6aa03c59aec59ce67e81c016263b1248adf 100644 (file)
@@ -30,7 +30,6 @@ namespace OCP\Support\Subscription;
  * @since 17.0.0
  */
 interface ISubscription {
-
        /**
         * Indicates if a valid subscription is available
         *
index 121c2325a6e987f8feaad82d6d3e680c3a50df3c..2f9c8fa3ad99cf5c1c44b4b3dce0c35e118a1443 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Support\Subscription;
  * @since 17.0.0
  */
 interface ISupportedApps extends ISubscription {
-
        /**
         * Fetches the list of app IDs that are supported by the subscription
         *
index 500d80ea2783a98b23c737813688b4b3325f1b66..9918e3a4f9964177463f618388fb3f55c807c013 100644 (file)
@@ -34,7 +34,6 @@ use OCP\IUser;
  * @since 9.0.0
  */
 interface ISystemTagManager {
-
        /**
         * Returns the tag objects matching the given tag ids.
         *
index f016585dfc91c21330edbab9fff1b5779ae8cd57..2028128d6a0451029052b7ce04b55b36aaa60939 100644 (file)
@@ -35,7 +35,6 @@ use OCP\IServerContainer;
  * @since 9.0.0
  */
 interface ISystemTagManagerFactory {
-
        /**
         * Constructor for the system tag manager factory
         *
index 4d9cb24a2e8e013a12b3db11e416c52bb195d28a..07a542c67940112201a78d424ded834eeb69da34 100644 (file)
@@ -32,7 +32,6 @@ namespace OCP\SystemTag;
  * @since 9.0.0
  */
 interface ISystemTagObjectMapper {
-
        /**
         * Get a list of tag ids for the given object ids.
         *
index 738cd1c748da773256105a8efe15268d0583a9a9..704aecd4536553981299547e1955ee53e6b3b880 100644 (file)
@@ -36,7 +36,6 @@ use OCP\EventDispatcher\Event;
  * @since 9.0.0
  */
 class ManagerEvent extends Event {
-
        /**
         * @deprecated 22.0.0
         */
index cf686fa5ff661cc247b6d6e7926f3ed53752ad66..6aa0ea77000b8084f9ab57659177414a590084cb 100644 (file)
@@ -35,7 +35,6 @@ use OCP\EventDispatcher\Event;
  * @since 9.0.0
  */
 class MapperEvent extends Event {
-
        /**
         * @deprecated 22.0.0
         */
index 5ef78c25728f8112006933a70877e097aa9b4fcb..4360d924c23e613d0724804c78ea3f720faf0412 100644 (file)
@@ -35,7 +35,6 @@ use OCP\EventDispatcher\Event;
  * @since 9.1.0
  */
 class SystemTagsEntityEvent extends Event {
-
        /**
         * @deprecated 22.0.0
         */
index 1e9ac3c7503d6cb207cb1715791a974dbca5d915..54e96856052b65055a0c20592664488bef9e9b4e 100644 (file)
@@ -33,7 +33,6 @@ namespace OCP\SystemTag;
  * @since 9.0.0
  */
 class TagNotFoundException extends \RuntimeException {
-
        /** @var string[] */
        protected $tags;
 
index 705c39d2c01c221e62001b2322b7fc516685ed92..d3b6e1429e6122d542e8351a090d3daab3318006 100644 (file)
@@ -36,7 +36,6 @@ use OCP\Talk\Exceptions\NoBackendException;
  * @since 24.0.0
  */
 interface IBroker {
-
        /**
         * Check if the Talk backend is available
         *
index efa33c0b357d2927dc5785f9d03c6b4fb1a5277a..5137f1c5c7913683374c8e73da32016f38d929c5 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Talk;
  * @since 24.0.0
  */
 interface IConversation {
-
        /**
         * Get the unique token that identifies this conversation
         *
index 020a98cc4050ef537491266ce0200813a66bd61b..c5396487f58973e30c028a23a89a0c26acf94b56 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\Talk;
  * @since 24.0.0
  */
 interface IConversationOptions {
-
        /**
         * Will the conversation be public?
         *
index 605a15680d0a8670311756e9967aa8eca3757523..3ee995576a4ecdca4a98a586a53f5088993789e1 100644 (file)
@@ -37,7 +37,6 @@ use OCP\IUser;
  * @since 24.0.0
  */
 interface ITalkBackend {
-
        /**
         * @param string $name
         * @param IUser[] $moderators
index dff705e0806f0697e0313b3b5d4f0f6a06e2122d..2b246dc0acf373d8a3660e504dcfecf9ee31bc7d 100644 (file)
@@ -34,7 +34,6 @@ use OCP\UserInterface;
  * @since 14.0.0
  */
 abstract class ABackend implements IUserBackend, UserInterface {
-
        /**
         * @deprecated 14.0.0
         *
index a33cec5801025a538a915fa4e7118455c5625333..83b3cf9d64a5e169b490abfc47a996c742fcc44d 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\User\Backend;
  * @since 14.0.0
  */
 interface ICreateUserBackend {
-
        /**
         * @since 14.0.0
         *
index 1c3ed287f3759d7257e20a157370e2f65b6ac6e8..3177f99f796a9506ac137e187ca6469cbf0e8314 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\User\Backend;
  * @since 14.0.0
  */
 interface IGetDisplayNameBackend {
-
        /**
         * @since 14.0.0
         *
index 45ef5b6b21510959cfbb73b47b5c77ed044ef11e..ca04ee76b3ec48dd24bbd67d2bf6cd11dd88e458 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\User\Backend;
  * @since 14.0.0
  */
 interface IGetHomeBackend {
-
        /**
         * @since 14.0.0
         *
index 5d618b294d931f05e1e68b17528e70b8557a575f..cd0208bbb76d25854c424e684b67ce817915e948 100644 (file)
@@ -30,7 +30,6 @@ namespace OCP\User\Backend;
  * @since 17.0.0
  */
 interface IGetRealUIDBackend {
-
        /**
         * Some backends accept different UIDs than what is the internal UID to be used.
         * For example the database backend accepts different cased UIDs in all the functions
index 3c6d14c3f1de5ca9b1687040a087d5ccaeb5bedc..b43f0a0c717e107df981164975b7869022275c1d 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\User\Backend;
  * @since 15.0.0
  */
 interface IPasswordConfirmationBackend {
-
        /**
         * @since 15.0.0
         */
index fe4bb841f727955fa87fa866e2b4b9710183c4aa..aa89e3438961b56a324c3d7b21caab3c0fc6d410 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\User\Backend;
  * @since 14.0.0
  */
 interface IProvideAvatarBackend {
-
        /**
         * @since 14.0.0
         *
index 60a147dc62c08708f23c7143dd4a4f7816d482e2..ff4baf989a24b3282d96335c1b486ea0ad29a1ae 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\User\Backend;
  * @since 21.0.1
  */
 interface ISearchKnownUsersBackend {
-
        /**
         * @param string $searcher
         * @param string $pattern
index db62223ad52fafe50ab68736c94159d582ecf533..bf0cf6c542979a7300e9b2c78d70444379a73a43 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\User\Backend;
  * @since 14.0.0
  */
 interface ISetDisplayNameBackend {
-
        /**
         * @since 14.0.0
         *
index 2ba992286eca7bb8f9bb982ff6cb0f3d6d4f2e4f..e848a07817df8065454c109fc7316fdb3ee3f261 100644 (file)
@@ -29,7 +29,6 @@ namespace OCP\User\Backend;
  * @since 14.0.0
  */
 interface ISetPasswordBackend {
-
        /**
         * @since 14.0.0
         *
index a35659eccf4fe890efeb2ddfcb0b9a6ade497b38..11eb5ad9dd048ba04da53320b7eabad6a07093c5 100644 (file)
@@ -35,7 +35,6 @@ use OCP\IUser;
  * @since 18.0.0
  */
 class BeforePasswordUpdatedEvent extends Event {
-
        /** @var IUser */
        private $user;
 
index 11575428839d0f5eafd07ec77408fff99e0bcbc7..67e9177b34dfd143b3b2a637eaf3e6cfa2a25b4d 100644 (file)
@@ -34,7 +34,6 @@ use OCP\EventDispatcher\Event;
  * @since 18.0.0
  */
 class BeforeUserCreatedEvent extends Event {
-
        /** @var string */
        private $uid;
 
index 511128b5d93ef8b2372cfab76e826e848ac9a498..689222fdfb5f5d4f2b81fab11cfe181aeb036f1d 100644 (file)
@@ -32,7 +32,6 @@ use OCP\IUser;
  * @since 18.0.0
  */
 class BeforeUserDeletedEvent extends Event {
-
        /** @var IUser */
        private $user;
 
index e39cd0f116d15ff484eb650d76bf0f27dc07e0c5..a0818bff88f323e3994940dfb0baf48c6b7abbf4 100644 (file)
@@ -32,7 +32,6 @@ use OCP\EventDispatcher\Event;
  * @since 18.0.0
  */
 class BeforeUserLoggedInEvent extends Event {
-
        /** @var string */
        private $username;
 
index d86892c52ff6ce471c6fae18067f5c518b7938b9..d8b4bfd4f57836d5f2d3b5df3fe5bad97cd6d4a1 100644 (file)
@@ -34,7 +34,6 @@ use OCP\EventDispatcher\Event;
  * @since 18.0.0
  */
 class BeforeUserLoggedInWithCookieEvent extends Event {
-
        /** @var string */
        private $username;
 
index 88a365b0eb844739040d7633776580017c5549e5..aa81801f4745b71a19fa3c9d1dbccd3760936912 100644 (file)
@@ -35,7 +35,6 @@ use OCP\IUser;
  * @since 18.0.0
  */
 class BeforeUserLoggedOutEvent extends Event {
-
        /** @var IUser|null */
        private $user;
 
index 335557835c7a534e0b401ea08582bf54bdf7898b..41d510553b5be7a35523fa1dd767d8a8ff11a409 100644 (file)
@@ -35,7 +35,6 @@ use OCP\IUser;
  * @since 18.0.0
  */
 class PasswordUpdatedEvent extends Event {
-
        /** @var IUser */
        private $user;
 
index e481b552e3bd417bbd1e636ee02725f6e551825d..173df33999f24f6d0bc7791a95e9a38078a9acbb 100644 (file)
@@ -34,7 +34,6 @@ use OCP\IUser;
  * @since 18.0.0
  */
 class PostLoginEvent extends Event {
-
        /** @var IUser */
        private $user;
 
index 958d93d56ff33f748e82c3eafff08ac363328b11..7d343bfd5b8cd044e8181b990bf0d94d49d917b0 100644 (file)
@@ -35,7 +35,6 @@ use OCP\IUser;
  * @since 18.0.0
  */
 class UserCreatedEvent extends Event {
-
        /** @var IUser */
        private $user;
 
index 8db7d0f2c7497a44c3c84bc0de9503048a7fbacc..9b20062df663d8532064f88338458228587eb28e 100644 (file)
@@ -32,7 +32,6 @@ use OCP\IUser;
  * @since 18.0.0
  */
 class UserDeletedEvent extends Event {
-
        /** @var IUser */
        private $user;
 
index 4bba71f95b994cc24b7263a45a6b47f72d74ac83..d04c3b61e240fc5e039b83025f386ee38362f5d7 100644 (file)
@@ -33,7 +33,6 @@ use OCP\UserStatus\IUserStatus;
  * @since 20.0.0
  */
 class UserLiveStatusEvent extends Event {
-
        /**
         * @var string
         * @since 20.0.0
index b1a46b9570dce4417aca292d30cfefb98c568804..1b262729f8c63dc0e957386bc804f0ec812edd2b 100644 (file)
@@ -33,7 +33,6 @@ use OCP\IUser;
  * @since 18.0.0
  */
 class UserLoggedInEvent extends Event {
-
        /** @var IUser */
        private $user;
 
index 245c1f434f0e0ca727243593bc00558b2fef13ae..c8ea946a5fb0179075394f40a53649e565c20908 100644 (file)
@@ -35,7 +35,6 @@ use OCP\IUser;
  * @since 18.0.0
  */
 class UserLoggedInWithCookieEvent extends Event {
-
        /** @var IUser */
        private $user;
 
index 3e1472cc6ee9a705eaff955226d90cedbcf5d880..c1b97fec29cd3aa0a20924d0d3a53b7e498bc094 100644 (file)
@@ -35,7 +35,6 @@ use OCP\IUser;
  * @since 18.0.0
  */
 class UserLoggedOutEvent extends Event {
-
        /** @var IUser|null */
        private $user;
 
index c5fcc32276a4c1c4d023c37df0b6106b2efe3698..317bac1d44b449a1ccd0836f159bdbc8e44aff0c 100644 (file)
@@ -34,7 +34,6 @@ namespace OCP;
  * @since 4.5.0
  */
 interface UserInterface {
-
        /**
         * Check if backend implements actions
         * @param int $actions bitwise-or'ed actions
index 5cd313843cc2763c0abc993dd396c34c7cce1316..3da52c1abfde77f65e54fd54ffde32710c7afc50 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Files\Folder;
  * @since 24.0.0
  */
 interface IExportDestination {
-
        /**
         * Adds a file to the export
         *
index d02e5df06836ef946149932503c1cc600af243c3..43e74743ecd7355dff3978448244f8357b771919 100644 (file)
@@ -34,7 +34,6 @@ use Symfony\Component\Console\Output\OutputInterface;
  * @since 24.0.0
  */
 interface IMigrator {
-
        /**
         * Export user data
         *
index 354a1e19ee9d490d54147568620408b478847ba2..9cc8eaad8ee4e2f109f2a0fb778dc0f225c1dd75 100644 (file)
@@ -35,7 +35,6 @@ namespace OCP\UserStatus;
  * @since 20.0.0
  */
 interface IManager {
-
        /**
         * Gets the statuses for all users in $users
         *
index 976ebbefeab29f9285ed2f02132bc834490b06b7..0bc31a1589df6558a9deff0f0f11cf03367234c3 100644 (file)
@@ -31,7 +31,6 @@ namespace OCP\UserStatus;
  * @since 20.0.0
  */
 interface IProvider {
-
        /**
         * Gets the statuses for all users in $users
         *
index 8803b328ad5ddfa7b3e92bf0bcb68fd2b6930dd7..74c54cc9da2ba830e0268c481a8b847719aaffe8 100644 (file)
@@ -33,7 +33,6 @@ use DateTimeImmutable;
  * @since 20.0.0
  */
 interface IUserStatus {
-
        /**
         * @var string
         * @since 20.0.0
index 079151d70b16468f45e084eb473ffca982c64921..5137ff5424a0cfad46169a427afb3bf4d42df93f 100644 (file)
@@ -38,7 +38,6 @@ namespace OCP\WorkflowEngine\EntityContext;
  * @since 20.0.0
  */
 interface IContextPortation {
-
        /**
         * All relevant context identifiers that are needed to restore the state
         * of an entity shall be returned with this method. The resulting array
index c840bd56fb78c535905d1118f21cbf351eda68b3..c5a30b7cdea8e2f7e3f46d8d0453a4d23d053729 100644 (file)
@@ -32,7 +32,6 @@ namespace OCP\WorkflowEngine\EntityContext;
  * @since 18.0.0
  */
 interface IDisplayText {
-
        /**
         * returns translated text used for display to the end user. For instance,
         * it can describe the event in a human readable way.
index 7f36dbbc1b4d9a47d5973cab74e3d1f3369b4c33..956fce5333004697cce3b194fd68afaa77509e96 100644 (file)
@@ -33,7 +33,6 @@ use OCP\WorkflowEngine\IManager;
  * @since 18.0.0
  */
 class RegisterChecksEvent extends Event {
-
        /** @var IManager */
        private $manager;
 
index 5fd87490ff979a116b82d8b7cd87bd84da69392a..b82ff943b1131d16746bfb28e57a387b3f363fb0 100644 (file)
@@ -33,7 +33,6 @@ use OCP\WorkflowEngine\IManager;
  * @since 18.0.0
  */
 class RegisterEntitiesEvent extends Event {
-
        /** @var IManager */
        private $manager;
 
index a94f181139becb7978e29f3678438659fe37c7b7..97cc870b97600305f6e95b0bf86ec4f36740d1c5 100644 (file)
@@ -33,7 +33,6 @@ use OCP\WorkflowEngine\IOperation;
  * @since 18.0.0
  */
 class RegisterOperationsEvent extends Event {
-
        /** @var IManager */
        private $manager;
 
index 64aee909a0df55bb661e5c9e17458296b725e6a9..94a095cde5761231360380d58ca4ff0d0c465c24 100644 (file)
@@ -34,7 +34,6 @@ namespace OCP\WorkflowEngine;
  * @since 18.0.0
  */
 class GenericEntityEvent implements IEntityEvent {
-
        /** @var string */
        private $displayName;
        /** @var string */
index f15580f0216befa5f7d64db4bacf5a8ce9dad494..65b916e3fe0229e7faf4d55d20e5d63a2469e33c 100644 (file)
@@ -41,7 +41,6 @@ namespace OCP\WorkflowEngine;
  * @since 18.0.0
  */
 interface IComplexOperation extends IOperation {
-
        /**
         * As IComplexOperation chooses the triggering events itself, a hint has
         * to be shown to the user so make clear when this operation is becoming
index 38da66384a0fc71a3606d9ed4f58cb6919d088ba..124125b3c7e070847e35795f6661e96fd66176d9 100644 (file)
@@ -39,7 +39,6 @@ use OCP\EventDispatcher\Event;
  * @since 18.0.0
  */
 interface IEntity {
-
        /**
         * returns a translated name to be presented in the web interface.
         *
index 9c031d9086b1dad056f0f3a7165c4292d533f269..9f35183df03a725230bb7c498a24d9c1131acf89 100644 (file)
@@ -38,7 +38,6 @@ namespace OCP\WorkflowEngine;
  * @since 18.0.0
  */
 interface ISpecificOperation extends IOperation {
-
        /**
         * returns the id of the entity the operator is designed for
         *
index 493dfc16f3eadf2535dcf4b6ccf48edc107c4f69..8995ee2673f851684a580ad630e779d500b7bd06 100644 (file)
@@ -33,7 +33,6 @@ use Test\TestCase;
  * @group DB
  */
 class AppsDisableTest extends TestCase {
-
        /** @var CommandTester */
        private $commandTester;
 
index 0c45362d997b8e7d7fcd79600cf36510770d33cc..02bf86cfd435c712ec342f0522458a95b31c95dc 100644 (file)
@@ -33,7 +33,6 @@ use Test\TestCase;
  * @group DB
  */
 class AppsEnableTest extends TestCase {
-
        /** @var CommandTester */
        private $commandTester;
 
index fc916ad40995c0b438b96326f0ed0f09478655f5..1d5e2ac420d3715474b58351669619a1de924e95 100644 (file)
@@ -34,7 +34,6 @@ use Symfony\Component\Console\Output\OutputInterface;
 use Test\TestCase;
 
 class ChangeKeyStorageRootTest extends TestCase {
-
        /** @var ChangeKeyStorageRoot */
        protected $changeKeyStorageRoot;
 
@@ -147,7 +146,6 @@ class ChangeKeyStorageRootTest extends TestCase {
        }
 
        public function testMoveAllKeys() {
-
                /** @var \OC\Core\Command\Encryption\ChangeKeyStorageRoot $changeKeyStorageRoot */
                $changeKeyStorageRoot = $this->getMockBuilder('OC\Core\Command\Encryption\ChangeKeyStorageRoot')
                        ->setConstructorArgs(
index 12ace5fe37186b82be5d96ec7e06de99792c9abd..c78500fd9d8dd16cc10b9114e8c8e0b20688e1da 100644 (file)
@@ -31,7 +31,6 @@ use Symfony\Component\Console\Output\OutputInterface;
 use Test\TestCase;
 
 class DecryptAllTest extends TestCase {
-
        /** @var \PHPUnit\Framework\MockObject\MockObject | \OCP\IConfig */
        protected $config;
 
@@ -86,7 +85,6 @@ class DecryptAllTest extends TestCase {
        }
 
        public function testMaintenanceAndTrashbin() {
-
                // on construct we enable single-user-mode and disable the trash bin
                $this->config->expects($this->at(1))
                        ->method('setSystemValue')
index 68cd4971e4f39630ed28ba2b25e0091d91daf649..1190a98843f8f4ce4965963385241ce3877f6a5f 100644 (file)
@@ -32,7 +32,6 @@ use Symfony\Component\Console\Output\OutputInterface;
 use Test\TestCase;
 
 class EncryptAllTest extends TestCase {
-
        /** @var \PHPUnit\Framework\MockObject\MockObject | \OCP\IConfig */
        protected $config;
 
index 65806fa538ba43cc0f4f587c9a6bb304b433189e..bfddee468a4c529f82005b33817a98dc0b3ca40e 100644 (file)
@@ -31,7 +31,6 @@ use Symfony\Component\Console\Output\OutputInterface;
 use Test\TestCase;
 
 class AddTest extends TestCase {
-
        /** @var IGroupManager|\PHPUnit\Framework\MockObject\MockObject */
        private $groupManager;
 
index d9471956dfde52e975f88ea7c63e94ab2054c979..c885365f8c636edb198c39c7082b20a771a38ec7 100644 (file)
@@ -33,7 +33,6 @@ use Symfony\Component\Console\Output\OutputInterface;
 use Test\TestCase;
 
 class AddUserTest extends TestCase {
-
        /** @var IGroupManager|\PHPUnit\Framework\MockObject\MockObject */
        private $groupManager;
 
index 3b29fb4e6ad362af396f1c0c228366aac85feaed..393f33aea98ce8103c56596c99fc7d34e254fe93 100644 (file)
@@ -31,7 +31,6 @@ use Symfony\Component\Console\Output\OutputInterface;
 use Test\TestCase;
 
 class DeleteTest extends TestCase {
-
        /** @var IGroupManager|\PHPUnit\Framework\MockObject\MockObject */
        private $groupManager;
 
index fc98cf647c74eb905cb526710892227c50d368ea..3f1cc35979906acf5ddb4b4d2c1144603b7e14a7 100644 (file)
@@ -31,7 +31,6 @@ use Symfony\Component\Console\Output\OutputInterface;
 use Test\TestCase;
 
 class InfoTest extends TestCase {
-
        /** @var IGroupManager|\PHPUnit\Framework\MockObject\MockObject */
        private $groupManager;
 
index ed454a796a65ce4fae4ada77472c9d9735df885b..f8e750bbe6504a5d5d62a2d14164139a373b48a8 100644 (file)
@@ -32,7 +32,6 @@ use Symfony\Component\Console\Output\OutputInterface;
 use Test\TestCase;
 
 class ListCommandTest extends TestCase {
-
        /** @var IGroupManager|\PHPUnit\Framework\MockObject\MockObject */
        private $groupManager;
 
index 495046402a8579b4ac060ddf6f5a486481de27ce..470d59653330595d2c62960bad10b0c256b561ae 100644 (file)
@@ -33,7 +33,6 @@ use Symfony\Component\Console\Output\OutputInterface;
 use Test\TestCase;
 
 class RemoveUserTest extends TestCase {
-
        /** @var IGroupManager|\PHPUnit\Framework\MockObject\MockObject */
        private $groupManager;
 
index c875c8f3ec3da1383d7b1d26d63664268d3a4c80..93a79e1e1a92619ab502952952d577abde2a52ab 100644 (file)
@@ -32,7 +32,6 @@ use Symfony\Component\Console\Output\OutputInterface;
 use Test\TestCase;
 
 class AddTest extends TestCase {
-
        /** @var ISystemTagManager|\PHPUnit\Framework\MockObject\MockObject */
        private $systemTagManager;
 
index 138606049ee4e97bc5fb66df9137cce2138f7121..16c0c9e7b04e376c0916d98f45b9d6313b1faa0b 100644 (file)
@@ -31,7 +31,6 @@ use Symfony\Component\Console\Output\OutputInterface;
 use Test\TestCase;
 
 class DeleteTest extends TestCase {
-
        /** @var ISystemTagManager|\PHPUnit\Framework\MockObject\MockObject */
        private $systemTagManager;
 
index 7794ac5aefd1b7f0565723002c12d6c2a16f8069..a5340cf6b53c5c173625d124c8be4df5df9ecc88 100644 (file)
@@ -32,7 +32,6 @@ use Symfony\Component\Console\Output\OutputInterface;
 use Test\TestCase;
 
 class EditTest extends TestCase {
-
        /** @var ISystemTagManager|\PHPUnit\Framework\MockObject\MockObject */
        private $systemTagManager;
 
index 2e2fba1017f7fe8a586c6052d00fab3d6eb2ad53..6488e130947cd0f71502f817ae2dc526f5c30422 100644 (file)
@@ -31,7 +31,6 @@ use Symfony\Component\Console\Output\OutputInterface;
 use Test\TestCase;
 
 class ListCommandTest extends TestCase {
-
        /** @var ISystemTagManager|\PHPUnit\Framework\MockObject\MockObject */
        private $systemTagManager;
 
index 75e869ad06f7cff0355920a5ab58e8286b2fcf8d..b23e9c9b4c481128583a054a6b1f058b1405a04e 100644 (file)
@@ -33,7 +33,6 @@ use Symfony\Component\Console\Tester\CommandTester;
 use Test\TestCase;
 
 class CleanupTest extends TestCase {
-
        /** @var IRegistry|MockObject */
        private $registry;
 
index 5accaccb907e8d0081106581f954f54bc7ea0ee4..35b810c637f9e074d49bf6a1dff99bc5955046fb 100644 (file)
@@ -35,7 +35,6 @@ use Symfony\Component\Console\Tester\CommandTester;
 use Test\TestCase;
 
 class DisableTest extends TestCase {
-
        /** @var ProviderManager|MockObject */
        private $providerManager;
 
index fc71cc32148add94af51148c52862f7067cb3aa5..0e26bcb95785d8ec74ba361385aa4ad6bc0be0f2 100644 (file)
@@ -35,7 +35,6 @@ use Symfony\Component\Console\Tester\CommandTester;
 use Test\TestCase;
 
 class EnableTest extends TestCase {
-
        /** @var ProviderManager|MockObject */
        private $providerManager;
 
index ed3deaa3fb341600ff9c85f1de4a044a81a317b9..194e16e86995e3eab8998de5d7c2e4d3b1384c04 100644 (file)
@@ -34,7 +34,6 @@ use Symfony\Component\Console\Tester\CommandTester;
 use Test\TestCase;
 
 class EnforceTest extends TestCase {
-
        /** @var MandatoryTwoFactor|MockObject */
        private $mandatoryTwoFactor;
 
index 54ab85b51b80eaa394b53529b3df93ca2f9fd12f..bc683c11886ce36238738555c46061e95dae1e04 100644 (file)
@@ -35,7 +35,6 @@ use Symfony\Component\Console\Tester\CommandTester;
 use Test\TestCase;
 
 class StateTest extends TestCase {
-
        /** @var IRegistry|MockObject */
        private $registry;
 
index 7d81e0ec1154dea5d55ff4c5818999cc0b8cfcc9..47220fcf5aba08b17ce9db08fc78ac94840920d6 100644 (file)
@@ -43,7 +43,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Test\TestCase;
 
 class AppPasswordControllerTest extends TestCase {
-
        /** @var ISession|MockObject */
        private $session;
 
index 875d5a791683dbefb4a1fa8491072d9460021df0..ba01675e978df507fda749bd4c943dfcab7223e3 100644 (file)
@@ -33,7 +33,6 @@ use OCP\IRequest;
 use Test\TestCase;
 
 class CSRFTokenControllerTest extends TestCase {
-
        /** @var CSRFTokenController */
        private $controller;
 
index 53d5f392ac647fb8448495e07d06e3712238a50d..2f5cc507378b916e4f65e3484dd1b044673dffea 100644 (file)
@@ -43,7 +43,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Test\TestCase;
 
 class ClientFlowLoginV2ControllerTest extends TestCase {
-
        /** @var IRequest|MockObject */
        private $request;
        /** @var LoginFlowV2Service|MockObject */
index 0bed7b8e7a1bba82c3cdd5ff97d61539a0606c23..f51bab0f00610152c25ebedb8bb6bbf3d4762d31 100644 (file)
@@ -34,7 +34,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Test\TestCase;
 
 class ContactsMenuControllerTest extends TestCase {
-
        /** @var IUserSession|MockObject */
        private $userSession;
 
index d2a791ec1b0e76edaa6d986a210d4510ff291852..9659d76a7cb5bfa9f7727642fc7d26fd9b351588 100644 (file)
@@ -38,7 +38,6 @@ use OCP\IRequest;
 use Test\TestCase;
 
 class CssControllerTest extends TestCase {
-
        /** @var IAppData|\PHPUnit\Framework\MockObject\MockObject */
        private $appData;
 
index 8688f531519b9353dadeda2ff006c12422f8a8de..42a00e1618c0541803b56415c968ff5448c9f029 100644 (file)
@@ -14,7 +14,6 @@ use Psr\Log\LoggerInterface;
  * This class provides tests for the guest avatar controller.
  */
 class GuestAvatarControllerTest extends \Test\TestCase {
-
        /**
         * @var GuestAvatarController
         */
index 3f76e19efc92298f9a439d67ad8d56afc23a32fc..6561d22f26429c3cfe27d9d138eb2f3921e3089c 100644 (file)
@@ -38,7 +38,6 @@ use OCP\IRequest;
 use Test\TestCase;
 
 class JsControllerTest extends TestCase {
-
        /** @var IAppData|\PHPUnit\Framework\MockObject\MockObject */
        private $appData;
 
index 2c8aedf99c4cb777aee761faa561edff49b1713d..c97ed53d3318813e2137ffbb41e7a9fead6749b5 100644 (file)
@@ -47,7 +47,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Test\TestCase;
 
 class LoginControllerTest extends TestCase {
-
        /** @var LoginController */
        private $loginController;
 
index e98d0e8ed40418f4bf830178784787ae2ec5146c..39f389faa5edd7400523cb7513c5802a7c4f703b 100644 (file)
@@ -32,7 +32,6 @@ use OCP\IURLGenerator;
 use Test\TestCase;
 
 class NavigationControllerTest extends TestCase {
-
        /** @var IRequest|\PHPUnit\Framework\MockObject\MockObject */
        private $request;
 
index e6045386538ea0b197980fd7007546ae3014e640..7815505d5a8bb7f4fe1cedb5a9846ff126ecd71d 100644 (file)
@@ -37,7 +37,6 @@ use OCP\IPreview;
 use OCP\IRequest;
 
 class PreviewControllerTest extends \Test\TestCase {
-
        /** @var IRootFolder|\PHPUnit\Framework\MockObject\MockObject */
        private $rootFolder;
 
index 94bb959fbbc266480acacba6e78a346a4834972d..27b0f476b61acca9d894b3bcda0bd4f4d8299bfd 100644 (file)
@@ -41,7 +41,6 @@ use Psr\Log\LoggerInterface;
 use Test\TestCase;
 
 class TwoFactorChallengeControllerTest extends TestCase {
-
        /** @var IRequest|\PHPUnit\Framework\MockObject\MockObject */
        private $request;
 
index 8b9c11ad4b185b74fc61beb9e81fb0f6f646a7a1..b7b6e0c69f67690aa9beecb8ac5093363d494098 100644 (file)
@@ -31,7 +31,6 @@ use OCP\IUserManager;
 use Test\TestCase;
 
 class UserControllerTest extends TestCase {
-
        /** @var IUserManager|\PHPUnit\Framework\MockObject\MockObject */
        private $userManager;
 
index 2a35ed5ac85a43a38cd37817a03f411c0cbd72d5..08af2a214ae2fb0638c2ce9c232973935bb3c4cf 100644 (file)
@@ -34,7 +34,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Test\TestCase;
 
 class WellKnownControllerTest extends TestCase {
-
        /** @var IRequest|MockObject */
        private $request;
 
index 298d11848b8b235239ea6963afa599344a0c23ef..5c06a867b79312773081ce3eebd6fe26f8f665a7 100644 (file)
@@ -34,7 +34,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Test\TestCase;
 
 class WipeControllerTest extends TestCase {
-
        /** @var RemoteWipe|MockObject */
        private $remoteWipe;
 
index c5de9f81fe52286b51d6dd0784afcaa6def466c6..fe1b53e3fa5d6a4478d51fc4701e08917e7e0ec5 100644 (file)
@@ -46,7 +46,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Test\TestCase;
 
 class TwoFactorMiddlewareTest extends TestCase {
-
        /** @var Manager|MockObject */
        private $twoFactorManager;
 
index 7a6c374a2d78618dac54ded8d1d956f10352ddb4..b291b4d86d1c613e95cc198c180b71484fd039c6 100644 (file)
@@ -32,8 +32,6 @@ use OCP\Migration\IOutput;
 use Test\TestCase;
 
 class CleanPreviewsTest extends TestCase {
-
-
        /** @var IJobList|\PHPUnit_Framework_MockObject_MockObject */
        private $jobList;
 
index cba56856bfaa99c7bf0fdc3893f9cbf9b4e78632..49d664e2333a34a91eea8d342da7f39b219b18cf 100644 (file)
@@ -114,9 +114,9 @@ class AppNavigationContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheSectionIsShown($section) {
                if (!WaitFor::elementToBeEventuallyShown(
-                               $this->actor,
-                               self::appNavigationSectionItemFor($section),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::appNavigationSectionItemFor($section),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The section $section in the app navigation is not shown yet after $timeout seconds");
                }
        }
@@ -126,9 +126,9 @@ class AppNavigationContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheSectionIsNotShown($section) {
                if (!WaitFor::elementToBeEventuallyNotShown(
-                               $this->actor,
-                               self::appNavigationSectionItemFor($section),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::appNavigationSectionItemFor($section),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The section $section in the app navigation is still shown after $timeout seconds");
                }
        }
@@ -145,9 +145,9 @@ class AppNavigationContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheSectionDoesNotHaveACount($section) {
                if (!WaitFor::elementToBeEventuallyNotShown(
-                               $this->actor,
-                               self::counterForTheSection($section),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::counterForTheSection($section),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The counter for section $section is still shown after $timeout seconds");
                }
        }
index 210e907a9bc28d121bcc2792e8c3dc0dacc6e732..c8033a46f2d92ced2624f962bc189944ed583ed5 100644 (file)
@@ -90,9 +90,9 @@ class AppSettingsContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheSettingsAreOpened() {
                if (!WaitFor::elementToBeEventuallyShown(
-                               $this->actor,
-                               self::appSettingsContent(),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::appSettingsContent(),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The app settings are not open yet after $timeout seconds");
                }
        }
index 908754163d7aad0036f6b637bbcecb4789f54e18..7b06b77d11755c14cd6ad19e205ec7a626bfc346 100644 (file)
@@ -200,9 +200,9 @@ class AppsManagementContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatThereSomeAppsListedFromTheAppStore() {
                if (!WaitFor::elementToBeEventuallyShown(
-                               $this->actor,
-                               self::appEntries(),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::appEntries(),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The apps from the app store were not shown yet after $timeout seconds");
                }
        }
index 577b14b7e72f3a557afd2286963d38a09d5df334..b193ba9fb339ff0eae93584fa7a0593a456a4f50 100644 (file)
@@ -85,9 +85,9 @@ class CommentsAppContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatThereAreNoComments() {
                if (!WaitFor::elementToBeEventuallyShown(
-                               $this->actor,
-                               self::emptyContent(),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::emptyContent(),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The no comments message is not visible yet after $timeout seconds");
                }
        }
@@ -97,7 +97,7 @@ class CommentsAppContext implements Context, ActorAwareInterface {
         */
        public function iSeeACommentWithAsMessage($commentText) {
                Assert::assertTrue(
-                               $this->actor->find(self::commentWithText($commentText), 10)->isVisible());
+                       $this->actor->find(self::commentWithText($commentText), 10)->isVisible());
        }
 
        /**
@@ -106,7 +106,7 @@ class CommentsAppContext implements Context, ActorAwareInterface {
        public function iSeeThatThereIsNoCommentWithAsMessage($commentText) {
                try {
                        Assert::assertFalse(
-                                       $this->actor->find(self::commentWithText($commentText))->isVisible());
+                               $this->actor->find(self::commentWithText($commentText))->isVisible());
                } catch (NoSuchElementException $exception) {
                }
        }
index b22f33a3c55ab97683bb96ffdfd030e6ed56accf..72c33410b28678f4664bff7e97e606d4640cc589 100644 (file)
@@ -89,7 +89,7 @@ class ContactsMenuContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheContactsMenuIsShown() {
                Assert::assertTrue(
-                               $this->actor->find(self::contactsMenu(), 10)->isVisible());
+                       $this->actor->find(self::contactsMenu(), 10)->isVisible());
        }
 
        /**
@@ -97,7 +97,7 @@ class ContactsMenuContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheContactsMenuSearchInputIsShown() {
                Assert::assertTrue(
-                               $this->actor->find(self::contactsMenuSearchInput(), 10)->isVisible());
+                       $this->actor->find(self::contactsMenuSearchInput(), 10)->isVisible());
        }
 
        /**
@@ -105,7 +105,7 @@ class ContactsMenuContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheNoResultsMessageInTheContactsMenuIsShown() {
                Assert::assertTrue(
-                               $this->actor->find(self::noResultsMessage(), 10)->isVisible());
+                       $this->actor->find(self::noResultsMessage(), 10)->isVisible());
        }
 
        /**
@@ -113,7 +113,7 @@ class ContactsMenuContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheContactInTheContactsMenuIsShown($contactName) {
                Assert::assertTrue(
-                               $this->actor->find(self::menuItemFor($contactName), 10)->isVisible());
+                       $this->actor->find(self::menuItemFor($contactName), 10)->isVisible());
        }
 
        /**
@@ -124,7 +124,7 @@ class ContactsMenuContext implements Context, ActorAwareInterface {
 
                try {
                        Assert::assertFalse(
-                                       $this->actor->find(self::menuItemFor($contactName))->isVisible());
+                               $this->actor->find(self::menuItemFor($contactName))->isVisible());
                } catch (NoSuchElementException $exception) {
                }
        }
@@ -136,9 +136,9 @@ class ContactsMenuContext implements Context, ActorAwareInterface {
                $this->iSeeThatThecontactsMenuIsShown();
 
                if (!WaitFor::elementToBeEventuallyNotShown(
-                               $this->actor,
-                               self::menuItemFor($contactName),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::menuItemFor($contactName),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The $contactName contact in Contacts menu is still shown after $timeout seconds");
                }
        }
index dea9f434babfda12fcbcaf590d0296f02a784ed1..3deea2f5ebfa6881028768ed313696767dc589b9 100644 (file)
@@ -56,9 +56,9 @@ class DialogContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheConfirmationDialogIsShown() {
                if (!WaitFor::elementToBeEventuallyShown(
-                               $this->actor,
-                               self::theDialog(),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::theDialog(),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The confirmation dialog was not shown yet after $timeout seconds");
                }
        }
@@ -68,9 +68,9 @@ class DialogContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheConfirmationDialogIsNotShown() {
                if (!WaitFor::elementToBeEventuallyNotShown(
-                               $this->actor,
-                               self::theDialog(),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::theDialog(),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The confirmation dialog is still shown after $timeout seconds");
                }
        }
index af8534f012c158abb534fb1ba7056a44047024ee..b87d1d7dee300cc78fa022025576033a4c448e42 100644 (file)
@@ -37,7 +37,6 @@ use Behat\Behat\Hook\Scope\BeforeScenarioScope;
  * "setFileListAncestorForActor" when needed.
  */
 trait FileListAncestorSetter {
-
        /**
         * @var FileListContext
         */
index 12402c07cc0d877c450b905b38e19c1ab6dcc720..501bad73c0670fe703001e568be6a4fa054028ec 100644 (file)
@@ -25,7 +25,6 @@ use Behat\Behat\Context\Context;
 use PHPUnit\Framework\Assert;
 
 class FileListContext implements Context, ActorAwareInterface {
-
        /**
         * @var Actor
         */
@@ -484,9 +483,9 @@ class FileListContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheFileListIsEventuallyLoaded() {
                if (!WaitFor::elementToBeEventuallyNotShown(
-                               $this->actor,
-                               self::mainWorkingIcon($this->fileListAncestor),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::mainWorkingIcon($this->fileListAncestor),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The main working icon for the file list is still shown after $timeout seconds");
                }
        }
@@ -522,9 +521,9 @@ class FileListContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheFileListDoesNotContainAFileNamed($fileName) {
                if (!WaitFor::elementToBeEventuallyNotShown(
-                               $this->actor,
-                               self::rowForFile($this->fileListAncestor, $fileName),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::rowForFile($this->fileListAncestor, $fileName),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The file list still contains a file named $fileName after $timeout seconds");
                }
        }
index 124000f878d51f2380f5e8f46a081790370f3cc3..b4b6e72e5b5957a9be8d07e3018c66b3c8dd7b03 100644 (file)
@@ -297,8 +297,8 @@ class FilesAppContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheCurrentPageIsTheFilesApp() {
                Assert::assertStringStartsWith(
-                               $this->actor->locatePath("/apps/files/"),
-                               $this->actor->getSession()->getCurrentUrl());
+                       $this->actor->locatePath("/apps/files/"),
+                       $this->actor->getSession()->getCurrentUrl());
 
                $this->setFileListAncestorForActor(self::currentSectionMainView(), $this->actor);
        }
@@ -311,9 +311,9 @@ class FilesAppContext implements Context, ActorAwareInterface {
                // waited for it to be visible instead of relying on the implicit wait
                // made to find the element.
                if (!WaitFor::elementToBeEventuallyShown(
-                               $this->actor,
-                               self::detailsView(),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::detailsView(),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The details view is not open yet after $timeout seconds");
                }
        }
@@ -323,9 +323,9 @@ class FilesAppContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheDetailsViewIsClosed() {
                if (!WaitFor::elementToBeEventuallyNotShown(
-                               $this->actor,
-                               self::detailsView(),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::detailsView(),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The details view is not closed yet after $timeout seconds");
                }
        }
@@ -335,7 +335,7 @@ class FilesAppContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheFileNameShownInTheDetailsViewIs($fileName) {
                Assert::assertEquals(
-                               $this->actor->find(self::fileNameInDetailsView(), 10)->getText(), $fileName);
+                       $this->actor->find(self::fileNameInDetailsView(), 10)->getText(), $fileName);
        }
 
        /**
@@ -343,7 +343,7 @@ class FilesAppContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheFileIsMarkedAsFavoriteInTheDetailsView() {
                Assert::assertNotNull(
-                               $this->actor->find(self::favoritedStateIconInFileDetailsInDetailsView(), 10));
+                       $this->actor->find(self::favoritedStateIconInFileDetailsInDetailsView(), 10));
        }
 
        /**
@@ -351,7 +351,7 @@ class FilesAppContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheFileIsNotMarkedAsFavoriteInTheDetailsView() {
                Assert::assertNotNull(
-                               $this->actor->find(self::notFavoritedStateIconInFileDetailsInDetailsView(), 10));
+                       $this->actor->find(self::notFavoritedStateIconInFileDetailsInDetailsView(), 10));
        }
 
        /**
@@ -359,7 +359,7 @@ class FilesAppContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheInputFieldForTagsInTheDetailsViewIsShown() {
                Assert::assertTrue(
-                               $this->actor->find(self::inputFieldForTagsInDetailsView(), 10)->isVisible());
+                       $this->actor->find(self::inputFieldForTagsInDetailsView(), 10)->isVisible());
        }
 
        /**
@@ -367,7 +367,7 @@ class FilesAppContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheInputFieldForTagsInTheDetailsViewContainsTheTag($tag) {
                Assert::assertTrue(
-                               $this->actor->find(self::itemInInputFieldForTagsInDetailsViewForTag($tag), 10)->isVisible());
+                       $this->actor->find(self::itemInInputFieldForTagsInDetailsViewForTag($tag), 10)->isVisible());
        }
 
        /**
@@ -378,7 +378,7 @@ class FilesAppContext implements Context, ActorAwareInterface {
 
                try {
                        Assert::assertFalse(
-                                       $this->actor->find(self::itemInInputFieldForTagsInDetailsViewForTag($tag))->isVisible());
+                               $this->actor->find(self::itemInInputFieldForTagsInDetailsViewForTag($tag))->isVisible());
                } catch (NoSuchElementException $exception) {
                }
        }
@@ -388,7 +388,7 @@ class FilesAppContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheTagInTheDropdownForTagsInTheDetailsViewIsChecked($tag) {
                Assert::assertTrue(
-                               $this->actor->find(self::checkmarkInItemInDropdownForTag($tag), 10)->isVisible());
+                       $this->actor->find(self::checkmarkInItemInDropdownForTag($tag), 10)->isVisible());
        }
 
        /**
@@ -396,10 +396,10 @@ class FilesAppContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheTagInTheDropdownForTagsInTheDetailsViewIsNotChecked($tag) {
                Assert::assertTrue(
-                               $this->actor->find(self::itemInDropdownForTag($tag), 10)->isVisible());
+                       $this->actor->find(self::itemInDropdownForTag($tag), 10)->isVisible());
 
                Assert::assertFalse(
-                               $this->actor->find(self::checkmarkInItemInDropdownForTag($tag))->isVisible());
+                       $this->actor->find(self::checkmarkInItemInDropdownForTag($tag))->isVisible());
        }
 
        /**
@@ -407,9 +407,9 @@ class FilesAppContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheTabInTheDetailsViewIsEventuallyLoaded($tabName) {
                if (!WaitFor::elementToBeEventuallyNotShown(
-                               $this->actor,
-                               self::loadingIconForTabInDetailsViewNamed($tabName),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::loadingIconForTabInDetailsViewNamed($tabName),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The $tabName tab in the details view has not been loaded after $timeout seconds");
                }
        }
index 95398423e3b57c8bfad092925936acf52eeda8bc..40c055ed06eaf8b1491d6b7e752e25d53f2d9a38 100644 (file)
@@ -378,9 +378,9 @@ class FilesAppSharingContext implements Context, ActorAwareInterface {
                // Close the share link menu if it is open to ensure that it does not
                // cover the copy link button.
                if (!WaitFor::elementToBeEventuallyNotShown(
-                               $this->actor,
-                               self::shareLinkMenu($shareLinkMenuTriggerElement),
-                               $timeout = 2 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::shareLinkMenu($shareLinkMenuTriggerElement),
+                       $timeout = 2 * $this->actor->getFindTimeoutMultiplier())) {
                        // It may not be possible to click on the menu button (due to the
                        // menu itself covering it), so "Enter" key is pressed instead.
                        $this->actor->find(self::shareLinkMenuButton(), 2)->getWrappedElement()->keyPress(13);
@@ -528,7 +528,7 @@ class FilesAppSharingContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheFileIsSharedWithMeBy($sharedByName) {
                Assert::assertEquals(
-                               $this->actor->find(self::sharedByLabel(), 10)->getText(), "Shared with you by $sharedByName");
+                       $this->actor->find(self::sharedByLabel(), 10)->getText(), "Shared with you by $sharedByName");
        }
 
        /**
@@ -536,7 +536,7 @@ class FilesAppSharingContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheFileIsSharedWith($sharedWithName) {
                Assert::assertTrue(
-                               $this->actor->find(self::sharedWithRow($sharedWithName), 10)->isVisible());
+                       $this->actor->find(self::sharedWithRow($sharedWithName), 10)->isVisible());
        }
 
        /**
@@ -544,9 +544,9 @@ class FilesAppSharingContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheFileIsNotSharedWith($sharedWithName) {
                if (!WaitFor::elementToBeEventuallyNotShown(
-                               $this->actor,
-                               self::sharedWithRow($sharedWithName),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::sharedWithRow($sharedWithName),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The shared with $sharedWithName row is still shown after $timeout seconds");
                }
        }
@@ -556,9 +556,9 @@ class FilesAppSharingContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatResharingTheFileIsNotAllowed() {
                Assert::assertEquals(
-                               $this->actor->find(self::shareWithInput(), 10)->getWrappedElement()->getAttribute("disabled"), "disabled");
+                       $this->actor->find(self::shareWithInput(), 10)->getWrappedElement()->getAttribute("disabled"), "disabled");
                Assert::assertEquals(
-                               $this->actor->find(self::shareWithInput(), 10)->getWrappedElement()->getAttribute("placeholder"), "Resharing is not allowed");
+                       $this->actor->find(self::shareWithInput(), 10)->getWrappedElement()->getAttribute("placeholder"), "Resharing is not allowed");
        }
 
        /**
@@ -566,9 +566,9 @@ class FilesAppSharingContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatResharingTheFileByLinkIsNotAvailable() {
                if (!WaitFor::elementToBeEventuallyNotShown(
-                               $this->actor,
-                               self::shareLinkAddNewButton(),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::shareLinkAddNewButton(),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The add new share link button is still shown after $timeout seconds");
                }
        }
@@ -581,7 +581,7 @@ class FilesAppSharingContext implements Context, ActorAwareInterface {
 
                $shareWithMenuTriggerElement = $this->actor->find(self::shareWithMenuTrigger($sharedWithName), 10);
                Assert::assertEquals(
-                               $this->actor->find(self::canEditCheckboxInput($sharedWithName, $shareWithMenuTriggerElement), 10)->getWrappedElement()->getAttribute("disabled"), "disabled");
+                       $this->actor->find(self::canEditCheckboxInput($sharedWithName, $shareWithMenuTriggerElement), 10)->getWrappedElement()->getAttribute("disabled"), "disabled");
        }
 
        /**
@@ -592,7 +592,7 @@ class FilesAppSharingContext implements Context, ActorAwareInterface {
 
                $shareWithMenuTriggerElement = $this->actor->find(self::shareWithMenuTrigger($sharedWithName), 10);
                Assert::assertTrue(
-                               $this->actor->find(self::canEditCheckboxInput($sharedWithName, $shareWithMenuTriggerElement), 10)->isChecked());
+                       $this->actor->find(self::canEditCheckboxInput($sharedWithName, $shareWithMenuTriggerElement), 10)->isChecked());
        }
 
        /**
@@ -603,7 +603,7 @@ class FilesAppSharingContext implements Context, ActorAwareInterface {
 
                $shareWithMenuTriggerElement = $this->actor->find(self::shareWithMenuTrigger($sharedWithName), 10);
                Assert::assertFalse(
-                               $this->actor->find(self::canEditCheckboxInput($sharedWithName, $shareWithMenuTriggerElement), 10)->isChecked());
+                       $this->actor->find(self::canEditCheckboxInput($sharedWithName, $shareWithMenuTriggerElement), 10)->isChecked());
        }
 
        /**
@@ -614,7 +614,7 @@ class FilesAppSharingContext implements Context, ActorAwareInterface {
 
                $shareWithMenuTriggerElement = $this->actor->find(self::shareWithMenuTrigger($sharedWithName), 10);
                Assert::assertEquals(
-                               $this->actor->find(self::canCreateCheckboxInput($sharedWithName, $shareWithMenuTriggerElement), 10)->getWrappedElement()->getAttribute("disabled"), "disabled");
+                       $this->actor->find(self::canCreateCheckboxInput($sharedWithName, $shareWithMenuTriggerElement), 10)->getWrappedElement()->getAttribute("disabled"), "disabled");
        }
 
        /**
@@ -625,7 +625,7 @@ class FilesAppSharingContext implements Context, ActorAwareInterface {
 
                $shareWithMenuTriggerElement = $this->actor->find(self::shareWithMenuTrigger($sharedWithName), 10);
                Assert::assertTrue(
-                               $this->actor->find(self::canCreateCheckboxInput($sharedWithName, $shareWithMenuTriggerElement), 10)->isChecked());
+                       $this->actor->find(self::canCreateCheckboxInput($sharedWithName, $shareWithMenuTriggerElement), 10)->isChecked());
        }
 
        /**
@@ -636,7 +636,7 @@ class FilesAppSharingContext implements Context, ActorAwareInterface {
 
                $shareWithMenuTriggerElement = $this->actor->find(self::shareWithMenuTrigger($sharedWithName), 10);
                Assert::assertFalse(
-                               $this->actor->find(self::canCreateCheckboxInput($sharedWithName, $shareWithMenuTriggerElement), 10)->isChecked());
+                       $this->actor->find(self::canCreateCheckboxInput($sharedWithName, $shareWithMenuTriggerElement), 10)->isChecked());
        }
 
        /**
@@ -647,9 +647,9 @@ class FilesAppSharingContext implements Context, ActorAwareInterface {
 
                $shareWithMenuTriggerElement = $this->actor->find(self::shareWithMenuTrigger($sharedWithName), 10);
                if (!WaitFor::elementToBeEventuallyNotShown(
-                               $this->actor,
-                               self::canReshareCheckbox($sharedWithName, $shareWithMenuTriggerElement),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::canReshareCheckbox($sharedWithName, $shareWithMenuTriggerElement),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The resharing checkbox for $sharedWithName is still shown after $timeout seconds");
                }
        }
@@ -662,7 +662,7 @@ class FilesAppSharingContext implements Context, ActorAwareInterface {
 
                $shareWithMenuTriggerElement = $this->actor->find(self::shareWithMenuTrigger($sharedWithName), 10);
                Assert::assertTrue(
-                               $this->actor->find(self::canReshareCheckboxInput($sharedWithName, $shareWithMenuTriggerElement), 10)->isChecked());
+                       $this->actor->find(self::canReshareCheckboxInput($sharedWithName, $shareWithMenuTriggerElement), 10)->isChecked());
        }
 
        /**
@@ -673,7 +673,7 @@ class FilesAppSharingContext implements Context, ActorAwareInterface {
 
                $shareWithMenuTriggerElement = $this->actor->find(self::shareWithMenuTrigger($sharedWithName), 10);
                Assert::assertFalse(
-                               $this->actor->find(self::canReshareCheckboxInput($sharedWithName, $shareWithMenuTriggerElement), 10)->isChecked());
+                       $this->actor->find(self::canReshareCheckboxInput($sharedWithName, $shareWithMenuTriggerElement), 10)->isChecked());
        }
 
        /**
@@ -719,9 +719,9 @@ class FilesAppSharingContext implements Context, ActorAwareInterface {
                }
 
                if (!WaitFor::elementToBeEventuallyNotShown(
-                               $this->actor,
-                               self::disabledPasswordProtectField($shareLinkMenuTriggerElement),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::disabledPasswordProtectField($shareLinkMenuTriggerElement),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The password protect field is still disabled after $timeout seconds");
                }
        }
@@ -766,7 +766,7 @@ class FilesAppSharingContext implements Context, ActorAwareInterface {
                $shareLinkMenuTriggerElement = $this->actor->find(self::shareLinkMenuTrigger(), 10);
                try {
                        Assert::assertFalse(
-                                       $this->actor->find(self::passwordProtectByTalkCheckbox($shareLinkMenuTriggerElement))->isVisible());
+                               $this->actor->find(self::passwordProtectByTalkCheckbox($shareLinkMenuTriggerElement))->isVisible());
                } catch (NoSuchElementException $exception) {
                }
        }
@@ -788,9 +788,9 @@ class FilesAppSharingContext implements Context, ActorAwareInterface {
                // case it is in the process of being hidden due to a previous action,
                // in which case it is shown again.
                if (WaitFor::elementToBeEventuallyNotShown(
-                               $this->actor,
-                               self::shareLinkMenu($shareLinkMenuTriggerElement),
-                               $timeout = 2 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::shareLinkMenu($shareLinkMenuTriggerElement),
+                       $timeout = 2 * $this->actor->getFindTimeoutMultiplier())) {
                        $this->actor->find(self::shareLinkMenuButton(), 10)->click();
                }
        }
@@ -803,9 +803,9 @@ class FilesAppSharingContext implements Context, ActorAwareInterface {
                // case it is in the process of being hidden due to a previous action,
                // in which case it is shown again.
                if (WaitFor::elementToBeEventuallyNotShown(
-                               $this->actor,
-                               self::shareWithMenu($shareWithName, $shareWithMenuTriggerElement),
-                               $timeout = 2 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::shareWithMenu($shareWithName, $shareWithMenuTriggerElement),
+                       $timeout = 2 * $this->actor->getFindTimeoutMultiplier())) {
                        $this->actor->find(self::shareWithMenuButton($shareWithName), 10)->click();
                }
        }
index 01ad34ba149e58ccd006507c206086fb95d1567d..fc924bbff80b03a0998d5a6c67404d25db35aaba 100644 (file)
@@ -80,8 +80,8 @@ class LoginPageContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheCurrentPageIsTheLoginPage() {
                Assert::assertStringStartsWith(
-                               $this->actor->locatePath("/login"),
-                               $this->actor->getSession()->getCurrentUrl());
+                       $this->actor->locatePath("/login"),
+                       $this->actor->getSession()->getCurrentUrl());
        }
 
        /**
@@ -89,7 +89,7 @@ class LoginPageContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatAWrongPasswordMessageIsShown() {
                Assert::assertTrue(
-                               $this->actor->find(self::wrongPasswordMessage(), 10)->isVisible());
+                       $this->actor->find(self::wrongPasswordMessage(), 10)->isVisible());
        }
 
        /**
@@ -97,7 +97,7 @@ class LoginPageContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheDisabledUserMessageIsShown() {
                Assert::assertTrue(
-                               $this->actor->find(self::userDisabledMessage(), 10)->isVisible());
+                       $this->actor->find(self::userDisabledMessage(), 10)->isVisible());
        }
 
        /**
index d31d6541335ef9609b8afb1babc24e2743a572d2..ce25afa792b05547c5daaca673b661cdf5bb68fe 100644 (file)
@@ -145,8 +145,8 @@ class PublicShareContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheCurrentPageIsTheAuthenticatePageForTheSharedLinkIWroteDown() {
                Assert::assertEquals(
-                               $this->actor->getSharedNotebook()["shared link"] . "/authenticate/showShare",
-                               $this->actor->getSession()->getCurrentUrl());
+                       $this->actor->getSharedNotebook()["shared link"] . "/authenticate/showShare",
+                       $this->actor->getSession()->getCurrentUrl());
        }
 
        /**
@@ -154,8 +154,8 @@ class PublicShareContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheCurrentPageIsTheAuthenticatePageForTheDirectDownloadSharedLinkIWroteDown() {
                Assert::assertEquals(
-                               $this->actor->getSharedNotebook()["shared link"] . "/authenticate/downloadShare",
-                               $this->actor->getSession()->getCurrentUrl());
+                       $this->actor->getSharedNotebook()["shared link"] . "/authenticate/downloadShare",
+                       $this->actor->getSession()->getCurrentUrl());
        }
 
        /**
@@ -163,8 +163,8 @@ class PublicShareContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheCurrentPageIsTheSharedLinkIWroteDown() {
                Assert::assertEquals(
-                               $this->actor->getSharedNotebook()["shared link"],
-                               $this->actor->getSession()->getCurrentUrl());
+                       $this->actor->getSharedNotebook()["shared link"],
+                       $this->actor->getSession()->getCurrentUrl());
 
                $this->setFileListAncestorForActor(null, $this->actor);
        }
@@ -174,8 +174,8 @@ class PublicShareContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheCurrentPageIsTheDirectDownloadSharedLinkIWroteDown() {
                Assert::assertEquals(
-                               $this->actor->getSharedNotebook()["shared link"] . "/download",
-                               $this->actor->getSession()->getCurrentUrl());
+                       $this->actor->getSharedNotebook()["shared link"] . "/download",
+                       $this->actor->getSession()->getCurrentUrl());
        }
 
        /**
@@ -183,7 +183,7 @@ class PublicShareContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatAWrongPasswordForTheSharedFileMessageIsShown() {
                Assert::assertTrue(
-                               $this->actor->find(self::wrongPasswordMessage(), 10)->isVisible());
+                       $this->actor->find(self::wrongPasswordMessage(), 10)->isVisible());
        }
 
        /**
@@ -194,7 +194,7 @@ class PublicShareContext implements Context, ActorAwareInterface {
                // the element could be found when it was no made visible yet due to the
                // command not having been processed by the browser.
                if (!WaitFor::elementToBeEventuallyShown(
-                               $this->actor, self::shareMenu(), $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor, self::shareMenu(), $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The Share menu is not visible yet after $timeout seconds");
                }
 
@@ -202,14 +202,14 @@ class PublicShareContext implements Context, ActorAwareInterface {
                // download item should not be shown in the menu (although it will be in
                // the DOM).
                Assert::assertFalse(
-                               $this->actor->find(self::downloadItemInShareMenu())->isVisible(),
-                               "Download item in share menu is visible");
+                       $this->actor->find(self::downloadItemInShareMenu())->isVisible(),
+                       "Download item in share menu is visible");
                Assert::assertTrue(
-                               $this->actor->find(self::directLinkItemInShareMenu())->isVisible(),
-                               "Direct link item in share menu is not visible");
+                       $this->actor->find(self::directLinkItemInShareMenu())->isVisible(),
+                       "Direct link item in share menu is not visible");
                Assert::assertTrue(
-                               $this->actor->find(self::saveItemInShareMenu())->isVisible(),
-                               "Save item in share menu is not visible");
+                       $this->actor->find(self::saveItemInShareMenu())->isVisible(),
+                       "Save item in share menu is not visible");
        }
 
        /**
@@ -218,7 +218,7 @@ class PublicShareContext implements Context, ActorAwareInterface {
        public function iSeeThatTheShareMenuButtonIsNotShown() {
                try {
                        Assert::assertFalse(
-                                       $this->actor->find(self::shareMenuButton())->isVisible());
+                               $this->actor->find(self::shareMenuButton())->isVisible());
                } catch (NoSuchElementException $exception) {
                }
        }
@@ -235,7 +235,7 @@ class PublicShareContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheDownloadButtonIsShown() {
                if (!WaitFor::elementToBeEventuallyShown(
-                               $this->actor, self::downloadButton(), $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor, self::downloadButton(), $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The download button is not visible yet after $timeout seconds");
                }
        }
@@ -246,7 +246,7 @@ class PublicShareContext implements Context, ActorAwareInterface {
        public function iSeeThatTheDownloadButtonIsNotShown() {
                try {
                        Assert::assertFalse(
-                                       $this->actor->find(self::downloadButton())->isVisible());
+                               $this->actor->find(self::downloadButton())->isVisible());
                } catch (NoSuchElementException $exception) {
                }
        }
index db7aeb90ffe3c21304b18a034f985819d2fbc258..f776c078c68f889e7b09520e313b404c5c3b723e 100644 (file)
@@ -101,7 +101,7 @@ class SearchContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheSearchResultIs($number, $name) {
                Assert::assertEquals(
-                               $name, $this->actor->find(self::searchResultName($number), 10)->getText());
+                       $name, $this->actor->find(self::searchResultName($number), 10)->getText());
        }
 
        /**
@@ -109,6 +109,6 @@ class SearchContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheSearchResultWasFoundIn($number, $path) {
                Assert::assertEquals(
-                               $path, $this->actor->find(self::searchResultPath($number), 10)->getText());
+                       $path, $this->actor->find(self::searchResultPath($number), 10)->getText());
        }
 }
index 1e0eadd044ab6b9d3269a288c49cf335e1bbe8ec..ae1a559a36015602e3b73cf862fc9a02dbbcc278 100644 (file)
@@ -182,7 +182,7 @@ class SettingsContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatSharesAreAcceptedByDefault() {
                Assert::assertTrue(
-                               $this->actor->find(self::acceptSharesByDefaultCheckboxInput(), 10)->isChecked());
+                       $this->actor->find(self::acceptSharesByDefaultCheckboxInput(), 10)->isChecked());
        }
 
        /**
@@ -190,7 +190,7 @@ class SettingsContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatResharingIsEnabled() {
                Assert::assertTrue(
-                               $this->actor->find(self::allowResharingCheckboxInput(), 10)->isChecked());
+                       $this->actor->find(self::allowResharingCheckboxInput(), 10)->isChecked());
        }
 
        /**
@@ -198,7 +198,7 @@ class SettingsContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatResharingIsDisabled() {
                Assert::assertFalse(
-                               $this->actor->find(self::allowResharingCheckboxInput(), 10)->isChecked());
+                       $this->actor->find(self::allowResharingCheckboxInput(), 10)->isChecked());
        }
 
        /**
@@ -206,7 +206,7 @@ class SettingsContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatUsernameAutocompletionIsRestrictedToGroups() {
                Assert::assertTrue(
-                               $this->actor->find(self::restrictUsernameAutocompletionToGroupsCheckboxInput(), 10)->isChecked());
+                       $this->actor->find(self::restrictUsernameAutocompletionToGroupsCheckboxInput(), 10)->isChecked());
        }
 
        /**
@@ -214,7 +214,7 @@ class SettingsContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatUsernameAutocompletionIsNotRestrictedToGroups() {
                Assert::assertFalse(
-                               $this->actor->find(self::restrictUsernameAutocompletionToGroupsCheckboxInput(), 10)->isChecked());
+                       $this->actor->find(self::restrictUsernameAutocompletionToGroupsCheckboxInput(), 10)->isChecked());
        }
 
        /**
@@ -222,7 +222,7 @@ class SettingsContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatSharesAreNotAcceptedByDefault() {
                Assert::assertFalse(
-                               $this->actor->find(self::acceptSharesByDefaultCheckboxInput(), 10)->isChecked());
+                       $this->actor->find(self::acceptSharesByDefaultCheckboxInput(), 10)->isChecked());
        }
 
        /**
index f89d8782198e25bd1da798b77e87650ba27df17d..eaf667d442312db359d536169c5dabbbe9307e16 100644 (file)
@@ -165,7 +165,7 @@ class SettingsMenuContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheSettingsMenuIsShown() {
                Assert::assertTrue(
-                               $this->actor->find(self::settingsMenu(), 10)->isVisible());
+                       $this->actor->find(self::settingsMenu(), 10)->isVisible());
        }
 
        /**
@@ -180,7 +180,7 @@ class SettingsMenuContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheItemInTheSettingsMenuIsShown($itemText) {
                Assert::assertTrue(
-                               $this->actor->find(self::menuItemFor($itemText), 10)->isVisible());
+                       $this->actor->find(self::menuItemFor($itemText), 10)->isVisible());
        }
 
        /**
@@ -191,7 +191,7 @@ class SettingsMenuContext implements Context, ActorAwareInterface {
 
                try {
                        Assert::assertFalse(
-                                       $this->actor->find(self::menuItemFor($itemText))->isVisible());
+                               $this->actor->find(self::menuItemFor($itemText))->isVisible());
                } catch (NoSuchElementException $exception) {
                }
        }
index 3dc941901c1b8fa3961e9299dd71333bb5d3c1ac..7ca3df2f47e8172eef7ea42ce37f25ea7cf41578 100644 (file)
@@ -49,6 +49,6 @@ class ToastContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheToastIsShown($message) {
                Assert::assertTrue($this->actor->find(
-                               self::toastMessage($message), 10)->isVisible());
+                       self::toastMessage($message), 10)->isVisible());
        }
 }
index 4d17b3b51185d35af3f520a325c799bb0bc3bf7b..33c47850202792c554bf12ea426b32855ce3f496 100644 (file)
@@ -270,9 +270,9 @@ class UsersSettingsContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheListOfUsersContainsTheUser($user) {
                if (!WaitFor::elementToBeEventuallyShown(
-                               $this->actor,
-                               self::rowForUser($user),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::rowForUser($user),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The user $user in the list of users is not shown yet after $timeout seconds");
                }
        }
@@ -282,9 +282,9 @@ class UsersSettingsContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheListOfUsersDoesNotContainsTheUser($user) {
                if (!WaitFor::elementToBeEventuallyNotShown(
-                               $this->actor,
-                               self::rowForUser($user),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::rowForUser($user),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The user $user in the list of users is still shown after $timeout seconds");
                }
        }
@@ -294,9 +294,9 @@ class UsersSettingsContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheNewUserFormIsShown() {
                if (!WaitFor::elementToBeEventuallyShown(
-                               $this->actor,
-                               self::newUserForm(),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::newUserForm(),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The new user form is not shown yet after $timeout seconds");
                }
        }
@@ -352,9 +352,9 @@ class UsersSettingsContext implements Context, ActorAwareInterface {
                }
 
                if (!WaitFor::elementToBeEventuallyNotShown(
-                               $this->actor,
-                               self::classCellForUser($cell . ' icon-loading-small', $user),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::classCellForUser($cell . ' icon-loading-small', $user),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The loading icon for user $user is still shown after $timeout seconds");
                }
        }
@@ -372,9 +372,9 @@ class UsersSettingsContext implements Context, ActorAwareInterface {
         */
        public function iSeeThatTheEditModeIsOn($user) {
                if (!WaitFor::elementToBeEventuallyShown(
-                               $this->actor,
-                               self::editModeOn($user),
-                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+                       $this->actor,
+                       self::editModeOn($user),
+                       $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        Assert::fail("The edit mode for user $user in the list of users is not on yet after $timeout seconds");
                }
        }
index b07586c46624517075c9962d123dc53f9087918f..37a268360aa125c9b5acacad19c7afeb6c60ecb7 100644 (file)
@@ -25,7 +25,6 @@
  * Helper class with common "wait for" functions.
  */
 class WaitFor {
-
        /**
         * Waits for the element to be visible.
         *
index ea33e7df21e86f0ea587f28b8a7785cef8e352f1..abe9a39092091dfabf1adc85e606ca41446d5217 100644 (file)
@@ -59,7 +59,6 @@
  * performs them.
  */
 class Actor {
-
        /**
         * @var string
         */
index 5a1a7542355bc428a902de2ef6e8aee6e584cc2c..c734d7e190604f00e94ba69363e1551bfcb3a09c 100644 (file)
@@ -22,7 +22,6 @@
  */
 
 trait ActorAware {
-
        /**
         * @var Actor
         */
index 37261773cbb1c593c6b2030b575cf2eb80064333..7b855aed4d3ca64f4868fa2524028719a95c859d 100644 (file)
@@ -22,7 +22,6 @@
  */
 
 interface ActorAwareInterface {
-
        /**
         * @param Actor $actor
         */
index aa538f06069625479660cf0864943ef692fd86ac..7f152a1f3eb82d9e87df328ecd369533c430932d 100644 (file)
@@ -48,7 +48,6 @@ use Behat\MinkExtension\Context\RawMinkContext;
  * are stopped after each scenario is run.
  */
 class ActorContext extends RawMinkContext {
-
        /**
         * @var array
         */
index 9981321c90dcc291d083713aca6480e01739dc4b..714b100bfa2ed72f8be3d88793253663f5687826 100644 (file)
@@ -44,7 +44,6 @@
  * NoSuchElementException is thrown.
  */
 class ElementFinder {
-
        /**
         * Finds an element in the given Mink Session.
         *
index 89a73d5aa7946ebb04b040bc694dd9d38e8b670e..6ac9a6b8e8fc8bddba8f7ac90a4327c28d9b356d 100644 (file)
@@ -90,7 +90,6 @@
  * the ElementWrapper).
  */
 class ElementWrapper {
-
        /**
         * @var ElementFinder
         */
index dd971147f86d1c93252092b9992accb08d1e0795..1b933399e6b3c5b1aa0141ca00f125d5c02dcb65 100644 (file)
@@ -29,7 +29,6 @@
  * fluent interface with Locator::forThe().
  */
 class Locator {
-
        /**
         * @var string
         */
@@ -102,7 +101,6 @@ class Locator {
 }
 
 class LocatorBuilder {
-
        /**
         * @param string $selector
         * @param string|array $locator
@@ -242,7 +240,6 @@ class LocatorBuilder {
 }
 
 class LocatorBuilderSecondStep {
-
        /**
         * @var string
         */
@@ -280,7 +277,6 @@ class LocatorBuilderSecondStep {
 }
 
 class LocatorBuilderThirdStep {
-
        /**
         * @var string
         */
index 682811248e1ea88e603df64f3a7562d1db2b6f7e..d0dc0c32181d80cbde176a740027f6b2f571ff40 100644 (file)
@@ -59,7 +59,6 @@ use Behat\Behat\Hook\Scope\BeforeScenarioScope;
  *               - second-parameter-value
  */
 class NextcloudTestServerContext implements Context {
-
        /**
         * @var NextcloudTestServerHelper
         */
index cd50616e34cbc837afa199737267cce843b58e00..69b8ce70505bd75a11ca767be713dcac25a9619e 100644 (file)
@@ -46,7 +46,6 @@
  * nothing to be explicitly catched a plain base Exception is used.
  */
 interface NextcloudTestServerHelper {
-
        /**
         * Sets up the Nextcloud test server.
         *
index 36cffc325dc994688e40b9283513042063532955..367e950931d422de30f23d8cd7df74c34c6ab46c 100644 (file)
@@ -47,7 +47,6 @@
  * server can be got from "getBaseUrl".
  */
 class NextcloudTestServerLocalApacheHelper implements NextcloudTestServerHelper {
-
        /**
         * @var string
         */
index ce81881c9c474957a751d1da8653211910abfcda..a1ab1f8720a4a2f02cb9683073c122ddc893d2d3 100644 (file)
@@ -44,7 +44,6 @@
  * server can be got from "getBaseUrl".
  */
 class NextcloudTestServerLocalBuiltInHelper implements NextcloudTestServerHelper {
-
        /**
         * @var string
         */
index dca884556ad7d68cce8c417986682c2264a741fd..35583c7e63ff04af4aa68d9a78fb82494052b3e5 100644 (file)
@@ -25,7 +25,6 @@
  * Exception to signal that the element looked for could not be found.
  */
 class NoSuchElementException extends \Exception {
-
        /**
         * @param string $message
         * @param null|\Exception $previous
index 1650df4f824b570878299a03665c8f82b69aac23..eb7c65e993abff68ea85fc8a2d9f9b679bd0aed7 100644 (file)
@@ -22,7 +22,6 @@
  */
 
 class Utils {
-
        /**
         * Waits at most $timeout seconds for the given condition to be true,
         * checking it again every $timeoutStep seconds.
index 22d1270ccd6f25f78b2cc469ad200467561ba503..5e29629c92e1c850ad8bedff5e59c5effd5a5e5c 100644 (file)
@@ -11,7 +11,6 @@ namespace Test;
 use OCP\IRequest;
 
 class APITest extends \Test\TestCase {
-
        // Helps build a response variable
 
        /**
index d5c7cd60b1b2dba3de603fa77821e5698cfb03ca..0907f31d8425fca759c57c71b9e4acad0176dfcc 100644 (file)
@@ -38,7 +38,6 @@ use Test\TestCase;
  * @group DB
  */
 class HooksTest extends TestCase {
-
        /** @var LoggerInterface|MockObject */
        private $logger;
 
index f8b34b4c7161c22f6bdabcd31323dcc32c407b50..9a39f21f4e53335aa0bbad0460f283556d4692f5 100644 (file)
@@ -32,7 +32,6 @@ use OCP\RichObjectStrings\IValidator;
 use Test\TestCase;
 
 class ManagerTest extends TestCase {
-
        /** @var \OC\Activity\Manager */
        private $activityManager;
 
index 8570b94456ff4f7111bf93d62f15e5263f73f8cf..fca4e8d830888edf0a24a2e9c8c659b921dfdf76 100644 (file)
@@ -20,7 +20,6 @@ use OC\SystemConfig;
 use OCP\IDBConnection;
 
 class AllConfigTest extends \Test\TestCase {
-
        /** @var  \OCP\IDBConnection */
        protected $connection;
 
@@ -52,9 +51,9 @@ class AllConfigTest extends \Test\TestCase {
                $config->deleteUserValue('userDelete', 'appDelete', 'keyDelete');
 
                $result = $this->connection->executeQuery(
-                               'SELECT COUNT(*) AS `count` FROM `*PREFIX*preferences` WHERE `userid` = ?',
-                               ['userDelete']
-                       )->fetch();
+                       'SELECT COUNT(*) AS `count` FROM `*PREFIX*preferences` WHERE `userid` = ?',
+                       ['userDelete']
+               )->fetch();
                $actualCount = $result['count'];
 
                $this->assertEquals(0, $actualCount, 'There was one value in the database and after the tests there should be no entry left.');
index cec4f1114df909ba3a52c37d042c859902927b58..0988304f8fcfbee66d9f0218af195a3fca14d73d 100644 (file)
@@ -31,7 +31,6 @@ use OC\App\CompareVersion;
 use Test\TestCase;
 
 class CompareVersionTest extends TestCase {
-
        /** @var CompareVersion */
        private $compare;
 
index 75cc991cf99a2c1e422e2cbe57f21a538ec9dc1f..f2ae412c2f6eab99edd40629c8844fbc86540024 100644 (file)
@@ -16,7 +16,6 @@ use OCP\IL10N;
 use Test\TestCase;
 
 class DependencyAnalyzerTest extends TestCase {
-
        /** @var Platform|\PHPUnit\Framework\MockObject\MockObject */
        private $platformMock;
 
index 6bc256c20b060633ba01ed4656a7034c32c4ce83..51884b26e718463ae069703cb9c3c874b4b1bca4 100644 (file)
@@ -12,7 +12,6 @@ namespace Test\App;
 use OC;
 
 class PlatformRepositoryTest extends \Test\TestCase {
-
        /**
         * @dataProvider providesVersions
         * @param $expected
index b566347e3ffd6ef52780f5687c9b2b115951d2b1..86f653604a9e7c60b026f2b57e10eff1f4421c0b 100644 (file)
@@ -32,7 +32,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Test\TestCase;
 
 class BootContextTest extends TestCase {
-
        /** @var IAppContainer|MockObject */
        private $appContainer;
 
index 5a151806adf78c39f62ddd7deba15b51f7e8b6ce..a706abecc4f5cd07b2d906f2c5d99f796bc5dc24 100644 (file)
@@ -42,7 +42,6 @@ use Psr\Log\LoggerInterface;
 use Test\TestCase;
 
 class CoordinatorTest extends TestCase {
-
        /** @var IAppManager|MockObject */
        private $appManager;
 
index cd2332b0588625ae58d53dbd92746ce4fbef4b0c..909a98f97c87f22289e0ecaaaee6d1fdd3f86e7e 100644 (file)
@@ -33,7 +33,6 @@ interface Foo {
 }
 
 class FunctionInjectorTest extends TestCase {
-
        /** @var SimpleContainer */
        private $container;
 
index 81fac49348bb3f1cc2516a778a456d37d27a6771..22111f5b68eaedaf258470b9604fbfcf5414f92b 100644 (file)
@@ -35,7 +35,6 @@ use Psr\Log\LoggerInterface;
 use Test\TestCase;
 
 class RegistrationContextTest extends TestCase {
-
        /** @var LoggerInterface|MockObject */
        private $logger;
 
index c8adef809661ac2fd7363a1fe51abca4e0a717cb..e996f287c16f555780dbf73d58527321bc237eb8 100644 (file)
@@ -31,7 +31,6 @@ use OCP\ISession;
 use OCP\IURLGenerator;
 
 class AuthPublicShareControllerTest extends \Test\TestCase {
-
        /** @var IRequest|\PHPUnit\Framework\MockObject\MockObject */
        private $request;
        /** @var ISession|\PHPUnit\Framework\MockObject\MockObject */
index 4d36fcadce165d53540cd31352c63faa53d5305f..1f347cea53518e7be9dc65acf5935150e9aa5883 100644 (file)
@@ -56,7 +56,6 @@ class ChildController extends Controller {
 };
 
 class ControllerTest extends \Test\TestCase {
-
        /**
         * @var Controller
         */
index deffedcec058f33eac899572b8aea868457c43c4..9c03ba4cb6e43bedc92d83525b17dbea14f60da6 100644 (file)
@@ -28,7 +28,6 @@ use OCP\IRequest;
 use OCP\ISession;
 
 class TestController extends PublicShareController {
-
        /** @var string */
        private $hash;
 
@@ -56,7 +55,6 @@ class TestController extends PublicShareController {
 }
 
 class PublicShareControllerTest extends \Test\TestCase {
-
        /** @var IRequest|\PHPUnit\Framework\MockObject\MockObject */
        private $request;
        /** @var ISession|\PHPUnit\Framework\MockObject\MockObject */
index 96d319923b393f95c709a6b606a80ae9519ea803..82830dcc05a23f6b26466e6cf03d6e875c9d61a8 100644 (file)
@@ -80,7 +80,6 @@ class QBTestMapper extends QBMapper {
  * @package Test\AppFramework\Db
  */
 class QBMapperTest extends \Test\TestCase {
-
        /**
         * @var \PHPUnit\Framework\MockObject\MockObject|IDBConnection
         */
index 060badca0eb00e1b58ac618390befe0e6b232e07..fc2d412138257a6294a34e8a05000abdb6d99453 100644 (file)
@@ -31,7 +31,6 @@ use RuntimeException;
 use Test\TestCase;
 
 class TransactionalTest extends TestCase {
-
        /** @var IDBConnection|MockObject */
        private IDBConnection $db;
 
index 9a3d40d1c6b86463378daf85cb2c9e7df689b733..69367ad6ce22909c4b947aa3ac76a782785d8ef7 100644 (file)
@@ -36,7 +36,6 @@ use OCP\IRequestId;
  * @group DB
  */
 class DIContainerTest extends \Test\TestCase {
-
        /** @var DIContainer|\PHPUnit\Framework\MockObject\MockObject */
        private $container;
 
index 78a1d40bea68e97eeb77a30f66d0c4678a767aa8..369a30ba7a3e06b040d13936223c9de620847198 100644 (file)
@@ -52,7 +52,6 @@ class ClassB {
 }
 
 class DIIntergrationTests extends TestCase {
-
        /** @var DIContainer */
        private $container;
 
index a96cd4a163b8a1cb93f5ee107a35605b38b29fc0..5c3f3ead5b0ec73ee9854aea6056d0385f0eb37d 100644 (file)
@@ -16,7 +16,6 @@ use OCP\AppFramework\Http\ContentSecurityPolicy;
  * @package OC\AppFramework\Http
  */
 class ContentSecurityPolicyTest extends \Test\TestCase {
-
        /** @var ContentSecurityPolicy */
        private $contentSecurityPolicy;
 
index f933b3102b760c981846bf5278ea6fcfe02139d7..575698dd8781e4e82f12bc60d18e029de3e11aff 100644 (file)
@@ -28,7 +28,6 @@ use OCP\AppFramework\Http\DataResponse;
 use OCP\IRequest;
 
 class DataResponseTest extends \Test\TestCase {
-
        /**
         * @var DataResponse
         */
index 5fe81bb0136281872835e83a31d98c18f6632ba7..68e548865270e62ef61d363a058e9f87625eaba9 100644 (file)
@@ -16,7 +16,6 @@ use OCP\AppFramework\Http\EmptyContentSecurityPolicy;
  * @package OC\AppFramework\Http
  */
 class EmptyContentSecurityPolicyTest extends \Test\TestCase {
-
        /** @var EmptyContentSecurityPolicy */
        private $contentSecurityPolicy;
 
index 18c255463c51ef770dc5895221d177eeb70a81a9..6ced435286c2da360f46b47385b3b65f0880ef11 100644 (file)
@@ -28,7 +28,6 @@ namespace Test\AppFramework\Http;
 use OCP\AppFramework\Http\EmptyFeaturePolicy;
 
 class EmptyFeaturePolicyTest extends \Test\TestCase {
-
        /** @var EmptyFeaturePolicy */
        private $policy;
 
index 869650f42b1818ab0821dbe2b5b5b2334aeb5c98..60ddca7481bf4d4089eb4f3612b58e74d5c696de 100644 (file)
@@ -28,7 +28,6 @@ namespace Test\AppFramework\Http;
 use OCP\AppFramework\Http\FeaturePolicy;
 
 class FeaturePolicyTest extends \Test\TestCase {
-
        /** @var EmptyFeaturePolicy */
        private $policy;
 
index 8c8318eb602aab077533c185bf7b653af027c1ea..82f00457907e7c01f91695d709feecd8d03aa8ee 100644 (file)
@@ -29,7 +29,6 @@ use OCP\AppFramework\Http;
 use OCP\AppFramework\Http\JSONResponse;
 
 class JSONResponseTest extends \Test\TestCase {
-
        /**
         * @var JSONResponse
         */
index 5130d36937fe06a3c0151b2720da53376c4e39f9..c49c4a7c1f74650fac94a9cf20e5671571166526 100644 (file)
@@ -27,7 +27,6 @@ use OCP\AppFramework\Http;
 use OCP\AppFramework\Http\RedirectResponse;
 
 class RedirectResponseTest extends \Test\TestCase {
-
        /**
         * @var RedirectResponse
         */
index c725e2fb6025136827a111c04680ea73b8adc208..c5d228e5753cf8f6c4875a9f3d716c82c6aa8179 100644 (file)
@@ -28,7 +28,6 @@ use OCP\AppFramework\Http\Response;
 use OCP\AppFramework\Utility\ITimeFactory;
 
 class ResponseTest extends \Test\TestCase {
-
        /**
         * @var \OCP\AppFramework\Http\Response
         */
index 97aced0150616b8cf43a110ffcb6e94e75496813..3c0105ad1450e1a5b060e109c2d87e44abd59c3b 100644 (file)
@@ -28,7 +28,6 @@ use OCP\AppFramework\Http\IOutput;
 use OCP\AppFramework\Http\StreamResponse;
 
 class StreamResponseTest extends \Test\TestCase {
-
        /** @var IOutput */
        private $output;
 
index 6cbf112494e40730660a970c7e6abc1a6edb0823..13eef5c7c22035ca8eefb05d2e20b5a54a7d5db4 100644 (file)
@@ -27,7 +27,6 @@ use OCP\AppFramework\Http;
 use OCP\AppFramework\Http\TemplateResponse;
 
 class TemplateResponseTest extends \Test\TestCase {
-
        /**
         * @var \OCP\AppFramework\Http\TemplateResponse
         */
index 5127248215b6b277f5f74800dff6699b3147de0a..1cd6b614aade778374b399dc14ed79bca5eed8b6 100644 (file)
@@ -38,7 +38,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
 
 class AdditionalScriptsMiddlewareTest extends \Test\TestCase {
-
        /** @var EventDispatcherInterface|MockObject */
        private $legacyDispatcher;
        /** @var IUserSession|MockObject */
index 5dd13942097586d77c6e4531a29b946214672b30..79e07ac6686ec18077feea69d6037ece4f9c9023 100644 (file)
@@ -35,7 +35,6 @@ use OCP\AppFramework\Http\JSONResponse;
 use OCP\IRequest;
 
 class CompressionMiddlewareTest extends \Test\TestCase {
-
        /** @var IRequest */
        private $request;
        /** @var Controller */
index bd61aab46731efe5422713de2afb7e0c76b885fd..f9d8926db7e25bc36db57f9d05942432a9be7984 100644 (file)
@@ -36,7 +36,6 @@ class ChildMiddleware extends Middleware {
 
 
 class MiddlewareTest extends \Test\TestCase {
-
        /**
         * @var Middleware
         */
index c62384302fbbbbfe932232003fcc3e68d4efbd53..3b69a289e99db19138b5664433cf6ced42f07ddb 100644 (file)
@@ -31,7 +31,6 @@ use OCP\AppFramework\Http;
 use OCP\IRequest;
 
 class NotModifiedMiddlewareTest extends \Test\TestCase {
-
        /** @var IRequest */
        private $request;
        /** @var Controller */
index 83b764f6c65ab25502a05fa6d810b0f8b2627a6f..4839ff75b5efb96651a48d9ac16daf8800ae9a02 100644 (file)
@@ -36,7 +36,6 @@ use OCP\AppFramework\OCSController;
 use OCP\IRequest;
 
 class OCSMiddlewareTest extends \Test\TestCase {
-
        /**
         * @var IRequest
         */
index 7d07bffc46b5175a20be3331795ca7c2a8c07fc4..3e48078cbadaeaaa569dfca774701f2bf46b4096 100644 (file)
@@ -38,7 +38,6 @@ use OCP\ISession;
 use OCP\IURLGenerator;
 
 class PublicShareMiddlewareTest extends \Test\TestCase {
-
        /** @var IRequest|\PHPUnit\Framework\MockObject\MockObject */
        private $request;
        /** @var ISession|\PHPUnit\Framework\MockObject\MockObject */
index cc6c74c16c43e7c4fda6107ee757647de8e8054a..f3c1f7934efaaa321c2ea8fd308b53adbf499ef1 100644 (file)
@@ -24,7 +24,6 @@ use OCP\IConfig;
 use OCP\IRequestId;
 
 class CORSMiddlewareTest extends \Test\TestCase {
-
        /** @var ControllerMethodReflector */
        private $reflector;
        /** @var Session|\PHPUnit\Framework\MockObject\MockObject */
index 2dfb04e138ee963436d3b2e35a3894b830e3016e..284634f7db2991ebf542e318c4013360a3654e8b 100644 (file)
@@ -37,7 +37,6 @@ use OCP\AppFramework\Http\Response;
 use PHPUnit\Framework\MockObject\MockObject;
 
 class CSPMiddlewareTest extends \Test\TestCase {
-
        /** @var CSPMiddleware|MockObject */
        private $middleware;
        /** @var Controller|MockObject */
index 0a4b3c4f34c2439d531df2eec52eaf96ae6414f0..154b43f69a5badb8cac57e7ee9f464771dea56b5 100644 (file)
@@ -34,7 +34,6 @@ use OCP\AppFramework\Http\Response;
 use PHPUnit\Framework\MockObject\MockObject;
 
 class FeaturePolicyMiddlewareTest extends \Test\TestCase {
-
        /** @var FeaturePolicyMiddleware|MockObject */
        private $middleware;
        /** @var Controller|MockObject */
index 61f5eeb5aea8cb327a4ecc8e22f4f270903394f5..787f5c92fd7b5f6ab5a544f9a6e4e6aba1ce8d13 100644 (file)
@@ -33,7 +33,6 @@ use OCP\AppFramework\Http;
 use Test\TestCase;
 
 class SameSiteCookieMiddlewareTest extends TestCase {
-
        /** @var SameSiteCookieMiddleware */
        private $middleware;
 
index 276ebe8f9ac6c24b5a21dcccb3495e11c4a3ea8f..c68ada87657bb2691a2f42488f3200045024e407 100644 (file)
@@ -48,7 +48,6 @@ use OCP\IUserSession;
 use Psr\Log\LoggerInterface;
 
 class SecurityMiddlewareTest extends \Test\TestCase {
-
        /** @var SecurityMiddleware|\PHPUnit\Framework\MockObject\MockObject */
        private $middleware;
        /** @var Controller|\PHPUnit\Framework\MockObject\MockObject */
index be684e3601350d0695f22d8ce6d1cdfcd6f36f89..9641042d1b915b15ec1ec4ec0dab50dbbe9830b4 100644 (file)
@@ -17,7 +17,6 @@ use OCP\AppFramework\Controller;
 use OCP\AppFramework\Http\Response;
 
 class SessionMiddlewareTest extends \Test\TestCase {
-
        /** @var ControllerMethodReflector */
        private $reflector;
 
index aca8c355f416742290d9194f8f2c3db7b565db4e..9038aee6baf688cbd956c62d6009d57ee7cd1b7d 100644 (file)
@@ -30,7 +30,6 @@ use OC\AppFramework\OCS\BaseResponse;
 
 class BaseResponseTest extends \Test\TestCase {
        public function testToXml(): void {
-
                /** @var BaseResponse $response */
                $response = $this->createMock(BaseResponse::class);
 
index 6bf683ef2ed763dd1c55f00adb107f98fc21dc6d..5452fb853b90959f3d76d0d78b49c75327c93fe3 100644 (file)
@@ -26,7 +26,6 @@ namespace Test\AppFramework\Utility;
 use OC\AppFramework\Utility\ControllerMethodReflector;
 
 class BaseController {
-
        /**
         * @Annotation
         */
@@ -47,7 +46,6 @@ class BaseController {
 }
 
 class MiddleController extends BaseController {
-
        /**
         * @NoAnnotation
         */
@@ -62,8 +60,6 @@ class EndController extends MiddleController {
 }
 
 class ControllerMethodReflectorTest extends \Test\TestCase {
-
-
        /**
         * @Annotation
         */
index 36fa1febfcf77e0048215a8d0bd5f97796ddcfee..8caaf517f5ce93c5772f03e4784f6b4e8e04f689 100644 (file)
@@ -128,9 +128,9 @@ class SimpleContainerTest extends \Test\TestCase {
        public function testConstructorComplexInterface() {
                $this->container->registerParameter('test', 'abc');
                $this->container->registerService(
-               'Test\AppFramework\Utility\IInterfaceConstructor', function ($c) {
-                       return $c->query('Test\AppFramework\Utility\ClassSimpleConstructor');
-               });
+                       'Test\AppFramework\Utility\IInterfaceConstructor', function ($c) {
+                               return $c->query('Test\AppFramework\Utility\ClassSimpleConstructor');
+                       });
                $object = $this->container->query(
                        'Test\AppFramework\Utility\ClassInterfaceConstructor'
                );
@@ -142,13 +142,13 @@ class SimpleContainerTest extends \Test\TestCase {
 
        public function testOverrideService() {
                $this->container->registerService(
-               'Test\AppFramework\Utility\IInterfaceConstructor', function ($c) {
-                       return $c->query('Test\AppFramework\Utility\ClassSimpleConstructor');
-               });
+                       'Test\AppFramework\Utility\IInterfaceConstructor', function ($c) {
+                               return $c->query('Test\AppFramework\Utility\ClassSimpleConstructor');
+                       });
                $this->container->registerService(
-               'Test\AppFramework\Utility\IInterfaceConstructor', function ($c) {
-                       return $c->query('Test\AppFramework\Utility\ClassEmptyConstructor');
-               });
+                       'Test\AppFramework\Utility\IInterfaceConstructor', function ($c) {
+                               return $c->query('Test\AppFramework\Utility\ClassEmptyConstructor');
+                       });
                $object = $this->container->query(
                        'Test\AppFramework\Utility\IInterfaceConstructor'
                );
index a5038dd23b23c78240ac41a015fcd80e1a47e02b..daf8d272c2fc17c5aa914e60008b18e85343d986 100644 (file)
@@ -38,7 +38,6 @@ use Psr\Log\LoggerInterface;
 use Test\TestCase;
 
 class RemoteWipeActivityListenerTest extends TestCase {
-
        /** @var IActivityManager|MockObject */
        private $activityManager;
 
index 932097d875f7f822ff2d66f1a9d185a627db347c..7a715dd3f0cddcdd1c443d745a342a2f384f7efc 100644 (file)
@@ -43,7 +43,6 @@ use Psr\Log\LoggerInterface;
 use Test\TestCase;
 
 class RemoteWipeEmailListenerTest extends TestCase {
-
        /** @var IMailer|MockObject */
        private $mailer;
 
index ef5545438c2d0a691318aa9b6a611d2b4d974008..e5a329a4a7f5be4e50fc8e5cf5f2f61754fe125e 100644 (file)
@@ -39,7 +39,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Test\TestCase;
 
 class RemoteWipeNotificationsListenerTest extends TestCase {
-
        /** @var INotificationManager|MockObject */
        private $notificationManager;
 
index bf8405a442233be5b0e9691ee84227586fa02906..20b85a293d49962cbc746f2972541d8c393bcb4f 100644 (file)
@@ -37,8 +37,6 @@ use Psr\Log\LoggerInterface;
 use Test\TestCase;
 
 class UserDeletedTokenCleanupListenerTest extends TestCase {
-
-
        /** @var Manager|MockObject */
        private $manager;
 
index 7c66e102704f96a5f7c8b6fe27f617fb36af4da8..7d56a76e10cfb40d96cd660fd539a04347fe31ca 100644 (file)
@@ -32,7 +32,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Test\TestCase;
 
 abstract class ALoginCommandTest extends TestCase {
-
        /** @var IRequest|MockObject */
        protected $request;
 
index ded03cd95cdb6cd9b3484aa729f78961c887a0bb..1d6250415a9f23e3e5fd617a1fad62efd8e11074 100644 (file)
@@ -30,7 +30,6 @@ use OCP\IConfig;
 use PHPUnit\Framework\MockObject\MockObject;
 
 class ClearLostPasswordTokensCommandTest extends ALoginCommandTest {
-
        /** @var IConfig|MockObject */
        private $config;
 
index f90de10cdda1e7623adb8f35a18a551b84085e84..3f7f9e4fe7368fb7f0fbd51c81fb2c75e8d202a6 100644 (file)
@@ -30,7 +30,6 @@ use OC\User\Session;
 use PHPUnit\Framework\MockObject\MockObject;
 
 class CompleteLoginCommandTest extends ALoginCommandTest {
-
        /** @var Session|MockObject */
        private $session;
 
index ef23e072c60ae33ab0fd6df19717af2683386d1d..eb48463402d93a87bc7f1b2e824ce5252fbd8787 100644 (file)
@@ -32,7 +32,6 @@ use OCP\IConfig;
 use PHPUnit\Framework\MockObject\MockObject;
 
 class CreateSessionTokenCommandTest extends ALoginCommandTest {
-
        /** @var IConfig|MockObject */
        private $config;
 
index 0e70c40a1dfcfe22eb56673bf0ffb8b663c80bfe..4544aedec11d2a4decc79ebb3c012f9fe4c580c8 100644 (file)
@@ -31,7 +31,6 @@ use OCP\IUserManager;
 use PHPUnit\Framework\MockObject\MockObject;
 
 class EmailLoginCommandTest extends ALoginCommandTest {
-
        /** @var IUserManager|MockObject */
        private $userManager;
 
index e24a3ca8f8dfa5db18d46adbd01a141e83a3f12d..d6f18ad9effb4799f70171923227237e9a9b23e8 100644 (file)
@@ -31,7 +31,6 @@ use OCP\IConfig;
 use PHPUnit\Framework\MockObject\MockObject;
 
 class FinishRememberedLoginCommandTest extends ALoginCommandTest {
-
        /** @var Session|MockObject */
        private $userSession;
        /** @var IConfig|MockObject */
index afe486ab09507c48fae4fb007b07405cd2b63277..d3ebf205943b6cab3595333231d8c1c33933f8a5 100644 (file)
@@ -32,7 +32,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Psr\Log\LoggerInterface;
 
 class LoggedInCheckCommandTest extends ALoginCommandTest {
-
        /** @var LoggerInterface|MockObject */
        private $logger;
 
index d83717399d4d4146339209ad05a59023d3f3f81b..2e83ef51ffa31710c353b59957c3c082fdadb115 100644 (file)
@@ -31,7 +31,6 @@ use OCP\IUserManager;
 use PHPUnit\Framework\MockObject\MockObject;
 
 class PreLoginHookCommandTest extends ALoginCommandTest {
-
        /** @var IUserManager|MockObject */
        private $userManager;
 
index 8f7057e9d69060ac9b6e388c0d69e9f0065f1457..ae08b6205d512d6ba13364557de0092cd97f2777 100644 (file)
@@ -31,7 +31,6 @@ use OCP\ISession;
 use PHPUnit\Framework\MockObject\MockObject;
 
 class SetUserTimezoneCommandTest extends ALoginCommandTest {
-
        /** @var IConfig|MockObject */
        private $config;
 
index fd37712c130eca9d3400fcd638e66bc9c5508175..679bae073515d3c3ed2a12fb9091eb6a03814a56 100644 (file)
@@ -35,7 +35,6 @@ use OCP\IURLGenerator;
 use PHPUnit\Framework\MockObject\MockObject;
 
 class TwoFactorCommandTest extends ALoginCommandTest {
-
        /** @var Manager|MockObject */
        private $twoFactorManager;
 
index 1f00ba77da437babeba52fe77ed85551322bf810..812215f266eb0cd183fdd78082245f69dfacf801 100644 (file)
@@ -30,7 +30,6 @@ use OC\User\Manager;
 use PHPUnit\Framework\MockObject\MockObject;
 
 class UidLoginCommandTest extends ALoginCommandTest {
-
        /** @var Manager|MockObject */
        private $userManager;
 
index 3ff82b38acc482eddeda5245aa4d3e6b701856bd..07b32daa065a52cfd2d07fcbfe81a4a14e28d2f9 100644 (file)
@@ -30,7 +30,6 @@ use OCP\ISession;
 use PHPUnit\Framework\MockObject\MockObject;
 
 class UpdateLastPasswordConfirmCommandTest extends ALoginCommandTest {
-
        /** @var ISession|MockObject */
        private $session;
 
index 65cfd0a71aca1d87e772750d77189d887d5d1a8d..fe30d3b4feac763a4b1b28a0391133a531ba6654 100644 (file)
@@ -32,7 +32,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Psr\Log\LoggerInterface;
 
 class UserDisabledCheckCommandTest extends ALoginCommandTest {
-
        /** @var IUserManager|MockObject */
        private $userManager;
 
index d3dcd9f4d6bb0754ab9af8410590e6f672f378e2..f550325a6dc4d2c0d4d338ef0776247f96471bff 100644 (file)
@@ -28,7 +28,6 @@ use OC\Authentication\LoginCredentials\Credentials;
 use Test\TestCase;
 
 class CredentialsTest extends TestCase {
-
        /** @var string */
        private $uid;
 
index 797dbc08da9e89eadda84e77e24f949d32c89522..80d64d5466f220c846c1b8cc20560dedb9e0f2db 100644 (file)
@@ -38,7 +38,6 @@ use Test\TestCase;
 use function json_encode;
 
 class StoreTest extends TestCase {
-
        /** @var ISession|\PHPUnit\Framework\MockObject\MockObject */
        private $session;
 
index bfb92932e8119173e828a0d56ce869eb84a8acca..27646f19888a52d5f4fc425251b1e874cac02462 100644 (file)
@@ -38,7 +38,6 @@ use Test\TestCase;
  * @group DB
  */
 class PublicKeyTokenMapperTest extends TestCase {
-
        /** @var PublicKeyTokenMapper */
        private $mapper;
 
index e2506562dd4dc2d182aa185d223e44772c84e4b6..843dd4aec5c763d67e5cc2738ccf7d936a3fab7c 100644 (file)
@@ -40,7 +40,6 @@ use Psr\Log\LoggerInterface;
 use Test\TestCase;
 
 class RemoteWipeTest extends TestCase {
-
        /** @var ITokenProvider|MockObject */
        private $tokenProvider;
 
index 7975108c59bbf59d2097fcc966c3c27489640b51..4f1b8d25b58bedd075f3f4e8ec854425defe5207 100644 (file)
@@ -35,7 +35,6 @@ use Test\TestCase;
  * @group DB
  */
 class ProviderUserAssignmentDaoTest extends TestCase {
-
        /** @var IDBConnection */
        private $dbConn;
 
index ae6fadc790c579ab415c109a3aa8b480d2c0b027..da11b11e53780b5b51dd869d31fb7025feac882d 100644 (file)
@@ -44,7 +44,6 @@ use Symfony\Component\EventDispatcher\EventDispatcherInterface;
 use Test\TestCase;
 
 class ManagerTest extends TestCase {
-
        /** @var IUser|MockObject */
        private $user;
 
index 525defd671b5559ef30045044afcbcdfa958e775..0119c9776963906f1d5ed4e73ffaa51f23c23b72 100644 (file)
@@ -35,7 +35,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Test\TestCase;
 
 class MandatoryTwoFactorTest extends TestCase {
-
        /** @var IConfig|MockObject */
        private $config;
 
index d9c565a3f6d13466833700afea77fb296ce24851..b71339dd0ed8e2e08ee770cd30b928fe39a1c1b1 100644 (file)
@@ -37,7 +37,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Test\TestCase;
 
 class ProviderLoaderTest extends TestCase {
-
        /** @var IAppManager|MockObject */
        private $appManager;
 
index 0c85d0cf1ba9a9a41825da4fe3e8c67fb08ec855..65447e1d8d66196aa39a58c39076c9b702659221 100644 (file)
@@ -37,7 +37,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Test\TestCase;
 
 class ProviderManagerTest extends TestCase {
-
        /** @var ProviderLoader|MockObject */
        private $providerLoader;
 
index ef221851894c2bee804025f77c71328c78c913bc..f6afbf245ee0199ef6a7df34856b7b88e6ccb8ae 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Authentication\TwoFactorAuth\IProvider;
 use Test\TestCase;
 
 class ProviderSetTest extends TestCase {
-
        /** @var ProviderSet */
        private $providerSet;
 
index b0d0ef8efef2433cc1a2fc6ef1794f728452dd9b..b6e0caff4276d5673b1ca35c92a794d6c9ddc190 100644 (file)
@@ -38,7 +38,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Test\TestCase;
 
 class RegistryTest extends TestCase {
-
        /** @var ProviderUserAssignmentDao|MockObject */
        private $dao;
 
index 540fd5c0c69734d235313af2545ce284205a3c89..fcf6ab3a588941802f96f04be6cebe63d5ee423a 100644 (file)
@@ -43,7 +43,6 @@ interface ICreateFromStringAndHandleImipMessage extends ICreateFromString, IHand
 }
 
 class ManagerTest extends TestCase {
-
        /** @var Coordinator|MockObject */
        private $coordinator;
 
index 8753f547fb2923e5e5a176284db89c5632908faa..854f83af845844fd2dad6a365b957783b0f18eb1 100644 (file)
@@ -36,7 +36,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Test\TestCase;
 
 class ManagerTest extends TestCase {
-
        /** @var Coordinator|MockObject */
        private $coordinator;
 
index 598415246dcb7e25a7bd849ca8623a6d35395c75..9309a3fa0bbf90be67de7b5b63f6ff5406f5d44f 100644 (file)
@@ -36,7 +36,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Test\TestCase;
 
 class ManagerTest extends TestCase {
-
        /** @var Coordinator|MockObject */
        private $coordinator;
 
index ec07f3dfa364181f5a6fa5f5d565636107df0fc5..690ee1496ac48c24d85c1c03911bd08a7453caed 100644 (file)
@@ -28,7 +28,6 @@ use OCP\Capabilities\IPublicCapability;
 use Psr\Log\LoggerInterface;
 
 class CapabilitiesManagerTest extends TestCase {
-
        /** @var CapabilitiesManager */
        private $manager;
 
index b52e1d2745e6ad8f7af60aa80bfced1436b6a634..462497c637bf0c9825f9b22c66deeacbec97d177 100644 (file)
@@ -41,7 +41,6 @@ use Psr\Log\LoggerInterface;
 use Test\TestCase;
 
 class LookupPluginTest extends TestCase {
-
        /** @var  IConfig|MockObject */
        protected $config;
        /** @var  IClientService|MockObject */
index 22bd6f84be91453e4674bb29b2cca9604cdcbf0b..4fed1f179e7673a373928dc5ba0f7212bd8563d8 100644 (file)
@@ -40,7 +40,6 @@ use OCP\Share\IShare;
 use Test\TestCase;
 
 class RemotePluginTest extends TestCase {
-
        /** @var IUserManager|\PHPUnit\Framework\MockObject\MockObject */
        protected $userManager;
 
index 01a39660a7c3c8f2d8904a7111cad2ea54c9a888..80b1ac464a6387c2a6665c36161d840e46607f78 100644 (file)
@@ -31,7 +31,6 @@ use Psr\Log\LoggerInterface;
 use Test\TestCase;
 
 class ManagerTest extends TestCase {
-
        /** @var LoggerInterface */
        protected $logger;
        /** @var IProviderManager */
index 8f40841840978c6790b33f515b67a249d1e9b215..6c66422c9d3fcddfd144b91a015942022373345e 100644 (file)
@@ -32,7 +32,6 @@ use Psr\Log\LoggerInterface;
 use Test\TestCase;
 
 class ProviderManagerTest extends TestCase {
-
        /** @var IServerContainer */
        protected $serverContainer;
        /** @var LoggerInterface */
index 28e38d7b143341e14aee34c6ceb9771ae92c8bb9..328e6fd5447dec6e700ee88e9ec8487d1d76fc06 100644 (file)
@@ -7,7 +7,6 @@ use OCP\Comments\IComment;
 use Test\TestCase;
 
 class CommentTest extends TestCase {
-
        /**
         * @throws \OCP\Comments\IllegalIDChangeException
         */
index 2543746ddb57b0f6b4ce45378216324c4f9b0de0..549bfd8670ddae82bbd22b791139cf8f0bd548a2 100644 (file)
@@ -39,7 +39,6 @@ use Psr\Log\LoggerInterface;
 use Test\TestCase;
 
 class ActionProviderStoreTest extends TestCase {
-
        /** @var IServerContainer|MockObject */
        private $serverContainer;
 
index ecd925faffa8362ef8f64a3313716f5b2a0eba7c..eb776a6e39d4fc6060a4137b72c9bc80cbc765a4 100644 (file)
@@ -37,7 +37,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Test\TestCase;
 
 class ManagerTest extends TestCase {
-
        /** @var ContactsStore|MockObject */
        private $contactsStore;
 
index 39deeeaecc9d246bce3a315cde81eb5d32f3dcaf..e9eb41ad397c9e3259047fac62bf65baa56d9b1b 100644 (file)
@@ -33,7 +33,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Test\TestCase;
 
 class EMailproviderTest extends TestCase {
-
        /** @var IActionFactory|MockObject */
        private $actionFactory;
 
index b87b4047071ffe512a57be5ae57e17523a920319..96fb7909d6b1077548f77a31d57f453f7e933412 100644 (file)
@@ -42,7 +42,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Test\TestCase;
 
 class LocalTimeProviderTest extends TestCase {
-
        /** @var IActionFactory|MockObject */
        private $actionFactory;
        /** @var IL10N|MockObject */
index c02a95a416261fcd7f359bcb6457036f2637d777..d15cd74bef8c20119213fc5bbd150765c84f5feb 100644 (file)
@@ -5,7 +5,6 @@ namespace Test;
 use OCP\IAddressBook;
 
 class ContactsManagerTest extends \Test\TestCase {
-
        /** @var \OC\ContactsManager */
        private $cm;
 
index 0cb8ebf046c82706859c61ec9bb82f692afc349c..da57264aa76c8d14807dac8a1c3b6f80ad2c0f7f 100644 (file)
@@ -39,7 +39,6 @@ use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
 use OC\DB\Exceptions\DbalException;
 
 class DbalExceptionTest extends \Test\TestCase {
-
        /** @var TheDriverException */
        protected $driverException;
 
index 4e24c24f225c5aa98ca110bfc338c172d0a20af6..18cd3a91b1a1aab8187b8535f7272cd6079cec67 100644 (file)
@@ -28,7 +28,6 @@ use OC\SystemConfig;
 use Test\TestCase;
 
 class EventLoggerTest extends TestCase {
-
        /** @var \OC\Diagnostics\EventLogger */
        private $logger;
 
index 50d62d3d0e6d57a9d64f2eef8f63629661c5fa78..9a614a4c441d7a30d25380b61f74dfa43e1b792e 100644 (file)
@@ -25,7 +25,6 @@ use OC\Diagnostics\QueryLogger;
 use Test\TestCase;
 
 class QueryLoggerTest extends TestCase {
-
        /** @var \OC\Diagnostics\QueryLogger */
        private $logger;
        
index 19197bce3604c85fca38cc1a80712fddf9547576..dba7e631e6f5e391792ec999dfa5b08fc9b993d4 100644 (file)
@@ -29,7 +29,6 @@ use OCP\IDBConnection;
 use OCP\IEmojiHelper;
 
 class EmojiHelperTest extends TestCase {
-
        /** @var IDBConnection|\PHPUnit\Framework\MockObject\MockObject */
        private $db;
 
index 92ed2dcd70144903ee8f2e2841eeab5bac9deb39..f33f88eb21459c2903f9f363acfdb07fe3f5444d 100644 (file)
@@ -43,7 +43,6 @@ use Test\TestCase;
  * @package Test\Encryption
  */
 class DecryptAllTest extends TestCase {
-
        /** @var \PHPUnit\Framework\MockObject\MockObject | IUserManager */
        protected $userManager;
 
@@ -201,7 +200,6 @@ class DecryptAllTest extends TestCase {
         * @dataProvider dataTestDecryptAllUsersFiles
         */
        public function testDecryptAllUsersFiles($user) {
-
                /** @var DecryptAll | \PHPUnit\Framework\MockObject\MockObject |  $instance */
                $instance = $this->getMockBuilder('OC\Encryption\DecryptAll')
                        ->setConstructorArgs(
index 5d707ca6ec656273484fe13f53daa33170259d63..8c357e2a50d2fc3d47df934c2e26692fcbd7693d 100644 (file)
@@ -29,7 +29,6 @@ use Psr\Log\LoggerInterface;
 use Test\TestCase;
 
 class EncryptionWrapperTest extends TestCase {
-
        /** @var  EncryptionWrapper */
        private $instance;
 
index 00448db87d6cd972e2748866b3b5abbbf0d92e1e..79d2c216080bb70d268bcfbcaf732d38134effe6 100644 (file)
@@ -13,7 +13,6 @@ use Psr\Log\LoggerInterface;
 use Test\TestCase;
 
 class ManagerTest extends TestCase {
-
        /** @var Manager */
        private $manager;
 
index ca1d54939937b98f6e5b796b07de14e8661998cb..df7d137f0b6c54da9da83731ea787598c6c0f143 100644 (file)
@@ -31,7 +31,6 @@ use OC\Encryption\File;
 use OCP\Encryption\IEncryptionModule;
 
 class UpdateTest extends TestCase {
-
        /** @var \OC\Encryption\Update */
        private $update;
 
index f6bf850f0b5de26515fd4eb68d5f9a0a2a0af3aa..468273c4dea2b617606e2c6c1e2b03b0ffdeacb0 100644 (file)
@@ -31,7 +31,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Psr\Log\LoggerInterface;
 
 class ErrorHandlerTest extends TestCase {
-
        /** @var MockObject */
        private LoggerInterface $logger;
 
index 785b4bfdfcba4b9e79a5298c2bd84b15a3ab232a..1b770c94e560f2deff3ae46f5c4fa374be29d073 100644 (file)
@@ -39,7 +39,6 @@ use Symfony\Component\EventDispatcher\GenericEvent as SymfonyGenericEvent;
 use Test\TestCase;
 
 class SymfonyAdapterTest extends TestCase {
-
        /** @var EventDispatcher|MockObject */
        private $eventDispatcher;
 
index 42115c1c477042c4d80403cf0fcb2f9f963e6ffd..509b9d6ba2a6f4b9fa676bb32be0a6b17312b7b0 100644 (file)
@@ -16,7 +16,6 @@ namespace Test\Files\Cache;
  * @package Test\Files\Cache
  */
 class WatcherTest extends \Test\TestCase {
-
        /**
         * @var \OC\Files\Storage\Storage[] $storages
         */
index 7ce8714012220396490697eb3a1acaa96fa49eed..e53069ee2b8903e3a6fda66bd7eb3206d55abe0e 100644 (file)
@@ -8,7 +8,6 @@ use OCP\IConfig;
 use OCP\IUser;
 
 class ObjectHomeMountProviderTest extends \Test\TestCase {
-
        /** @var ObjectHomeMountProvider */
        protected $provider;
 
index ef2ede729cea8f7257e9650d41f87bb277e58dd8..da9ba8bacafecde5cb6ce0b392e3f3e3deb0ad1f 100644 (file)
@@ -39,7 +39,6 @@ use Psr\Log\LoggerInterface;
  * The DB permission is needed for the fake root storage initialization
  */
 class ObjectStorePreviewCacheMountProviderTest extends \Test\TestCase {
-
        /** @var ObjectStorePreviewCacheMountProvider */
        protected $provider;
 
index d8427f993fe500fed2e629fd5c67d9421f59a739..dbe5fe5d32f7d0641f966f7360ba23d5f761d943 100644 (file)
@@ -26,7 +26,6 @@ use OCP\IConfig;
 use OCP\IUser;
 
 class MapperTest extends \Test\TestCase {
-
        /** @var IUser|\PHPUnit\Framework\MockObject\MockObject */
        private $user;
 
index 2333168d838c89d085d3fc2c8d12c507d8782688..c5580e4a2bf47e9371f633e6bb2de845a93510be 100644 (file)
@@ -25,7 +25,6 @@ namespace Test\Files\ObjectStore;
 use Test\TestCase;
 
 abstract class ObjectStoreTest extends TestCase {
-
        /** @var string[] */
        private $cleanup = [];
 
index 3570acfaab41366ebafd717c0e328b109f14ee9a..ededab14d0bfd054ff233190102ca646bca29a8c 100644 (file)
@@ -19,7 +19,6 @@ use OCP\Files\InvalidPathException;
  * @package Test\Files
  */
 class PathVerificationTest extends \Test\TestCase {
-
        /**
         * @var \OC\Files\View
         */
index f36958ad55204f4a517be7ea30f33151bf1d01bb..7d5d7d3180805be9f063956a4b40fa63de742957 100644 (file)
@@ -27,7 +27,6 @@ use OC\Files\Storage\Wrapper\Availability;
 use OCP\Files\StorageNotAvailableException;
 
 class AvailabilityTest extends \Test\TestCase {
-
        /** @var \PHPUnit\Framework\MockObject\MockObject|StorageCache */
        protected $storageCache;
        /** @var \PHPUnit\Framework\MockObject\MockObject|Temporary */
index ebb97a25c77e093853f850f4f32abd43ae6da8f7..ae776e40666a2c22eacf7044dfb5f2b995fd23b8 100644 (file)
@@ -24,7 +24,6 @@ use Symfony\Component\EventDispatcher\EventDispatcherInterface;
 use Test\Files\Storage\Storage;
 
 class EncryptionTest extends Storage {
-
        /**
         * block size will always be 8192 for a PHP stream
         * @see https://bugs.php.net/bug.php?id=21641
@@ -497,13 +496,13 @@ class EncryptionTest extends Storage {
                $this->encryptionManager->expects($this->any())->method('isEnabled')->willReturn($encryptionEnabled);
 
                $encryptionStorage = new \OC\Files\Storage\Wrapper\Encryption(
-                                       [
-                                               'storage' => $sourceStorage,
-                                               'root' => 'foo',
-                                               'mountPoint' => '/mountPoint',
-                                               'mount' => $this->mount
-                                       ],
-                                       $this->encryptionManager, $util, $this->logger, $this->file, null, $this->keyStore, $this->update
+                       [
+                               'storage' => $sourceStorage,
+                               'root' => 'foo',
+                               'mountPoint' => '/mountPoint',
+                               'mount' => $this->mount
+                       ],
+                       $this->encryptionManager, $util, $this->logger, $this->file, null, $this->keyStore, $this->update
                );
 
 
@@ -712,15 +711,15 @@ class EncryptionTest extends Storage {
         */
        public function testParseRawHeader($rawHeader, $expected) {
                $instance = new \OC\Files\Storage\Wrapper\Encryption(
-                                       [
-                                               'storage' => $this->sourceStorage,
-                                               'root' => 'foo',
-                                               'mountPoint' => '/',
-                                               'mount' => $this->mount
-                                       ],
-                                       $this->encryptionManager, $this->util, $this->logger, $this->file, null, $this->keyStore, $this->update, $this->mountManager, $this->arrayCache
+                       [
+                               'storage' => $this->sourceStorage,
+                               'root' => 'foo',
+                               'mountPoint' => '/',
+                               'mount' => $this->mount
+                       ],
+                       $this->encryptionManager, $this->util, $this->logger, $this->file, null, $this->keyStore, $this->update, $this->mountManager, $this->arrayCache
 
-                       );
+               );
 
                $result = $this->invokePrivate($instance, 'parseRawHeader', [$rawHeader]);
                $this->assertSameSize($expected, $result);
index 6c8905af76561efd29fc3913466d10266a25936b..148bd3a4f30c21b8414742b9a800ea21bce4fed7 100644 (file)
@@ -9,7 +9,6 @@
 namespace Test\Files\Storage\Wrapper;
 
 class JailTest extends \Test\Files\Storage\Storage {
-
        /**
         * @var \OC\Files\Storage\Temporary
         */
index 1e69ee7165efc4946a5c8e19c3a66c62f3852e81..ea01a0e3e9490dc32c1972a663796c37496d73ea 100644 (file)
@@ -16,7 +16,6 @@ use OCP\Files\Cache\IScanner;
  * @group DB
  */
 class PermissionsMaskTest extends \Test\Files\Storage\Storage {
-
        /**
         * @var \OC\Files\Storage\Temporary
         */
index e66fae3d15d329980baa09ce0a4afaca62bc33a4..223e8256cd2337def3ffae83cc9a352dbe0d0031 100644 (file)
@@ -22,7 +22,6 @@
 namespace Test\Files\Stream;
 
 class DummyEncryptionWrapper extends \OC\Files\Stream\Encryption {
-
        /**
         * simulate a non-seekable stream wrapper by always return false
         *
index 79a845fe7a6b1fe586e97277a03d4df96ba402ce..67311e886e8f040ef5ba79ba986923d84491c373 100644 (file)
@@ -87,7 +87,6 @@ class EncryptionTest extends \Test\TestCase {
                                                                   $expectedSize,
                                                                   $expectedUnencryptedSize,
                                                                   $expectedReadOnly) {
-
                // build mocks
                $encryptionModuleMock = $this->getMockBuilder('\OCP\Encryption\IEncryptionModule')
                ->disableOriginalConstructor()->getMock();
index 24b0e7f9474ff6d89f8a1706fb4277fdf8e791c9..69cd322a2b3586b6c405a0ca53f6facc8fed0eff 100644 (file)
@@ -9,7 +9,6 @@
 namespace Test\Files\Stream;
 
 class QuotaTest extends \Test\TestCase {
-
        /**
         * @param string $mode
         * @param integer $limit
index 5689fd0fb1f4180ccef5c908a018086e164b2c8d..e67cb392d64bd3e0a73f4c8173be66fdbc7f7d12 100644 (file)
@@ -26,7 +26,6 @@ use OCP\IConfig;
 use Test\TestCase;
 
 class ConfigTest extends TestCase {
-
        /** @var  IConfig|\PHPUnit\Framework\MockObject\MockObject */
        private $config;
 
index b85496620b83b5167beb6a54970e6fc72ae9b619..60f15a65732063f83efd93125f40a5cdcc8dc960 100644 (file)
@@ -15,7 +15,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
 
 class GroupTest extends \Test\TestCase {
-       
        /** @var EventDispatcherInterface|MockObject */
        protected $dispatcher;
 
index 65210bcc0f782364a5c86e917132a74494154e52..5e29f974706b71c3aea0a9729f20c260d95c1d61 100644 (file)
@@ -559,7 +559,7 @@ class ManagerTest extends TestCase {
                                        case 'user33': return true;
                                        default:
                                                return null;
-                                       }
+                               }
                        });
 
                $this->userManager->expects($this->any())
@@ -611,14 +611,14 @@ class ManagerTest extends TestCase {
                        ->method('inGroup')
                        ->willReturnCallback(function ($uid, $gid) {
                                switch ($uid) {
-                                               case 'user1': return false;
-                                               case 'user2': return true;
-                                               case 'user3': return false;
-                                               case 'user33': return true;
-                                               case 'user333': return true;
-                                               default:
-                                                       return null;
-                                       }
+                                       case 'user1': return false;
+                                       case 'user2': return true;
+                                       case 'user3': return false;
+                                       case 'user33': return true;
+                                       case 'user333': return true;
+                                       default:
+                                               return null;
+                               }
                        });
 
                $this->userManager->expects($this->any())
@@ -672,14 +672,14 @@ class ManagerTest extends TestCase {
                        ->method('inGroup')
                        ->willReturnCallback(function ($uid) {
                                switch ($uid) {
-                                               case 'user1': return false;
-                                               case 'user2': return true;
-                                               case 'user3': return false;
-                                               case 'user33': return true;
-                                               case 'user333': return true;
-                                               default:
-                                                       return null;
-                                       }
+                                       case 'user1': return false;
+                                       case 'user2': return true;
+                                       case 'user3': return false;
+                                       case 'user33': return true;
+                                       case 'user333': return true;
+                                       default:
+                                               return null;
+                               }
                        });
 
                $this->userManager->expects($this->any())
index 1fa92804cfa0f001a5ed3460ae325a48acb1fe45..d3fd487aa60b3f465c7440b8ed9caa70b60074c8 100644 (file)
@@ -43,7 +43,6 @@ use Test\TestCase;
 use function get_class;
 
 class RequestManagerTest extends TestCase {
-
        /** @var Coordinator|MockObject */
        private $coordinator;
 
index db4c98b20cf3db20f277c5177614fba90c321bd5..f4decb43e1e06c44f0ce04392c30919473e88b1c 100644 (file)
@@ -34,7 +34,6 @@ use OC\InitialStateService;
 use stdClass;
 
 class InitialStateServiceTest extends TestCase {
-
        /** @var InitialStateService */
        private $service;
 
index 37f6885c0acf22a76dcde2235043273720e9ece8..62938ad6c1b0e51d1a48c86086ff7ce575491cd9 100644 (file)
@@ -139,13 +139,13 @@ class CheckerTest extends TestCase {
                        ->expects($this->once())
                        ->method('file_put_contents')
                        ->with(
-                                       $this->equalTo(\OC::$SERVERROOT . '/tests/data/integritycheck/app//appinfo/signature.json'),
-                                       $this->callback(function ($signature) use ($expectedSignatureFileData) {
-                                               $expectedArray = json_decode($expectedSignatureFileData, true);
-                                               $actualArray = json_decode($signature, true);
-                                               $this->assertEquals($expectedArray, $actualArray);
-                                               return true;
-                                       })
+                               $this->equalTo(\OC::$SERVERROOT . '/tests/data/integritycheck/app//appinfo/signature.json'),
+                               $this->callback(function ($signature) use ($expectedSignatureFileData) {
+                                       $expectedArray = json_decode($expectedSignatureFileData, true);
+                                       $actualArray = json_decode($signature, true);
+                                       $this->assertEquals($expectedArray, $actualArray);
+                                       return true;
+                               })
                        );
 
                $keyBundle = file_get_contents(__DIR__ .'/../../data/integritycheck/SomeApp.crt');
@@ -529,13 +529,13 @@ class CheckerTest extends TestCase {
                                ->expects($this->once())
                                ->method('file_put_contents')
                                ->with(
-                                               \OC::$SERVERROOT . '/tests/data/integritycheck/app//core/signature.json',
-                                               $this->callback(function ($signature) use ($expectedSignatureFileData) {
-                                                       $expectedArray = json_decode($expectedSignatureFileData, true);
-                                                       $actualArray = json_decode($signature, true);
-                                                       $this->assertEquals($expectedArray, $actualArray);
-                                                       return true;
-                                               })
+                                       \OC::$SERVERROOT . '/tests/data/integritycheck/app//core/signature.json',
+                                       $this->callback(function ($signature) use ($expectedSignatureFileData) {
+                                               $expectedArray = json_decode($expectedSignatureFileData, true);
+                                               $actualArray = json_decode($signature, true);
+                                               $this->assertEquals($expectedArray, $actualArray);
+                                               return true;
+                                       })
                                );
 
                $keyBundle = file_get_contents(__DIR__ .'/../../data/integritycheck/core.crt');
@@ -564,7 +564,7 @@ class CheckerTest extends TestCase {
                                ->expects($this->once())
                                ->method('file_put_contents')
                                ->with(
-                                               \OC::$SERVERROOT . '/tests/data/integritycheck/htaccessUnmodified//core/signature.json',
+                                       \OC::$SERVERROOT . '/tests/data/integritycheck/htaccessUnmodified//core/signature.json',
                                        $this->callback(function ($signature) use ($expectedSignatureFileData) {
                                                $expectedArray = json_decode($expectedSignatureFileData, true);
                                                $actualArray = json_decode($signature, true);
@@ -594,7 +594,7 @@ class CheckerTest extends TestCase {
                                ->expects($this->once())
                                ->method('file_put_contents')
                                ->with(
-                                               \OC::$SERVERROOT . '/tests/data/integritycheck/htaccessWithInvalidModifiedContent//core/signature.json',
+                                       \OC::$SERVERROOT . '/tests/data/integritycheck/htaccessWithInvalidModifiedContent//core/signature.json',
                                        $this->callback(function ($signature) use ($expectedSignatureFileData) {
                                                $expectedArray = json_decode($expectedSignatureFileData, true);
                                                $actualArray = json_decode($signature, true);
@@ -629,7 +629,7 @@ class CheckerTest extends TestCase {
                                ->expects($this->once())
                                ->method('file_put_contents')
                                ->with(
-                                               \OC::$SERVERROOT . '/tests/data/integritycheck/htaccessWithValidModifiedContent/core/signature.json',
+                                       \OC::$SERVERROOT . '/tests/data/integritycheck/htaccessWithValidModifiedContent/core/signature.json',
                                        $this->callback(function ($signature) use ($expectedSignatureFileData) {
                                                $expectedArray = json_decode($expectedSignatureFileData, true);
                                                $actualArray = json_decode($signature, true);
index 7af069cbff3a1c6166c1e8ed6fa48f71f33f2dec..0b536971e900393ee5fe4f9eabcce12633d6c7dc 100644 (file)
@@ -23,7 +23,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Test\TestCase;
 
 class FactoryTest extends TestCase {
-
        /** @var IConfig|MockObject */
        protected $config;
 
index 4a2539409318a006cbdaab03dd11fd4338d26e8e..08380dd50c94e73bac3fcbde87b96c28e864de89 100644 (file)
@@ -112,9 +112,9 @@ class LegacyHelperTest extends \Test\TestCase {
                $viewMock->expects($this->exactly(2))
                   ->method('file_exists')
                   ->withConsecutive(
-                          // Conflict on filename.ext
-                          ['dir/filename.ext'],
-                          ['dir/filename (2).ext'],
+                       // Conflict on filename.ext
+                       ['dir/filename.ext'],
+                       ['dir/filename (2).ext'],
                   )
                   ->will($this->onConsecutiveCalls(true, false));
                $this->assertEquals('dir/filename (2).ext', OC_Helper::buildNotExistingFileNameForView('dir', 'filename.ext', $viewMock));
@@ -123,9 +123,9 @@ class LegacyHelperTest extends \Test\TestCase {
                $viewMock->expects($this->exactly(3))
                   ->method('file_exists')
                   ->withConsecutive(
-                          ['dir/filename.ext'],
-                          ['dir/filename (2).ext'],
-                          ['dir/filename (3).ext'],
+                       ['dir/filename.ext'],
+                       ['dir/filename (2).ext'],
+                       ['dir/filename (3).ext'],
                   )
                   ->will($this->onConsecutiveCalls(true, true, false));
                $this->assertEquals('dir/filename (3).ext', OC_Helper::buildNotExistingFileNameForView('dir', 'filename.ext', $viewMock));
@@ -134,8 +134,8 @@ class LegacyHelperTest extends \Test\TestCase {
                $viewMock->expects($this->exactly(2))
                   ->method('file_exists')
                   ->withConsecutive(
-                          ['dir/filename (1).ext'],
-                          ['dir/filename (2).ext'],
+                       ['dir/filename (1).ext'],
+                       ['dir/filename (2).ext'],
                   )
                   ->will($this->onConsecutiveCalls(true, false));
                $this->assertEquals('dir/filename (2).ext', OC_Helper::buildNotExistingFileNameForView('dir', 'filename (1).ext', $viewMock));
@@ -144,8 +144,8 @@ class LegacyHelperTest extends \Test\TestCase {
                $viewMock->expects($this->exactly(2))
                   ->method('file_exists')
                   ->withConsecutive(
-                          ['dir/filename (2).ext'],
-                          ['dir/filename (3).ext'],
+                       ['dir/filename (2).ext'],
+                       ['dir/filename (3).ext'],
                   )
                   ->will($this->onConsecutiveCalls(true, false));
                $this->assertEquals('dir/filename (3).ext', OC_Helper::buildNotExistingFileNameForView('dir', 'filename (2).ext', $viewMock));
@@ -154,9 +154,9 @@ class LegacyHelperTest extends \Test\TestCase {
                $viewMock->expects($this->exactly(3))
                   ->method('file_exists')
                   ->withConsecutive(
-                          ['dir/filename (2).ext'],
-                          ['dir/filename (3).ext'],
-                          ['dir/filename (4).ext'],
+                       ['dir/filename (2).ext'],
+                       ['dir/filename (3).ext'],
+                       ['dir/filename (4).ext'],
                   )
                   ->will($this->onConsecutiveCalls(true, true, false));
                $this->assertEquals('dir/filename (4).ext', OC_Helper::buildNotExistingFileNameForView('dir', 'filename (2).ext', $viewMock));
@@ -165,8 +165,8 @@ class LegacyHelperTest extends \Test\TestCase {
                $viewMock->expects($this->exactly(2))
                   ->method('file_exists')
                   ->withConsecutive(
-                          ['dir/filename(1).ext'],
-                          ['dir/filename(2).ext'],
+                       ['dir/filename(1).ext'],
+                       ['dir/filename(2).ext'],
                   )
                   ->will($this->onConsecutiveCalls(true, false));
                $this->assertEquals('dir/filename(2).ext', OC_Helper::buildNotExistingFileNameForView('dir', 'filename(1).ext', $viewMock));
@@ -175,8 +175,8 @@ class LegacyHelperTest extends \Test\TestCase {
                $viewMock->expects($this->exactly(2))
                   ->method('file_exists')
                   ->withConsecutive(
-                          ['dir/filename(1) (1).ext'],
-                          ['dir/filename(1) (2).ext'],
+                       ['dir/filename(1) (1).ext'],
+                       ['dir/filename(1) (2).ext'],
                   )
                   ->will($this->onConsecutiveCalls(true, false));
                $this->assertEquals('dir/filename(1) (2).ext', OC_Helper::buildNotExistingFileNameForView('dir', 'filename(1) (1).ext', $viewMock));
@@ -185,9 +185,9 @@ class LegacyHelperTest extends \Test\TestCase {
                $viewMock->expects($this->exactly(3))
                   ->method('file_exists')
                   ->withConsecutive(
-                          ['dir/filename(1) (1).ext'],
-                          ['dir/filename(1) (2).ext'],
-                          ['dir/filename(1) (3).ext'],
+                       ['dir/filename(1) (1).ext'],
+                       ['dir/filename(1) (2).ext'],
+                       ['dir/filename(1) (3).ext'],
                   )
                   ->will($this->onConsecutiveCalls(true, true, false));
                $this->assertEquals('dir/filename(1) (3).ext', OC_Helper::buildNotExistingFileNameForView('dir', 'filename(1) (1).ext', $viewMock));
@@ -196,8 +196,8 @@ class LegacyHelperTest extends \Test\TestCase {
                $viewMock->expects($this->exactly(2))
                   ->method('file_exists')
                   ->withConsecutive(
-                          ['dir/filename(1) (2) (3).ext'],
-                          ['dir/filename(1) (2) (4).ext'],
+                       ['dir/filename(1) (2) (3).ext'],
+                       ['dir/filename(1) (2) (4).ext'],
                   )
                   ->will($this->onConsecutiveCalls(true, false));
                $this->assertEquals('dir/filename(1) (2) (4).ext', OC_Helper::buildNotExistingFileNameForView('dir', 'filename(1) (2) (3).ext', $viewMock));
index 7b7c649c886e8fd7295e332235260a7331d5e6e1..b67be799d59dbcd76929149a80b1d4694b65c830 100644 (file)
@@ -24,7 +24,6 @@ namespace Test\Lock;
 use OC\Memcache\ArrayCache;
 
 class MemcacheLockingProviderTest extends LockingProvider {
-
        /**
         * @var \OCP\IMemcache
         */
index 67d44c430f5d223e217f3804cdf2c36758d08279..0f979350bac4fb2e028ae8b77f1e3caca1228cfc 100644 (file)
@@ -30,7 +30,6 @@ use OCP\Files\Cache\ICache;
 use OCP\Files\FileInfo;
 
 class NulLCacheTest extends \Test\TestCase {
-
        /** @var NullCache */
        private $cache;
 
index c0349814570dc9f88f84191b0fb9bacee3721c0e..b46066ac536fd96cec85c51302395feaccd4df15 100644 (file)
@@ -32,7 +32,6 @@ use OCP\Files\Storage;
 use Test\TestCase;
 
 class NullStorageTest extends TestCase {
-
        /** @var NullStorage */
        private $storage;
 
index bec2119a8ad04d2cf33129de0db71bdddca979d6..367c34752c1c4e82aa16382fa88aa8becc6bc1e8 100644 (file)
@@ -19,7 +19,6 @@ use OCP\Support\CrashReport\IRegistry;
 use PHPUnit\Framework\MockObject\MockObject;
 
 class LoggerTest extends TestCase implements IWriter {
-
        /** @var SystemConfig|MockObject */
        private $config;
 
index e14b3179b27847cb03751d95aec69dcc2eba95be..2e68924a96d7a2acf11c961b6f100697f2e980bf 100644 (file)
@@ -34,7 +34,6 @@ use Psr\Log\LoggerInterface;
 use Test\TestCase;
 
 class TestRepairStep implements IRepairStep {
-
        /**
         * Returns the step's name
         *
@@ -58,7 +57,6 @@ class TestRepairStep implements IRepairStep {
 }
 
 class BackgroundRepairTest extends TestCase {
-
        /** @var JobList|MockObject */
        private $jobList;
 
index f8e7f31a285d2556ab77178ead1cc6fb94a3910f..9474d5c077c1f87e4516b711798fb2df4d151989 100644 (file)
@@ -9,7 +9,6 @@
 namespace Test;
 
 class NaturalSortTest extends \Test\TestCase {
-
        /**
         * @dataProvider naturalSortDataProvider
         */
index b1281f6b7a0f356735f77a86823084759cf77a20..564a1ff7d544061e2231bf38c0d3bbe8e3a8d9ca 100644 (file)
@@ -27,7 +27,6 @@ use OCP\Notification\IApp;
 use OCP\Notification\INotification;
 
 class DummyApp implements IApp {
-
        /**
         * @param INotification $notification
         * @throws \InvalidArgumentException When the notification is not valid
index 92c1ddfb310a60109dae2f6acda5dcb9620a3ba9..2df97a9057de099d774f8aeda7e2fde4da272c99 100644 (file)
@@ -28,7 +28,6 @@ use OCP\Notification\INotification;
 use OCP\Notification\INotifier;
 
 class DummyNotifier implements INotifier {
-
        /**
         * Identifier of the notifier, only use [a-z0-9_]
         *
index 195dac697e5d7f0af3db82eb27d794a5181c7b45..da3897163cbfca3768550ff2a7332e0bb6fad927 100644 (file)
@@ -28,7 +28,6 @@ use OCP\OCS\IDiscoveryService;
 use Test\TestCase;
 
 class DiscoveryServiceTest extends TestCase {
-
        /** @var  \PHPUnit\Framework\MockObject\MockObject | ICacheFactory */
        private $cacheFactory;
 
index 27ebfe209f741927f81dfe6244eed8e09c077172..3022323870a0c85e4149bc0acf7bbf5b6bfdd5ad 100644 (file)
@@ -24,7 +24,6 @@ namespace Test\OCS;
 use OCP\AppFramework\Http;
 
 class MapStatusCodeTest extends \Test\TestCase {
-
        /**
         * @dataProvider providesStatusCodes
         */
index b673100be9eafd45e53e1eb094182da84a234522..1f6f43dce1e91bd9e9cc7ef6ea88dfc8fa77c4f9 100644 (file)
@@ -39,7 +39,6 @@ use Symfony\Component\EventDispatcher\EventDispatcherInterface;
 use Symfony\Component\EventDispatcher\GenericEvent;
 
 class GeneratorTest extends \Test\TestCase {
-
        /** @var IConfig|\PHPUnit\Framework\MockObject\MockObject */
        private $config;
 
index 9028711651244bd375dc823a2fe4563131ff7b1f..a2e5170c82cd004f731d05c8cecc901083e4ffe7 100644 (file)
@@ -24,7 +24,6 @@ namespace Test\Preview;
 use OC\Files\Node\File;
 
 abstract class Provider extends \Test\TestCase {
-
        /** @var string */
        protected $imgPath;
        /** @var int */
index 3f3ac0bf18d15182cbc2d0d508a0a3868972991a..9fc3ef17150342107d1e28ffd1610022fa162f14 100644 (file)
@@ -20,7 +20,6 @@ use OCP\Migration\IOutput;
  * @see \OC\Repair\CleanTags
  */
 class CleanTagsTest extends \Test\TestCase {
-
        /** @var \OC\Repair\CleanTags */
        protected $repair;
 
index 09b96be7de3a037fe5addf8bc5a0cc84ddbd7d80..0050f0e2340937133b97cb932c5e56c7b20a1f9c 100644 (file)
@@ -29,7 +29,6 @@ use OCP\ICacheFactory;
 use OCP\Migration\IOutput;
 
 class ClearFrontendCachesTest extends \Test\TestCase {
-
        /** @var ICacheFactory */
        private $cacheFactory;
 
index 71842547462d768f7ec1275a642b345f5c69b87c..7aa7831e44eb0101c9f7c17a1a8f2a5546661ea1 100644 (file)
@@ -30,7 +30,6 @@ use OCP\IConfig;
 use OCP\Migration\IOutput;
 
 class ClearGeneratedAvatarCacheTest extends \Test\TestCase {
-
        /** @var AvatarManager */
        private $avatarManager;
 
index 33c3fc1da11c42a96a2dc4ab186e2bbbac3d8127..843cc31392cabb42723cf08c3185517be9007ef5 100644 (file)
@@ -36,7 +36,6 @@ use Test\TestCase;
  * @group DB
  */
 class FixMountStoragesTest extends TestCase {
-
        /** @var IDBConnection */
        private $db;
 
index adfba4a1ce71ee4be70f256ccc67e7b8d5caff76..7ebc12732d600a5d636627a9ac79e632fb56cc5c 100644 (file)
@@ -20,7 +20,6 @@ use OCP\Share\IShare;
  * @package Test\Repair
  */
 class OldGroupMembershipSharesTest extends \Test\TestCase {
-
        /** @var OldGroupMembershipShares */
        protected $repair;
 
index 27d146fab43bd704c83964d421afeea585b8ad85..902ddcd453987f696f69d59e4f9893b9c864f70a 100644 (file)
@@ -33,7 +33,6 @@ class TestCollationRepair extends Collation {
  * @see \OC\Repair\RepairMimeTypes
  */
 class RepairCollationTest extends TestCase {
-
        /**
         * @var TestCollationRepair
         */
index f937a01f83987b2b83b908860b12bbd862d4a657..5eeafd7bf9fc586501a2814c3fb844971480632b 100644 (file)
@@ -38,7 +38,6 @@ use OCP\Migration\IOutput;
 use function in_array;
 
 class RepairDavSharesTest extends TestCase {
-
        /** @var IOutput|\PHPUnit\Framework\MockObject\MockObject */
        protected $output;
        /** @var IConfig|\PHPUnit\Framework\MockObject\MockObject */
index 64ae632265732fc3067a1f5757d94ddcf649a23f..f93940cc3edbed3d0e4008543eba8e1f88a5b189 100644 (file)
@@ -23,7 +23,6 @@ use Test\TestCase;
  * @see \OC\Repair\RepairInvalidShares
  */
 class RepairInvalidSharesTest extends TestCase {
-
        /** @var IRepairStep */
        private $repair;
 
index 53c8e53d48675a3b155520540f36c60106dc5b6c..176bc0ec102d9db06aecd3cbfc73bec43a8958cb 100644 (file)
@@ -23,7 +23,6 @@ use OCP\Migration\IRepairStep;
  * @see \OC\Repair\RepairMimeTypes
  */
 class RepairMimeTypesTest extends \Test\TestCase {
-
        /** @var IRepairStep */
        private $repair;
 
index c03eb12b8944f6e26674138f33238216580678e4..5b3a388dea3afa38ee8294ecc65069efbf9a328e 100644 (file)
@@ -17,7 +17,6 @@ use OCP\Migration\IOutput;
  * @group DB
  */
 class RepairSqliteAutoincrementTest extends \Test\TestCase {
-
        /**
         * @var \OC\Repair\SqliteAutoincrement
         */
index 5d3fd602fb2cb59cd0dfccf6743cdecb7dbfa943..2c430fc12730afb20e6b0e35e1f0c82d3c87323f 100644 (file)
@@ -27,7 +27,6 @@ namespace Test\Security;
 use OC\Security\Certificate;
 
 class CertificateTest extends \Test\TestCase {
-
        /** @var Certificate That contains a valid certificate */
        protected $goodCertificate;
        /** @var Certificate That contains an invalid certificate */
index f81db3306405abc27e009c5fdd858d2e3d0aeedd..6f535c84275028028cb6c183dfce9bc3adc9ebe8 100644 (file)
@@ -28,7 +28,6 @@ namespace Test\Security;
  * @group DB
  */
 class CredentialsManagerTest extends \Test\TestCase {
-
        /**
         * @dataProvider credentialsProvider
         */
index a81f98533ce6980d434214697dbdbd661c90f3d0..37e2adcc13cbc6b8f0cd02be88ab0a0c3439e213 100644 (file)
@@ -18,7 +18,6 @@ use OCP\IConfig;
  * Class HasherTest
  */
 class HasherTest extends \Test\TestCase {
-
        /**
         * @return array
         */
index f9abf84071da2169b4f30a988c4950b5fce57a9f..36b7ef97bb668515ea94c77876250bba8489de2f 100644 (file)
@@ -35,7 +35,6 @@ use OCP\IUserManager;
 use Test\TestCase;
 
 class SignerTest extends TestCase {
-
        /** @var string */
        private $private = '-----BEGIN PRIVATE KEY-----
 MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDImc6QvHBjBIoo
index 73cbbd7b0e8c498bb868b65fc6bd725b7597daa4..3cf99161b779eba48f5c357f6ea53565e646e6c1 100644 (file)
@@ -35,7 +35,6 @@ use Psr\Log\NullLogger;
 use Test\TestCase;
 
 class RemoteHostValidatorIntegrationTest extends TestCase {
-
        /** @var IConfig|IConfig&MockObject|MockObject */
        private IConfig $config;
        private RemoteHostValidator $validator;
index acaa7a4be30c6635a703f83a93fa1c3c152680d0..030a75b1e79ecabf83ba0cc5944590fa74bf0820 100644 (file)
@@ -34,7 +34,6 @@ use Psr\Log\LoggerInterface;
 use Test\TestCase;
 
 class RemoteHostValidatorTest extends TestCase {
-
        /** @var IConfig|IConfig&MockObject|MockObject */
        private IConfig $config;
        /** @var HostnameClassifier|HostnameClassifier&MockObject|MockObject */
index 004fc9c866b397560d02558e802db0212d21b0eb..eacc165650c842ae3286e7ba16b665877cf92550 100644 (file)
@@ -19,7 +19,6 @@ use PHPUnit\Framework\MockObject\MockObject;
 use Psr\Log\LoggerInterface;
 
 class SetupTest extends \Test\TestCase {
-
        /** @var SystemConfig|MockObject */
        protected $config;
        /** @var \bantu\IniGetWrapper\IniGetWrapper|MockObject */
index d7b5dbc9b7449ac150139ada77f3fad287e43e2c..0a6f106a5dba9b35fd4f35514dae43fcefb0ad6d 100644 (file)
@@ -49,7 +49,6 @@ use PHPUnit\Framework\MockObject\MockObject;
  * @group DB
  */
 class DefaultShareProviderTest extends \Test\TestCase {
-
        /** @var IDBConnection */
        protected $dbConn;
 
index 5afee588c34dba0ae8ef49ba18477e39f277f393..c7ea141eaf8bf90c1dca4828f5728c542bbcb25a 100644 (file)
@@ -34,7 +34,6 @@ use Symfony\Component\EventDispatcher\GenericEvent;
 use Test\TestCase;
 
 class LegacyHooksTest extends TestCase {
-
        /** @var LegacyHooks */
        private $hooks;
 
index a7bb6cbcefc05bbf54b406ea1abd799afa354e8b..36680b7b926b544c3bf954839ecffd3f3d42bcfc 100644 (file)
@@ -70,7 +70,6 @@ use Symfony\Component\EventDispatcher\GenericEvent;
  * @group DB
  */
 class ManagerTest extends \Test\TestCase {
-
        /** @var Manager */
        protected $manager;
        /** @var LoggerInterface|MockObject */
@@ -552,7 +551,7 @@ class ManagerTest extends \Test\TestCase {
                                /** @var ValidatePasswordPolicyEvent $event */
                                $this->assertSame('password', $event->getPassword());
                        }
-               );
+                       );
 
                $result = self::invokePrivate($this->manager, 'verifyPassword', ['password']);
                $this->assertNull($result);
@@ -575,7 +574,7 @@ class ManagerTest extends \Test\TestCase {
                                $this->assertSame('password', $event->getPassword());
                                throw new HintException('message', 'password not accepted');
                        }
-               );
+                       );
 
                self::invokePrivate($this->manager, 'verifyPassword', ['password']);
        }
@@ -4639,7 +4638,6 @@ class ManagerTest extends \Test\TestCase {
 }
 
 class DummyFactory implements IProviderFactory {
-
        /** @var IShareProvider */
        protected $provider;
 
index 3558be93a8b55e0667bb2fe973fdec480729cfba..5116dfe9e58371bbaaae64fefb2175e3e5dcb450 100644 (file)
@@ -52,7 +52,6 @@ use Test\TestCase;
  * @group DB
  */
 class ShareByMailProviderTest extends TestCase {
-
        /** @var IDBConnection */
        protected $dbConn;
 
index b3e76735aaa45b4463ce4e0644730b9ee79148c7..857810e7881754964393ef8bf2328dcd5af133b2 100644 (file)
@@ -30,7 +30,6 @@ use OCP\Share\IManager;
 use Test\TestCase;
 
 class ShareHelperTest extends TestCase {
-
        /** @var IManager|\PHPUnit\Framework\MockObject\MockObject */
        private $manager;
 
index 907abf4b7d8acad54899e442caed0a4891203f73..647141a73f787833716c4ab029859566f98ecee8 100644 (file)
@@ -29,7 +29,6 @@ use OCP\Group\Events\SubAdminRemovedEvent;
  * @group DB
  */
 class SubAdminTest extends \Test\TestCase {
-
        /** @var \OCP\IUserManager */
        private $userManager;
 
index f88902d7065d1c9cefd8cec10bbab36ebdbd4d6f..9424738cd708d4d166d43decd2b971bbed20a7d6 100644 (file)
@@ -36,7 +36,6 @@ use OCP\Support\CrashReport\IReporter;
 use Test\TestCase;
 
 class RegistryTest extends TestCase {
-
        /** @var IServerContainer|\PHPUnit\Framework\MockObject\MockObject */
        private $serverContainer;
 
index f4e7e3484bb557e1b5b2dd31c13b2386b5f04b17..dfbee2e9a5e4ade69e6ffcb0f6f278bf9cbce293 100644 (file)
@@ -25,7 +25,6 @@ declare(strict_types=1);
 namespace Test\Support\Subscription;
 
 class DummySubscription implements \OCP\Support\Subscription\ISubscription {
-
        /** @var bool */
        private $hasValidSubscription;
        /** @var bool */
index 260232ac95d0f5d4624de084ff865b5d9221e669..f4a278cca4e6db532f85c2bd380f246147ca8c28 100644 (file)
@@ -39,7 +39,6 @@ use Psr\Log\LoggerInterface;
 use Test\TestCase;
 
 class RegistryTest extends TestCase {
-
        /** @var Registry */
        private $registry;
 
index 698c2582b8373f0c8f24c5a678446ee9d96ec90d..ef0546dbd88918d0c2c0fbbb60ce22b1ded8435b 100644 (file)
@@ -27,7 +27,6 @@ use Test\TestCase;
  * @package Test\SystemTag
  */
 class SystemTagManagerTest extends TestCase {
-
        /**
         * @var ISystemTagManager
         **/
index a5158bbee68d1ecf30e393f7ce4585d924cf6df3..c988db69c304b9f97dcd38e8687ffb0d7bbde299 100644 (file)
@@ -28,7 +28,6 @@ use Test\TestCase;
  * @package Test\SystemTag
  */
 class SystemTagObjectMapperTest extends TestCase {
-
        /**
         * @var ISystemTagManager
         **/
index 2a68dfe3124ad9716f795c6226c0baea181adbd3..28a8d4913f258445a2f5a2d4588ab96783663cbd 100644 (file)
@@ -208,9 +208,9 @@ class TagsTest extends \Test\TestCase {
 
                $conn = \OC::$server->getDatabaseConnection();
                $statement = $conn->prepare(
-                               'INSERT INTO `*PREFIX*vcategory_to_object` ' .
-                               '(`objid`, `categoryid`, `type`) VALUES ' .
-                               '(?, ?, ?)'
+                       'INSERT INTO `*PREFIX*vcategory_to_object` ' .
+                       '(`objid`, `categoryid`, `type`) VALUES ' .
+                       '(?, ?, ?)'
                );
 
                // insert lots of entries
index b85bbc8098be524f6622e0b351aee4f1c727f58b..4b342c365b595dd703503c241d6bf863f2e7b3fb 100644 (file)
@@ -170,7 +170,7 @@ class TempManagerTest extends \Test\TestCase {
                $logger = $this->createMock(LoggerInterface::class);
                $tmpManager = self::invokePrivate(
                        $this->getManager($logger),
-                                       'buildFileNameWithSuffix',
+                       'buildFileNameWithSuffix',
                        ['/tmp/myTemporaryFile', '']
                );
 
index 2c98d33d543ffabe0bbb1c23563a9f732f60a083..1f2342f2b4e812931f6f1d0238857e4f6fddaf69 100644 (file)
@@ -435,11 +435,11 @@ var b = \'world\';
                        ->expects($this->once())
                        ->method('putContent')
                        ->with($this->callback(
-                       function ($content) {
-                               $deps = json_decode($content, true);
-                               return array_key_exists(__DIR__ . '/data//1.js', $deps)
-                                       && array_key_exists(__DIR__ . '/data//2.js', $deps);
-                       }))
+                               function ($content) {
+                                       $deps = json_decode($content, true);
+                                       return array_key_exists(__DIR__ . '/data//1.js', $deps)
+                                               && array_key_exists(__DIR__ . '/data//2.js', $deps);
+                               }))
                        ->willThrowException(new NotPermittedException());
 
                $actual = self::invokePrivate($this->jsCombiner, 'cache', [$path, 'combine.json', $folder]);
index 262016b76c1a34543a3f8c704753ecf2dfa45f0f..80cc6255071082e074ecf50a435e600e49dfd396 100644 (file)
@@ -27,7 +27,6 @@ use OC\Files\Mount;
  * Test moveable mount for mocking
  */
 class TestMoveableMountPoint extends Mount\MountPoint implements Mount\MoveableMount {
-
        /**
         * Move the mount point to $target
         *
index 4c1cd29273f44b38b8a0a257f9bd4f89a595027b..420b2fe4eb9dc34c5e44d03d745e54f0cc5db9e4 100644 (file)
@@ -22,7 +22,6 @@ use OCP\IUserSession;
  * @package Test
  */
 class UrlGeneratorTest extends \Test\TestCase {
-
        /** @var \PHPUnit\Framework\MockObject\MockObject|IConfig */
        private $config;
        /** @var \PHPUnit\Framework\MockObject\MockObject|IUserSession */
index 19013c62be7aa37b97ee8fde307c1d3b470be940..cf6f03a5a0d5ff1f48f53fe574b81b4e37935d4a 100644 (file)
@@ -28,7 +28,6 @@ use Test\TestCase;
  * @package Test\User
  */
 class ManagerTest extends TestCase {
-
        /** @var IConfig */
        private $config;
        /** @var EventDispatcherInterface */
index cc65fbf3356b9e9377ceb75d1e04fd75f381b407..b8fa8efced0c0f414d77d7bcba2ff3c5c3c299cc 100644 (file)
@@ -33,7 +33,6 @@ use Test\TestCase;
  * @package Test\User
  */
 class UserTest extends TestCase {
-
        /** @var EventDispatcherInterface|MockObject */
        protected $dispatcher;
 
@@ -217,7 +216,6 @@ class UserTest extends TestCase {
        }
 
        public function testDeleteWithDifferentHome() {
-
                /** @var ObjectHomeMountProvider $homeProvider */
                $homeProvider = \OC::$server->get(ObjectHomeMountProvider::class);
                $user = $this->createMock(IUser::class);