From f5c361cf44739058b79f322576a1bad2d8c142d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Fri, 20 Jan 2023 11:45:08 +0100 Subject: [PATCH] composer run cs:fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- build/OCPSinceChecker.php | 1 - .../integration/features/bootstrap/Avatar.php | 1 - .../features/bootstrap/BasicStructure.php | 1 - .../features/bootstrap/ContactsMenu.php | 1 - .../features/bootstrap/Download.php | 1 - build/integration/features/bootstrap/Mail.php | 1 - .../integration/features/bootstrap/Search.php | 1 - .../features/bootstrap/TalkContext.php | 1 - .../features/bootstrap/Trashbin.php | 1 - core/Command/App/ListApps.php | 4 +- core/Command/Config/ListConfigs.php | 4 +- core/Command/Maintenance/Install.php | 1 - core/Command/Upgrade.php | 8 +-- core/Controller/AvatarController.php | 16 ++--- core/Controller/WalledGardenController.php | 1 - core/Controller/WellKnownController.php | 1 - core/Controller/WhatsNewController.php | 1 - core/Controller/WipeController.php | 1 - core/Data/LoginFlowV2Tokens.php | 1 - core/Db/ProfileConfig.php | 1 - core/Middleware/TwoFactorMiddleware.php | 1 - .../Version13000Date20170718121200.php | 1 - .../Version13000Date20170814074715.php | 1 - .../Version13000Date20170919121250.php | 1 - .../Version13000Date20170926101637.php | 1 - .../Version14000Date20180404140050.php | 1 - .../Version14000Date20180516101403.php | 1 - .../Version14000Date20180712153140.php | 1 - .../Version15000Date20180926101451.php | 1 - .../Version15000Date20181015062942.php | 1 - .../Version15000Date20181029084625.php | 1 - .../Version16000Date20190207141427.php | 2 - .../Version16000Date20190427105638.php | 1 - .../Version16000Date20190428150708.php | 1 - .../Version17000Date20190514105811.php | 1 - .../Version18000Date20190920085628.php | 1 - .../Version18000Date20191014105105.php | 1 - .../Version18000Date20191204114856.php | 1 - .../Version20000Date20201109081918.php | 1 - .../Version20000Date20201109081919.php | 1 - .../Version23000Date20210721100600.php | 1 - .../Version23000Date20211213203940.php | 1 - .../Version24000Date20211210141942.php | 1 - .../Version25000Date20220602190540.php | 1 - .../Version25000Date20220905140840.php | 1 - core/ajax/update.php | 8 +-- core/register_command.php | 38 +++++------ core/templates/403.php | 4 +- core/templates/layout.guest.php | 4 +- core/templates/layout.noscript.warning.php | 8 +-- core/templates/layout.public.php | 22 +++--- core/templates/layout.user.php | 26 +++---- core/templates/publicshareauth.php | 2 +- core/templates/twofactorselectchallenge.php | 12 ++-- core/templates/twofactorsetupselection.php | 10 +-- core/templates/update.use-cli.php | 10 +-- lib/private/Accounts/AccountProperty.php | 1 - .../Accounts/AccountPropertyCollection.php | 1 - lib/private/Accounts/Hooks.php | 1 - lib/private/Activity/EventMerger.php | 1 - lib/private/App/AppManager.php | 1 - .../App/AppStore/Bundles/EducationBundle.php | 1 - .../App/AppStore/Bundles/EnterpriseBundle.php | 1 - .../App/AppStore/Bundles/GroupwareBundle.php | 1 - .../AppStore/Bundles/SocialSharingBundle.php | 1 - .../App/AppStore/Fetcher/AppFetcher.php | 17 +++-- lib/private/App/AppStore/Fetcher/Fetcher.php | 2 - lib/private/App/DependencyAnalyzer.php | 1 - lib/private/App/InfoParser.php | 2 +- lib/private/AppConfig.php | 2 - lib/private/AppFramework/App.php | 1 - .../AppFramework/Bootstrap/ARegistration.php | 1 - .../AppFramework/Bootstrap/BootContext.php | 1 - .../AppFramework/Bootstrap/Coordinator.php | 1 - .../Bootstrap/EventListenerRegistration.php | 1 - .../Bootstrap/FunctionInjector.php | 1 - .../Bootstrap/ParameterRegistration.php | 1 - .../Bootstrap/PreviewProviderRegistration.php | 1 - .../Bootstrap/RegistrationContext.php | 1 - .../Bootstrap/ServiceAliasRegistration.php | 1 - .../Bootstrap/ServiceFactoryRegistration.php | 1 - lib/private/AppFramework/Http/Dispatcher.php | 5 +- lib/private/AppFramework/Http/Request.php | 2 +- lib/private/AppFramework/Logger.php | 1 - .../Middleware/CompressionMiddleware.php | 1 - .../Middleware/MiddlewareDispatcher.php | 1 - .../AppFramework/Middleware/OCSMiddleware.php | 1 - .../PublicShare/PublicShareMiddleware.php | 1 - .../Middleware/Security/CORSMiddleware.php | 1 - .../Middleware/Security/CSPMiddleware.php | 1 - .../Security/FeaturePolicyMiddleware.php | 1 - .../Security/SameSiteCookieMiddleware.php | 1 - .../Security/SecurityMiddleware.php | 11 ++- .../Middleware/SessionMiddleware.php | 1 - .../AppFramework/Routing/RouteConfig.php | 1 - lib/private/AppFramework/ScopedPsrLogger.php | 1 - .../AppFramework/Services/AppConfig.php | 1 - .../AppFramework/Utility/SimpleContainer.php | 1 - .../AppFramework/Utility/TimeFactory.php | 2 - .../Events/ARemoteWipeEvent.php | 1 - .../Listeners/LoginFailedListener.php | 1 - .../Listeners/RemoteWipeActivityListener.php | 1 - .../Listeners/RemoteWipeEmailListener.php | 1 - .../RemoteWipeNotificationsListener.php | 1 - .../UserDeletedStoreCleanupListener.php | 1 - .../UserDeletedTokenCleanupListener.php | 1 - .../UserDeletedWebAuthnCleanupListener.php | 1 - .../Listeners/UserLoggedInListener.php | 1 - .../Authentication/Login/ALoginCommand.php | 1 - lib/private/Authentication/Login/Chain.php | 1 - .../Login/ClearLostPasswordTokensCommand.php | 1 - .../Login/CompleteLoginCommand.php | 1 - .../Login/CreateSessionTokenCommand.php | 1 - .../Login/EmailLoginCommand.php | 2 - .../Login/FinishRememberedLoginCommand.php | 1 - .../Login/LoggedInCheckCommand.php | 1 - .../Authentication/Login/LoginData.php | 1 - .../Authentication/Login/LoginResult.php | 1 - .../Login/PreLoginHookCommand.php | 1 - .../Login/SetUserTimezoneCommand.php | 1 - .../Authentication/Login/TwoFactorCommand.php | 1 - .../Authentication/Login/UidLoginCommand.php | 1 - .../UpdateLastPasswordConfirmCommand.php | 1 - .../Login/UserDisabledCheckCommand.php | 1 - .../Login/WebAuthnLoginCommand.php | 1 - .../LoginCredentials/Credentials.php | 1 - .../Authentication/LoginCredentials/Store.php | 1 - .../Authentication/Notifications/Notifier.php | 1 - .../Authentication/Token/IProvider.php | 2 - .../Authentication/Token/IWipeableToken.php | 1 - lib/private/Authentication/Token/Manager.php | 1 - .../Authentication/Token/RemoteWipe.php | 1 - .../TwoFactorAuth/EnforcementState.php | 1 - .../Authentication/TwoFactorAuth/Manager.php | 1 - .../TwoFactorAuth/MandatoryTwoFactor.php | 1 - .../TwoFactorAuth/ProviderManager.php | 1 - .../TwoFactorAuth/ProviderSet.php | 1 - .../Authentication/TwoFactorAuth/Registry.php | 1 - .../WebAuthn/CredentialRepository.php | 1 - .../WebAuthn/Db/PublicKeyCredentialEntity.php | 1 - .../Authentication/WebAuthn/Manager.php | 1 - lib/private/Avatar/AvatarManager.php | 1 - lib/private/Avatar/UserAvatar.php | 2 +- .../Broadcast/Events/BroadcastEvent.php | 1 - lib/private/Cache/File.php | 1 - lib/private/Calendar/CalendarQuery.php | 1 - lib/private/Calendar/Manager.php | 1 - lib/private/CapabilitiesManager.php | 1 - .../Collaborators/LookupPlugin.php | 1 - .../Collaboration/Resources/Collection.php | 1 - .../Resources/ProviderManager.php | 1 - .../Collaboration/Resources/Resource.php | 1 - lib/private/Comments/Comment.php | 4 +- lib/private/Comments/Manager.php | 1 - lib/private/Comments/ManagerFactory.php | 1 - .../Contacts/ContactsMenu/ActionFactory.php | 1 - lib/private/Contacts/ContactsMenu/Entry.php | 1 - lib/private/ContactsManager.php | 1 - lib/private/DB/Adapter.php | 1 - lib/private/DB/AdapterMySQL.php | 1 - lib/private/DB/AdapterSqlite.php | 1 - lib/private/DB/ConnectionAdapter.php | 1 - lib/private/DB/Exceptions/DbalException.php | 1 - lib/private/DB/MySqlTools.php | 1 - lib/private/DB/OracleMigrator.php | 3 +- lib/private/DB/PgSqlTools.php | 1 - lib/private/DB/PreparedStatement.php | 1 - .../MySqlExpressionBuilder.php | 1 - .../OCIExpressionBuilder.php | 1 - .../PgSqlExpressionBuilder.php | 1 - lib/private/DB/QueryBuilder/QueryBuilder.php | 1 - lib/private/DB/ResultAdapter.php | 1 - lib/private/DB/SQLiteMigrator.php | 1 - lib/private/DB/SchemaWrapper.php | 1 - lib/private/Dashboard/Manager.php | 1 - lib/private/Diagnostics/EventLogger.php | 1 - lib/private/DirectEditing/Token.php | 1 - lib/private/Encryption/DecryptAll.php | 2 - lib/private/Encryption/EncryptionWrapper.php | 1 - .../EncryptionHeaderKeyExistsException.php | 1 - .../ModuleAlreadyExistsException.php | 1 - lib/private/Encryption/File.php | 1 - lib/private/Encryption/Keys/Storage.php | 1 - lib/private/Encryption/Manager.php | 1 - lib/private/Encryption/Update.php | 1 - lib/private/Encryption/Util.php | 1 - .../EventDispatcher/EventDispatcher.php | 1 - .../EventDispatcher/ServiceEventListener.php | 1 - .../EventDispatcher/SymfonyAdapter.php | 1 - .../Federation/CloudFederationFactory.php | 1 - .../CloudFederationProviderManager.php | 1 - lib/private/Files/Cache/QuerySearchHelper.php | 1 - lib/private/Files/Cache/Scanner.php | 2 - lib/private/Files/Cache/SearchBuilder.php | 2 +- lib/private/Files/Filesystem.php | 1 - .../AppdataPreviewObjectStoreStorage.php | 1 - .../ObjectStore/HomeObjectStoreStorage.php | 1 - .../Files/ObjectStore/ObjectStoreStorage.php | 2 +- lib/private/Files/SetupManager.php | 8 +-- lib/private/Files/SimpleFS/SimpleFolder.php | 1 - lib/private/Files/Storage/Common.php | 1 - lib/private/Files/Storage/FailedStorage.php | 1 - .../Files/Storage/LocalTempFileTrait.php | 1 - lib/private/Files/Storage/Storage.php | 1 - .../Files/Storage/Wrapper/Encoding.php | 1 - .../Files/Storage/Wrapper/Encryption.php | 3 - lib/private/Files/Stream/Encryption.php | 4 +- lib/private/Files/Type/Detection.php | 1 - lib/private/Files/Type/Loader.php | 3 +- lib/private/Files/View.php | 6 +- .../FullTextSearch/FullTextSearchManager.php | 2 - .../FullTextSearch/Model/DocumentAccess.php | 2 - .../FullTextSearch/Model/IndexDocument.php | 2 - .../FullTextSearch/Model/SearchOption.php | 2 - .../Model/SearchRequestSimpleQuery.php | 2 - .../FullTextSearch/Model/SearchTemplate.php | 2 - lib/private/GlobalScale/Config.php | 1 - lib/private/Group/Database.php | 19 +++--- lib/private/Hooks/EmitterTrait.php | 1 - lib/private/Http/WellKnown/RequestManager.php | 1 - lib/private/InitialStateService.php | 1 - lib/private/IntegrityCheck/Checker.php | 18 ++--- lib/private/KnownUser/KnownUser.php | 1 - lib/private/L10N/Factory.php | 1 - lib/private/L10N/L10N.php | 1 - lib/private/L10N/LanguageIterator.php | 14 ++-- lib/private/L10N/LazyL10N.php | 1 - lib/private/Lock/NoopLockingProvider.php | 1 - lib/private/Log.php | 1 - lib/private/Log/Errorlog.php | 1 - lib/private/Log/LogDetails.php | 1 - lib/private/Log/LogFactory.php | 2 +- lib/private/Log/PsrLoggerAdapter.php | 1 - lib/private/Log/Systemdlog.php | 4 +- lib/private/Mail/Attachment.php | 1 - lib/private/Memcache/APCu.php | 4 +- lib/private/Migration/ConsoleOutput.php | 1 - lib/private/Notification/Action.php | 1 - lib/private/OCS/CoreCapabilities.php | 1 - lib/private/OCS/DiscoveryService.php | 1 - lib/private/OCS/Exception.php | 1 - lib/private/OCS/Result.php | 1 - lib/private/Preview/Bitmap.php | 1 - lib/private/Preview/Generator.php | 1 - lib/private/Preview/GeneratorHelper.php | 1 - lib/private/Preview/Image.php | 1 - lib/private/Preview/Movie.php | 1 - lib/private/Preview/WatcherConnector.php | 1 - lib/private/Profile/Actions/EmailAction.php | 1 - lib/private/Profile/Actions/PhoneAction.php | 1 - lib/private/Profile/Actions/TwitterAction.php | 1 - lib/private/Profile/Actions/WebsiteAction.php | 1 - lib/private/Profile/ProfileManager.php | 1 - lib/private/Repair.php | 1 - .../Repair/AddBruteForceCleanupJob.php | 1 - .../Repair/AddCleanupUpdaterBackupsJob.php | 1 - lib/private/Repair/CleanTags.php | 1 - lib/private/Repair/ClearFrontendCaches.php | 1 - lib/private/Repair/MoveUpdaterStepFile.php | 1 - lib/private/Repair/NC11/FixMountStorages.php | 1 - lib/private/Repair/NC13/AddLogRotateJob.php | 1 - .../NC14/AddPreviewBackgroundCleanupJob.php | 1 - .../AddClenupLoginFlowV2BackgroundJob.php | 1 - .../Repair/NC16/CleanupCardDAVPhotoCache.php | 1 - .../NC16/ClearCollectionsAccessCache.php | 1 - .../Repair/NC18/ResetGeneratedAvatarFlag.php | 1 - .../Repair/NC20/EncryptionLegacyCipher.php | 1 - .../Repair/NC20/EncryptionMigration.php | 1 - .../Repair/NC20/ShippedDashboardEnable.php | 1 - .../NC21/AddCheckForUserCertificatesJob.php | 1 - .../Repair/NC21/ValidatePhoneNumber.php | 1 - .../Repair/OldGroupMembershipShares.php | 1 - lib/private/Repair/Owncloud/CleanPreviews.php | 1 - .../Repair/Owncloud/DropAccountTermsTable.php | 1 - .../Repair/Owncloud/MigrateOauthTables.php | 1 - lib/private/Repair/Owncloud/MoveAvatars.php | 1 - .../Owncloud/MoveAvatarsBackgroundJob.php | 1 - lib/private/RichObjectStrings/Validator.php | 1 - lib/private/Search/Provider/File.php | 1 - lib/private/Search/Result/Audio.php | 1 - lib/private/Search/Result/File.php | 1 - lib/private/Search/Result/Folder.php | 1 - lib/private/Search/Result/Image.php | 1 - lib/private/Search/SearchComposer.php | 1 - .../Security/Bruteforce/CleanupJob.php | 1 - lib/private/Server.php | 1 - lib/private/Session/Session.php | 1 - lib/private/Settings/AuthorizedGroup.php | 1 - lib/private/Settings/Manager.php | 1 - lib/private/Setup/AbstractDatabase.php | 1 - lib/private/Share/Constants.php | 1 - lib/private/Share/Helper.php | 13 ++-- lib/private/Share/Share.php | 1 - lib/private/Share20/DefaultShareProvider.php | 8 +-- lib/private/Share20/LegacyHooks.php | 1 - lib/private/Share20/Manager.php | 2 - lib/private/Share20/ProviderFactory.php | 1 - lib/private/Share20/Share.php | 1 - lib/private/Share20/ShareAttributes.php | 1 - lib/private/Share20/ShareHelper.php | 1 - lib/private/Share20/UserRemovedListener.php | 1 - lib/private/Streamer.php | 1 - lib/private/SubAdmin.php | 1 - lib/private/Support/CrashReport/Registry.php | 1 - lib/private/SystemConfig.php | 1 - lib/private/SystemTag/ManagerFactory.php | 1 - lib/private/SystemTag/SystemTag.php | 1 - lib/private/Template/JSCombiner.php | 1 - lib/private/Template/JSResourceLocator.php | 1 - lib/private/TemplateLayout.php | 1 - lib/private/Updater.php | 1 - lib/private/Updater/VersionCheck.php | 1 - lib/private/User/User.php | 1 - lib/private/UserStatus/Manager.php | 1 - lib/private/legacy/OC_API.php | 1 - lib/private/legacy/OC_App.php | 1 - lib/private/legacy/OC_Hook.php | 1 - lib/private/legacy/OC_Image.php | 49 +++++++------ lib/private/legacy/OC_JSON.php | 1 - lib/private/legacy/OC_Template.php | 2 - lib/private/legacy/OC_User.php | 8 +-- lib/private/legacy/OC_Util.php | 12 ++-- lib/public/Accounts/IAccount.php | 1 - lib/public/Accounts/IAccountManager.php | 1 - lib/public/Accounts/IAccountProperty.php | 1 - .../Accounts/IAccountPropertyCollection.php | 1 - .../PropertyDoesNotExistException.php | 1 - lib/public/Activity/IEventMerger.php | 1 - lib/public/Activity/IFilter.php | 1 - lib/public/Activity/ISetting.php | 1 - lib/public/App/IAppManager.php | 1 - lib/public/AppFramework/App.php | 1 - .../AuthPublicShareController.php | 1 - .../AppFramework/Bootstrap/IBootContext.php | 1 - .../AppFramework/Bootstrap/IBootstrap.php | 1 - .../Bootstrap/IRegistrationContext.php | 1 - lib/public/AppFramework/Controller.php | 1 - .../AppFramework/Db/DoesNotExistException.php | 1 - .../Db/MultipleObjectsReturnedException.php | 1 - lib/public/AppFramework/Db/QBMapper.php | 1 - lib/public/AppFramework/Db/TTransactional.php | 1 - .../AppFramework/Http/DataDisplayResponse.php | 1 - lib/public/AppFramework/Http/DataResponse.php | 1 - .../AppFramework/Http/EmptyFeaturePolicy.php | 1 - .../AppFramework/Http/FileDisplayResponse.php | 1 - .../AppFramework/Http/ICallbackResponse.php | 1 - lib/public/AppFramework/Http/IOutput.php | 1 - lib/public/AppFramework/Http/JSONResponse.php | 1 - .../AppFramework/Http/NotFoundResponse.php | 1 - lib/public/AppFramework/Http/Response.php | 1 - .../Http/StrictEvalContentSecurityPolicy.php | 1 - .../StrictInlineContentSecurityPolicy.php | 1 - .../Http/Template/ExternalShareMenuAction.php | 1 - .../Http/Template/IMenuAction.php | 1 - .../Http/Template/LinkMenuAction.php | 1 - .../Http/Template/SimpleMenuAction.php | 1 - .../Http/TooManyRequestsResponse.php | 1 - lib/public/AppFramework/IAppContainer.php | 1 - lib/public/AppFramework/Middleware.php | 2 - lib/public/AppFramework/OCSController.php | 2 +- .../AppFramework/PublicShareController.php | 1 - .../AppFramework/Services/IInitialState.php | 1 - .../Services/InitialStateProvider.php | 1 - .../Utility/IControllerMethodReflector.php | 1 - .../AppFramework/Utility/ITimeFactory.php | 1 - .../Events/LoginFailedEvent.php | 1 - .../Authentication/IAlternativeLogin.php | 1 - lib/public/Authentication/IApacheBackend.php | 1 - .../IProvideUserSecretBackend.php | 1 - .../LoginCredentials/ICredentials.php | 1 - .../LoginCredentials/IStore.php | 1 - .../TwoFactorAuth/IActivatableAtLogin.php | 1 - .../TwoFactorAuth/IActivatableByAdmin.php | 1 - .../TwoFactorAuth/IDeactivatableByAdmin.php | 1 - .../TwoFactorAuth/ILoginSetupProvider.php | 1 - .../IPersonalProviderSettings.php | 1 - .../TwoFactorAuth/IProvider.php | 1 - .../TwoFactorAuth/IProvidesCustomCSP.php | 1 - .../TwoFactorAuth/IProvidesIcons.php | 1 - .../IProvidesPersonalSettings.php | 1 - .../TwoFactorAuth/RegistryEvent.php | 1 - .../TwoFactorProviderDisabled.php | 1 - lib/public/BackgroundJob/QueuedJob.php | 1 - .../Broadcast/Events/IBroadcastEvent.php | 1 - lib/public/Calendar/ICalendar.php | 1 - lib/public/Calendar/ICalendarProvider.php | 1 - lib/public/Calendar/ICalendarQuery.php | 1 - lib/public/Calendar/ICreateFromString.php | 1 - lib/public/Calendar/IHandleImipMessage.php | 1 - lib/public/Calendar/IManager.php | 1 - lib/public/Calendar/IMetadataProvider.php | 1 - lib/public/Calendar/Resource/IBackend.php | 1 - lib/public/Calendar/Resource/IManager.php | 1 - lib/public/Calendar/Resource/IResource.php | 1 - .../Calendar/Resource/IResourceMetadata.php | 1 - lib/public/Calendar/Room/IBackend.php | 1 - lib/public/Calendar/Room/IManager.php | 1 - lib/public/Calendar/Room/IRoom.php | 1 - lib/public/Calendar/Room/IRoomMetadata.php | 1 - lib/public/Capabilities/ICapability.php | 1 - .../AutoComplete/AutoCompleteEvent.php | 1 - .../Collaboration/AutoComplete/ISorter.php | 1 - .../Collaboration/Reference/IReference.php | 1 - .../Collaboration/Resources/ICollection.php | 1 - .../Collaboration/Resources/IManager.php | 1 - .../Collaboration/Resources/IProvider.php | 1 - .../Resources/IProviderManager.php | 1 - .../Collaboration/Resources/IResource.php | 1 - lib/public/Comments/CommentsEvent.php | 1 - lib/public/Comments/ICommentsEventHandler.php | 1 - lib/public/Comments/ICommentsManager.php | 1 - .../Comments/ICommentsManagerFactory.php | 1 - lib/public/Console/ConsoleEvent.php | 1 - lib/public/Contacts/ContactsMenu/IAction.php | 1 - .../Contacts/ContactsMenu/IActionFactory.php | 1 - .../Contacts/ContactsMenu/IContactsStore.php | 2 - lib/public/Contacts/ContactsMenu/IEntry.php | 1 - .../Contacts/ContactsMenu/ILinkAction.php | 1 - .../Contacts/ContactsMenu/IProvider.php | 1 - .../Events/ContactInteractedWithEvent.php | 1 - lib/public/Contacts/IManager.php | 1 - lib/public/DB/Exception.php | 1 - lib/public/DB/IPreparedStatement.php | 1 - lib/public/DB/IResult.php | 1 - lib/public/DB/ISchemaWrapper.php | 1 - lib/public/DB/QueryBuilder/IQueryBuilder.php | 1 - lib/public/Dashboard/IAPIWidget.php | 1 - lib/public/Dashboard/IConditionalWidget.php | 1 - lib/public/Dashboard/IManager.php | 1 - lib/public/Dashboard/IWidget.php | 1 - lib/public/Defaults.php | 1 - lib/public/DirectEditing/ACreateEmpty.php | 1 - .../DirectEditing/ACreateFromTemplate.php | 1 - lib/public/DirectEditing/ATemplate.php | 1 - lib/public/DirectEditing/IEditor.php | 1 - lib/public/DirectEditing/IManager.php | 1 - lib/public/DirectEditing/IToken.php | 1 - .../RegisterDirectEditorEvent.php | 1 - .../Exceptions/GenericEncryptionException.php | 1 - lib/public/Encryption/IEncryptionModule.php | 1 - lib/public/Encryption/IFile.php | 1 - lib/public/Encryption/IManager.php | 1 - lib/public/Encryption/Keys/IStorage.php | 1 - .../EventDispatcher/ABroadcastedEvent.php | 1 - lib/public/EventDispatcher/Event.php | 1 - .../EventDispatcher/IEventDispatcher.php | 1 - lib/public/EventDispatcher/IEventListener.php | 1 - .../ActionNotSupportedException.php | 1 - .../AuthenticationFailedException.php | 1 - .../ProviderAlreadyExistsException.php | 1 - .../ProviderCouldNotAddShareException.php | 1 - .../ProviderDoesNotExistsException.php | 1 - .../Federation/ICloudFederationFactory.php | 1 - .../ICloudFederationNotification.php | 1 - .../Federation/ICloudFederationProvider.php | 1 - .../ICloudFederationProviderManager.php | 1 - .../Federation/ICloudFederationShare.php | 1 - lib/public/Files/AppData/IAppDataFactory.php | 1 - .../Files/Events/BeforeFileScannedEvent.php | 1 - .../Files/Events/BeforeFolderScannedEvent.php | 1 - lib/public/Files/Events/FileCacheUpdated.php | 1 - lib/public/Files/Events/FileScannedEvent.php | 1 - .../Files/Events/FolderScannedEvent.php | 1 - .../Files/Events/Node/AbstractNodeEvent.php | 1 - .../Files/Events/Node/AbstractNodesEvent.php | 1 - lib/public/Files/Events/NodeAddedToCache.php | 1 - .../Files/Events/NodeRemovedFromCache.php | 1 - lib/public/Files/ForbiddenException.php | 1 - lib/public/Files/IMimeTypeDetector.php | 1 - lib/public/Files/IMimeTypeLoader.php | 1 - lib/public/Files/IRootFolder.php | 1 - lib/public/Files/Lock/ILock.php | 1 - lib/public/Files/Lock/ILockManager.php | 1 - lib/public/Files/Lock/ILockProvider.php | 1 - lib/public/Files/Mount/IMountManager.php | 1 - lib/public/Files/Mount/IMountPoint.php | 1 - lib/public/Files/ObjectStore/IObjectStore.php | 1 - lib/public/Files/SimpleFS/ISimpleFile.php | 1 - lib/public/Files/StorageAuthException.php | 1 - .../Files/StorageBadConfigException.php | 1 - .../Files/StorageConnectionException.php | 1 - lib/public/Files/StorageTimeoutException.php | 1 - .../Files/Template/ITemplateManager.php | 1 - lib/public/Files/Template/Template.php | 1 - .../Model/AFilesDocument.php | 2 - .../FullTextSearch/IFullTextSearchManager.php | 2 - .../IFullTextSearchPlatform.php | 2 - .../IFullTextSearchProvider.php | 2 - .../FullTextSearch/Model/IDocumentAccess.php | 2 - .../FullTextSearch/Model/IIndexOptions.php | 2 - .../FullTextSearch/Model/ISearchOption.php | 2 - .../FullTextSearch/Model/ISearchRequest.php | 2 - .../FullTextSearch/Model/ISearchResult.php | 2 - .../FullTextSearch/Model/ISearchTemplate.php | 2 - .../FullTextSearch/Service/IIndexService.php | 2 - .../Service/IProviderService.php | 2 - .../FullTextSearch/Service/ISearchService.php | 2 - lib/public/GlobalScale/IConfig.php | 1 - lib/public/Group/Backend/ABackend.php | 1 - .../Group/Backend/IAddToGroupBackend.php | 1 - .../Group/Backend/ICountDisabledInGroup.php | 1 - .../Group/Backend/ICountUsersBackend.php | 1 - .../Group/Backend/ICreateGroupBackend.php | 1 - .../Group/Backend/IDeleteGroupBackend.php | 1 - .../Group/Backend/IGetDisplayNameBackend.php | 1 - .../Group/Backend/IGroupDetailsBackend.php | 1 - lib/public/Group/Backend/IIsAdminBackend.php | 1 - lib/public/Group/Backend/INamedBackend.php | 1 - .../Group/Backend/IRemoveFromGroupBackend.php | 1 - .../Group/Backend/ISetDisplayNameBackend.php | 1 - .../Group/Events/BeforeGroupCreatedEvent.php | 1 - .../Group/Events/BeforeGroupDeletedEvent.php | 1 - .../Group/Events/BeforeUserAddedEvent.php | 1 - .../Group/Events/BeforeUserRemovedEvent.php | 1 - lib/public/Group/Events/GroupCreatedEvent.php | 1 - lib/public/Group/Events/GroupDeletedEvent.php | 1 - .../Group/Events/SubAdminAddedEvent.php | 1 - .../Group/Events/SubAdminRemovedEvent.php | 1 - lib/public/Group/Events/UserAddedEvent.php | 1 - lib/public/Group/Events/UserRemovedEvent.php | 1 - lib/public/Group/ISubAdmin.php | 1 - lib/public/GroupInterface.php | 1 - lib/public/Http/Client/IClient.php | 1 - lib/public/Http/WellKnown/GenericResponse.php | 1 - lib/public/Http/WellKnown/IHandler.php | 1 - lib/public/Http/WellKnown/IRequestContext.php | 1 - lib/public/Http/WellKnown/IResponse.php | 1 - lib/public/Http/WellKnown/JrdResponse.php | 1 - lib/public/IAddressBook.php | 1 - lib/public/IAvatar.php | 1 - lib/public/IAvatarManager.php | 1 - lib/public/ICache.php | 1 - lib/public/IContainer.php | 1 - lib/public/INavigationManager.php | 1 - lib/public/IPreview.php | 1 - lib/public/ISearch.php | 1 - lib/public/IServerContainer.php | 1 - lib/public/ISession.php | 1 - lib/public/ITagManager.php | 1 - lib/public/IURLGenerator.php | 1 - lib/public/IUser.php | 1 - lib/public/IUserBackend.php | 1 - lib/public/IUserManager.php | 1 - lib/public/L10N/ILanguageIterator.php | 1 - lib/public/LDAP/ILDAPProviderFactory.php | 1 - lib/public/Lock/LockedException.php | 1 - lib/public/Lock/ManuallyLockedException.php | 2 - .../Audit/CriticalActionPerformedEvent.php | 1 - lib/public/Log/IDataLogger.php | 1 - lib/public/Log/RotationTrait.php | 1 - lib/public/Mail/Events/BeforeMessageSent.php | 1 - lib/public/Mail/Headers/AutoSubmitted.php | 1 - lib/public/Mail/IAttachment.php | 1 - lib/public/Mail/IEMailTemplate.php | 1 - lib/public/Mail/IMessage.php | 1 - lib/public/Migration/BigIntMigration.php | 1 - lib/public/Migration/IOutput.php | 1 - lib/public/Migration/IRepairStep.php | 1 - .../AlreadyProcessedException.php | 1 - lib/public/Notification/IAction.php | 1 - .../Notification/IDismissableNotifier.php | 1 - lib/public/Notification/INotifier.php | 1 - lib/public/OCS/IDiscoveryService.php | 1 - lib/public/Profile/ILinkAction.php | 1 - .../ParameterDoesNotExistException.php | 1 - lib/public/RichObjectStrings/IValidator.php | 1 - lib/public/Route/IRouter.php | 1 - lib/public/SabrePluginEvent.php | 1 - lib/public/SabrePluginException.php | 1 - lib/public/Search/IProvider.php | 1 - lib/public/Search/ISearchQuery.php | 1 - lib/public/Search/PagedProvider.php | 1 - lib/public/Search/Provider.php | 1 - lib/public/Search/Result.php | 1 - lib/public/Search/SearchResult.php | 1 - lib/public/Search/SearchResultEntry.php | 1 - .../CSP/AddContentSecurityPolicyEvent.php | 1 - .../Events/GenerateSecurePasswordEvent.php | 1 - .../Events/ValidatePasswordPolicyEvent.php | 1 - .../FeaturePolicy/AddFeaturePolicyEvent.php | 1 - lib/public/Security/ICredentialsManager.php | 1 - lib/public/Security/ICrypto.php | 1 - lib/public/Security/IRemoteHostValidator.php | 1 - lib/public/Security/ISecureRandom.php | 1 - .../VerificationToken/IVerificationToken.php | 1 - .../InvalidTokenException.php | 1 - lib/public/Settings/ISettings.php | 1 - lib/public/Share.php | 2 - lib/public/Share/Events/ShareCreatedEvent.php | 1 - lib/public/Share/Events/ShareDeletedEvent.php | 1 - .../Share/Events/VerifyMountPointEvent.php | 1 - .../Exceptions/GenericShareException.php | 1 - lib/public/Share/Exceptions/ShareNotFound.php | 1 - lib/public/Share/IAttributes.php | 1 - lib/public/Share/IManager.php | 1 - lib/public/Share/IProviderFactory.php | 1 - lib/public/Share/IShare.php | 1 - lib/public/Share/IShareHelper.php | 1 - lib/public/Share/IShareProvider.php | 1 - lib/public/Share_Backend.php | 1 - .../CrashReport/ICollectBreadcrumbs.php | 1 - .../Support/CrashReport/IMessageReporter.php | 1 - lib/public/Support/CrashReport/IRegistry.php | 1 - lib/public/Support/CrashReport/IReporter.php | 1 - lib/public/Support/Subscription/IRegistry.php | 1 - .../Support/Subscription/ISubscription.php | 1 - .../Support/Subscription/ISupportedApps.php | 1 - lib/public/SystemTag/ISystemTagManager.php | 1 - .../SystemTag/ISystemTagManagerFactory.php | 1 - .../SystemTag/ISystemTagObjectMapper.php | 1 - lib/public/SystemTag/ManagerEvent.php | 1 - lib/public/SystemTag/MapperEvent.php | 1 - .../SystemTag/SystemTagsEntityEvent.php | 1 - lib/public/SystemTag/TagNotFoundException.php | 1 - lib/public/Talk/IBroker.php | 1 - lib/public/Talk/IConversation.php | 1 - lib/public/Talk/IConversationOptions.php | 1 - lib/public/Talk/ITalkBackend.php | 1 - lib/public/User/Backend/ABackend.php | 1 - .../User/Backend/ICreateUserBackend.php | 1 - .../User/Backend/IGetDisplayNameBackend.php | 1 - lib/public/User/Backend/IGetHomeBackend.php | 1 - .../User/Backend/IGetRealUIDBackend.php | 1 - .../Backend/IPasswordConfirmationBackend.php | 1 - .../User/Backend/IProvideAvatarBackend.php | 1 - .../User/Backend/ISearchKnownUsersBackend.php | 1 - .../User/Backend/ISetDisplayNameBackend.php | 1 - .../User/Backend/ISetPasswordBackend.php | 1 - .../Events/BeforePasswordUpdatedEvent.php | 1 - .../User/Events/BeforeUserCreatedEvent.php | 1 - .../User/Events/BeforeUserDeletedEvent.php | 1 - .../User/Events/BeforeUserLoggedInEvent.php | 1 - .../BeforeUserLoggedInWithCookieEvent.php | 1 - .../User/Events/BeforeUserLoggedOutEvent.php | 1 - .../User/Events/PasswordUpdatedEvent.php | 1 - lib/public/User/Events/PostLoginEvent.php | 1 - lib/public/User/Events/UserCreatedEvent.php | 1 - lib/public/User/Events/UserDeletedEvent.php | 1 - .../User/Events/UserLiveStatusEvent.php | 1 - lib/public/User/Events/UserLoggedInEvent.php | 1 - .../Events/UserLoggedInWithCookieEvent.php | 1 - lib/public/User/Events/UserLoggedOutEvent.php | 1 - lib/public/UserInterface.php | 1 - .../UserMigration/IExportDestination.php | 1 - lib/public/UserMigration/IMigrator.php | 1 - lib/public/UserStatus/IManager.php | 1 - lib/public/UserStatus/IProvider.php | 1 - lib/public/UserStatus/IUserStatus.php | 1 - .../EntityContext/IContextPortation.php | 1 - .../EntityContext/IDisplayText.php | 1 - .../Events/RegisterChecksEvent.php | 1 - .../Events/RegisterEntitiesEvent.php | 1 - .../Events/RegisterOperationsEvent.php | 1 - .../WorkflowEngine/GenericEntityEvent.php | 1 - .../WorkflowEngine/IComplexOperation.php | 1 - lib/public/WorkflowEngine/IEntity.php | 1 - .../WorkflowEngine/ISpecificOperation.php | 1 - tests/Core/Command/Apps/AppsDisableTest.php | 1 - tests/Core/Command/Apps/AppsEnableTest.php | 1 - .../Encryption/ChangeKeyStorageRootTest.php | 2 - .../Command/Encryption/DecryptAllTest.php | 2 - .../Command/Encryption/EncryptAllTest.php | 1 - tests/Core/Command/Group/AddTest.php | 1 - tests/Core/Command/Group/AddUserTest.php | 1 - tests/Core/Command/Group/DeleteTest.php | 1 - tests/Core/Command/Group/InfoTest.php | 1 - tests/Core/Command/Group/ListCommandTest.php | 1 - tests/Core/Command/Group/RemoveUserTest.php | 1 - tests/Core/Command/SystemTag/AddTest.php | 1 - tests/Core/Command/SystemTag/DeleteTest.php | 1 - tests/Core/Command/SystemTag/EditTest.php | 1 - .../Command/SystemTag/ListCommandTest.php | 1 - .../Command/TwoFactorAuth/CleanupTest.php | 1 - .../Command/TwoFactorAuth/DisableTest.php | 1 - .../Core/Command/TwoFactorAuth/EnableTest.php | 1 - .../Command/TwoFactorAuth/EnforceTest.php | 1 - .../Core/Command/TwoFactorAuth/StateTest.php | 1 - .../Controller/AppPasswordControllerTest.php | 1 - .../Controller/CSRFTokenControllerTest.php | 1 - .../ClientFlowLoginV2ControllerTest.php | 1 - .../Controller/ContactsMenuControllerTest.php | 1 - tests/Core/Controller/CssControllerTest.php | 1 - .../Controller/GuestAvatarControllerTest.php | 1 - tests/Core/Controller/JsControllerTest.php | 1 - tests/Core/Controller/LoginControllerTest.php | 1 - .../Controller/NavigationControllerTest.php | 1 - .../Core/Controller/PreviewControllerTest.php | 1 - .../TwoFactorChallengeControllerTest.php | 1 - tests/Core/Controller/UserControllerTest.php | 1 - .../Controller/WellKnownControllerTest.php | 1 - tests/Core/Controller/WipeControllerTest.php | 1 - .../Middleware/TwoFactorMiddlewareTest.php | 1 - .../Repair/Owncloud/CleanPreviewsTest.php | 2 - .../bootstrap/AppNavigationContext.php | 18 ++--- .../features/bootstrap/AppSettingsContext.php | 6 +- .../bootstrap/AppsManagementContext.php | 6 +- .../features/bootstrap/CommentsAppContext.php | 10 +-- .../bootstrap/ContactsMenuContext.php | 16 ++--- .../features/bootstrap/DialogContext.php | 12 ++-- .../bootstrap/FileListAncestorSetter.php | 1 - .../features/bootstrap/FileListContext.php | 13 ++-- .../features/bootstrap/FilesAppContext.php | 40 +++++------ .../bootstrap/FilesAppSharingContext.php | 68 +++++++++---------- .../features/bootstrap/LoginPageContext.php | 8 +-- .../features/bootstrap/PublicShareContext.php | 38 +++++------ .../features/bootstrap/SearchContext.php | 4 +- .../features/bootstrap/SettingsContext.php | 12 ++-- .../bootstrap/SettingsMenuContext.php | 6 +- .../features/bootstrap/ToastContext.php | 2 +- .../bootstrap/UsersSettingsContext.php | 30 ++++---- .../acceptance/features/bootstrap/WaitFor.php | 1 - tests/acceptance/features/core/Actor.php | 1 - tests/acceptance/features/core/ActorAware.php | 1 - .../features/core/ActorAwareInterface.php | 1 - .../acceptance/features/core/ActorContext.php | 1 - .../features/core/ElementFinder.php | 1 - .../features/core/ElementWrapper.php | 1 - tests/acceptance/features/core/Locator.php | 4 -- .../core/NextcloudTestServerContext.php | 1 - .../core/NextcloudTestServerHelper.php | 1 - .../NextcloudTestServerLocalApacheHelper.php | 1 - .../NextcloudTestServerLocalBuiltInHelper.php | 1 - .../features/core/NoSuchElementException.php | 1 - tests/acceptance/features/core/Utils.php | 1 - tests/lib/APITest.php | 1 - tests/lib/Accounts/HooksTest.php | 1 - tests/lib/Activity/ManagerTest.php | 1 - tests/lib/AllConfigTest.php | 7 +- tests/lib/App/CompareVersionTest.php | 1 - tests/lib/App/DependencyAnalyzerTest.php | 1 - tests/lib/App/PlatformRepositoryTest.php | 1 - .../Bootstrap/BootContextTest.php | 1 - .../Bootstrap/CoordinatorTest.php | 1 - .../Bootstrap/FunctionInjectorTest.php | 1 - .../Bootstrap/RegistrationContextTest.php | 1 - .../AuthPublicShareControllerTest.php | 1 - .../Controller/ControllerTest.php | 1 - .../Controller/PublicShareControllerTest.php | 2 - tests/lib/AppFramework/Db/QBMapperTest.php | 1 - .../lib/AppFramework/Db/TransactionalTest.php | 1 - .../DependencyInjection/DIContainerTest.php | 1 - .../DIIntergrationTests.php | 1 - .../Http/ContentSecurityPolicyTest.php | 1 - .../AppFramework/Http/DataResponseTest.php | 1 - .../Http/EmptyContentSecurityPolicyTest.php | 1 - .../Http/EmptyFeaturePolicyTest.php | 1 - .../AppFramework/Http/FeaturePolicyTest.php | 1 - .../AppFramework/Http/JSONResponseTest.php | 1 - .../Http/RedirectResponseTest.php | 1 - tests/lib/AppFramework/Http/ResponseTest.php | 1 - .../AppFramework/Http/StreamResponseTest.php | 1 - .../Http/TemplateResponseTest.php | 1 - .../AdditionalScriptsMiddlewareTest.php | 1 - .../Middleware/CompressionMiddlewareTest.php | 1 - .../Middleware/MiddlewareTest.php | 1 - .../Middleware/NotModifiedMiddlewareTest.php | 1 - .../Middleware/OCSMiddlewareTest.php | 1 - .../PublicShare/PublicShareMiddlewareTest.php | 1 - .../Security/CORSMiddlewareTest.php | 1 - .../Middleware/Security/CSPMiddlewareTest.php | 1 - .../Security/FeaturePolicyMiddlewareTest.php | 1 - .../Security/SameSiteCookieMiddlewareTest.php | 1 - .../Security/SecurityMiddlewareTest.php | 1 - .../Middleware/SessionMiddlewareTest.php | 1 - .../lib/AppFramework/OCS/BaseResponseTest.php | 1 - .../Utility/ControllerMethodReflectorTest.php | 4 -- .../Utility/SimpleContainerTest.php | 18 ++--- .../RemoteWipeActivityListenerTest.php | 1 - .../Listeners/RemoteWipeEmailListenerTest.php | 1 - .../RemoteWipeNotificationsListenerTest.php | 1 - .../UserDeletedTokenCleanupListenerTest.php | 2 - .../Login/ALoginCommandTest.php | 1 - .../ClearLostPasswordTokensCommandTest.php | 1 - .../Login/CompleteLoginCommandTest.php | 1 - .../Login/CreateSessionTokenCommandTest.php | 1 - .../Login/EmailLoginCommandTest.php | 1 - .../FinishRememberedLoginCommandTest.php | 1 - .../Login/LoggedInCheckCommandTest.php | 1 - .../Login/PreLoginHookCommandTest.php | 1 - .../Login/SetUserTimezoneCommandTest.php | 1 - .../Login/TwoFactorCommandTest.php | 1 - .../Login/UidLoginCommandTest.php | 1 - .../UpdateLastPasswordConfirmCommandTest.php | 1 - .../Login/UserDisabledCheckCommandTest.php | 1 - .../LoginCredentials/CredentialsTest.php | 1 - .../LoginCredentials/StoreTest.php | 1 - .../Token/PublicKeyTokenMapperTest.php | 1 - .../Authentication/Token/RemoteWipeTest.php | 1 - .../Db/ProviderUserAssignmentDaoTest.php | 1 - .../TwoFactorAuth/ManagerTest.php | 1 - .../TwoFactorAuth/MandatoryTwoFactorTest.php | 1 - .../TwoFactorAuth/ProviderLoaderTest.php | 1 - .../TwoFactorAuth/ProviderManagerTest.php | 1 - .../TwoFactorAuth/ProviderSetTest.php | 1 - .../TwoFactorAuth/RegistryTest.php | 1 - tests/lib/Calendar/ManagerTest.php | 1 - tests/lib/Calendar/Resource/ManagerTest.php | 1 - tests/lib/Calendar/Room/ManagerTest.php | 1 - tests/lib/CapabilitiesManagerTest.php | 1 - .../Collaborators/LookupPluginTest.php | 1 - .../Collaborators/RemotePluginTest.php | 1 - .../Collaboration/Resources/ManagerTest.php | 1 - .../Resources/ProviderManagerTest.php | 1 - tests/lib/Comments/CommentTest.php | 1 - .../ContactsMenu/ActionProviderStoreTest.php | 1 - .../lib/Contacts/ContactsMenu/ManagerTest.php | 1 - .../Providers/EMailproviderTest.php | 1 - .../Providers/LocalTimeProviderTest.php | 1 - tests/lib/ContactsManagerTest.php | 1 - tests/lib/DB/Exception/DbalExceptionTest.php | 1 - tests/lib/Diagnostics/EventLoggerTest.php | 1 - tests/lib/Diagnostics/QueryLoggerTest.php | 1 - tests/lib/EmojiHelperTest.php | 1 - tests/lib/Encryption/DecryptAllTest.php | 2 - .../lib/Encryption/EncryptionWrapperTest.php | 1 - tests/lib/Encryption/ManagerTest.php | 1 - tests/lib/Encryption/UpdateTest.php | 1 - tests/lib/ErrorHandlerTest.php | 1 - .../EventDispatcher/SymfonyAdapterTest.php | 1 - tests/lib/Files/Cache/WatcherTest.php | 1 - .../Mount/ObjectHomeMountProviderTest.php | 1 - ...jectStorePreviewCacheMountProviderTest.php | 1 - tests/lib/Files/ObjectStore/MapperTest.php | 1 - .../lib/Files/ObjectStore/ObjectStoreTest.php | 1 - tests/lib/Files/PathVerificationTest.php | 1 - .../Storage/Wrapper/AvailabilityTest.php | 1 - .../Files/Storage/Wrapper/EncryptionTest.php | 31 ++++----- tests/lib/Files/Storage/Wrapper/JailTest.php | 1 - .../Storage/Wrapper/PermissionsMaskTest.php | 1 - .../Files/Stream/DummyEncryptionWrapper.php | 1 - tests/lib/Files/Stream/EncryptionTest.php | 1 - tests/lib/Files/Stream/QuotaTest.php | 1 - tests/lib/GlobalScale/ConfigTest.php | 1 - tests/lib/Group/GroupTest.php | 1 - tests/lib/Group/ManagerTest.php | 34 +++++----- .../lib/Http/WellKnown/RequestManagerTest.php | 1 - tests/lib/InitialStateServiceTest.php | 1 - tests/lib/IntegrityCheck/CheckerTest.php | 34 +++++----- tests/lib/L10N/FactoryTest.php | 1 - tests/lib/LegacyHelperTest.php | 44 ++++++------ .../lib/Lock/MemcacheLockingProviderTest.php | 1 - .../lib/Lockdown/Filesystem/NullCacheTest.php | 1 - .../Lockdown/Filesystem/NullStorageTest.php | 1 - tests/lib/LoggerTest.php | 1 - tests/lib/Migration/BackgroundRepairTest.php | 2 - tests/lib/NaturalSortTest.php | 1 - tests/lib/Notification/DummyApp.php | 1 - tests/lib/Notification/DummyNotifier.php | 1 - tests/lib/OCS/DiscoveryServiceTest.php | 1 - tests/lib/OCS/MapStatusCodeTest.php | 1 - tests/lib/Preview/GeneratorTest.php | 1 - tests/lib/Preview/Provider.php | 1 - tests/lib/Repair/CleanTagsTest.php | 1 - tests/lib/Repair/ClearFrontendCachesTest.php | 1 - .../Repair/ClearGeneratedAvatarCacheTest.php | 1 - .../lib/Repair/NC11/FixMountStoragesTest.php | 1 - .../Repair/OldGroupMembershipSharesTest.php | 1 - tests/lib/Repair/RepairCollationTest.php | 1 - tests/lib/Repair/RepairDavSharesTest.php | 1 - tests/lib/Repair/RepairInvalidSharesTest.php | 1 - tests/lib/Repair/RepairMimeTypesTest.php | 1 - .../Repair/RepairSqliteAutoincrementTest.php | 1 - tests/lib/Security/CertificateTest.php | 1 - tests/lib/Security/CredentialsManagerTest.php | 1 - tests/lib/Security/HasherTest.php | 1 - .../lib/Security/IdentityProof/SignerTest.php | 1 - .../RemoteHostValidatorIntegrationTest.php | 1 - .../lib/Security/RemoteHostValidatorTest.php | 1 - tests/lib/SetupTest.php | 1 - .../lib/Share20/DefaultShareProviderTest.php | 1 - tests/lib/Share20/LegacyHooksTest.php | 1 - tests/lib/Share20/ManagerTest.php | 6 +- tests/lib/Share20/ShareByMailProviderTest.php | 1 - tests/lib/Share20/ShareHelperTest.php | 1 - tests/lib/SubAdminTest.php | 1 - .../lib/Support/CrashReport/RegistryTest.php | 1 - .../Subscription/DummySubscription.php | 1 - .../lib/Support/Subscription/RegistryTest.php | 1 - tests/lib/SystemTag/SystemTagManagerTest.php | 1 - .../SystemTag/SystemTagObjectMapperTest.php | 1 - tests/lib/TagsTest.php | 6 +- tests/lib/TempManagerTest.php | 2 +- tests/lib/Template/JSCombinerTest.php | 10 +-- tests/lib/TestMoveableMountPoint.php | 1 - tests/lib/UrlGeneratorTest.php | 1 - tests/lib/User/ManagerTest.php | 1 - tests/lib/User/UserTest.php | 2 - 887 files changed, 430 insertions(+), 1320 deletions(-) diff --git a/build/OCPSinceChecker.php b/build/OCPSinceChecker.php index 75ce9c97cbc..f882d1b7724 100644 --- a/build/OCPSinceChecker.php +++ b/build/OCPSinceChecker.php @@ -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 */ diff --git a/build/integration/features/bootstrap/Avatar.php b/build/integration/features/bootstrap/Avatar.php index 6f8b98ad605..6b8e5d88092 100644 --- a/build/integration/features/bootstrap/Avatar.php +++ b/build/integration/features/bootstrap/Avatar.php @@ -26,7 +26,6 @@ use PHPUnit\Framework\Assert; require __DIR__ . '/../../vendor/autoload.php'; trait Avatar { - /** @var string **/ private $lastAvatar; diff --git a/build/integration/features/bootstrap/BasicStructure.php b/build/integration/features/bootstrap/BasicStructure.php index 632e827669b..9060c85c756 100644 --- a/build/integration/features/bootstrap/BasicStructure.php +++ b/build/integration/features/bootstrap/BasicStructure.php @@ -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; diff --git a/build/integration/features/bootstrap/ContactsMenu.php b/build/integration/features/bootstrap/ContactsMenu.php index c5266ffb7d1..0506d827a39 100644 --- a/build/integration/features/bootstrap/ContactsMenu.php +++ b/build/integration/features/bootstrap/ContactsMenu.php @@ -23,7 +23,6 @@ use PHPUnit\Framework\Assert; trait ContactsMenu { - // BasicStructure trait is expected to be used in the class that uses this // trait. diff --git a/build/integration/features/bootstrap/Download.php b/build/integration/features/bootstrap/Download.php index 7879159325a..e5e6dc64853 100644 --- a/build/integration/features/bootstrap/Download.php +++ b/build/integration/features/bootstrap/Download.php @@ -26,7 +26,6 @@ use PHPUnit\Framework\Assert; require __DIR__ . '/../../vendor/autoload.php'; trait Download { - /** @var string **/ private $downloadedFile; diff --git a/build/integration/features/bootstrap/Mail.php b/build/integration/features/bootstrap/Mail.php index c661a5935c6..c2d9e86275c 100644 --- a/build/integration/features/bootstrap/Mail.php +++ b/build/integration/features/bootstrap/Mail.php @@ -21,7 +21,6 @@ * */ trait Mail { - // CommandLine trait is expected to be used in the class that uses this // trait. diff --git a/build/integration/features/bootstrap/Search.php b/build/integration/features/bootstrap/Search.php index 91c66ae1d20..c9d5f75a1d3 100644 --- a/build/integration/features/bootstrap/Search.php +++ b/build/integration/features/bootstrap/Search.php @@ -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. diff --git a/build/integration/features/bootstrap/TalkContext.php b/build/integration/features/bootstrap/TalkContext.php index 9c4b9037829..5417c22a058 100644 --- a/build/integration/features/bootstrap/TalkContext.php +++ b/build/integration/features/bootstrap/TalkContext.php @@ -23,7 +23,6 @@ use Behat\Behat\Context\Context; class TalkContext implements Context { - /** * @BeforeFeature @Talk * @BeforeScenario @Talk diff --git a/build/integration/features/bootstrap/Trashbin.php b/build/integration/features/bootstrap/Trashbin.php index 998720b67b2..19e9b57c3fb 100644 --- a/build/integration/features/bootstrap/Trashbin.php +++ b/build/integration/features/bootstrap/Trashbin.php @@ -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. /** diff --git a/core/Command/App/ListApps.php b/core/Command/App/ListApps.php index 6405afc2f68..365ac48e080 100644 --- a/core/Command/App/ListApps.php +++ b/core/Command/App/ListApps.php @@ -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; } } diff --git a/core/Command/Config/ListConfigs.php b/core/Command/Config/ListConfigs.php index a0fa9a84ea8..dd8fad72d7c 100644 --- a/core/Command/Config/ListConfigs.php +++ b/core/Command/Config/ListConfigs.php @@ -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 = [ diff --git a/core/Command/Maintenance/Install.php b/core/Command/Maintenance/Install.php index d53cd867b06..fa93a661906 100644 --- a/core/Command/Maintenance/Install.php +++ b/core/Command/Maintenance/Install.php @@ -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( diff --git a/core/Command/Upgrade.php b/core/Command/Upgrade.php index d476b91d6bf..e929dc22bc8 100644 --- a/core/Command/Upgrade.php +++ b/core/Command/Upgrade.php @@ -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 */ diff --git a/core/Controller/AvatarController.php b/core/Controller/AvatarController.php index 673ed1be05b..c6567b33209 100644 --- a/core/Controller/AvatarController.php +++ b/core/Controller/AvatarController.php @@ -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); diff --git a/core/Controller/WalledGardenController.php b/core/Controller/WalledGardenController.php index 584c264aaf9..0079cc5a69a 100644 --- a/core/Controller/WalledGardenController.php +++ b/core/Controller/WalledGardenController.php @@ -28,7 +28,6 @@ use OCP\AppFramework\Http; use OCP\AppFramework\Http\Response; class WalledGardenController extends Controller { - /** * @PublicPage * @NoCSRFRequired diff --git a/core/Controller/WellKnownController.php b/core/Controller/WellKnownController.php index 12384b6f9ad..01ae5e4fae8 100644 --- a/core/Controller/WellKnownController.php +++ b/core/Controller/WellKnownController.php @@ -33,7 +33,6 @@ use OCP\AppFramework\Http\Response; use OCP\IRequest; class WellKnownController extends Controller { - /** @var RequestManager */ private $requestManager; diff --git a/core/Controller/WhatsNewController.php b/core/Controller/WhatsNewController.php index 12024dec030..0dae0f97322 100644 --- a/core/Controller/WhatsNewController.php +++ b/core/Controller/WhatsNewController.php @@ -37,7 +37,6 @@ use OCP\IUserSession; use OCP\L10N\IFactory; class WhatsNewController extends OCSController { - /** @var IConfig */ protected $config; /** @var IUserSession */ diff --git a/core/Controller/WipeController.php b/core/Controller/WipeController.php index 5eef03b129f..44ec5fc598a 100644 --- a/core/Controller/WipeController.php +++ b/core/Controller/WipeController.php @@ -33,7 +33,6 @@ use OCP\AppFramework\Http\JSONResponse; use OCP\IRequest; class WipeController extends Controller { - /** @var RemoteWipe */ private $remoteWipe; diff --git a/core/Data/LoginFlowV2Tokens.php b/core/Data/LoginFlowV2Tokens.php index 0e932d49ed6..c247a49fe0a 100644 --- a/core/Data/LoginFlowV2Tokens.php +++ b/core/Data/LoginFlowV2Tokens.php @@ -26,7 +26,6 @@ declare(strict_types=1); namespace OC\Core\Data; class LoginFlowV2Tokens { - /** @var string */ private $loginToken; /** @var string */ diff --git a/core/Db/ProfileConfig.php b/core/Db/ProfileConfig.php index eb50da37a64..3ebfe02ca79 100644 --- a/core/Db/ProfileConfig.php +++ b/core/Db/ProfileConfig.php @@ -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 * diff --git a/core/Middleware/TwoFactorMiddleware.php b/core/Middleware/TwoFactorMiddleware.php index 45c165d1ba5..0ea21ce78de 100644 --- a/core/Middleware/TwoFactorMiddleware.php +++ b/core/Middleware/TwoFactorMiddleware.php @@ -46,7 +46,6 @@ use OCP\IURLGenerator; use OCP\IUser; class TwoFactorMiddleware extends Middleware { - /** @var Manager */ private $twoFactorManager; diff --git a/core/Migrations/Version13000Date20170718121200.php b/core/Migrations/Version13000Date20170718121200.php index 3e14b4af47a..5439998fce3 100644 --- a/core/Migrations/Version13000Date20170718121200.php +++ b/core/Migrations/Version13000Date20170718121200.php @@ -39,7 +39,6 @@ use OCP\Migration\IOutput; use OCP\Migration\SimpleMigrationStep; class Version13000Date20170718121200 extends SimpleMigrationStep { - /** @var IDBConnection */ private $connection; diff --git a/core/Migrations/Version13000Date20170814074715.php b/core/Migrations/Version13000Date20170814074715.php index 6882662dc53..c05c0324aeb 100644 --- a/core/Migrations/Version13000Date20170814074715.php +++ b/core/Migrations/Version13000Date20170814074715.php @@ -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` diff --git a/core/Migrations/Version13000Date20170919121250.php b/core/Migrations/Version13000Date20170919121250.php index 65d52829373..8aabaf23587 100644 --- a/core/Migrations/Version13000Date20170919121250.php +++ b/core/Migrations/Version13000Date20170919121250.php @@ -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` diff --git a/core/Migrations/Version13000Date20170926101637.php b/core/Migrations/Version13000Date20170926101637.php index 0961c15be71..b86535b005a 100644 --- a/core/Migrations/Version13000Date20170926101637.php +++ b/core/Migrations/Version13000Date20170926101637.php @@ -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'], ...] diff --git a/core/Migrations/Version14000Date20180404140050.php b/core/Migrations/Version14000Date20180404140050.php index d7b7ce1fce2..e670fe525da 100644 --- a/core/Migrations/Version14000Date20180404140050.php +++ b/core/Migrations/Version14000Date20180404140050.php @@ -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; diff --git a/core/Migrations/Version14000Date20180516101403.php b/core/Migrations/Version14000Date20180516101403.php index cd2df5b10ab..1cddcf74bac 100644 --- a/core/Migrations/Version14000Date20180516101403.php +++ b/core/Migrations/Version14000Date20180516101403.php @@ -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` diff --git a/core/Migrations/Version14000Date20180712153140.php b/core/Migrations/Version14000Date20180712153140.php index 444cad072a0..2f2ecdfcc0d 100644 --- a/core/Migrations/Version14000Date20180712153140.php +++ b/core/Migrations/Version14000Date20180712153140.php @@ -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(); diff --git a/core/Migrations/Version15000Date20180926101451.php b/core/Migrations/Version15000Date20180926101451.php index f70a786bbcd..c73501c4fe0 100644 --- a/core/Migrations/Version15000Date20180926101451.php +++ b/core/Migrations/Version15000Date20180926101451.php @@ -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` diff --git a/core/Migrations/Version15000Date20181015062942.php b/core/Migrations/Version15000Date20181015062942.php index deb64f32142..42729c02545 100644 --- a/core/Migrations/Version15000Date20181015062942.php +++ b/core/Migrations/Version15000Date20181015062942.php @@ -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` diff --git a/core/Migrations/Version15000Date20181029084625.php b/core/Migrations/Version15000Date20181029084625.php index c3022148b0a..28d3f5b5ca7 100644 --- a/core/Migrations/Version15000Date20181029084625.php +++ b/core/Migrations/Version15000Date20181029084625.php @@ -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` diff --git a/core/Migrations/Version16000Date20190207141427.php b/core/Migrations/Version16000Date20190207141427.php index 837715a6838..6dc5a5b1773 100644 --- a/core/Migrations/Version16000Date20190207141427.php +++ b/core/Migrations/Version16000Date20190207141427.php @@ -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` diff --git a/core/Migrations/Version16000Date20190427105638.php b/core/Migrations/Version16000Date20190427105638.php index dbad19d9b54..4df64a59250 100644 --- a/core/Migrations/Version16000Date20190427105638.php +++ b/core/Migrations/Version16000Date20190427105638.php @@ -33,7 +33,6 @@ use OCP\Migration\IOutput; use OCP\Migration\SimpleMigrationStep; class Version16000Date20190427105638 extends SimpleMigrationStep { - /** @var IDBConnection */ private $connection; diff --git a/core/Migrations/Version16000Date20190428150708.php b/core/Migrations/Version16000Date20190428150708.php index 14645925d3d..61d5ee0d2fa 100644 --- a/core/Migrations/Version16000Date20190428150708.php +++ b/core/Migrations/Version16000Date20190428150708.php @@ -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` diff --git a/core/Migrations/Version17000Date20190514105811.php b/core/Migrations/Version17000Date20190514105811.php index 53c4cd67647..6e081f7214d 100644 --- a/core/Migrations/Version17000Date20190514105811.php +++ b/core/Migrations/Version17000Date20190514105811.php @@ -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` diff --git a/core/Migrations/Version18000Date20190920085628.php b/core/Migrations/Version18000Date20190920085628.php index 9384abeed30..d7b1727aa59 100644 --- a/core/Migrations/Version18000Date20190920085628.php +++ b/core/Migrations/Version18000Date20190920085628.php @@ -36,7 +36,6 @@ use OCP\Migration\IOutput; use OCP\Migration\SimpleMigrationStep; class Version18000Date20190920085628 extends SimpleMigrationStep { - /** @var IDBConnection */ protected $connection; diff --git a/core/Migrations/Version18000Date20191014105105.php b/core/Migrations/Version18000Date20191014105105.php index 740a03ba5d1..340c9b3d729 100644 --- a/core/Migrations/Version18000Date20191014105105.php +++ b/core/Migrations/Version18000Date20191014105105.php @@ -36,7 +36,6 @@ use OCP\Migration\SimpleMigrationStep; use OCP\Migration\IOutput; class Version18000Date20191014105105 extends SimpleMigrationStep { - /** @var IDBConnection */ protected $connection; diff --git a/core/Migrations/Version18000Date20191204114856.php b/core/Migrations/Version18000Date20191204114856.php index 9fec994ba44..d7f4dbafe87 100644 --- a/core/Migrations/Version18000Date20191204114856.php +++ b/core/Migrations/Version18000Date20191204114856.php @@ -32,7 +32,6 @@ use OCP\Migration\SimpleMigrationStep; use OCP\Migration\IOutput; class Version18000Date20191204114856 extends SimpleMigrationStep { - /** @var IDBConnection */ protected $connection; diff --git a/core/Migrations/Version20000Date20201109081918.php b/core/Migrations/Version20000Date20201109081918.php index 9ebdd40aaf2..aae89465d75 100644 --- a/core/Migrations/Version20000Date20201109081918.php +++ b/core/Migrations/Version20000Date20201109081918.php @@ -35,7 +35,6 @@ use OCP\Migration\IOutput; use OCP\Migration\SimpleMigrationStep; class Version20000Date20201109081918 extends SimpleMigrationStep { - /** @var IDBConnection */ protected $connection; diff --git a/core/Migrations/Version20000Date20201109081919.php b/core/Migrations/Version20000Date20201109081919.php index 4c78dd901bd..0556e84a7b4 100644 --- a/core/Migrations/Version20000Date20201109081919.php +++ b/core/Migrations/Version20000Date20201109081919.php @@ -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` diff --git a/core/Migrations/Version23000Date20210721100600.php b/core/Migrations/Version23000Date20210721100600.php index d247811f8b9..99353819f60 100644 --- a/core/Migrations/Version23000Date20210721100600.php +++ b/core/Migrations/Version23000Date20210721100600.php @@ -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` diff --git a/core/Migrations/Version23000Date20211213203940.php b/core/Migrations/Version23000Date20211213203940.php index 943edbbd300..2a10acdafcf 100644 --- a/core/Migrations/Version23000Date20211213203940.php +++ b/core/Migrations/Version23000Date20211213203940.php @@ -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'], ...] diff --git a/core/Migrations/Version24000Date20211210141942.php b/core/Migrations/Version24000Date20211210141942.php index ea85e331d55..47a4b11ce4f 100644 --- a/core/Migrations/Version24000Date20211210141942.php +++ b/core/Migrations/Version24000Date20211210141942.php @@ -37,7 +37,6 @@ use OCP\Migration\SimpleMigrationStep; * */ class Version24000Date20211210141942 extends SimpleMigrationStep { - /** @var IDBConnection */ protected $connection; diff --git a/core/Migrations/Version25000Date20220602190540.php b/core/Migrations/Version25000Date20220602190540.php index 3a00423570a..ba5345f2ae7 100644 --- a/core/Migrations/Version25000Date20220602190540.php +++ b/core/Migrations/Version25000Date20220602190540.php @@ -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` diff --git a/core/Migrations/Version25000Date20220905140840.php b/core/Migrations/Version25000Date20220905140840.php index 6cda6132a7f..ab7857cb63c 100644 --- a/core/Migrations/Version25000Date20220905140840.php +++ b/core/Migrations/Version25000Date20220905140840.php @@ -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` diff --git a/core/ajax/update.php b/core/ajax/update.php index 56dffef409c..74907fa56b9 100644 --- a/core/ajax/update.php +++ b/core/ajax/update.php @@ -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 = []; diff --git a/core/register_command.php b/core/register_command.php index b6da0a6d44d..df008402076 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -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())); diff --git a/core/templates/403.php b/core/templates/403.php index d41d6cd3083..bdb5737f23d 100644 --- a/core/templates/403.php +++ b/core/templates/403.php @@ -12,6 +12,6 @@ if (!isset($_)) {//standalone page is not supported anymore - redirect to /

t('Access forbidden')); ?>

+ p($_['message']); + }?>

diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php index b32d163cd69..69acb6be375 100644 --- a/core/templates/layout.guest.php +++ b/core/templates/layout.guest.php @@ -9,8 +9,8 @@ <?php p(!empty($_['pageTitle']) ? $_['pageTitle'] . ' – ' : ''); - p($theme->getTitle()); - ?> +p($theme->getTitle()); +?> getiTunesAppId() !== '') { ?> diff --git a/core/templates/layout.noscript.warning.php b/core/templates/layout.noscript.warning.php index 7d7a32bfbf4..311394592d1 100644 --- a/core/templates/layout.noscript.warning.php +++ b/core/templates/layout.noscript.warning.php @@ -2,10 +2,10 @@
', ''], - $l->t('This application requires JavaScript for correct operation. Please {linkstart}enable JavaScript{linkend} and reload the page.') - )); ?> + ['{linkstart}', '{linkend}'], + ['', ''], + $l->t('This application requires JavaScript for correct operation. Please {linkstart}enable JavaScript{linkend} and reload the page.') + )); ?>
diff --git a/core/templates/layout.public.php b/core/templates/layout.public.php index 65110fb84f5..e5329716cc7 100644 --- a/core/templates/layout.public.php +++ b/core/templates/layout.public.php @@ -5,8 +5,8 @@ <?php p(!empty($_['application'])?$_['application'].' - ':''); - p($theme->getTitle()); - ?> +p($theme->getTitle()); +?> getiTunesAppId() !== '') { ?> @@ -55,10 +55,10 @@
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(); ?> @@ -76,13 +76,13 @@ foreach ($others as $action) { print_unescaped($action->render()); } - ?> + ?>
+} ?>
@@ -99,15 +99,15 @@ diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index b2eed70c299..951f0dabe21 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -19,9 +19,9 @@ $getUserAvatar = static function (int $size) use ($_): string { <?php p(!empty($_['pageTitle'])?$_['pageTitle'].' - ':''); - p(!empty($_['application'])?$_['application'].' - ':''); - p($theme->getTitle()); - ?> +p(!empty($_['application'])?$_['application'].' - ':''); +p($theme->getTitle()); +?> @@ -43,8 +43,8 @@ $getUserAvatar = static function (int $size) use ($_): string { data-themes=> + p("data-theme-$themeId "); + }?> data-themes=> $initialState) { ?> @@ -75,19 +75,19 @@ $getUserAvatar = static function (int $size) use ($_): string { aria-label="t('Open settings menu'));?>" aria-haspopup="true" aria-controls="expanddiv" aria-expanded="false">