From 215aef3cbdc1963be1bb6bca5218ee0a4b7f1665 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Fri, 4 Jun 2021 21:52:51 +0200 Subject: Update php licenses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/accessibility/appinfo/routes.php | 5 ++--- apps/accessibility/lib/AccessibilityProvider.php | 5 ++--- apps/accessibility/lib/AppInfo/Application.php | 5 ++--- .../lib/Controller/AccessibilityController.php | 5 ++--- .../lib/Controller/ConfigController.php | 5 ++--- .../lib/Migration/RepairUserConfig.php | 3 +-- apps/accessibility/lib/Service/JSDataService.php | 3 +-- apps/accessibility/lib/Settings/Personal.php | 6 +++--- .../accessibility/lib/Settings/PersonalSection.php | 5 ++--- apps/admin_audit/lib/Actions/Action.php | 3 +-- apps/admin_audit/lib/Actions/AppManagement.php | 3 +-- apps/admin_audit/lib/Actions/Auth.php | 4 ++-- apps/admin_audit/lib/Actions/Console.php | 3 +-- apps/admin_audit/lib/Actions/Files.php | 4 ++-- apps/admin_audit/lib/Actions/GroupManagement.php | 4 ++-- apps/admin_audit/lib/Actions/Security.php | 3 +-- apps/admin_audit/lib/Actions/Sharing.php | 4 ++-- apps/admin_audit/lib/Actions/Trashbin.php | 3 +-- apps/admin_audit/lib/Actions/UserManagement.php | 6 +++--- apps/admin_audit/lib/Actions/Versions.php | 3 +-- apps/admin_audit/lib/AppInfo/Application.php | 3 +-- apps/admin_audit/lib/BackgroundJobs/Rotate.php | 4 ++-- .../CriticalActionPerformedEventListener.php | 8 ++++--- apps/admin_audit/tests/Actions/SecurityTest.php | 3 +-- apps/cloud_federation_api/appinfo/routes.php | 3 +-- .../lib/AppInfo/Application.php | 3 +-- apps/cloud_federation_api/lib/Capabilities.php | 3 +-- apps/cloud_federation_api/lib/Config.php | 3 +-- .../lib/Controller/RequestHandlerController.php | 3 +-- apps/comments/appinfo/routes.php | 1 - apps/comments/lib/Activity/Filter.php | 3 +-- apps/comments/lib/Activity/Listener.php | 1 - apps/comments/lib/Activity/Provider.php | 4 ++-- apps/comments/lib/Activity/Setting.php | 3 +-- apps/comments/lib/AppInfo/Application.php | 5 ++--- apps/comments/lib/Capabilities.php | 3 +-- .../lib/Collaboration/CommentersSorter.php | 3 +-- apps/comments/lib/Controller/Notifications.php | 5 ++--- apps/comments/lib/EventHandler.php | 3 +-- .../lib/Listener/CommentsEntityEventListener.php | 3 +-- .../lib/Listener/LoadAdditionalScripts.php | 5 ++--- apps/comments/lib/Listener/LoadSidebarScripts.php | 5 ++--- .../lib/MaxAutoCompleteResultsInitialState.php | 5 +++-- apps/comments/lib/Notification/Listener.php | 1 - apps/comments/lib/Notification/Notifier.php | 1 - .../comments/lib/Search/CommentsSearchProvider.php | 5 ++--- apps/comments/lib/Search/LegacyProvider.php | 3 +-- apps/comments/lib/Search/Result.php | 3 +-- apps/comments/tests/Unit/Activity/ListenerTest.php | 3 +-- .../tests/Unit/AppInfo/ApplicationTest.php | 1 - .../Unit/Collaboration/CommentersSorterTest.php | 3 +-- .../tests/Unit/Controller/NotificationsTest.php | 3 +-- apps/comments/tests/Unit/EventHandlerTest.php | 3 +-- .../tests/Unit/Notification/ListenerTest.php | 1 - .../tests/Unit/Notification/NotifierTest.php | 3 +-- apps/contactsinteraction/lib/AddressBook.php | 9 ++++---- .../lib/AddressBookProvider.php | 8 +++---- .../lib/AppInfo/Application.php | 9 ++++---- .../lib/BackgroundJob/CleanupJob.php | 8 +++---- apps/contactsinteraction/lib/Card.php | 10 +++++---- apps/contactsinteraction/lib/Db/CardSearchDao.php | 8 +++---- apps/contactsinteraction/lib/Db/RecentContact.php | 8 +++---- .../lib/Db/RecentContactMapper.php | 9 ++++---- .../lib/Listeners/ContactInteractionListener.php | 8 +++---- .../Migration/Version010000Date20200304152605.php | 8 +++---- .../tests/Db/RecentContactMapperTest.php | 8 ++++--- apps/dashboard/appinfo/routes.php | 2 +- .../lib/Controller/DashboardController.php | 4 +++- .../lib/Controller/LayoutApiController.php | 7 +++--- apps/dashboard/lib/Service/BackgroundService.php | 8 +++---- apps/dav/appinfo/routes.php | 3 +-- apps/dav/appinfo/v1/caldav.php | 1 - apps/dav/appinfo/v1/carddav.php | 3 +-- apps/dav/appinfo/v1/publicwebdav.php | 1 - apps/dav/appinfo/v1/webdav.php | 1 - apps/dav/appinfo/v2/direct.php | 5 ++--- apps/dav/bin/chunkperf.php | 1 - apps/dav/lib/AppInfo/Application.php | 3 +-- apps/dav/lib/AppInfo/PluginManager.php | 1 - apps/dav/lib/Avatars/AvatarHome.php | 1 - apps/dav/lib/Avatars/AvatarNode.php | 1 - apps/dav/lib/Avatars/RootCollection.php | 5 ++--- .../BuildReminderIndexBackgroundJob.php | 3 +-- .../dav/lib/BackgroundJob/CalendarRetentionJob.php | 10 ++++----- .../lib/BackgroundJob/CleanupDirectLinksJob.php | 3 +-- .../BackgroundJob/CleanupInvitationTokenJob.php | 3 +-- apps/dav/lib/BackgroundJob/EventReminderJob.php | 6 ++---- .../GenerateBirthdayCalendarBackgroundJob.php | 4 +--- apps/dav/lib/BackgroundJob/RefreshWebcalJob.php | 3 +-- .../RegisterRegenerateBirthdayCalendars.php | 3 +-- .../UpdateCalendarResourcesRoomsBackgroundJob.php | 4 ++-- apps/dav/lib/BackgroundJob/UploadCleanup.php | 3 +-- apps/dav/lib/CalDAV/Activity/Backend.php | 3 +-- apps/dav/lib/CalDAV/Activity/Filter/Calendar.php | 5 ++--- apps/dav/lib/CalDAV/Activity/Filter/Todo.php | 3 +-- apps/dav/lib/CalDAV/Activity/Provider/Base.php | 3 +-- apps/dav/lib/CalDAV/Activity/Provider/Calendar.php | 3 +-- apps/dav/lib/CalDAV/Activity/Provider/Event.php | 4 ++-- apps/dav/lib/CalDAV/Activity/Provider/Todo.php | 4 ++-- .../lib/CalDAV/Activity/Setting/CalDAVSetting.php | 4 ++-- apps/dav/lib/CalDAV/Activity/Setting/Calendar.php | 3 +-- apps/dav/lib/CalDAV/Activity/Setting/Event.php | 3 +-- apps/dav/lib/CalDAV/Activity/Setting/Todo.php | 3 +-- .../lib/CalDAV/BirthdayCalendar/EnablePlugin.php | 3 +-- apps/dav/lib/CalDAV/BirthdayService.php | 3 ++- apps/dav/lib/CalDAV/CachedSubscription.php | 3 +-- apps/dav/lib/CalDAV/CachedSubscriptionObject.php | 4 +--- apps/dav/lib/CalDAV/CalDavBackend.php | 4 ++-- apps/dav/lib/CalDAV/Calendar.php | 1 - apps/dav/lib/CalDAV/CalendarHome.php | 1 - apps/dav/lib/CalDAV/CalendarImpl.php | 3 +-- apps/dav/lib/CalDAV/CalendarManager.php | 3 +-- apps/dav/lib/CalDAV/CalendarObject.php | 1 - apps/dav/lib/CalDAV/CalendarRoot.php | 1 - .../lib/CalDAV/ICSExportPlugin/ICSExportPlugin.php | 2 +- apps/dav/lib/CalDAV/IRestorable.php | 10 ++++----- .../lib/CalDAV/Integration/ExternalCalendar.php | 2 +- .../lib/CalDAV/Integration/ICalendarProvider.php | 2 +- .../InvitationResponseServer.php | 3 +-- apps/dav/lib/CalDAV/Outbox.php | 4 +--- apps/dav/lib/CalDAV/Plugin.php | 2 -- apps/dav/lib/CalDAV/Principal/Collection.php | 3 +-- apps/dav/lib/CalDAV/Principal/User.php | 3 +-- apps/dav/lib/CalDAV/Proxy/Proxy.php | 3 +-- apps/dav/lib/CalDAV/Proxy/ProxyMapper.php | 3 +-- apps/dav/lib/CalDAV/PublicCalendar.php | 3 +-- apps/dav/lib/CalDAV/PublicCalendarObject.php | 3 +-- apps/dav/lib/CalDAV/PublicCalendarRoot.php | 2 -- apps/dav/lib/CalDAV/Publishing/PublishPlugin.php | 4 ++-- apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php | 4 +--- apps/dav/lib/CalDAV/Reminder/Backend.php | 3 +-- .../lib/CalDAV/Reminder/INotificationProvider.php | 3 +-- .../NotificationProvider/AbstractProvider.php | 3 +-- .../NotificationProvider/AudioProvider.php | 4 +--- .../NotificationProvider/EmailProvider.php | 3 +-- .../ProviderNotAvailableException.php | 4 +--- .../Reminder/NotificationProvider/PushProvider.php | 3 +-- .../Reminder/NotificationProviderManager.php | 4 +--- .../NotificationTypeDoesNotExistException.php | 3 +-- apps/dav/lib/CalDAV/Reminder/Notifier.php | 3 +-- apps/dav/lib/CalDAV/Reminder/ReminderService.php | 4 ++-- .../ResourceBooking/AbstractPrincipalBackend.php | 3 +-- .../ResourceBooking/ResourcePrincipalBackend.php | 4 +--- .../ResourceBooking/RoomPrincipalBackend.php | 4 +--- apps/dav/lib/CalDAV/RetentionService.php | 10 ++++----- apps/dav/lib/CalDAV/Schedule/IMipPlugin.php | 4 +++- apps/dav/lib/CalDAV/Schedule/Plugin.php | 3 +-- apps/dav/lib/CalDAV/Search/SearchPlugin.php | 3 +-- .../lib/CalDAV/Search/Xml/Filter/CompFilter.php | 3 +-- .../lib/CalDAV/Search/Xml/Filter/LimitFilter.php | 3 +-- .../lib/CalDAV/Search/Xml/Filter/OffsetFilter.php | 3 +-- .../lib/CalDAV/Search/Xml/Filter/ParamFilter.php | 3 +-- .../lib/CalDAV/Search/Xml/Filter/PropFilter.php | 3 +-- .../CalDAV/Search/Xml/Filter/SearchTermFilter.php | 3 +-- .../Search/Xml/Request/CalendarSearchReport.php | 3 +-- .../lib/CalDAV/Trashbin/DeletedCalendarObject.php | 10 ++++----- .../Trashbin/DeletedCalendarObjectsCollection.php | 10 ++++----- apps/dav/lib/CalDAV/Trashbin/Plugin.php | 8 +++---- apps/dav/lib/CalDAV/Trashbin/RestoreTarget.php | 10 ++++----- apps/dav/lib/CalDAV/Trashbin/TrashbinHome.php | 10 ++++----- apps/dav/lib/CalDAV/WebcalCaching/Plugin.php | 4 +--- .../CalDAV/WebcalCaching/RefreshWebcalService.php | 3 +-- apps/dav/lib/Capabilities.php | 1 - apps/dav/lib/CardDAV/Activity/Backend.php | 7 ++---- apps/dav/lib/CardDAV/Activity/Filter.php | 3 +-- .../lib/CardDAV/Activity/Provider/Addressbook.php | 4 ++-- apps/dav/lib/CardDAV/Activity/Provider/Base.php | 4 ++-- apps/dav/lib/CardDAV/Activity/Provider/Card.php | 4 ++-- apps/dav/lib/CardDAV/Activity/Setting.php | 4 ++-- apps/dav/lib/CardDAV/AddressBook.php | 1 - apps/dav/lib/CardDAV/AddressBookImpl.php | 4 ++-- apps/dav/lib/CardDAV/AddressBookRoot.php | 2 -- apps/dav/lib/CardDAV/CardDavBackend.php | 4 ++-- apps/dav/lib/CardDAV/ContactsManager.php | 1 - apps/dav/lib/CardDAV/Converter.php | 2 +- apps/dav/lib/CardDAV/HasPhotoPlugin.php | 5 ++--- apps/dav/lib/CardDAV/ImageExportPlugin.php | 1 - .../CardDAV/Integration/ExternalAddressBook.php | 4 ++-- .../CardDAV/Integration/IAddressBookProvider.php | 4 ++-- apps/dav/lib/CardDAV/MultiGetExportPlugin.php | 5 ++--- apps/dav/lib/CardDAV/PhotoCache.php | 7 +++--- apps/dav/lib/CardDAV/Plugin.php | 2 -- apps/dav/lib/CardDAV/SyncService.php | 1 - apps/dav/lib/CardDAV/SystemAddressbook.php | 5 ++--- apps/dav/lib/CardDAV/UserAddressBooks.php | 1 - apps/dav/lib/CardDAV/Xml/Groups.php | 1 - apps/dav/lib/Command/CreateAddressBook.php | 2 -- apps/dav/lib/Command/CreateCalendar.php | 2 -- apps/dav/lib/Command/ListCalendars.php | 4 +--- apps/dav/lib/Command/MoveCalendar.php | 8 +++---- apps/dav/lib/Command/RemoveInvalidShares.php | 1 - apps/dav/lib/Command/RetentionCleanupCommand.php | 10 ++++----- apps/dav/lib/Command/SendEventReminders.php | 4 +--- apps/dav/lib/Command/SyncBirthdayCalendar.php | 2 -- apps/dav/lib/Command/SyncSystemAddressBook.php | 2 -- apps/dav/lib/Comments/CommentNode.php | 1 - apps/dav/lib/Comments/CommentsPlugin.php | 1 - apps/dav/lib/Comments/EntityCollection.php | 1 - apps/dav/lib/Comments/EntityTypeCollection.php | 1 - apps/dav/lib/Comments/RootCollection.php | 1 - apps/dav/lib/Connector/LegacyDAVACL.php | 1 - apps/dav/lib/Connector/PublicAuth.php | 2 -- .../lib/Connector/Sabre/AnonymousOptionsPlugin.php | 3 +-- apps/dav/lib/Connector/Sabre/AppEnabledPlugin.php | 2 -- apps/dav/lib/Connector/Sabre/Auth.php | 2 -- apps/dav/lib/Connector/Sabre/BearerAuth.php | 3 +-- .../Connector/Sabre/BlockLegacyClientPlugin.php | 1 - apps/dav/lib/Connector/Sabre/CachingTree.php | 3 +-- apps/dav/lib/Connector/Sabre/ChecksumList.php | 1 - .../Connector/Sabre/CommentPropertiesPlugin.php | 1 - .../lib/Connector/Sabre/CopyEtagHeaderPlugin.php | 1 - apps/dav/lib/Connector/Sabre/DavAclPlugin.php | 1 - apps/dav/lib/Connector/Sabre/Directory.php | 1 - .../lib/Connector/Sabre/DummyGetResponsePlugin.php | 1 - .../Connector/Sabre/Exception/EntityTooLarge.php | 2 -- .../lib/Connector/Sabre/Exception/FileLocked.php | 1 - .../lib/Connector/Sabre/Exception/Forbidden.php | 1 - .../lib/Connector/Sabre/Exception/InvalidPath.php | 1 - .../Sabre/Exception/PasswordLoginForbidden.php | 1 - .../Sabre/Exception/UnsupportedMediaType.php | 2 -- .../lib/Connector/Sabre/ExceptionLoggerPlugin.php | 1 - apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php | 1 - apps/dav/lib/Connector/Sabre/File.php | 1 - apps/dav/lib/Connector/Sabre/FilesPlugin.php | 1 - apps/dav/lib/Connector/Sabre/FilesReportPlugin.php | 1 - apps/dav/lib/Connector/Sabre/LockPlugin.php | 1 - apps/dav/lib/Connector/Sabre/MaintenancePlugin.php | 2 +- apps/dav/lib/Connector/Sabre/Node.php | 2 -- apps/dav/lib/Connector/Sabre/ObjectTree.php | 1 - apps/dav/lib/Connector/Sabre/Principal.php | 3 ++- .../Connector/Sabre/PropfindCompressionPlugin.php | 3 +-- apps/dav/lib/Connector/Sabre/QuotaPlugin.php | 3 ++- apps/dav/lib/Connector/Sabre/Server.php | 1 - apps/dav/lib/Connector/Sabre/ServerFactory.php | 1 - apps/dav/lib/Connector/Sabre/ShareTypeList.php | 1 - apps/dav/lib/Connector/Sabre/ShareeList.php | 3 +-- apps/dav/lib/Connector/Sabre/SharesPlugin.php | 1 - apps/dav/lib/Connector/Sabre/TagList.php | 2 -- apps/dav/lib/Connector/Sabre/TagsPlugin.php | 3 ++- .../lib/Controller/BirthdayCalendarController.php | 3 +-- apps/dav/lib/Controller/DirectController.php | 3 +-- .../Controller/InvitationResponseController.php | 4 +--- apps/dav/lib/DAV/CustomPropertiesBackend.php | 1 - apps/dav/lib/DAV/GroupPrincipalBackend.php | 4 ++-- apps/dav/lib/DAV/PublicAuth.php | 2 -- apps/dav/lib/DAV/Sharing/Backend.php | 1 - apps/dav/lib/DAV/Sharing/IShareable.php | 1 - apps/dav/lib/DAV/Sharing/Plugin.php | 1 - apps/dav/lib/DAV/Sharing/Xml/Invite.php | 4 ++-- apps/dav/lib/DAV/Sharing/Xml/ShareRequest.php | 2 -- apps/dav/lib/DAV/SystemPrincipalBackend.php | 2 -- apps/dav/lib/Db/Direct.php | 3 +-- apps/dav/lib/Db/DirectMapper.php | 3 +-- apps/dav/lib/Direct/DirectFile.php | 4 ++-- apps/dav/lib/Direct/DirectHome.php | 4 ++-- apps/dav/lib/Direct/Server.php | 3 +-- apps/dav/lib/Direct/ServerFactory.php | 4 ++-- apps/dav/lib/Events/AddressBookCreatedEvent.php | 2 +- apps/dav/lib/Events/AddressBookDeletedEvent.php | 2 +- .../lib/Events/AddressBookShareUpdatedEvent.php | 2 +- apps/dav/lib/Events/AddressBookUpdatedEvent.php | 2 +- .../lib/Events/BeforeFileDirectDownloadedEvent.php | 8 ++++--- .../Events/CachedCalendarObjectCreatedEvent.php | 2 +- .../Events/CachedCalendarObjectDeletedEvent.php | 2 +- .../Events/CachedCalendarObjectUpdatedEvent.php | 2 +- apps/dav/lib/Events/CalendarCreatedEvent.php | 2 +- apps/dav/lib/Events/CalendarDeletedEvent.php | 2 +- apps/dav/lib/Events/CalendarMovedToTrashEvent.php | 8 +++---- apps/dav/lib/Events/CalendarObjectCreatedEvent.php | 2 +- apps/dav/lib/Events/CalendarObjectDeletedEvent.php | 2 +- .../lib/Events/CalendarObjectMovedToTrashEvent.php | 8 +++---- .../dav/lib/Events/CalendarObjectRestoredEvent.php | 8 +++---- apps/dav/lib/Events/CalendarObjectUpdatedEvent.php | 2 +- apps/dav/lib/Events/CalendarPublishedEvent.php | 2 +- apps/dav/lib/Events/CalendarRestoredEvent.php | 8 +++---- apps/dav/lib/Events/CalendarShareUpdatedEvent.php | 2 +- apps/dav/lib/Events/CalendarUnpublishedEvent.php | 2 +- apps/dav/lib/Events/CalendarUpdatedEvent.php | 2 +- apps/dav/lib/Events/CardCreatedEvent.php | 2 +- apps/dav/lib/Events/CardDeletedEvent.php | 2 +- apps/dav/lib/Events/CardUpdatedEvent.php | 2 +- apps/dav/lib/Events/SabrePluginAuthInitEvent.php | 3 +-- apps/dav/lib/Events/SubscriptionCreatedEvent.php | 2 +- apps/dav/lib/Events/SubscriptionDeletedEvent.php | 2 +- apps/dav/lib/Events/SubscriptionUpdatedEvent.php | 2 +- .../UnsupportedLimitOnInitialSyncException.php | 4 +--- apps/dav/lib/Files/BrowserErrorPagePlugin.php | 1 - apps/dav/lib/Files/FileSearchBackend.php | 3 +-- apps/dav/lib/Files/FilesHome.php | 2 -- apps/dav/lib/Files/LazySearchBackend.php | 3 +-- apps/dav/lib/Files/RootCollection.php | 1 - apps/dav/lib/Files/Sharing/FilesDropPlugin.php | 3 +-- .../lib/Files/Sharing/PublicLinkCheckPlugin.php | 1 - apps/dav/lib/HookManager.php | 4 +--- apps/dav/lib/Listener/ActivityUpdaterListener.php | 10 ++++----- apps/dav/lib/Listener/AddressbookListener.php | 7 +++--- .../CalendarContactInteractionListener.php | 10 ++++----- .../CalendarDeletionDefaultUpdaterListener.php | 10 ++++----- .../CalendarObjectReminderUpdaterListener.php | 10 ++++----- apps/dav/lib/Listener/CardListener.php | 7 +++--- .../dav/lib/Migration/BuildCalendarSearchIndex.php | 4 ++-- .../BuildCalendarSearchIndexBackgroundJob.php | 4 +--- apps/dav/lib/Migration/BuildSocialSearchIndex.php | 4 ++-- .../BuildSocialSearchIndexBackgroundJob.php | 3 +-- apps/dav/lib/Migration/CalDAVRemoveEmptyValue.php | 4 ++-- apps/dav/lib/Migration/ChunkCleanup.php | 3 +-- .../lib/Migration/FixBirthdayCalendarComponent.php | 1 - .../lib/Migration/RefreshWebcalJobRegistrar.php | 3 +-- .../lib/Migration/RegenerateBirthdayCalendars.php | 4 +--- .../RegisterBuildReminderIndexBackgroundJob.php | 4 ++-- .../Migration/RemoveClassifiedEventActivity.php | 3 +-- .../Migration/RemoveOrphanEventsAndContacts.php | 3 +-- .../Migration/Version1004Date20170825134824.php | 3 +-- .../Migration/Version1004Date20170919104507.php | 5 ++--- .../Migration/Version1004Date20170924124212.php | 3 +-- .../Migration/Version1004Date20170926103422.php | 6 ++---- .../Migration/Version1005Date20180413093149.php | 4 ++-- .../Migration/Version1005Date20180530124431.php | 3 +-- .../Migration/Version1006Date20180619154313.php | 4 ++-- .../Migration/Version1006Date20180628111625.php | 4 ++-- .../Migration/Version1008Date20181030113700.php | 10 +++++---- .../Migration/Version1008Date20181105104826.php | 9 ++++---- .../Migration/Version1008Date20181105104833.php | 8 +++---- .../Migration/Version1008Date20181105110300.php | 9 ++++---- .../Migration/Version1008Date20181105112049.php | 8 +++---- .../Migration/Version1008Date20181114084440.php | 3 +-- .../Migration/Version1011Date20190725113607.php | 4 ++-- .../Migration/Version1011Date20190806104428.php | 4 ++-- .../Migration/Version1012Date20190808122342.php | 4 ++-- .../Migration/Version1016Date20201109085907.php | 3 +-- .../Migration/Version1017Date20210216083742.php | 3 +-- .../Migration/Version1018Date20210312100735.php | 21 ++++++++++++++++++ .../Provisioning/Apple/AppleProvisioningNode.php | 3 +-- .../Provisioning/Apple/AppleProvisioningPlugin.php | 4 ++-- apps/dav/lib/RootCollection.php | 1 - apps/dav/lib/Search/ACalendarSearchProvider.php | 2 +- apps/dav/lib/Search/ContactsSearchProvider.php | 4 ++-- apps/dav/lib/Search/EventsSearchProvider.php | 4 ++-- apps/dav/lib/Search/TasksSearchProvider.php | 4 ++-- apps/dav/lib/Server.php | 3 +-- apps/dav/lib/Settings/CalDAVSettings.php | 3 +-- apps/dav/lib/Storage/PublicOwnerWrapper.php | 3 +-- apps/dav/lib/SystemTag/SystemTagMappingNode.php | 1 - apps/dav/lib/SystemTag/SystemTagNode.php | 1 - apps/dav/lib/SystemTag/SystemTagPlugin.php | 1 - .../dav/lib/SystemTag/SystemTagsByIdCollection.php | 1 - .../SystemTagsObjectMappingCollection.php | 1 - .../SystemTag/SystemTagsObjectTypeCollection.php | 1 - .../SystemTag/SystemTagsRelationsCollection.php | 1 - apps/dav/lib/Traits/PrincipalProxyTrait.php | 4 +--- apps/dav/lib/Upload/AssemblyStream.php | 1 - apps/dav/lib/Upload/ChunkingPlugin.php | 1 - apps/dav/lib/Upload/CleanupService.php | 3 +-- apps/dav/lib/Upload/FutureFile.php | 2 -- apps/dav/lib/Upload/RootCollection.php | 1 - apps/dav/lib/Upload/UploadFile.php | 3 +-- apps/dav/lib/Upload/UploadFolder.php | 1 - apps/dav/lib/Upload/UploadHome.php | 1 - apps/dav/tests/unit/AppInfo/ApplicationTest.php | 1 - apps/dav/tests/unit/AppInfo/PluginManagerTest.php | 1 - apps/dav/tests/unit/Avatars/AvatarHomeTest.php | 1 - apps/dav/tests/unit/Avatars/AvatarNodeTest.php | 1 - .../CleanupInvitationTokenJobTest.php | 3 +-- .../unit/BackgroundJob/EventReminderJobTest.php | 3 +-- .../GenerateBirthdayCalendarBackgroundJobTest.php | 3 +-- .../unit/BackgroundJob/RefreshWebcalJobTest.php | 3 +-- .../RegisterRegenerateBirthdayCalendarsTest.php | 3 +-- ...dateCalendarResourcesRoomsBackgroundJobTest.php | 3 +-- .../tests/unit/CalDAV/AbstractCalDavBackend.php | 1 - .../dav/tests/unit/CalDAV/Activity/BackendTest.php | 3 +-- .../unit/CalDAV/Activity/Filter/CalendarTest.php | 5 ++--- .../unit/CalDAV/Activity/Filter/GenericTest.php | 3 +-- .../tests/unit/CalDAV/Activity/Filter/TodoTest.php | 3 +-- .../unit/CalDAV/Activity/Provider/BaseTest.php | 5 ++--- .../unit/CalDAV/Activity/Provider/EventTest.php | 3 +-- .../unit/CalDAV/Activity/Setting/GenericTest.php | 3 +-- .../CalDAV/BirthdayCalendar/EnablePluginTest.php | 4 ++-- .../unit/CalDAV/CachedSubscriptionObjectTest.php | 3 +-- .../tests/unit/CalDAV/CachedSubscriptionTest.php | 3 +-- apps/dav/tests/unit/CalDAV/CalDavBackendTest.php | 1 - apps/dav/tests/unit/CalDAV/CalendarHomeTest.php | 1 - apps/dav/tests/unit/CalDAV/CalendarImplTest.php | 3 +-- apps/dav/tests/unit/CalDAV/CalendarManagerTest.php | 3 +-- apps/dav/tests/unit/CalDAV/CalendarTest.php | 1 - .../CalDAV/Integration/ExternalCalendarTest.php | 3 +-- apps/dav/tests/unit/CalDAV/OutboxTest.php | 3 +-- apps/dav/tests/unit/CalDAV/PluginTest.php | 3 +-- .../tests/unit/CalDAV/PublicCalendarRootTest.php | 5 ++--- apps/dav/tests/unit/CalDAV/PublicCalendarTest.php | 3 +-- .../tests/unit/CalDAV/Publishing/PublisherTest.php | 6 ++---- .../unit/CalDAV/Publishing/PublishingTest.php | 5 ++--- .../dav/tests/unit/CalDAV/Reminder/BackendTest.php | 3 +-- .../AbstractNotificationProviderTest.php | 3 +-- .../NotificationProvider/AudioProviderTest.php | 3 +-- .../NotificationProvider/EmailProviderTest.php | 3 +-- .../NotificationProvider/PushProviderTest.php | 3 +-- .../Reminder/NotificationProviderManagerTest.php | 3 +-- .../tests/unit/CalDAV/Reminder/NotifierTest.php | 3 +-- .../unit/CalDAV/Reminder/ReminderServiceTest.php | 3 +-- .../AbstractPrincipalBackendTest.php | 3 +-- .../ResourcePrincipalBackendTest.php | 3 +-- .../ResourceBooking/RoomPrincipalBackendTest.php | 3 +-- .../tests/unit/CalDAV/Schedule/IMipPluginTest.php | 1 - apps/dav/tests/unit/CalDAV/Schedule/PluginTest.php | 3 +-- .../Search/Request/CalendarSearchReportTest.php | 3 +-- .../tests/unit/CalDAV/Search/SearchPluginTest.php | 3 +-- .../tests/unit/CalDAV/WebcalCaching/PluginTest.php | 3 +-- .../WebcalCaching/RefreshWebcalServiceTest.php | 3 +-- apps/dav/tests/unit/CapabilitiesTest.php | 3 +-- .../dav/tests/unit/CardDAV/AddressBookImplTest.php | 4 ++-- apps/dav/tests/unit/CardDAV/AddressBookTest.php | 1 - .../dav/tests/unit/CardDAV/BirthdayServiceTest.php | 1 - apps/dav/tests/unit/CardDAV/CardDavBackendTest.php | 3 +-- .../dav/tests/unit/CardDAV/ContactsManagerTest.php | 1 - apps/dav/tests/unit/CardDAV/ConverterTest.php | 2 +- .../tests/unit/CardDAV/ImageExportPluginTest.php | 1 - apps/dav/tests/unit/CardDAV/Sharing/PluginTest.php | 1 - apps/dav/tests/unit/CardDAV/SyncServiceTest.php | 3 +-- apps/dav/tests/unit/Command/ListCalendarsTest.php | 5 ++--- apps/dav/tests/unit/Command/MoveCalendarTest.php | 5 ++--- .../tests/unit/Command/RemoveInvalidSharesTest.php | 1 - apps/dav/tests/unit/Comments/CommentsNodeTest.php | 1 - .../dav/tests/unit/Comments/CommentsPluginTest.php | 1 - .../tests/unit/Comments/EntityCollectionTest.php | 1 - .../unit/Comments/EntityTypeCollectionTest.php | 1 - .../dav/tests/unit/Comments/RootCollectionTest.php | 1 - apps/dav/tests/unit/Connector/PublicAuthTest.php | 1 - apps/dav/tests/unit/Connector/Sabre/AuthTest.php | 1 - .../tests/unit/Connector/Sabre/BearerAuthTest.php | 3 +-- .../Sabre/BlockLegacyClientPluginTest.php | 1 - .../Sabre/CommentsPropertiesPluginTest.php | 1 - .../Connector/Sabre/CopyEtagHeaderPluginTest.php | 4 +++- .../Sabre/CustomPropertiesBackendTest.php | 3 ++- .../tests/unit/Connector/Sabre/DirectoryTest.php | 1 - .../Connector/Sabre/DummyGetResponsePluginTest.php | 1 - .../Connector/Sabre/Exception/ForbiddenTest.php | 1 - .../Connector/Sabre/Exception/InvalidPathTest.php | 1 - .../Connector/Sabre/ExceptionLoggerPluginTest.php | 1 - .../unit/Connector/Sabre/FakeLockerPluginTest.php | 1 - apps/dav/tests/unit/Connector/Sabre/FileTest.php | 1 - .../tests/unit/Connector/Sabre/FilesPluginTest.php | 3 ++- .../unit/Connector/Sabre/FilesReportPluginTest.php | 1 - .../unit/Connector/Sabre/MaintenancePluginTest.php | 2 +- apps/dav/tests/unit/Connector/Sabre/NodeTest.php | 1 - .../tests/unit/Connector/Sabre/ObjectTreeTest.php | 1 - .../tests/unit/Connector/Sabre/PrincipalTest.php | 1 - .../Sabre/PropfindCompressionPluginTest.php | 3 +-- .../tests/unit/Connector/Sabre/QuotaPluginTest.php | 3 ++- .../unit/Connector/Sabre/RequestTest/Auth.php | 1 - .../Connector/Sabre/RequestTest/DeleteTest.php | 1 - .../Connector/Sabre/RequestTest/DownloadTest.php | 1 - .../RequestTest/EncryptionMasterKeyUploadTest.php | 1 - .../Sabre/RequestTest/EncryptionUploadTest.php | 1 - .../Sabre/RequestTest/ExceptionPlugin.php | 1 - .../Sabre/RequestTest/PartFileInRootUploadTest.php | 1 - .../Sabre/RequestTest/RequestTestCase.php | 1 - .../unit/Connector/Sabre/RequestTest/Sapi.php | 1 - .../Connector/Sabre/RequestTest/UploadTest.php | 1 - .../unit/Connector/Sabre/SharesPluginTest.php | 1 - .../tests/unit/Connector/Sabre/TagsPluginTest.php | 3 ++- .../Controller/BirthdayCalendarControllerTest.php | 4 ++-- .../tests/unit/Controller/DirectControllerTest.php | 3 +-- .../InvitationResponseControllerTest.php | 3 +-- apps/dav/tests/unit/DAV/AnonymousOptionsTest.php | 3 +-- .../tests/unit/DAV/BrowserErrorPagePluginTest.php | 1 - .../tests/unit/DAV/CustomPropertiesBackendTest.php | 3 +-- apps/dav/tests/unit/DAV/GroupPrincipalTest.php | 4 ++-- apps/dav/tests/unit/DAV/HookManagerTest.php | 3 +-- apps/dav/tests/unit/DAV/Sharing/PluginTest.php | 1 - .../tests/unit/DAV/SystemPrincipalBackendTest.php | 1 - apps/dav/tests/unit/Direct/DirectFileTest.php | 4 ++-- apps/dav/tests/unit/Direct/DirectHomeTest.php | 4 ++-- .../dav/tests/unit/Files/FileSearchBackendTest.php | 3 +-- .../unit/Files/Sharing/FilesDropPluginTest.php | 3 +-- .../CalendarContactInteractionListenerTest.php | 10 ++++----- .../unit/Migration/CalDAVRemoveEmptyValueTest.php | 3 +-- .../Migration/RefreshWebcalJobRegistrarTest.php | 4 ++-- .../Migration/RegenerateBirthdayCalendarsTest.php | 4 ++-- .../Apple/AppleProvisioningNodeTest.php | 3 +-- .../Apple/AppleProvisioningPluginTest.php | 3 +-- .../unit/Search/ContactsSearchProviderTest.php | 4 ++-- .../tests/unit/Search/EventsSearchProviderTest.php | 4 ++-- .../tests/unit/Search/TasksSearchProviderTest.php | 4 ++-- apps/dav/tests/unit/ServerTest.php | 1 - .../dav/tests/unit/Settings/CalDAVSettingsTest.php | 3 +-- .../unit/SystemTag/SystemTagMappingNodeTest.php | 1 - .../dav/tests/unit/SystemTag/SystemTagNodeTest.php | 1 - .../tests/unit/SystemTag/SystemTagPluginTest.php | 1 - .../SystemTag/SystemTagsByIdCollectionTest.php | 1 - .../SystemTagsObjectMappingCollectionTest.php | 1 - .../SystemTagsObjectTypeCollectionTest.php | 1 - apps/dav/tests/unit/Upload/AssemblyStreamTest.php | 2 -- apps/dav/tests/unit/Upload/ChunkingPluginTest.php | 1 - apps/dav/tests/unit/Upload/FutureFileTest.php | 1 - apps/encryption/appinfo/app.php | 1 - apps/encryption/appinfo/routes.php | 1 - apps/encryption/lib/AppInfo/Application.php | 2 -- apps/encryption/lib/Command/DisableMasterKey.php | 3 +-- apps/encryption/lib/Command/EnableMasterKey.php | 1 - apps/encryption/lib/Command/RecoverUser.php | 3 +-- apps/encryption/lib/Command/ScanLegacyFormat.php | 3 +-- .../lib/Controller/RecoveryController.php | 2 +- .../lib/Controller/SettingsController.php | 2 +- .../encryption/lib/Controller/StatusController.php | 2 +- apps/encryption/lib/Crypto/Crypt.php | 1 - apps/encryption/lib/Crypto/DecryptAll.php | 1 - apps/encryption/lib/Crypto/EncryptAll.php | 1 - apps/encryption/lib/Crypto/Encryption.php | 3 ++- .../lib/Exceptions/MultiKeyDecryptException.php | 2 -- .../lib/Exceptions/MultiKeyEncryptException.php | 2 -- .../lib/Exceptions/PrivateKeyMissingException.php | 1 - .../lib/Exceptions/PublicKeyMissingException.php | 2 -- apps/encryption/lib/HookManager.php | 1 - apps/encryption/lib/Hooks/Contracts/IHook.php | 1 - apps/encryption/lib/Hooks/UserHooks.php | 1 - apps/encryption/lib/KeyManager.php | 1 - .../lib/Migration/SetMasterKeyStatus.php | 3 +-- apps/encryption/lib/Recovery.php | 1 - apps/encryption/lib/Session.php | 1 - apps/encryption/lib/Settings/Admin.php | 3 +-- apps/encryption/lib/Settings/Personal.php | 3 +-- apps/encryption/lib/Users/Setup.php | 1 - apps/encryption/lib/Util.php | 2 +- .../tests/Command/TestEnableMasterKey.php | 1 - .../tests/Controller/RecoveryControllerTest.php | 1 - .../tests/Controller/SettingsControllerTest.php | 1 - .../tests/Controller/StatusControllerTest.php | 1 - apps/encryption/tests/Crypto/CryptTest.php | 1 - apps/encryption/tests/Crypto/DecryptAllTest.php | 1 - apps/encryption/tests/Crypto/EncryptAllTest.php | 1 - apps/encryption/tests/Crypto/EncryptionTest.php | 1 - apps/encryption/tests/HookManagerTest.php | 1 - apps/encryption/tests/Hooks/UserHooksTest.php | 1 - apps/encryption/tests/KeyManagerTest.php | 1 - apps/encryption/tests/RecoveryTest.php | 1 - apps/encryption/tests/SessionTest.php | 1 - apps/encryption/tests/Settings/AdminTest.php | 3 +-- apps/encryption/tests/Users/SetupTest.php | 1 - apps/encryption/tests/UtilTest.php | 1 - apps/federatedfilesharing/appinfo/routes.php | 3 +-- apps/federatedfilesharing/lib/AddressHandler.php | 1 - .../lib/AppInfo/Application.php | 3 +-- .../lib/BackgroundJob/RetryJob.php | 1 - .../lib/Controller/MountPublicLinkController.php | 2 +- .../lib/Controller/RequestHandlerController.php | 2 +- .../lib/Events/FederatedShareAddedEvent.php | 3 +-- .../lib/FederatedShareProvider.php | 3 ++- .../Listeners/LoadAdditionalScriptsListener.php | 3 +-- .../Migration/Version1010Date20200630191755.php | 3 ++- .../Migration/Version1011Date20201120125158.php | 9 ++++---- apps/federatedfilesharing/lib/Notifications.php | 2 +- apps/federatedfilesharing/lib/Notifier.php | 2 +- .../lib/OCM/CloudFederationProviderFiles.php | 3 +-- apps/federatedfilesharing/lib/Settings/Admin.php | 3 +-- .../federatedfilesharing/lib/Settings/Personal.php | 3 +-- .../lib/Settings/PersonalSection.php | 3 +-- apps/federatedfilesharing/lib/TokenHandler.php | 1 - .../tests/AddressHandlerTest.php | 1 - .../Controller/MountPublicLinkControllerTest.php | 1 - .../Controller/RequestHandlerControllerTest.php | 1 - .../tests/FederatedShareProviderTest.php | 3 ++- .../tests/NotificationsTest.php | 2 +- .../tests/Settings/AdminTest.php | 3 +-- apps/federatedfilesharing/tests/TestCase.php | 1 - .../tests/TokenHandlerTest.php | 1 - apps/federation/appinfo/routes.php | 1 - apps/federation/lib/AppInfo/Application.php | 1 - .../lib/BackgroundJob/GetSharedSecret.php | 1 - .../lib/BackgroundJob/RequestSharedSecret.php | 1 - .../lib/Command/SyncFederationAddressBooks.php | 2 -- .../lib/Controller/OCSAuthAPIController.php | 1 - .../lib/Controller/SettingsController.php | 1 - apps/federation/lib/DAV/FedAuth.php | 2 -- apps/federation/lib/DbHandler.php | 2 +- .../lib/Listener/SabrePluginAuthInitListener.php | 3 +-- .../lib/Middleware/AddServerMiddleware.php | 1 - .../Migration/Version1010Date20200630191302.php | 4 ++-- apps/federation/lib/Settings/Admin.php | 3 +-- apps/federation/lib/SyncFederationAddressBooks.php | 2 -- apps/federation/lib/SyncJob.php | 1 - apps/federation/lib/TrustedServers.php | 1 - .../tests/BackgroundJob/GetSharedSecretTest.php | 1 - .../BackgroundJob/RequestSharedSecretTest.php | 1 - .../tests/Controller/OCSAuthAPIControllerTest.php | 1 - .../tests/Controller/SettingsControllerTest.php | 1 - apps/federation/tests/DAV/FedAuthTest.php | 1 - apps/federation/tests/DbHandlerTest.php | 1 - .../tests/Middleware/AddServerMiddlewareTest.php | 1 - apps/federation/tests/Settings/AdminTest.php | 3 +-- .../tests/SyncFederationAddressbooksTest.php | 1 - apps/federation/tests/TrustedServersTest.php | 1 - apps/files/ajax/download.php | 3 +-- apps/files/ajax/list.php | 1 - apps/files/appinfo/routes.php | 3 ++- apps/files/lib/Activity/FavoriteProvider.php | 3 +-- apps/files/lib/Activity/Filter/Favorites.php | 3 +-- apps/files/lib/Activity/Filter/FileChanges.php | 5 ++--- apps/files/lib/Activity/Helper.php | 1 - apps/files/lib/Activity/Provider.php | 4 ++-- .../files/lib/Activity/Settings/FavoriteAction.php | 3 +-- .../lib/Activity/Settings/FileActivitySettings.php | 3 +-- apps/files/lib/Activity/Settings/FileChanged.php | 3 +-- .../lib/Activity/Settings/FileFavoriteChanged.php | 3 +-- apps/files/lib/App.php | 1 - apps/files/lib/AppInfo/Application.php | 3 +-- .../BackgroundJob/CleanupDirectEditingTokens.php | 4 ++-- apps/files/lib/BackgroundJob/CleanupFileLocks.php | 1 - .../lib/BackgroundJob/DeleteOrphanedItems.php | 1 - apps/files/lib/BackgroundJob/ScanFiles.php | 1 - apps/files/lib/BackgroundJob/TransferOwnership.php | 3 +-- apps/files/lib/Capabilities.php | 1 - .../files/lib/Collaboration/Resources/Listener.php | 3 +-- .../Collaboration/Resources/ResourceProvider.php | 3 +-- apps/files/lib/Command/DeleteOrphanedFiles.php | 1 - apps/files/lib/Command/RepairTree.php | 8 ++++--- apps/files/lib/Command/Scan.php | 2 -- apps/files/lib/Command/ScanAppData.php | 5 ++--- apps/files/lib/Command/TransferOwnership.php | 1 - apps/files/lib/Controller/AjaxController.php | 3 +-- apps/files/lib/Controller/ApiController.php | 4 ++-- .../lib/Controller/DirectEditingController.php | 3 +-- .../lib/Controller/DirectEditingViewController.php | 3 +-- apps/files/lib/Controller/TemplateController.php | 7 +++--- .../lib/Controller/TransferOwnershipController.php | 3 +-- apps/files/lib/Controller/ViewController.php | 5 +++-- apps/files/lib/Db/TransferOwnership.php | 3 +-- apps/files/lib/Db/TransferOwnershipMapper.php | 3 +-- .../files/lib/Event/LoadAdditionalScriptsEvent.php | 4 ++-- apps/files/lib/Event/LoadSidebar.php | 5 ++--- .../lib/Exception/TransferOwnershipException.php | 3 +-- apps/files/lib/Helper.php | 3 +-- .../LegacyLoadAdditionalScriptsAdapter.php | 3 +-- apps/files/lib/Listener/LoadSidebarListener.php | 5 ++--- .../Migration/Version11301Date20191205150729.php | 3 +-- apps/files/lib/Notification/Notifier.php | 3 +-- apps/files/lib/Search/FilesSearchProvider.php | 6 +++--- apps/files/lib/Service/DirectEditingService.php | 3 +-- .../files/lib/Service/OwnershipTransferService.php | 3 +-- apps/files/lib/Service/TagService.php | 2 -- apps/files/lib/Settings/PersonalSettings.php | 3 +-- apps/files/list.php | 6 +++--- apps/files/recentlist.php | 7 +++--- apps/files/simplelist.php | 5 ++--- apps/files/tests/Activity/Filter/GenericTest.php | 3 +-- apps/files/tests/Activity/ProviderTest.php | 3 +-- apps/files/tests/Activity/Setting/GenericTest.php | 3 +-- .../BackgroundJob/DeleteOrphanedItemsJobTest.php | 1 - apps/files/tests/BackgroundJob/ScanFilesTest.php | 1 - .../tests/Command/DeleteOrphanedFilesTest.php | 1 - apps/files/tests/Controller/ApiControllerTest.php | 2 +- apps/files/tests/Controller/ViewControllerTest.php | 4 ++-- apps/files/tests/HelperTest.php | 6 ------ apps/files/tests/Service/TagServiceTest.php | 1 - apps/files_external/appinfo/app.php | 2 +- apps/files_external/appinfo/routes.php | 4 ---- apps/files_external/lib/AppInfo/Application.php | 1 - .../lib/BackgroundJob/CredentialsCleanup.php | 3 +-- apps/files_external/lib/Command/Applicable.php | 1 - apps/files_external/lib/Command/Backends.php | 1 - apps/files_external/lib/Command/Config.php | 1 - apps/files_external/lib/Command/Create.php | 1 - apps/files_external/lib/Command/Delete.php | 1 - apps/files_external/lib/Command/Export.php | 1 - apps/files_external/lib/Command/Import.php | 1 - apps/files_external/lib/Command/ListCommand.php | 1 - apps/files_external/lib/Command/Notify.php | 3 +-- apps/files_external/lib/Command/Option.php | 1 - apps/files_external/lib/Command/Verify.php | 1 - apps/files_external/lib/Config/ConfigAdapter.php | 2 +- .../lib/Config/ExternalMountPoint.php | 4 ++-- apps/files_external/lib/Config/IConfigHandler.php | 3 +-- .../lib/Config/SimpleSubstitutionTrait.php | 3 +-- apps/files_external/lib/Config/UserContext.php | 3 +-- .../lib/Config/UserPlaceholderHandler.php | 3 +-- .../lib/Controller/AjaxController.php | 1 - .../lib/Controller/ApiController.php | 1 - .../lib/Controller/GlobalStoragesController.php | 3 +-- .../lib/Controller/StoragesController.php | 1 - .../Controller/UserGlobalStoragesController.php | 3 +-- .../lib/Controller/UserStoragesController.php | 2 +- .../lib/Lib/Auth/AmazonS3/AccessKey.php | 1 - apps/files_external/lib/Lib/Auth/AuthMechanism.php | 1 - apps/files_external/lib/Lib/Auth/Builtin.php | 1 - apps/files_external/lib/Lib/Auth/IUserProvided.php | 1 - apps/files_external/lib/Lib/Auth/InvalidAuth.php | 1 - apps/files_external/lib/Lib/Auth/NullMechanism.php | 1 - apps/files_external/lib/Lib/Auth/OAuth1/OAuth1.php | 1 - apps/files_external/lib/Lib/Auth/OAuth2/OAuth2.php | 1 - .../lib/Lib/Auth/OpenStack/OpenStackV2.php | 1 - .../lib/Lib/Auth/OpenStack/OpenStackV3.php | 3 +-- .../lib/Lib/Auth/OpenStack/Rackspace.php | 1 - .../lib/Lib/Auth/Password/GlobalAuth.php | 1 - .../lib/Lib/Auth/Password/LoginCredentials.php | 3 ++- .../lib/Lib/Auth/Password/Password.php | 1 - .../lib/Lib/Auth/Password/SessionCredentials.php | 1 - .../lib/Lib/Auth/Password/UserGlobalAuth.php | 3 +-- .../lib/Lib/Auth/Password/UserProvided.php | 1 - apps/files_external/lib/Lib/Auth/PublicKey/RSA.php | 1 - .../lib/Lib/Auth/PublicKey/RSAPrivateKey.php | 3 +-- .../lib/Lib/Auth/SMB/KerberosAuth.php | 3 +-- apps/files_external/lib/Lib/Backend/AmazonS3.php | 1 - apps/files_external/lib/Lib/Backend/Backend.php | 1 - apps/files_external/lib/Lib/Backend/DAV.php | 1 - apps/files_external/lib/Lib/Backend/FTP.php | 1 - .../lib/Lib/Backend/InvalidBackend.php | 1 - .../lib/Lib/Backend/LegacyBackend.php | 1 - apps/files_external/lib/Lib/Backend/Local.php | 1 - apps/files_external/lib/Lib/Backend/OwnCloud.php | 1 - apps/files_external/lib/Lib/Backend/SFTP.php | 1 - apps/files_external/lib/Lib/Backend/SFTP_Key.php | 1 - apps/files_external/lib/Lib/Backend/SMB.php | 2 +- apps/files_external/lib/Lib/Backend/SMB_OC.php | 2 +- apps/files_external/lib/Lib/Backend/Swift.php | 1 - .../lib/Lib/Config/IAuthMechanismProvider.php | 1 - .../lib/Lib/Config/IBackendProvider.php | 1 - .../files_external/lib/Lib/DefinitionParameter.php | 1 - apps/files_external/lib/Lib/DependencyTrait.php | 1 - .../lib/Lib/FrontendDefinitionTrait.php | 1 - apps/files_external/lib/Lib/IdentifierTrait.php | 1 - ...nsufficientDataForMeaningfulAnswerException.php | 1 - .../lib/Lib/LegacyDependencyCheckPolyfill.php | 1 - apps/files_external/lib/Lib/MissingDependency.php | 1 - .../lib/Lib/Notify/SMBNotifyHandler.php | 4 ++-- apps/files_external/lib/Lib/PersonalMount.php | 3 +-- apps/files_external/lib/Lib/PriorityTrait.php | 1 - .../lib/Lib/SessionStorageWrapper.php | 1 - apps/files_external/lib/Lib/Storage/AmazonS3.php | 1 - apps/files_external/lib/Lib/Storage/FTP.php | 1 - apps/files_external/lib/Lib/Storage/OwnCloud.php | 1 - apps/files_external/lib/Lib/Storage/SFTP.php | 1 - .../lib/Lib/Storage/SFTPReadStream.php | 3 +-- .../lib/Lib/Storage/SFTPWriteStream.php | 3 +-- apps/files_external/lib/Lib/Storage/SMB.php | 2 +- .../lib/Lib/Storage/StreamWrapper.php | 2 -- apps/files_external/lib/Lib/Storage/Swift.php | 1 - apps/files_external/lib/Lib/StorageConfig.php | 1 - .../lib/Lib/StorageModifierTrait.php | 1 - apps/files_external/lib/Lib/VisibilityTrait.php | 1 - .../lib/Listener/StorePasswordListener.php | 4 ++-- .../lib/Migration/DummyUserSession.php | 1 - .../lib/Migration/StorageMigrator.php | 1 - .../Migration/Version1011Date20200630192246.php | 4 ++-- .../Migration/Version22000Date20210216084416.php | 3 +-- apps/files_external/lib/MountConfig.php | 1 - apps/files_external/lib/NotFoundException.php | 1 - apps/files_external/lib/Service/BackendService.php | 1 - .../files_external/lib/Service/DBConfigService.php | 2 +- .../lib/Service/GlobalStoragesService.php | 2 +- .../lib/Service/ImportLegacyStoragesService.php | 1 - .../lib/Service/LegacyStoragesService.php | 2 +- .../files_external/lib/Service/StoragesService.php | 2 +- .../lib/Service/UserGlobalStoragesService.php | 1 - .../lib/Service/UserLegacyStoragesService.php | 1 - .../lib/Service/UserStoragesService.php | 2 +- apps/files_external/lib/Service/UserTrait.php | 1 - apps/files_external/lib/Settings/Admin.php | 3 +-- apps/files_external/lib/Settings/Personal.php | 3 +-- .../lib/Settings/PersonalSection.php | 3 +-- apps/files_external/lib/Settings/Section.php | 4 ++-- apps/files_external/list.php | 3 ++- .../tests/Auth/AuthMechanismTest.php | 1 - .../tests/Auth/Password/GlobalAuth.php | 1 - apps/files_external/tests/Backend/BackendTest.php | 1 - .../tests/Backend/LegacyBackendTest.php | 1 - .../tests/Command/ApplicableTest.php | 1 - apps/files_external/tests/Command/CommandTest.php | 1 - .../tests/Command/ListCommandTest.php | 1 - .../tests/Config/UserPlaceholderHandlerTest.php | 3 +-- .../tests/Controller/AjaxControllerTest.php | 3 +-- .../Controller/GlobalStoragesControllerTest.php | 1 - .../tests/Controller/StoragesControllerTest.php | 1 - .../Controller/UserStoragesControllerTest.php | 1 - .../tests/DefinitionParameterTest.php | 1 - .../tests/FrontendDefinitionTraitTest.php | 1 - .../tests/LegacyDependencyCheckPolyfillTest.php | 1 - .../files_external/tests/OwnCloudFunctionsTest.php | 2 -- apps/files_external/tests/PersonalMountTest.php | 2 +- .../tests/Service/BackendServiceTest.php | 1 - .../tests/Service/DBConfigServiceTest.php | 1 - .../tests/Service/GlobalStoragesServiceTest.php | 1 - .../tests/Service/StoragesServiceTest.php | 1 - .../Service/UserGlobalStoragesServiceTest.php | 1 - .../tests/Service/UserStoragesServiceTest.php | 1 - apps/files_external/tests/Settings/AdminTest.php | 3 +-- apps/files_external/tests/Settings/SectionTest.php | 4 ++-- apps/files_external/tests/Storage/Amazons3Test.php | 2 -- apps/files_external/tests/Storage/FtpTest.php | 1 - apps/files_external/tests/Storage/OwncloudTest.php | 1 - apps/files_external/tests/Storage/SFTP_KeyTest.php | 2 -- apps/files_external/tests/Storage/SftpTest.php | 1 - apps/files_external/tests/Storage/SmbTest.php | 1 - apps/files_external/tests/Storage/SwiftTest.php | 1 - apps/files_external/tests/Storage/WebdavTest.php | 1 - apps/files_external/tests/StorageConfigTest.php | 1 - apps/files_sharing/appinfo/app.php | 3 +-- apps/files_sharing/appinfo/routes.php | 3 +-- apps/files_sharing/lib/Activity/Filter.php | 3 +-- apps/files_sharing/lib/Activity/Providers/Base.php | 3 +-- .../lib/Activity/Providers/Downloads.php | 3 +-- .../lib/Activity/Providers/Groups.php | 5 ++--- .../lib/Activity/Providers/PublicLinks.php | 3 +-- .../lib/Activity/Providers/RemoteShares.php | 3 +-- .../files_sharing/lib/Activity/Providers/Users.php | 5 ++--- .../lib/Activity/Settings/PublicLinks.php | 3 +-- .../lib/Activity/Settings/RemoteShare.php | 3 +-- .../Activity/Settings/ShareActivitySettings.php | 3 +-- .../files_sharing/lib/Activity/Settings/Shared.php | 3 +-- apps/files_sharing/lib/AppInfo/Application.php | 3 +-- .../BackgroundJob/FederatedSharesDiscoverJob.php | 3 +-- apps/files_sharing/lib/Cache.php | 1 - apps/files_sharing/lib/Capabilities.php | 5 +++-- .../lib/Collaboration/ShareRecipientSorter.php | 3 +-- .../lib/Command/CleanupRemoteStorages.php | 3 ++- .../lib/Command/ExiprationNotification.php | 3 +-- .../lib/Controller/AcceptController.php | 3 +-- .../lib/Controller/DeletedShareAPIController.php | 7 +++--- .../lib/Controller/ExternalSharesController.php | 2 -- .../lib/Controller/PublicPreviewController.php | 3 +-- .../lib/Controller/RemoteController.php | 1 - .../lib/Controller/SettingsController.php | 3 +-- .../lib/Controller/ShareAPIController.php | 5 +++-- .../lib/Controller/ShareController.php | 3 +-- .../lib/Controller/ShareInfoController.php | 5 ++--- .../lib/Controller/ShareesAPIController.php | 4 ++-- apps/files_sharing/lib/DeleteOrphanedSharesJob.php | 1 - .../lib/Event/BeforeTemplateRenderedEvent.php | 3 +-- apps/files_sharing/lib/Exceptions/BrokenPath.php | 2 -- apps/files_sharing/lib/Exceptions/S2SException.php | 2 -- .../lib/Exceptions/SharingRightsException.php | 3 +-- apps/files_sharing/lib/ExpireSharesJob.php | 3 +-- apps/files_sharing/lib/External/Cache.php | 2 -- apps/files_sharing/lib/External/Manager.php | 1 - apps/files_sharing/lib/External/Mount.php | 3 +-- apps/files_sharing/lib/External/MountProvider.php | 1 - apps/files_sharing/lib/External/Scanner.php | 2 -- apps/files_sharing/lib/External/Storage.php | 1 - apps/files_sharing/lib/External/Watcher.php | 1 - apps/files_sharing/lib/Helper.php | 1 - apps/files_sharing/lib/Hooks.php | 1 - apps/files_sharing/lib/ISharedStorage.php | 2 -- .../LegacyBeforeTemplateRenderedListener.php | 3 +-- .../lib/Listener/LoadAdditionalListener.php | 5 ++--- .../lib/Listener/LoadSidebarListener.php | 5 ++--- .../lib/Listener/ShareInteractionListener.php | 5 ++--- .../lib/Listener/UserAddedToGroupListener.php | 3 +-- .../lib/Listener/UserShareAcceptanceListener.php | 3 +-- .../lib/Middleware/OCSShareAPIMiddleware.php | 5 ++--- .../lib/Middleware/ShareInfoMiddleware.php | 5 ++--- .../lib/Middleware/SharingCheckMiddleware.php | 2 +- .../lib/Migration/OwncloudGuestShareType.php | 3 +-- .../lib/Migration/SetAcceptedStatus.php | 3 +-- .../lib/Migration/SetPasswordColumn.php | 3 +-- .../Migration/Version11300Date20201120141438.php | 6 +++--- .../Migration/Version21000Date20201223143245.php | 5 ++--- .../Migration/Version22000Date20210216084241.php | 3 +-- apps/files_sharing/lib/MountProvider.php | 1 - apps/files_sharing/lib/Notification/Listener.php | 3 +-- apps/files_sharing/lib/Notification/Notifier.php | 3 +-- apps/files_sharing/lib/Scanner.php | 2 -- apps/files_sharing/lib/Settings/Personal.php | 3 +-- apps/files_sharing/lib/ShareBackend/File.php | 1 - apps/files_sharing/lib/ShareBackend/Folder.php | 1 - apps/files_sharing/lib/SharedMount.php | 1 - apps/files_sharing/lib/SharedStorage.php | 1 - apps/files_sharing/lib/Updater.php | 1 - apps/files_sharing/list.php | 3 ++- apps/files_sharing/public.php | 3 +-- apps/files_sharing/tests/ApiTest.php | 3 +-- apps/files_sharing/tests/CacheTest.php | 1 - apps/files_sharing/tests/CapabilitiesTest.php | 3 ++- .../Collaboration/ShareRecipientSorterTest.php | 3 +-- .../tests/Command/CleanupRemoteStoragesTest.php | 2 +- .../Controller/ExternalShareControllerTest.php | 1 - .../Controller/PublicPreviewControllerTest.php | 3 +-- .../tests/Controller/ShareAPIControllerTest.php | 4 ++-- .../tests/Controller/ShareControllerTest.php | 4 ++-- .../tests/Controller/ShareInfoControllerTest.php | 5 ++--- .../tests/Controller/ShareesAPIControllerTest.php | 3 +-- .../tests/DeleteOrphanedSharesJobTest.php | 2 +- .../tests/EncryptedSizePropagationTest.php | 1 - apps/files_sharing/tests/EtagPropagationTest.php | 1 - apps/files_sharing/tests/ExpireSharesJobTest.php | 2 +- apps/files_sharing/tests/External/CacheTest.php | 1 - apps/files_sharing/tests/External/ManagerTest.php | 1 - apps/files_sharing/tests/External/ScannerTest.php | 1 - apps/files_sharing/tests/ExternalStorageTest.php | 1 - .../tests/GroupEtagPropagationTest.php | 1 - apps/files_sharing/tests/HelperTest.php | 1 - apps/files_sharing/tests/LockingTest.php | 1 - .../tests/Middleware/OCSShareAPIMiddlewareTest.php | 5 ++--- .../tests/Middleware/ShareInfoMiddlewareTest.php | 5 ++--- .../Middleware/SharingCheckMiddlewareTest.php | 1 - .../tests/Migration/SetPasswordColumnTest.php | 1 - apps/files_sharing/tests/MountProviderTest.php | 1 - apps/files_sharing/tests/PropagationTestCase.php | 1 - apps/files_sharing/tests/ShareTest.php | 1 - apps/files_sharing/tests/SharedMountTest.php | 1 - apps/files_sharing/tests/SharedStorageTest.php | 1 - apps/files_sharing/tests/SizePropagationTest.php | 1 - apps/files_sharing/tests/TestCase.php | 3 +-- apps/files_sharing/tests/UnshareChildrenTest.php | 2 -- apps/files_sharing/tests/UpdaterTest.php | 1 - apps/files_sharing/tests/WatcherTest.php | 2 -- apps/files_trashbin/appinfo/routes.php | 1 - apps/files_trashbin/lib/AppInfo/Application.php | 1 - .../lib/BackgroundJob/ExpireTrash.php | 1 - apps/files_trashbin/lib/Capabilities.php | 2 -- apps/files_trashbin/lib/Command/CleanUp.php | 1 - apps/files_trashbin/lib/Command/Expire.php | 1 - apps/files_trashbin/lib/Command/ExpireTrash.php | 1 - apps/files_trashbin/lib/Command/Size.php | 3 +-- .../lib/Controller/PreviewController.php | 3 +-- .../files_trashbin/lib/Events/MoveToTrashEvent.php | 3 +-- .../lib/Exceptions/CopyRecursiveException.php | 2 -- apps/files_trashbin/lib/Expiration.php | 1 - apps/files_trashbin/lib/Helper.php | 1 - apps/files_trashbin/lib/Hooks.php | 6 +----- .../Migration/Version1010Date20200630192639.php | 4 ++-- apps/files_trashbin/lib/Sabre/AbstractTrash.php | 3 +-- .../files_trashbin/lib/Sabre/AbstractTrashFile.php | 3 +-- .../lib/Sabre/AbstractTrashFolder.php | 3 +-- apps/files_trashbin/lib/Sabre/ITrash.php | 3 +-- apps/files_trashbin/lib/Sabre/PropfindPlugin.php | 3 +-- apps/files_trashbin/lib/Sabre/RestoreFolder.php | 3 +-- apps/files_trashbin/lib/Sabre/RootCollection.php | 3 +-- apps/files_trashbin/lib/Sabre/TrashFile.php | 3 +-- apps/files_trashbin/lib/Sabre/TrashFolder.php | 3 +-- apps/files_trashbin/lib/Sabre/TrashFolderFile.php | 3 +-- .../files_trashbin/lib/Sabre/TrashFolderFolder.php | 3 +-- apps/files_trashbin/lib/Sabre/TrashHome.php | 3 +-- apps/files_trashbin/lib/Sabre/TrashRoot.php | 4 ++-- apps/files_trashbin/lib/Storage.php | 1 - .../lib/Trash/BackendNotFoundException.php | 3 +-- apps/files_trashbin/lib/Trash/ITrashBackend.php | 3 +-- apps/files_trashbin/lib/Trash/ITrashItem.php | 3 +-- apps/files_trashbin/lib/Trash/ITrashManager.php | 3 +-- .../lib/Trash/LegacyTrashBackend.php | 3 +-- apps/files_trashbin/lib/Trash/TrashItem.php | 3 +-- apps/files_trashbin/lib/Trash/TrashManager.php | 3 +-- apps/files_trashbin/lib/Trashbin.php | 1 - apps/files_trashbin/list.php | 3 ++- .../tests/BackgroundJob/ExpireTrashTest.php | 1 - apps/files_trashbin/tests/CapabilitiesTest.php | 5 ++--- apps/files_trashbin/tests/Command/CleanUpTest.php | 1 - apps/files_trashbin/tests/Command/ExpireTest.php | 1 - .../tests/Controller/PreviewControllerTest.php | 3 +-- apps/files_trashbin/tests/ExpirationTest.php | 1 - apps/files_trashbin/tests/StorageTest.php | 1 - apps/files_trashbin/tests/TrashbinTest.php | 3 +-- apps/files_versions/appinfo/routes.php | 1 - apps/files_versions/lib/AppInfo/Application.php | 4 ++-- .../lib/BackgroundJob/ExpireVersions.php | 1 - apps/files_versions/lib/Capabilities.php | 2 -- apps/files_versions/lib/Command/CleanUp.php | 1 - apps/files_versions/lib/Command/Expire.php | 1 - apps/files_versions/lib/Command/ExpireVersions.php | 1 - .../lib/Controller/PreviewController.php | 3 +-- .../lib/Events/CreateVersionEvent.php | 3 +-- apps/files_versions/lib/Expiration.php | 1 - apps/files_versions/lib/Hooks.php | 7 +----- .../lib/Listener/LoadAdditionalListener.php | 5 ++--- .../lib/Listener/LoadSidebarListener.php | 5 ++--- apps/files_versions/lib/Sabre/Plugin.php | 3 +-- apps/files_versions/lib/Sabre/RestoreFolder.php | 3 +-- apps/files_versions/lib/Sabre/RootCollection.php | 3 +-- .../files_versions/lib/Sabre/VersionCollection.php | 3 +-- apps/files_versions/lib/Sabre/VersionFile.php | 3 +-- apps/files_versions/lib/Sabre/VersionHome.php | 3 +-- apps/files_versions/lib/Sabre/VersionRoot.php | 3 +-- apps/files_versions/lib/Storage.php | 7 ------ .../lib/Versions/BackendNotFoundException.php | 3 +-- apps/files_versions/lib/Versions/IVersion.php | 3 +-- .../lib/Versions/IVersionBackend.php | 3 +-- .../lib/Versions/IVersionManager.php | 3 +-- .../lib/Versions/LegacyVersionsBackend.php | 3 +-- apps/files_versions/lib/Versions/Version.php | 3 +-- .../files_versions/lib/Versions/VersionManager.php | 3 +-- apps/files_versions/tests/Command/CleanupTest.php | 1 - apps/files_versions/tests/Command/ExpireTest.php | 1 - .../tests/Controller/PreviewControllerTest.php | 3 +-- apps/files_versions/tests/ExpirationTest.php | 1 - apps/files_versions/tests/VersioningTest.php | 1 - .../tests/Versions/VersionManagerTest.php | 3 +-- .../lib/AppInfo/Application.php | 3 +-- .../lib/BackgroundJobs/RetryJob.php | 4 ++-- .../lib/UpdateLookupServer.php | 3 +-- apps/oauth2/appinfo/routes.php | 3 +-- .../lib/Controller/LoginRedirectorController.php | 3 +-- apps/oauth2/lib/Controller/OauthApiController.php | 3 +-- apps/oauth2/lib/Controller/SettingsController.php | 3 +-- apps/oauth2/lib/Db/AccessToken.php | 3 +-- apps/oauth2/lib/Db/AccessTokenMapper.php | 4 ++-- apps/oauth2/lib/Db/Client.php | 3 +-- apps/oauth2/lib/Db/ClientMapper.php | 3 +-- .../Exceptions/AccessTokenNotFoundException.php | 3 +-- .../lib/Exceptions/ClientNotFoundException.php | 3 +-- apps/oauth2/lib/Migration/SetTokenExpiration.php | 3 +-- .../Migration/Version010401Date20181207190718.php | 3 +-- .../Migration/Version010402Date20190107124745.php | 3 +-- apps/oauth2/lib/Settings/Admin.php | 3 +-- .../Controller/LoginRedirectorControllerTest.php | 3 +-- .../tests/Controller/OauthApiControllerTest.php | 3 +-- .../tests/Controller/SettingsControllerTest.php | 3 +-- apps/oauth2/tests/Db/AccessTokenMapperTest.php | 3 +-- apps/oauth2/tests/Db/ClientMapperTest.php | 3 +-- apps/oauth2/tests/Settings/AdminTest.php | 3 +-- apps/provisioning_api/appinfo/routes.php | 3 +-- apps/provisioning_api/lib/AppInfo/Application.php | 8 +++---- apps/provisioning_api/lib/Capabilities.php | 3 +-- apps/provisioning_api/lib/Controller/AUserData.php | 6 +++--- .../lib/Controller/AppConfigController.php | 3 +-- .../lib/Controller/AppsController.php | 2 -- .../lib/Controller/GroupsController.php | 4 +--- .../lib/Controller/UsersController.php | 4 ++-- .../lib/FederatedShareProviderFactory.php | 7 +++--- .../lib/Listener/UserDeletedListener.php | 8 ++++--- .../Middleware/Exceptions/NotSubAdminException.php | 5 ++--- .../lib/Middleware/ProvisioningApiMiddleware.php | 6 +++--- apps/provisioning_api/tests/CapabilitiesTest.php | 3 +-- .../tests/Controller/AppConfigControllerTest.php | 3 +-- .../tests/Controller/AppsControllerTest.php | 1 - .../tests/Controller/GroupsControllerTest.php | 3 +-- .../tests/Controller/UsersControllerTest.php | 4 ++-- .../Middleware/ProvisioningApiMiddlewareTest.php | 4 ++-- apps/provisioning_api/tests/TestCase.php | 2 -- apps/settings/appinfo/routes.php | 2 -- apps/settings/lib/Activity/GroupProvider.php | 3 +-- apps/settings/lib/Activity/GroupSetting.php | 3 +-- apps/settings/lib/Activity/Provider.php | 3 +-- apps/settings/lib/Activity/SecurityFilter.php | 5 ++--- apps/settings/lib/Activity/SecurityProvider.php | 3 +-- apps/settings/lib/Activity/SecuritySetting.php | 3 +-- apps/settings/lib/Activity/Setting.php | 3 +-- apps/settings/lib/AppInfo/Application.php | 2 -- .../settings/lib/BackgroundJobs/VerifyUserData.php | 3 +-- .../lib/Controller/AdminSettingsController.php | 3 +-- .../lib/Controller/AppSettingsController.php | 3 +-- .../lib/Controller/AuthSettingsController.php | 1 - .../lib/Controller/ChangePasswordController.php | 5 ++--- .../lib/Controller/CheckSetupController.php | 3 ++- .../lib/Controller/CommonSettingsTrait.php | 3 +-- apps/settings/lib/Controller/HelpController.php | 9 ++++---- .../lib/Controller/LogSettingsController.php | 2 -- .../lib/Controller/MailSettingsController.php | 1 - .../lib/Controller/PersonalSettingsController.php | 3 +-- apps/settings/lib/Controller/ReasonsController.php | 3 +-- .../lib/Controller/TwoFactorSettingsController.php | 3 +-- apps/settings/lib/Controller/UsersController.php | 6 +++--- .../settings/lib/Controller/WebAuthnController.php | 3 +-- .../lib/Events/BeforeTemplateRenderedEvent.php | 3 +-- apps/settings/lib/Hooks.php | 3 +-- .../AppPasswordCreatedActivityListener.php | 10 ++++----- .../Listener/UserAddedToGroupActivityListener.php | 3 +-- .../UserRemovedFromGroupActivityListener.php | 3 +-- apps/settings/lib/Mailer/NewUserMailHelper.php | 3 +-- .../settings/lib/Middleware/SubadminMiddleware.php | 1 - apps/settings/lib/Search/AppSearch.php | 3 +-- apps/settings/lib/Search/SectionSearch.php | 5 ++--- apps/settings/lib/Sections/Admin/Additional.php | 3 +-- apps/settings/lib/Sections/Admin/Groupware.php | 3 +-- apps/settings/lib/Sections/Admin/Overview.php | 3 +-- apps/settings/lib/Sections/Admin/Security.php | 3 +-- apps/settings/lib/Sections/Admin/Server.php | 3 +-- apps/settings/lib/Sections/Admin/Sharing.php | 3 +-- .../lib/Sections/Personal/PersonalInfo.php | 3 +-- apps/settings/lib/Sections/Personal/Security.php | 3 +-- .../settings/lib/Sections/Personal/SyncClients.php | 3 +-- apps/settings/lib/Settings/Admin/Mail.php | 3 +-- apps/settings/lib/Settings/Admin/Overview.php | 3 +-- apps/settings/lib/Settings/Admin/Security.php | 3 +-- apps/settings/lib/Settings/Admin/Server.php | 3 +-- apps/settings/lib/Settings/Admin/Sharing.php | 6 ++++-- apps/settings/lib/Settings/Personal/Additional.php | 3 +-- .../lib/Settings/Personal/PersonalInfo.php | 5 ++--- .../lib/Settings/Personal/Security/Authtokens.php | 3 +-- .../lib/Settings/Personal/Security/Password.php | 3 +-- .../lib/Settings/Personal/Security/TwoFactor.php | 4 ++-- .../lib/Settings/Personal/Security/WebAuthn.php | 3 +-- .../lib/Settings/Personal/ServerDevNotice.php | 3 +-- .../lib/SetupChecks/CheckUserCertificates.php | 3 +-- .../lib/SetupChecks/LegacySSEKeyFormat.php | 3 +-- .../settings/lib/SetupChecks/PhpDefaultCharset.php | 3 +-- .../lib/SetupChecks/PhpOutputBuffering.php | 3 +-- .../settings/lib/SetupChecks/SupportedDatabase.php | 5 +++-- .../settings/tests/Activity/SecurityFilterTest.php | 5 ++--- .../tests/Activity/SecurityProviderTest.php | 3 +-- .../tests/Activity/SecuritySettingTest.php | 3 +-- apps/settings/tests/AppInfo/ApplicationTest.php | 3 +-- .../Controller/AdminSettingsControllerTest.php | 3 +-- .../tests/Controller/AppSettingsControllerTest.php | 3 +-- .../Controller/AuthSettingsControllerTest.php | 1 - .../tests/Controller/CheckSetupControllerTest.php | 2 +- .../Controller/MailSettingsControllerTest.php | 3 +-- .../Controller/TwoFactorSettingsControllerTest.php | 3 +-- .../tests/Controller/UsersControllerTest.php | 7 +++--- .../tests/Mailer/NewUserMailHelperTest.php | 3 +-- .../tests/Middleware/SubadminMiddlewareTest.php | 3 +-- apps/settings/tests/Settings/Admin/MailTest.php | 3 +-- .../settings/tests/Settings/Admin/SecurityTest.php | 3 +-- apps/settings/tests/Settings/Admin/ServerTest.php | 3 +-- apps/settings/tests/Settings/Admin/SharingTest.php | 7 +++--- .../Settings/Personal/Security/AuthtokensTest.php | 3 +-- .../Settings/Personal/Security/PasswordTest.php | 3 +-- .../tests/SetupChecks/PhpDefaultCharsetTest.php | 3 +-- .../tests/SetupChecks/PhpOutputBufferingTest.php | 3 +-- .../tests/SetupChecks/SupportedDatabaseTest.php | 3 +-- apps/sharebymail/lib/Activity.php | 3 +-- apps/sharebymail/lib/AppInfo/Application.php | 3 +-- apps/sharebymail/lib/Capabilities.php | 4 ++-- apps/sharebymail/lib/Settings/Admin.php | 4 ++-- apps/sharebymail/lib/Settings/SettingsManager.php | 6 ++++-- apps/sharebymail/lib/ShareByMailProvider.php | 7 ++++-- apps/sharebymail/tests/CapabilitiesTest.php | 6 +++--- apps/sharebymail/tests/ShareByMailProviderTest.php | 5 +++-- apps/systemtags/appinfo/routes.php | 3 +-- apps/systemtags/lib/Activity/Listener.php | 1 - apps/systemtags/lib/Activity/Provider.php | 3 +-- apps/systemtags/lib/Activity/Setting.php | 3 +-- apps/systemtags/lib/AppInfo/Application.php | 3 +-- .../lib/Controller/LastUsedController.php | 3 +-- apps/systemtags/lib/Settings/Admin.php | 3 +-- apps/systemtags/list.php | 1 - apps/systemtags/tests/Activity/SettingTest.php | 5 ++--- apps/systemtags/tests/Settings/AdminTest.php | 3 +-- apps/testing/appinfo/routes.php | 1 - apps/testing/clean_opcode_cache.php | 3 +-- apps/testing/lib/AlternativeHomeUserBackend.php | 1 - apps/testing/lib/AppInfo/Application.php | 1 - apps/testing/lib/Controller/ConfigController.php | 1 - apps/testing/lib/Controller/LockingController.php | 1 - .../lib/Controller/RateLimitTestController.php | 3 +-- apps/testing/lib/Locking/FakeDBLockingProvider.php | 1 - apps/theming/appinfo/routes.php | 3 +-- apps/theming/lib/AppInfo/Application.php | 3 +-- apps/theming/lib/Capabilities.php | 3 +-- apps/theming/lib/Command/UpdateConfig.php | 3 +-- apps/theming/lib/Controller/IconController.php | 3 +-- apps/theming/lib/Controller/ThemingController.php | 3 +-- apps/theming/lib/IconBuilder.php | 4 ++-- apps/theming/lib/ImageManager.php | 6 +++--- .../Listener/BeforeTemplateRenderedListener.php | 3 +-- apps/theming/lib/Service/JSDataService.php | 3 +-- apps/theming/lib/Settings/Admin.php | 3 +-- apps/theming/lib/Settings/Section.php | 3 +-- apps/theming/lib/ThemingDefaults.php | 5 ++--- apps/theming/lib/Util.php | 3 +-- apps/theming/tests/CapabilitiesTest.php | 3 +-- .../tests/Controller/IconControllerTest.php | 3 +-- .../tests/Controller/ThemingControllerTest.php | 5 ++--- apps/theming/tests/IconBuilderTest.php | 3 +-- apps/theming/tests/ImageManagerTest.php | 3 +-- apps/theming/tests/ServicesTest.php | 3 +-- apps/theming/tests/Settings/AdminTest.php | 3 +-- apps/theming/tests/Settings/SectionTest.php | 3 +-- apps/theming/tests/ThemingDefaultsTest.php | 5 ++--- apps/theming/tests/UtilTest.php | 3 +-- apps/twofactor_backupcodes/appinfo/routes.php | 4 +++- .../lib/Activity/Provider.php | 4 ++-- .../lib/AppInfo/Application.php | 3 +-- .../lib/BackgroundJob/CheckBackupCodes.php | 3 +-- .../lib/BackgroundJob/RememberBackupCodesJob.php | 3 +-- .../lib/Controller/SettingsController.php | 6 ++++-- apps/twofactor_backupcodes/lib/Db/BackupCode.php | 5 +++-- .../lib/Db/BackupCodeMapper.php | 6 ++++-- .../lib/Event/CodesGenerated.php | 5 +++-- .../lib/Listener/ActivityPublisher.php | 5 +++-- .../lib/Listener/ClearNotifications.php | 3 +-- .../lib/Listener/ProviderDisabled.php | 3 +-- .../lib/Listener/ProviderEnabled.php | 3 +-- .../lib/Listener/RegistryUpdater.php | 5 +++-- .../lib/Listener/UserDeleted.php | 3 +-- .../lib/Migration/CheckBackupCodes.php | 3 +-- .../Migration/Version1002Date20170607104347.php | 3 +-- .../Migration/Version1002Date20170607113030.php | 3 +-- .../Migration/Version1002Date20170919123342.php | 3 +-- .../Migration/Version1002Date20170926101419.php | 4 +++- .../Migration/Version1002Date20180821043638.php | 5 +++-- .../lib/Notifications/Notifier.php | 3 +-- .../lib/Provider/BackupCodesProvider.php | 5 +++-- .../lib/Service/BackupCodeStorage.php | 6 ++++-- .../lib/Settings/Personal.php | 5 +++-- .../tests/Db/BackupCodeMapperTest.php | 5 +++-- .../tests/Service/BackupCodeStorageTest.php | 5 +++-- .../tests/Unit/Activity/ProviderTest.php | 3 +-- .../Unit/BackgroundJob/CheckBackupCodeTest.php | 3 +-- .../BackgroundJob/RememberBackupCodesJobTest.php | 3 +-- .../Unit/Controller/SettingsControllerTest.php | 5 +++-- .../tests/Unit/Event/CodesGeneratedTest.php | 5 +++-- .../tests/Unit/Listener/ActivityPublisherTest.php | 6 ++++-- .../tests/Unit/Listener/ClearNotificationsTest.php | 3 +-- .../tests/Unit/Listener/ProviderDisabledTest.php | 3 +-- .../tests/Unit/Listener/ProviderEnabledTest.php | 3 +-- .../tests/Unit/Listener/RegistryUpdaterTest.php | 5 +++-- .../tests/Unit/Migration/CheckBackupCodeTest.php | 5 +++-- .../tests/Unit/Notification/NotifierTest.php | 3 +-- .../Unit/Provider/BackupCodesProviderTest.php | 5 +++-- .../tests/Unit/Service/BackupCodeStorageTest.php | 5 +++-- apps/updatenotification/appinfo/routes.php | 1 - .../updatenotification/lib/AppInfo/Application.php | 4 ++-- apps/updatenotification/lib/Command/Check.php | 4 ++-- .../lib/Controller/APIController.php | 3 +-- .../lib/Controller/AdminController.php | 2 +- .../lib/Notification/BackgroundJob.php | 1 - .../lib/Notification/Notifier.php | 1 - .../lib/ResetTokenBackgroundJob.php | 1 - apps/updatenotification/lib/Settings/Admin.php | 2 +- apps/updatenotification/lib/UpdateChecker.php | 1 - .../tests/Controller/AdminControllerTest.php | 1 - .../tests/Notification/BackgroundJobTest.php | 1 - .../tests/Notification/NotifierTest.php | 1 - .../tests/ResetTokenBackgroundJobTest.php | 1 - .../tests/Settings/AdminTest.php | 2 +- .../updatenotification/tests/UpdateCheckerTest.php | 1 - apps/user_ldap/ajax/clearMappings.php | 2 -- apps/user_ldap/ajax/deleteConfiguration.php | 2 -- apps/user_ldap/ajax/getConfiguration.php | 2 -- apps/user_ldap/ajax/getNewServerConfigPrefix.php | 1 - apps/user_ldap/ajax/setConfiguration.php | 2 -- apps/user_ldap/ajax/testConfiguration.php | 2 -- apps/user_ldap/ajax/wizard.php | 2 -- apps/user_ldap/appinfo/routes.php | 3 --- apps/user_ldap/lib/Access.php | 1 - apps/user_ldap/lib/AccessFactory.php | 3 +-- apps/user_ldap/lib/AppInfo/Application.php | 4 ++-- apps/user_ldap/lib/BackendUtility.php | 1 - apps/user_ldap/lib/Command/CheckUser.php | 1 - apps/user_ldap/lib/Command/CreateEmptyConfig.php | 2 -- apps/user_ldap/lib/Command/DeleteConfig.php | 2 -- apps/user_ldap/lib/Command/ResetUser.php | 5 ++--- apps/user_ldap/lib/Command/Search.php | 1 - apps/user_ldap/lib/Command/SetConfig.php | 2 -- apps/user_ldap/lib/Command/ShowConfig.php | 4 +--- apps/user_ldap/lib/Command/ShowRemnants.php | 1 - apps/user_ldap/lib/Command/TestConfig.php | 2 -- apps/user_ldap/lib/Configuration.php | 1 - apps/user_ldap/lib/Connection.php | 1 - apps/user_ldap/lib/ConnectionFactory.php | 3 +-- .../lib/Controller/ConfigAPIController.php | 3 +-- .../lib/Controller/RenewPasswordController.php | 3 +-- .../lib/Events/GroupBackendRegistered.php | 3 +-- .../user_ldap/lib/Events/UserBackendRegistered.php | 3 +-- apps/user_ldap/lib/Exceptions/AttributeNotSet.php | 3 +-- .../Exceptions/ConstraintViolationException.php | 3 +-- apps/user_ldap/lib/Exceptions/NoMoreResults.php | 5 ++--- apps/user_ldap/lib/Exceptions/NotOnLDAP.php | 3 +-- apps/user_ldap/lib/FilesystemHelper.php | 1 - apps/user_ldap/lib/GroupPluginManager.php | 3 +-- apps/user_ldap/lib/Group_LDAP.php | 1 - apps/user_ldap/lib/Group_Proxy.php | 2 +- .../lib/Handler/ExtStorageConfigHandler.php | 3 +-- apps/user_ldap/lib/Helper.php | 1 - apps/user_ldap/lib/IGroupLDAP.php | 3 +-- apps/user_ldap/lib/ILDAPGroupPlugin.php | 3 +-- apps/user_ldap/lib/ILDAPUserPlugin.php | 3 +-- apps/user_ldap/lib/ILDAPWrapper.php | 1 - apps/user_ldap/lib/IUserLDAP.php | 3 +-- apps/user_ldap/lib/Jobs/CleanUp.php | 1 - apps/user_ldap/lib/Jobs/Sync.php | 3 +-- apps/user_ldap/lib/Jobs/UpdateGroups.php | 1 - apps/user_ldap/lib/LDAP.php | 1 - apps/user_ldap/lib/LDAPProvider.php | 4 ++-- apps/user_ldap/lib/LDAPProviderFactory.php | 5 ++--- apps/user_ldap/lib/LDAPUtility.php | 1 - apps/user_ldap/lib/LogWrapper.php | 1 - apps/user_ldap/lib/Mapping/AbstractMapping.php | 3 +-- apps/user_ldap/lib/Mapping/GroupMapping.php | 2 -- apps/user_ldap/lib/Mapping/UserMapping.php | 2 -- apps/user_ldap/lib/Migration/RemoveRefreshTime.php | 3 +-- .../user_ldap/lib/Migration/SetDefaultProvider.php | 3 +-- apps/user_ldap/lib/Migration/UUIDFix.php | 3 +-- apps/user_ldap/lib/Migration/UUIDFixGroup.php | 3 +-- apps/user_ldap/lib/Migration/UUIDFixInsert.php | 3 +-- apps/user_ldap/lib/Migration/UUIDFixUser.php | 3 +-- .../Migration/Version1010Date20200630192842.php | 4 ++-- apps/user_ldap/lib/Notification/Notifier.php | 3 +-- apps/user_ldap/lib/PagedResults/IAdapter.php | 3 +-- apps/user_ldap/lib/PagedResults/Php73.php | 3 +-- apps/user_ldap/lib/PagedResults/TLinkId.php | 3 +-- apps/user_ldap/lib/Proxy.php | 1 - apps/user_ldap/lib/Settings/Admin.php | 3 +-- apps/user_ldap/lib/Settings/Section.php | 4 ++-- apps/user_ldap/lib/User/DeletedUsersIndex.php | 2 -- apps/user_ldap/lib/User/Manager.php | 1 - apps/user_ldap/lib/User/OfflineUser.php | 2 +- apps/user_ldap/lib/User/User.php | 1 - apps/user_ldap/lib/UserPluginManager.php | 4 ++-- apps/user_ldap/lib/User_LDAP.php | 1 - apps/user_ldap/lib/User_Proxy.php | 1 - apps/user_ldap/lib/Wizard.php | 1 - apps/user_ldap/lib/WizardResult.php | 2 -- apps/user_ldap/tests/AccessTest.php | 2 -- apps/user_ldap/tests/ConfigurationTest.php | 1 - apps/user_ldap/tests/ConnectionTest.php | 1 - apps/user_ldap/tests/GroupLDAPPluginTest.php | 3 +-- apps/user_ldap/tests/Group_LDAPTest.php | 1 - apps/user_ldap/tests/HelperTest.php | 5 ++--- .../tests/Integration/AbstractIntegrationTest.php | 1 - apps/user_ldap/tests/Integration/Bootstrap.php | 3 +-- .../Integration/ExceptionOnLostConnection.php | 1 - .../Lib/IntegrationTestAttributeDetection.php | 3 +-- .../Lib/IntegrationTestCountUsersByLoginName.php | 1 - .../Lib/IntegrationTestFetchUsersByLoginName.php | 1 - .../Integration/Lib/IntegrationTestPaging.php | 1 - .../Lib/User/IntegrationTestUserAvatar.php | 1 - .../Lib/User/IntegrationTestUserCleanUp.php | 1 - .../Lib/User/IntegrationTestUserDisplayName.php | 1 - apps/user_ldap/tests/Jobs/CleanUpTest.php | 2 -- apps/user_ldap/tests/Jobs/SyncTest.php | 3 +-- apps/user_ldap/tests/Jobs/UpdateGroupsTest.php | 4 ++-- apps/user_ldap/tests/LDAPGroupPluginDummy.php | 3 +-- apps/user_ldap/tests/LDAPProviderTest.php | 3 +-- apps/user_ldap/tests/LDAPTest.php | 3 +-- apps/user_ldap/tests/LDAPUserPluginDummy.php | 3 +-- .../tests/Mapping/AbstractMappingTest.php | 2 -- apps/user_ldap/tests/Mapping/GroupMappingTest.php | 2 -- apps/user_ldap/tests/Mapping/UserMappingTest.php | 2 -- .../tests/Migration/AbstractUUIDFixTest.php | 3 +-- .../user_ldap/tests/Migration/UUIDFixGroupTest.php | 3 +-- .../tests/Migration/UUIDFixInsertTest.php | 3 +-- apps/user_ldap/tests/Migration/UUIDFixUserTest.php | 3 +-- apps/user_ldap/tests/Settings/AdminTest.php | 3 +-- apps/user_ldap/tests/Settings/SectionTest.php | 4 ++-- .../user_ldap/tests/User/DeletedUsersIndexTest.php | 3 +-- apps/user_ldap/tests/User/ManagerTest.php | 1 - apps/user_ldap/tests/User/OfflineUserTest.php | 3 +-- apps/user_ldap/tests/User/UserTest.php | 1 - apps/user_ldap/tests/UserLDAPPluginTest.php | 3 +-- apps/user_ldap/tests/User_LDAPTest.php | 1 - apps/user_ldap/tests/User_ProxyTest.php | 3 +-- apps/user_ldap/tests/WizardTest.php | 1 - apps/user_status/appinfo/routes.php | 14 ++++++------ apps/user_status/lib/AppInfo/Application.php | 14 ++++++------ .../ClearOldStatusesBackgroundJob.php | 14 ++++++------ apps/user_status/lib/Capabilities.php | 13 +++++------ apps/user_status/lib/Connector/UserStatus.php | 13 +++++------ .../lib/Connector/UserStatusProvider.php | 13 +++++------ .../lib/Controller/HeartbeatController.php | 14 ++++++------ .../lib/Controller/PredefinedStatusController.php | 14 ++++++------ .../lib/Controller/StatusesController.php | 15 +++++++------ .../lib/Controller/UserStatusController.php | 15 +++++++------ .../user_status/lib/Dashboard/UserStatusWidget.php | 13 +++++------ apps/user_status/lib/Db/UserStatus.php | 14 ++++++------ apps/user_status/lib/Db/UserStatusMapper.php | 14 ++++++------ .../lib/Exception/InvalidClearAtException.php | 14 ++++++------ .../lib/Exception/InvalidMessageIdException.php | 14 ++++++------ .../lib/Exception/InvalidStatusIconException.php | 14 ++++++------ .../lib/Exception/InvalidStatusTypeException.php | 14 ++++++------ .../Exception/StatusMessageTooLongException.php | 14 ++++++------ .../Listener/BeforeTemplateRenderedListener.php | 15 +++++++------ .../lib/Listener/UserDeletedListener.php | 14 ++++++------ .../lib/Listener/UserLiveStatusListener.php | 14 ++++++------ .../Migration/Version0001Date20200602134824.php | 16 ++++++++------ .../Migration/Version0002Date20200902144824.php | 14 ++++++------ .../Migration/Version1000Date20201111130204.php | 3 +-- apps/user_status/lib/Service/EmojiService.php | 15 +++++++------ apps/user_status/lib/Service/JSDataService.php | 14 ++++++------ .../lib/Service/PredefinedStatusService.php | 14 ++++++------ apps/user_status/lib/Service/StatusService.php | 15 +++++++------ .../ClearOldStatusesBackgroundJobTest.php | 15 +++++++------ apps/user_status/tests/Unit/CapabilitiesTest.php | 14 ++++++------ .../Unit/Connector/UserStatusProviderTest.php | 14 ++++++------ .../tests/Unit/Connector/UserStatusTest.php | 14 ++++++------ .../Controller/PredefinedStatusControllerTest.php | 14 ++++++------ .../Unit/Controller/StatusesControllerTest.php | 14 ++++++------ .../Unit/Controller/UserStatusControllerTest.php | 15 +++++++------ .../tests/Unit/Dashboard/UserStatusWidgetTest.php | 15 +++++++------ .../tests/Unit/Db/UserStatusMapperTest.php | 15 +++++++------ .../Unit/Listener/UserDeletedListenerTest.php | 14 ++++++------ .../Unit/Listener/UserLiveStatusListenerTest.php | 15 +++++++------ .../tests/Unit/Service/EmojiServiceTest.php | 14 ++++++------ .../Unit/Service/PredefinedStatusServiceTest.php | 15 +++++++------ .../tests/Unit/Service/StatusServiceTest.php | 15 +++++++------ apps/user_status/tests/bootstrap.php | 14 ++++++------ apps/weather_status/appinfo/routes.php | 14 ++++++------ apps/weather_status/lib/AppInfo/Application.php | 14 ++++++------ apps/weather_status/lib/Capabilities.php | 13 +++++------ .../lib/Controller/WeatherStatusController.php | 13 +++++------ .../lib/Service/WeatherStatusService.php | 15 +++++++------ apps/workflowengine/appinfo/routes.php | 10 ++++++--- apps/workflowengine/lib/AppInfo/Application.php | 11 +++++++--- apps/workflowengine/lib/BackgroundJobs/Rotate.php | 4 ++-- .../lib/Check/AbstractStringCheck.php | 9 +++++--- apps/workflowengine/lib/Check/FileMimeType.php | 11 +++++++--- apps/workflowengine/lib/Check/FileName.php | 10 ++++++--- apps/workflowengine/lib/Check/FileSize.php | 9 +++++--- apps/workflowengine/lib/Check/FileSystemTags.php | 10 ++++++--- .../lib/Check/RequestRemoteAddress.php | 11 +++++++--- apps/workflowengine/lib/Check/RequestTime.php | 10 ++++++--- apps/workflowengine/lib/Check/RequestURL.php | 8 ++++--- apps/workflowengine/lib/Check/RequestUserAgent.php | 9 +++++--- apps/workflowengine/lib/Check/TFileCheck.php | 7 +++--- .../lib/Check/UserGroupMembership.php | 9 +++++--- apps/workflowengine/lib/Command/Index.php | 7 +++--- .../lib/Controller/AWorkflowController.php | 8 ++++--- .../lib/Controller/GlobalWorkflowsController.php | 7 +++--- apps/workflowengine/lib/Controller/RequestTime.php | 8 ++++--- .../lib/Controller/UserWorkflowsController.php | 8 ++++--- apps/workflowengine/lib/Entity/File.php | 7 +++--- apps/workflowengine/lib/Helper/LogContext.php | 8 ++++--- apps/workflowengine/lib/Helper/ScopeContext.php | 7 +++--- .../LoadAdditionalSettingsScriptsListener.php | 9 ++++---- apps/workflowengine/lib/Manager.php | 14 +++++++++--- .../PopulateNewlyIntroducedDatabaseFields.php | 7 +++--- .../Migration/Version2000Date20190808074233.php | 25 ++++++++++++++++++++++ apps/workflowengine/lib/Service/Logger.php | 8 ++++--- apps/workflowengine/lib/Service/RuleMatcher.php | 10 ++++++--- apps/workflowengine/lib/Settings/ASettings.php | 11 +++++++--- apps/workflowengine/lib/Settings/Admin.php | 7 +++--- apps/workflowengine/lib/Settings/Personal.php | 10 ++++++--- apps/workflowengine/lib/Settings/Section.php | 10 +++++---- .../tests/Check/AbstractStringCheckTest.php | 9 +++++--- .../tests/Check/RequestRemoteAddressTest.php | 9 +++++--- .../workflowengine/tests/Check/RequestTimeTest.php | 9 +++++--- .../tests/Check/RequestUserAgentTest.php | 10 ++++++--- apps/workflowengine/tests/ManagerTest.php | 11 +++++++--- 1415 files changed, 1897 insertions(+), 2814 deletions(-) (limited to 'apps') diff --git a/apps/accessibility/appinfo/routes.php b/apps/accessibility/appinfo/routes.php index 02bf52eac7e..1774566809b 100644 --- a/apps/accessibility/appinfo/routes.php +++ b/apps/accessibility/appinfo/routes.php @@ -4,7 +4,7 @@ * * @author Alexey Pyltsyn * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * * @license GNU AGPL version 3 or any later version @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - return [ 'routes' => [ ['name' => 'accessibility#getCss', 'url' => '/css/user-{md5}', 'verb' => 'GET'], diff --git a/apps/accessibility/lib/AccessibilityProvider.php b/apps/accessibility/lib/AccessibilityProvider.php index 09182eba626..417cf7d039c 100644 --- a/apps/accessibility/lib/AccessibilityProvider.php +++ b/apps/accessibility/lib/AccessibilityProvider.php @@ -8,7 +8,7 @@ * @author Jan-Christoph Borchardt * @author Janis Köhr * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -19,14 +19,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Accessibility; use OCP\IL10N; diff --git a/apps/accessibility/lib/AppInfo/Application.php b/apps/accessibility/lib/AppInfo/Application.php index 9b3d2ae7a32..8093869357b 100644 --- a/apps/accessibility/lib/AppInfo/Application.php +++ b/apps/accessibility/lib/AppInfo/Application.php @@ -7,7 +7,7 @@ declare(strict_types=1); * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Roeland Jago Douma * @@ -20,14 +20,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Accessibility\AppInfo; use OCA\Accessibility\Service\JSDataService; diff --git a/apps/accessibility/lib/Controller/AccessibilityController.php b/apps/accessibility/lib/Controller/AccessibilityController.php index 2e33c7b5884..7a5a82085dc 100644 --- a/apps/accessibility/lib/Controller/AccessibilityController.php +++ b/apps/accessibility/lib/Controller/AccessibilityController.php @@ -9,7 +9,7 @@ declare(strict_types=1); * @author Christoph Wurst * @author Janis Köhr * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Roeland Jago Douma * @author Thomas Citharel @@ -23,14 +23,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Accessibility\Controller; use OC\Template\IconsCacher; diff --git a/apps/accessibility/lib/Controller/ConfigController.php b/apps/accessibility/lib/Controller/ConfigController.php index b918b33f31b..592c2268eb8 100644 --- a/apps/accessibility/lib/Controller/ConfigController.php +++ b/apps/accessibility/lib/Controller/ConfigController.php @@ -9,7 +9,7 @@ declare(strict_types=1); * @author Christoph Wurst * @author Daniel Kesselberg * @author Janis Köhr - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -21,14 +21,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Accessibility\Controller; use OCA\Accessibility\AccessibilityProvider; diff --git a/apps/accessibility/lib/Migration/RepairUserConfig.php b/apps/accessibility/lib/Migration/RepairUserConfig.php index 2b4bbc1ed19..45a2ca3c095 100644 --- a/apps/accessibility/lib/Migration/RepairUserConfig.php +++ b/apps/accessibility/lib/Migration/RepairUserConfig.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Accessibility\Migration; use OCA\Accessibility\AppInfo\Application; diff --git a/apps/accessibility/lib/Service/JSDataService.php b/apps/accessibility/lib/Service/JSDataService.php index 3b23748757a..d6062af0a5f 100644 --- a/apps/accessibility/lib/Service/JSDataService.php +++ b/apps/accessibility/lib/Service/JSDataService.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Accessibility\Service; use OCA\Accessibility\AppInfo\Application; diff --git a/apps/accessibility/lib/Settings/Personal.php b/apps/accessibility/lib/Settings/Personal.php index 64cfe451494..68d0adbdb96 100644 --- a/apps/accessibility/lib/Settings/Personal.php +++ b/apps/accessibility/lib/Settings/Personal.php @@ -4,7 +4,8 @@ * @copyright Copyright (c) 2019 Janis Köhr * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -15,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Accessibility\Settings; use OCA\Accessibility\AccessibilityProvider; diff --git a/apps/accessibility/lib/Settings/PersonalSection.php b/apps/accessibility/lib/Settings/PersonalSection.php index c10544a42f4..7d8e233b5bb 100644 --- a/apps/accessibility/lib/Settings/PersonalSection.php +++ b/apps/accessibility/lib/Settings/PersonalSection.php @@ -3,7 +3,7 @@ * @copyright Copyright (c) 2018 John Molakvoæ * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Accessibility\Settings; use OCP\IL10N; diff --git a/apps/admin_audit/lib/Actions/Action.php b/apps/admin_audit/lib/Actions/Action.php index 42540c30473..17be0fb8197 100644 --- a/apps/admin_audit/lib/Actions/Action.php +++ b/apps/admin_audit/lib/Actions/Action.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\AdminAudit\Actions; use Psr\Log\LoggerInterface; diff --git a/apps/admin_audit/lib/Actions/AppManagement.php b/apps/admin_audit/lib/Actions/AppManagement.php index d4340a1c7bd..d6bc7d2c61f 100644 --- a/apps/admin_audit/lib/Actions/AppManagement.php +++ b/apps/admin_audit/lib/Actions/AppManagement.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\AdminAudit\Actions; class AppManagement extends Action { diff --git a/apps/admin_audit/lib/Actions/Auth.php b/apps/admin_audit/lib/Actions/Auth.php index 9e0ed67474f..27722d4a41c 100644 --- a/apps/admin_audit/lib/Actions/Auth.php +++ b/apps/admin_audit/lib/Actions/Auth.php @@ -7,6 +7,7 @@ declare(strict_types=1); * * @author Joas Schilling * @author Lukas Reschke + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -17,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\AdminAudit\Actions; /** diff --git a/apps/admin_audit/lib/Actions/Console.php b/apps/admin_audit/lib/Actions/Console.php index ad8b8e2d0b7..a69d1f5ff82 100644 --- a/apps/admin_audit/lib/Actions/Console.php +++ b/apps/admin_audit/lib/Actions/Console.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\AdminAudit\Actions; class Console extends Action { diff --git a/apps/admin_audit/lib/Actions/Files.php b/apps/admin_audit/lib/Actions/Files.php index 79ac57927b1..b02f9a4f02b 100644 --- a/apps/admin_audit/lib/Actions/Files.php +++ b/apps/admin_audit/lib/Actions/Files.php @@ -7,6 +7,7 @@ declare(strict_types=1); * * @author Joas Schilling * @author Lukas Reschke + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -17,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\AdminAudit\Actions; /** diff --git a/apps/admin_audit/lib/Actions/GroupManagement.php b/apps/admin_audit/lib/Actions/GroupManagement.php index b73b8182f76..e79b86bb88b 100644 --- a/apps/admin_audit/lib/Actions/GroupManagement.php +++ b/apps/admin_audit/lib/Actions/GroupManagement.php @@ -8,6 +8,7 @@ declare(strict_types=1); * @author Bjoern Schiessle * @author Joas Schilling * @author Lukas Reschke + * @author Roeland Jago Douma * @author Roger Szabo * * @license GNU AGPL version 3 or any later version @@ -19,14 +20,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\AdminAudit\Actions; use OCP\IGroup; diff --git a/apps/admin_audit/lib/Actions/Security.php b/apps/admin_audit/lib/Actions/Security.php index efb0819e7cf..e4831ac6fc1 100644 --- a/apps/admin_audit/lib/Actions/Security.php +++ b/apps/admin_audit/lib/Actions/Security.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\AdminAudit\Actions; use OCP\IUser; diff --git a/apps/admin_audit/lib/Actions/Sharing.php b/apps/admin_audit/lib/Actions/Sharing.php index ad233047677..98fbbf7fbd9 100644 --- a/apps/admin_audit/lib/Actions/Sharing.php +++ b/apps/admin_audit/lib/Actions/Sharing.php @@ -9,6 +9,7 @@ declare(strict_types=1); * @author Joas Schilling * @author Julius Härtl * @author Lukas Reschke + * @author Roeland Jago Douma * @author Sascha Wiswedel * * @license GNU AGPL version 3 or any later version @@ -20,14 +21,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\AdminAudit\Actions; use OCP\Share\IShare; diff --git a/apps/admin_audit/lib/Actions/Trashbin.php b/apps/admin_audit/lib/Actions/Trashbin.php index d21eeb0ca32..ab2863399e5 100644 --- a/apps/admin_audit/lib/Actions/Trashbin.php +++ b/apps/admin_audit/lib/Actions/Trashbin.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\AdminAudit\Actions; class Trashbin extends Action { diff --git a/apps/admin_audit/lib/Actions/UserManagement.php b/apps/admin_audit/lib/Actions/UserManagement.php index febadffef3f..02d5b60d2fa 100644 --- a/apps/admin_audit/lib/Actions/UserManagement.php +++ b/apps/admin_audit/lib/Actions/UserManagement.php @@ -9,8 +9,9 @@ declare(strict_types=1); * @author Bjoern Schiessle * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Lukas Reschke + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -21,14 +22,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\AdminAudit\Actions; use OCP\IUser; diff --git a/apps/admin_audit/lib/Actions/Versions.php b/apps/admin_audit/lib/Actions/Versions.php index 6b4badf81b0..acd3b0e77e7 100644 --- a/apps/admin_audit/lib/Actions/Versions.php +++ b/apps/admin_audit/lib/Actions/Versions.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\AdminAudit\Actions; class Versions extends Action { diff --git a/apps/admin_audit/lib/AppInfo/Application.php b/apps/admin_audit/lib/AppInfo/Application.php index 4ee49e7129b..7b5fb520bc9 100644 --- a/apps/admin_audit/lib/AppInfo/Application.php +++ b/apps/admin_audit/lib/AppInfo/Application.php @@ -24,14 +24,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\AdminAudit\AppInfo; use Closure; diff --git a/apps/admin_audit/lib/BackgroundJobs/Rotate.php b/apps/admin_audit/lib/BackgroundJobs/Rotate.php index e0edbc6f4b1..27d5109fd3f 100644 --- a/apps/admin_audit/lib/BackgroundJobs/Rotate.php +++ b/apps/admin_audit/lib/BackgroundJobs/Rotate.php @@ -7,6 +7,7 @@ declare(strict_types=1); * * @author Arthur Schiwon * @author Christoph Wurst + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -17,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\AdminAudit\BackgroundJobs; use OC\BackgroundJob\TimedJob; diff --git a/apps/admin_audit/lib/Listener/CriticalActionPerformedEventListener.php b/apps/admin_audit/lib/Listener/CriticalActionPerformedEventListener.php index 75f7d86d421..3f91c0c2731 100644 --- a/apps/admin_audit/lib/Listener/CriticalActionPerformedEventListener.php +++ b/apps/admin_audit/lib/Listener/CriticalActionPerformedEventListener.php @@ -1,9 +1,12 @@ * + * @author Joas Schilling + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -13,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\AdminAudit\Listener; use OCA\AdminAudit\Actions\Action; diff --git a/apps/admin_audit/tests/Actions/SecurityTest.php b/apps/admin_audit/tests/Actions/SecurityTest.php index fab598615b3..aa9d9713768 100644 --- a/apps/admin_audit/tests/Actions/SecurityTest.php +++ b/apps/admin_audit/tests/Actions/SecurityTest.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\AdminAudit\Tests\Actions; use OCA\AdminAudit\Actions\Security; diff --git a/apps/cloud_federation_api/appinfo/routes.php b/apps/cloud_federation_api/appinfo/routes.php index cedcacb5bf6..d70b06f821c 100644 --- a/apps/cloud_federation_api/appinfo/routes.php +++ b/apps/cloud_federation_api/appinfo/routes.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - return [ 'routes' => [ [ diff --git a/apps/cloud_federation_api/lib/AppInfo/Application.php b/apps/cloud_federation_api/lib/AppInfo/Application.php index 83bf310f993..509e8322ba5 100644 --- a/apps/cloud_federation_api/lib/AppInfo/Application.php +++ b/apps/cloud_federation_api/lib/AppInfo/Application.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\CloudFederationAPI\AppInfo; use OCA\CloudFederationAPI\Capabilities; diff --git a/apps/cloud_federation_api/lib/Capabilities.php b/apps/cloud_federation_api/lib/Capabilities.php index cd1ce5dd359..6164c0e0dba 100644 --- a/apps/cloud_federation_api/lib/Capabilities.php +++ b/apps/cloud_federation_api/lib/Capabilities.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\CloudFederationAPI; use OCP\Capabilities\ICapability; diff --git a/apps/cloud_federation_api/lib/Config.php b/apps/cloud_federation_api/lib/Config.php index a55dfabb527..8611b7cef9c 100644 --- a/apps/cloud_federation_api/lib/Config.php +++ b/apps/cloud_federation_api/lib/Config.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\CloudFederationAPI; use OCP\Federation\ICloudFederationProviderManager; diff --git a/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php b/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php index cc2364ed645..02105fb3f9c 100644 --- a/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php +++ b/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\CloudFederationAPI\Controller; use OCA\CloudFederationAPI\Config; diff --git a/apps/comments/appinfo/routes.php b/apps/comments/appinfo/routes.php index e8e537e5b1e..8a7a60c4dcd 100644 --- a/apps/comments/appinfo/routes.php +++ b/apps/comments/appinfo/routes.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - return [ 'routes' => [ ['name' => 'Notifications#view', 'url' => '/notifications/view/{id}', 'verb' => 'GET'], diff --git a/apps/comments/lib/Activity/Filter.php b/apps/comments/lib/Activity/Filter.php index 0ad6d9bf4ac..efd8d5140ae 100644 --- a/apps/comments/lib/Activity/Filter.php +++ b/apps/comments/lib/Activity/Filter.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Comments\Activity; use OCP\Activity\IFilter; diff --git a/apps/comments/lib/Activity/Listener.php b/apps/comments/lib/Activity/Listener.php index 4b676b5cbb1..94d10bb4c23 100644 --- a/apps/comments/lib/Activity/Listener.php +++ b/apps/comments/lib/Activity/Listener.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Comments\Activity; use OCP\Activity\IManager; diff --git a/apps/comments/lib/Activity/Provider.php b/apps/comments/lib/Activity/Provider.php index fca3b9e75d5..e42e119c617 100644 --- a/apps/comments/lib/Activity/Provider.php +++ b/apps/comments/lib/Activity/Provider.php @@ -4,6 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling + * @author Morris Jobke * * @license GNU AGPL version 3 or any later version * @@ -14,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Comments\Activity; use OCP\Activity\IEvent; diff --git a/apps/comments/lib/Activity/Setting.php b/apps/comments/lib/Activity/Setting.php index fefee1ca876..c0d91c244a6 100644 --- a/apps/comments/lib/Activity/Setting.php +++ b/apps/comments/lib/Activity/Setting.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Comments\Activity; use OCP\Activity\ISetting; diff --git a/apps/comments/lib/AppInfo/Application.php b/apps/comments/lib/AppInfo/Application.php index af12c7ac093..090d62df639 100644 --- a/apps/comments/lib/AppInfo/Application.php +++ b/apps/comments/lib/AppInfo/Application.php @@ -5,7 +5,7 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Comments\AppInfo; use Closure; diff --git a/apps/comments/lib/Capabilities.php b/apps/comments/lib/Capabilities.php index a1083c7d8f6..ba5d2a2086b 100644 --- a/apps/comments/lib/Capabilities.php +++ b/apps/comments/lib/Capabilities.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Comments; use OCP\Capabilities\ICapability; diff --git a/apps/comments/lib/Collaboration/CommentersSorter.php b/apps/comments/lib/Collaboration/CommentersSorter.php index 9fe0ed74fad..065e932fc9f 100644 --- a/apps/comments/lib/Collaboration/CommentersSorter.php +++ b/apps/comments/lib/Collaboration/CommentersSorter.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Comments\Collaboration; use OCP\Collaboration\AutoComplete\ISorter; diff --git a/apps/comments/lib/Controller/Notifications.php b/apps/comments/lib/Controller/Notifications.php index 388aab26c55..a538eddc023 100644 --- a/apps/comments/lib/Controller/Notifications.php +++ b/apps/comments/lib/Controller/Notifications.php @@ -1,6 +1,6 @@ * * @author Arthur Schiwon * @author Christoph Wurst @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Comments\Controller; use OCP\AppFramework\Controller; diff --git a/apps/comments/lib/EventHandler.php b/apps/comments/lib/EventHandler.php index 20a15a9b026..6027a24b026 100644 --- a/apps/comments/lib/EventHandler.php +++ b/apps/comments/lib/EventHandler.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Comments; use OCA\Comments\Activity\Listener as ActivityListener; diff --git a/apps/comments/lib/Listener/CommentsEntityEventListener.php b/apps/comments/lib/Listener/CommentsEntityEventListener.php index a0d5b175f0a..5675e1904cc 100644 --- a/apps/comments/lib/Listener/CommentsEntityEventListener.php +++ b/apps/comments/lib/Listener/CommentsEntityEventListener.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Comments\Listener; use OCP\Comments\CommentsEntityEvent; diff --git a/apps/comments/lib/Listener/LoadAdditionalScripts.php b/apps/comments/lib/Listener/LoadAdditionalScripts.php index 86ec097325e..e43ca5f2bbe 100644 --- a/apps/comments/lib/Listener/LoadAdditionalScripts.php +++ b/apps/comments/lib/Listener/LoadAdditionalScripts.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2019, Roeland Jago Douma * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Comments\Listener; use OCA\Comments\AppInfo\Application; diff --git a/apps/comments/lib/Listener/LoadSidebarScripts.php b/apps/comments/lib/Listener/LoadSidebarScripts.php index 654482cf57e..842788f1de8 100644 --- a/apps/comments/lib/Listener/LoadSidebarScripts.php +++ b/apps/comments/lib/Listener/LoadSidebarScripts.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2019, Roeland Jago Douma * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Comments\Listener; use OCA\Comments\AppInfo\Application; diff --git a/apps/comments/lib/MaxAutoCompleteResultsInitialState.php b/apps/comments/lib/MaxAutoCompleteResultsInitialState.php index 62a1cb42e24..015eaf19d84 100644 --- a/apps/comments/lib/MaxAutoCompleteResultsInitialState.php +++ b/apps/comments/lib/MaxAutoCompleteResultsInitialState.php @@ -5,6 +5,8 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2021 Roeland Jago Douma * + * @author Arthur Schiwon + * @author Christoph Wurst * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -16,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Comments; use OCP\AppFramework\Services\InitialStateProvider; diff --git a/apps/comments/lib/Notification/Listener.php b/apps/comments/lib/Notification/Listener.php index 9f7062f9467..3f92ac35540 100644 --- a/apps/comments/lib/Notification/Listener.php +++ b/apps/comments/lib/Notification/Listener.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Comments\Notification; use OCP\Comments\CommentsEvent; diff --git a/apps/comments/lib/Notification/Notifier.php b/apps/comments/lib/Notification/Notifier.php index 9dd88f0d888..fa0924f313e 100644 --- a/apps/comments/lib/Notification/Notifier.php +++ b/apps/comments/lib/Notification/Notifier.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Comments\Notification; use OCP\Comments\IComment; diff --git a/apps/comments/lib/Search/CommentsSearchProvider.php b/apps/comments/lib/Search/CommentsSearchProvider.php index 67c297b02ce..796e87ad4bb 100644 --- a/apps/comments/lib/Search/CommentsSearchProvider.php +++ b/apps/comments/lib/Search/CommentsSearchProvider.php @@ -7,7 +7,7 @@ declare(strict_types=1); * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Comments\Search; use OCP\IL10N; diff --git a/apps/comments/lib/Search/LegacyProvider.php b/apps/comments/lib/Search/LegacyProvider.php index d58cc9847cf..cba48678e8b 100644 --- a/apps/comments/lib/Search/LegacyProvider.php +++ b/apps/comments/lib/Search/LegacyProvider.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Comments\Search; use OCP\Comments\IComment; diff --git a/apps/comments/lib/Search/Result.php b/apps/comments/lib/Search/Result.php index e154ca0277d..ec799b7e30a 100644 --- a/apps/comments/lib/Search/Result.php +++ b/apps/comments/lib/Search/Result.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Comments\Search; use OCP\Comments\IComment; diff --git a/apps/comments/tests/Unit/Activity/ListenerTest.php b/apps/comments/tests/Unit/Activity/ListenerTest.php index 558241de7f5..9bd0bcfb60c 100644 --- a/apps/comments/tests/Unit/Activity/ListenerTest.php +++ b/apps/comments/tests/Unit/Activity/ListenerTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Comments\Tests\Unit\Activity; use OCA\Comments\Activity\Listener; diff --git a/apps/comments/tests/Unit/AppInfo/ApplicationTest.php b/apps/comments/tests/Unit/AppInfo/ApplicationTest.php index 0f522e987a2..710a517f035 100644 --- a/apps/comments/tests/Unit/AppInfo/ApplicationTest.php +++ b/apps/comments/tests/Unit/AppInfo/ApplicationTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Comments\Tests\Unit\AppInfo; use OCA\Comments\AppInfo\Application; diff --git a/apps/comments/tests/Unit/Collaboration/CommentersSorterTest.php b/apps/comments/tests/Unit/Collaboration/CommentersSorterTest.php index 61fdbf5d52e..fe833e14a3b 100644 --- a/apps/comments/tests/Unit/Collaboration/CommentersSorterTest.php +++ b/apps/comments/tests/Unit/Collaboration/CommentersSorterTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Comments\Tests\Unit\Collaboration; use OCA\Comments\Collaboration\CommentersSorter; diff --git a/apps/comments/tests/Unit/Controller/NotificationsTest.php b/apps/comments/tests/Unit/Controller/NotificationsTest.php index 99cdd27a1c8..c21101030e8 100644 --- a/apps/comments/tests/Unit/Controller/NotificationsTest.php +++ b/apps/comments/tests/Unit/Controller/NotificationsTest.php @@ -4,7 +4,7 @@ * * @author Arthur Schiwon * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Roeland Jago Douma * @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Comments\Tests\Unit\Controller; use OCA\Comments\Controller\Notifications; diff --git a/apps/comments/tests/Unit/EventHandlerTest.php b/apps/comments/tests/Unit/EventHandlerTest.php index cd8b5e1031c..619cb31a714 100644 --- a/apps/comments/tests/Unit/EventHandlerTest.php +++ b/apps/comments/tests/Unit/EventHandlerTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Comments\Tests\Unit\Notification; use OCA\Comments\Activity\Listener as ActivityListener; diff --git a/apps/comments/tests/Unit/Notification/ListenerTest.php b/apps/comments/tests/Unit/Notification/ListenerTest.php index 71380c06fec..b70c00a22cd 100644 --- a/apps/comments/tests/Unit/Notification/ListenerTest.php +++ b/apps/comments/tests/Unit/Notification/ListenerTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Comments\Tests\Unit\Notification; use OCA\Comments\Notification\Listener; diff --git a/apps/comments/tests/Unit/Notification/NotifierTest.php b/apps/comments/tests/Unit/Notification/NotifierTest.php index 4f400ae7ffe..1c8b644918d 100644 --- a/apps/comments/tests/Unit/Notification/NotifierTest.php +++ b/apps/comments/tests/Unit/Notification/NotifierTest.php @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Comments\Tests\Unit\Notification; use OCA\Comments\Notification\Notifier; diff --git a/apps/contactsinteraction/lib/AddressBook.php b/apps/contactsinteraction/lib/AddressBook.php index 55a275411dd..1a024947362 100644 --- a/apps/contactsinteraction/lib/AddressBook.php +++ b/apps/contactsinteraction/lib/AddressBook.php @@ -5,7 +5,8 @@ declare(strict_types=1); /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst + * @author Georg Ehrke * * @license GNU AGPL version 3 or any later version * @@ -16,13 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\ContactsInteraction; use Exception; diff --git a/apps/contactsinteraction/lib/AddressBookProvider.php b/apps/contactsinteraction/lib/AddressBookProvider.php index 4a4d5235a33..74d472d421b 100644 --- a/apps/contactsinteraction/lib/AddressBookProvider.php +++ b/apps/contactsinteraction/lib/AddressBookProvider.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\ContactsInteraction; use OCA\ContactsInteraction\AppInfo\Application; diff --git a/apps/contactsinteraction/lib/AppInfo/Application.php b/apps/contactsinteraction/lib/AppInfo/Application.php index 8d0e2fd4e71..21260cf18d0 100644 --- a/apps/contactsinteraction/lib/AppInfo/Application.php +++ b/apps/contactsinteraction/lib/AppInfo/Application.php @@ -5,7 +5,8 @@ declare(strict_types=1); /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst + * @author Morris Jobke * * @license GNU AGPL version 3 or any later version * @@ -16,13 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\ContactsInteraction\AppInfo; use OCA\ContactsInteraction\Listeners\ContactInteractionListener; diff --git a/apps/contactsinteraction/lib/BackgroundJob/CleanupJob.php b/apps/contactsinteraction/lib/BackgroundJob/CleanupJob.php index 9e3ab5bf3ca..2a48452d426 100644 --- a/apps/contactsinteraction/lib/BackgroundJob/CleanupJob.php +++ b/apps/contactsinteraction/lib/BackgroundJob/CleanupJob.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\ContactsInteraction\BackgroundJob; use OCA\ContactsInteraction\Db\RecentContactMapper; diff --git a/apps/contactsinteraction/lib/Card.php b/apps/contactsinteraction/lib/Card.php index 4134924c2c3..bf4ca1f394f 100644 --- a/apps/contactsinteraction/lib/Card.php +++ b/apps/contactsinteraction/lib/Card.php @@ -5,7 +5,9 @@ declare(strict_types=1); /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst + * @author Georg Ehrke + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -16,13 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\ContactsInteraction; use OCA\ContactsInteraction\Db\RecentContact; diff --git a/apps/contactsinteraction/lib/Db/CardSearchDao.php b/apps/contactsinteraction/lib/Db/CardSearchDao.php index 8686183d182..4bf9d9367c4 100644 --- a/apps/contactsinteraction/lib/Db/CardSearchDao.php +++ b/apps/contactsinteraction/lib/Db/CardSearchDao.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\ContactsInteraction\Db; use OCP\DB\QueryBuilder\IQueryBuilder; diff --git a/apps/contactsinteraction/lib/Db/RecentContact.php b/apps/contactsinteraction/lib/Db/RecentContact.php index e6c379d0aa1..306792b434e 100644 --- a/apps/contactsinteraction/lib/Db/RecentContact.php +++ b/apps/contactsinteraction/lib/Db/RecentContact.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\ContactsInteraction\Db; use OCP\AppFramework\Db\Entity; diff --git a/apps/contactsinteraction/lib/Db/RecentContactMapper.php b/apps/contactsinteraction/lib/Db/RecentContactMapper.php index 40605d130ff..d606c07152a 100644 --- a/apps/contactsinteraction/lib/Db/RecentContactMapper.php +++ b/apps/contactsinteraction/lib/Db/RecentContactMapper.php @@ -5,7 +5,8 @@ declare(strict_types=1); /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst + * @author Georg Ehrke * * @license GNU AGPL version 3 or any later version * @@ -16,13 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\ContactsInteraction\Db; use OCP\AppFramework\Db\DoesNotExistException; diff --git a/apps/contactsinteraction/lib/Listeners/ContactInteractionListener.php b/apps/contactsinteraction/lib/Listeners/ContactInteractionListener.php index 4135d83b5af..21991007ee7 100644 --- a/apps/contactsinteraction/lib/Listeners/ContactInteractionListener.php +++ b/apps/contactsinteraction/lib/Listeners/ContactInteractionListener.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\ContactsInteraction\Listeners; use OCA\ContactsInteraction\Db\CardSearchDao; diff --git a/apps/contactsinteraction/lib/Migration/Version010000Date20200304152605.php b/apps/contactsinteraction/lib/Migration/Version010000Date20200304152605.php index a2f01480562..5f75c11d7e8 100644 --- a/apps/contactsinteraction/lib/Migration/Version010000Date20200304152605.php +++ b/apps/contactsinteraction/lib/Migration/Version010000Date20200304152605.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\ContactsInteraction\Migration; use Closure; diff --git a/apps/contactsinteraction/tests/Db/RecentContactMapperTest.php b/apps/contactsinteraction/tests/Db/RecentContactMapperTest.php index 026859168f5..7042de9c1b0 100644 --- a/apps/contactsinteraction/tests/Db/RecentContactMapperTest.php +++ b/apps/contactsinteraction/tests/Db/RecentContactMapperTest.php @@ -1,9 +1,12 @@ * + * @author Daniel Kesselberg + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -13,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\ContactsInteraction\Tests\Db; use OCA\ContactsInteraction\Db\RecentContact; diff --git a/apps/dashboard/appinfo/routes.php b/apps/dashboard/appinfo/routes.php index e0d7979a48e..81b7d325a78 100644 --- a/apps/dashboard/appinfo/routes.php +++ b/apps/dashboard/appinfo/routes.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Julius Härtl * + * @author Julien Veyssier * @author Julius Härtl * * @license GNU AGPL version 3 or any later version @@ -23,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see . * */ - return [ 'routes' => [ ['name' => 'dashboard#index', 'url' => '/', 'verb' => 'GET'], diff --git a/apps/dashboard/lib/Controller/DashboardController.php b/apps/dashboard/lib/Controller/DashboardController.php index da8f095d43e..88baa641b45 100644 --- a/apps/dashboard/lib/Controller/DashboardController.php +++ b/apps/dashboard/lib/Controller/DashboardController.php @@ -5,7 +5,10 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Julius Härtl * + * @author Julien Veyssier * @author Julius Härtl + * @author Morris Jobke + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -23,7 +26,6 @@ declare(strict_types=1); * along with this program. If not, see . * */ - namespace OCA\Dashboard\Controller; use OCA\Dashboard\Service\BackgroundService; diff --git a/apps/dashboard/lib/Controller/LayoutApiController.php b/apps/dashboard/lib/Controller/LayoutApiController.php index 31b796575e0..755470b7b07 100644 --- a/apps/dashboard/lib/Controller/LayoutApiController.php +++ b/apps/dashboard/lib/Controller/LayoutApiController.php @@ -1,4 +1,7 @@ * @@ -20,10 +23,6 @@ * along with this program. If not, see . * */ - -declare(strict_types=1); - - namespace OCA\Dashboard\Controller; use OCP\AppFramework\Http\JSONResponse; diff --git a/apps/dashboard/lib/Service/BackgroundService.php b/apps/dashboard/lib/Service/BackgroundService.php index 69fd2c1301f..f9bd987bdca 100644 --- a/apps/dashboard/lib/Service/BackgroundService.php +++ b/apps/dashboard/lib/Service/BackgroundService.php @@ -1,7 +1,11 @@ * + * @author Jan C. Borchardt * @author Julius Härtl * * @license GNU AGPL version 3 or any later version @@ -20,10 +24,6 @@ * along with this program. If not, see . * */ - -declare(strict_types=1); - - namespace OCA\Dashboard\Service; use InvalidArgumentException; diff --git a/apps/dav/appinfo/routes.php b/apps/dav/appinfo/routes.php index 892456ef2a3..6d237ee2a1f 100644 --- a/apps/dav/appinfo/routes.php +++ b/apps/dav/appinfo/routes.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - return [ 'routes' => [ ['name' => 'birthday_calendar#enable', 'url' => '/enableBirthdayCalendar', 'verb' => 'POST'], diff --git a/apps/dav/appinfo/v1/caldav.php b/apps/dav/appinfo/v1/caldav.php index 19842c91f09..b1543ba3cef 100644 --- a/apps/dav/appinfo/v1/caldav.php +++ b/apps/dav/appinfo/v1/caldav.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - // Backends use OC\KnownUser\KnownUserService; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/appinfo/v1/carddav.php b/apps/dav/appinfo/v1/carddav.php index bb766bbaeca..637ae3eed1a 100644 --- a/apps/dav/appinfo/v1/carddav.php +++ b/apps/dav/appinfo/v1/carddav.php @@ -5,7 +5,7 @@ * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Lukas Reschke * @author Morris Jobke * @author Thomas Müller @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - // Backends use OC\KnownUser\KnownUserService; use OCA\DAV\AppInfo\PluginManager; diff --git a/apps/dav/appinfo/v1/publicwebdav.php b/apps/dav/appinfo/v1/publicwebdav.php index a6ccad4752e..b0b87c66ca6 100644 --- a/apps/dav/appinfo/v1/publicwebdav.php +++ b/apps/dav/appinfo/v1/publicwebdav.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - // load needed apps $RUNTIME_APPTYPES = ['filesystem', 'authentication', 'logging']; diff --git a/apps/dav/appinfo/v1/webdav.php b/apps/dav/appinfo/v1/webdav.php index 3df89844505..7b0a0ae11df 100644 --- a/apps/dav/appinfo/v1/webdav.php +++ b/apps/dav/appinfo/v1/webdav.php @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - // no php execution timeout for webdav if (strpos(@ini_get('disable_functions'), 'set_time_limit') === false) { @set_time_limit(0); diff --git a/apps/dav/appinfo/v2/direct.php b/apps/dav/appinfo/v2/direct.php index 1d250a30065..cab6109e5e6 100644 --- a/apps/dav/appinfo/v2/direct.php +++ b/apps/dav/appinfo/v2/direct.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2018, Roeland Jago Douma * - * @author Morris Jobke + * @author Robin Appelman * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - use \OCA\DAV\Direct\ServerFactory; // no php execution timeout for webdav diff --git a/apps/dav/bin/chunkperf.php b/apps/dav/bin/chunkperf.php index f72106dab33..a8652654bca 100644 --- a/apps/dav/bin/chunkperf.php +++ b/apps/dav/bin/chunkperf.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - require '../../../../3rdparty/autoload.php'; if ($argc !== 6) { diff --git a/apps/dav/lib/AppInfo/Application.php b/apps/dav/lib/AppInfo/Application.php index 8dfbf62db2c..7e26912120a 100644 --- a/apps/dav/lib/AppInfo/Application.php +++ b/apps/dav/lib/AppInfo/Application.php @@ -9,7 +9,7 @@ declare(strict_types=1); * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma * @author Thomas Citharel * @author Thomas Müller @@ -30,7 +30,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\DAV\AppInfo; use Exception; diff --git a/apps/dav/lib/AppInfo/PluginManager.php b/apps/dav/lib/AppInfo/PluginManager.php index 40fced6e86a..0b83d6a9205 100644 --- a/apps/dav/lib/AppInfo/PluginManager.php +++ b/apps/dav/lib/AppInfo/PluginManager.php @@ -26,7 +26,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\DAV\AppInfo; use OC\ServerContainer; diff --git a/apps/dav/lib/Avatars/AvatarHome.php b/apps/dav/lib/Avatars/AvatarHome.php index cbdd2b21b12..ba52daeb2b3 100644 --- a/apps/dav/lib/Avatars/AvatarHome.php +++ b/apps/dav/lib/Avatars/AvatarHome.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Avatars; use OCP\IAvatarManager; diff --git a/apps/dav/lib/Avatars/AvatarNode.php b/apps/dav/lib/Avatars/AvatarNode.php index a577a591616..ade523561f2 100644 --- a/apps/dav/lib/Avatars/AvatarNode.php +++ b/apps/dav/lib/Avatars/AvatarNode.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Avatars; use OCP\IAvatar; diff --git a/apps/dav/lib/Avatars/RootCollection.php b/apps/dav/lib/Avatars/RootCollection.php index 01f270362b7..c5e78624d44 100644 --- a/apps/dav/lib/Avatars/RootCollection.php +++ b/apps/dav/lib/Avatars/RootCollection.php @@ -1,6 +1,6 @@ * * @author Morris Jobke * @author Roeland Jago Douma @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Avatars; use Sabre\DAVACL\AbstractPrincipalCollection; diff --git a/apps/dav/lib/BackgroundJob/BuildReminderIndexBackgroundJob.php b/apps/dav/lib/BackgroundJob/BuildReminderIndexBackgroundJob.php index badfc2ca041..3d4e4dd5e6b 100644 --- a/apps/dav/lib/BackgroundJob/BuildReminderIndexBackgroundJob.php +++ b/apps/dav/lib/BackgroundJob/BuildReminderIndexBackgroundJob.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\BackgroundJob; use OCA\DAV\CalDAV\Reminder\ReminderService; diff --git a/apps/dav/lib/BackgroundJob/CalendarRetentionJob.php b/apps/dav/lib/BackgroundJob/CalendarRetentionJob.php index 51215051659..6be6d7c3cd1 100644 --- a/apps/dav/lib/BackgroundJob/CalendarRetentionJob.php +++ b/apps/dav/lib/BackgroundJob/CalendarRetentionJob.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\BackgroundJob; use OCA\DAV\CalDAV\RetentionService; diff --git a/apps/dav/lib/BackgroundJob/CleanupDirectLinksJob.php b/apps/dav/lib/BackgroundJob/CleanupDirectLinksJob.php index 093e61111d6..6c10a05f9a5 100644 --- a/apps/dav/lib/BackgroundJob/CleanupDirectLinksJob.php +++ b/apps/dav/lib/BackgroundJob/CleanupDirectLinksJob.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\BackgroundJob; use OC\BackgroundJob\TimedJob; diff --git a/apps/dav/lib/BackgroundJob/CleanupInvitationTokenJob.php b/apps/dav/lib/BackgroundJob/CleanupInvitationTokenJob.php index 90b240e2e45..9621b5d9499 100644 --- a/apps/dav/lib/BackgroundJob/CleanupInvitationTokenJob.php +++ b/apps/dav/lib/BackgroundJob/CleanupInvitationTokenJob.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\BackgroundJob; use OC\BackgroundJob\TimedJob; diff --git a/apps/dav/lib/BackgroundJob/EventReminderJob.php b/apps/dav/lib/BackgroundJob/EventReminderJob.php index ee6a9204316..b67a5d970bb 100644 --- a/apps/dav/lib/BackgroundJob/EventReminderJob.php +++ b/apps/dav/lib/BackgroundJob/EventReminderJob.php @@ -1,9 +1,8 @@ * * @author Georg Ehrke - * @author Roeland Jago Douma * @author Thomas Citharel * * @license GNU AGPL version 3 or any later version @@ -15,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\BackgroundJob; use OC\BackgroundJob\TimedJob; diff --git a/apps/dav/lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php b/apps/dav/lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php index e4c2fcccc9d..2fdb7617937 100644 --- a/apps/dav/lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php +++ b/apps/dav/lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php @@ -3,7 +3,6 @@ * @copyright 2017 Georg Ehrke * * @author Georg Ehrke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -14,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\BackgroundJob; use OC\BackgroundJob\QueuedJob; diff --git a/apps/dav/lib/BackgroundJob/RefreshWebcalJob.php b/apps/dav/lib/BackgroundJob/RefreshWebcalJob.php index 32a48919868..fbb944159fd 100644 --- a/apps/dav/lib/BackgroundJob/RefreshWebcalJob.php +++ b/apps/dav/lib/BackgroundJob/RefreshWebcalJob.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\BackgroundJob; use DateInterval; diff --git a/apps/dav/lib/BackgroundJob/RegisterRegenerateBirthdayCalendars.php b/apps/dav/lib/BackgroundJob/RegisterRegenerateBirthdayCalendars.php index 7240f067170..0813de7d1ad 100644 --- a/apps/dav/lib/BackgroundJob/RegisterRegenerateBirthdayCalendars.php +++ b/apps/dav/lib/BackgroundJob/RegisterRegenerateBirthdayCalendars.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\BackgroundJob; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/dav/lib/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJob.php b/apps/dav/lib/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJob.php index 86d2d3ae35d..e9326309c7d 100644 --- a/apps/dav/lib/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJob.php +++ b/apps/dav/lib/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJob.php @@ -4,6 +4,7 @@ * * @author Christoph Wurst * @author Georg Ehrke + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -14,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\BackgroundJob; use OC\BackgroundJob\TimedJob; diff --git a/apps/dav/lib/BackgroundJob/UploadCleanup.php b/apps/dav/lib/BackgroundJob/UploadCleanup.php index 104faf12b65..70f4d6b9565 100644 --- a/apps/dav/lib/BackgroundJob/UploadCleanup.php +++ b/apps/dav/lib/BackgroundJob/UploadCleanup.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\BackgroundJob; use OC\User\NoUserException; diff --git a/apps/dav/lib/CalDAV/Activity/Backend.php b/apps/dav/lib/CalDAV/Activity/Backend.php index 4b896de3b89..84ba50b8c37 100644 --- a/apps/dav/lib/CalDAV/Activity/Backend.php +++ b/apps/dav/lib/CalDAV/Activity/Backend.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Activity; use OCA\DAV\CalDAV\Activity\Provider\Calendar; diff --git a/apps/dav/lib/CalDAV/Activity/Filter/Calendar.php b/apps/dav/lib/CalDAV/Activity/Filter/Calendar.php index c2c7ec5d34a..06258e3cf74 100644 --- a/apps/dav/lib/CalDAV/Activity/Filter/Calendar.php +++ b/apps/dav/lib/CalDAV/Activity/Filter/Calendar.php @@ -3,7 +3,7 @@ * @copyright Copyright (c) 2016 Joas Schilling * * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Activity\Filter; use OCP\Activity\IFilter; diff --git a/apps/dav/lib/CalDAV/Activity/Filter/Todo.php b/apps/dav/lib/CalDAV/Activity/Filter/Todo.php index d361ff389c4..f727c10befe 100644 --- a/apps/dav/lib/CalDAV/Activity/Filter/Todo.php +++ b/apps/dav/lib/CalDAV/Activity/Filter/Todo.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Activity\Filter; use OCP\Activity\IFilter; diff --git a/apps/dav/lib/CalDAV/Activity/Provider/Base.php b/apps/dav/lib/CalDAV/Activity/Provider/Base.php index bc6e7a6cca0..7f70980a72b 100644 --- a/apps/dav/lib/CalDAV/Activity/Provider/Base.php +++ b/apps/dav/lib/CalDAV/Activity/Provider/Base.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Activity\Provider; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/lib/CalDAV/Activity/Provider/Calendar.php b/apps/dav/lib/CalDAV/Activity/Provider/Calendar.php index a30c628a3ad..daab7806e46 100644 --- a/apps/dav/lib/CalDAV/Activity/Provider/Calendar.php +++ b/apps/dav/lib/CalDAV/Activity/Provider/Calendar.php @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Activity\Provider; use OCP\Activity\IEvent; diff --git a/apps/dav/lib/CalDAV/Activity/Provider/Event.php b/apps/dav/lib/CalDAV/Activity/Provider/Event.php index 03845cc4d87..96366f54942 100644 --- a/apps/dav/lib/CalDAV/Activity/Provider/Event.php +++ b/apps/dav/lib/CalDAV/Activity/Provider/Event.php @@ -5,6 +5,7 @@ * @author Christoph Wurst * @author Joas Schilling * @author Julius Härtl + * @author Morris Jobke * @author Thomas Citharel * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Activity\Provider; use OC_App; diff --git a/apps/dav/lib/CalDAV/Activity/Provider/Todo.php b/apps/dav/lib/CalDAV/Activity/Provider/Todo.php index 2f6c088be0a..a3ab81e38ae 100644 --- a/apps/dav/lib/CalDAV/Activity/Provider/Todo.php +++ b/apps/dav/lib/CalDAV/Activity/Provider/Todo.php @@ -4,6 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling + * @author Morris Jobke * * @license GNU AGPL version 3 or any later version * @@ -14,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Activity\Provider; use OCP\Activity\IEvent; diff --git a/apps/dav/lib/CalDAV/Activity/Setting/CalDAVSetting.php b/apps/dav/lib/CalDAV/Activity/Setting/CalDAVSetting.php index a0b6b130489..20325a253f4 100644 --- a/apps/dav/lib/CalDAV/Activity/Setting/CalDAVSetting.php +++ b/apps/dav/lib/CalDAV/Activity/Setting/CalDAVSetting.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Robin Appelman * + * @author Joas Schilling * @author Robin Appelman * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Activity\Setting; use OCP\Activity\ActivitySettings; diff --git a/apps/dav/lib/CalDAV/Activity/Setting/Calendar.php b/apps/dav/lib/CalDAV/Activity/Setting/Calendar.php index 7a0fc4601fe..4a226fca439 100644 --- a/apps/dav/lib/CalDAV/Activity/Setting/Calendar.php +++ b/apps/dav/lib/CalDAV/Activity/Setting/Calendar.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Activity\Setting; class Calendar extends CalDAVSetting { diff --git a/apps/dav/lib/CalDAV/Activity/Setting/Event.php b/apps/dav/lib/CalDAV/Activity/Setting/Event.php index aa43f6c17e6..0239296a403 100644 --- a/apps/dav/lib/CalDAV/Activity/Setting/Event.php +++ b/apps/dav/lib/CalDAV/Activity/Setting/Event.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Activity\Setting; class Event extends CalDAVSetting { diff --git a/apps/dav/lib/CalDAV/Activity/Setting/Todo.php b/apps/dav/lib/CalDAV/Activity/Setting/Todo.php index 1c441e4d182..7d27b30c4af 100644 --- a/apps/dav/lib/CalDAV/Activity/Setting/Todo.php +++ b/apps/dav/lib/CalDAV/Activity/Setting/Todo.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Activity\Setting; class Todo extends CalDAVSetting { diff --git a/apps/dav/lib/CalDAV/BirthdayCalendar/EnablePlugin.php b/apps/dav/lib/CalDAV/BirthdayCalendar/EnablePlugin.php index 358463cbf0f..b736d9432bd 100644 --- a/apps/dav/lib/CalDAV/BirthdayCalendar/EnablePlugin.php +++ b/apps/dav/lib/CalDAV/BirthdayCalendar/EnablePlugin.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\BirthdayCalendar; use OCA\DAV\CalDAV\BirthdayService; diff --git a/apps/dav/lib/CalDAV/BirthdayService.php b/apps/dav/lib/CalDAV/BirthdayService.php index fc525934f15..3f73ca7a1dc 100644 --- a/apps/dav/lib/CalDAV/BirthdayService.php +++ b/apps/dav/lib/CalDAV/BirthdayService.php @@ -7,11 +7,13 @@ declare(strict_types=1); * @copyright Copyright (c) 2019, Georg Ehrke * * @author Achim Königs + * @author Christian Weiske * @author Christoph Wurst * @author Georg Ehrke * @author Robin Appelman * @author Sven Strickroth * @author Thomas Müller + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * * @license AGPL-3.0 * @@ -28,7 +30,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\DAV\CalDAV; use Exception; diff --git a/apps/dav/lib/CalDAV/CachedSubscription.php b/apps/dav/lib/CalDAV/CachedSubscription.php index bef43f65644..18e61450ee9 100644 --- a/apps/dav/lib/CalDAV/CachedSubscription.php +++ b/apps/dav/lib/CalDAV/CachedSubscription.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV; use OCA\DAV\Exception\UnsupportedLimitOnInitialSyncException; diff --git a/apps/dav/lib/CalDAV/CachedSubscriptionObject.php b/apps/dav/lib/CalDAV/CachedSubscriptionObject.php index 0a4920b2f24..db8c9fa8e80 100644 --- a/apps/dav/lib/CalDAV/CachedSubscriptionObject.php +++ b/apps/dav/lib/CalDAV/CachedSubscriptionObject.php @@ -6,7 +6,6 @@ declare(strict_types=1); * @copyright 2018 Georg Ehrke * * @author Georg Ehrke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -17,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV; use Sabre\DAV\Exception\MethodNotAllowed; diff --git a/apps/dav/lib/CalDAV/CalDavBackend.php b/apps/dav/lib/CalDAV/CalDavBackend.php index 2b9a2d1d145..4bb75e3431a 100644 --- a/apps/dav/lib/CalDAV/CalDavBackend.php +++ b/apps/dav/lib/CalDAV/CalDavBackend.php @@ -4,11 +4,12 @@ * @copyright Copyright (c) 2018 Georg Ehrke * @copyright Copyright (c) 2020, leith abdulla () * + * @author Chih-Hsuan Yen * @author Christoph Wurst * @author dartcafe * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author leith abdulla * @author Lukas Reschke * @author Morris Jobke @@ -35,7 +36,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CalDAV; use DateTime; diff --git a/apps/dav/lib/CalDAV/Calendar.php b/apps/dav/lib/CalDAV/Calendar.php index 191ac384e72..df4d6d4a3fb 100644 --- a/apps/dav/lib/CalDAV/Calendar.php +++ b/apps/dav/lib/CalDAV/Calendar.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CalDAV; use OCA\DAV\DAV\Sharing\IShareable; diff --git a/apps/dav/lib/CalDAV/CalendarHome.php b/apps/dav/lib/CalDAV/CalendarHome.php index c418ff049c1..3a1ee2883c5 100644 --- a/apps/dav/lib/CalDAV/CalendarHome.php +++ b/apps/dav/lib/CalDAV/CalendarHome.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CalDAV; use OCA\DAV\AppInfo\PluginManager; diff --git a/apps/dav/lib/CalDAV/CalendarImpl.php b/apps/dav/lib/CalDAV/CalendarImpl.php index 2f4aa858a32..4f34e604c81 100644 --- a/apps/dav/lib/CalDAV/CalendarImpl.php +++ b/apps/dav/lib/CalDAV/CalendarImpl.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV; use OCP\Calendar\ICalendar; diff --git a/apps/dav/lib/CalDAV/CalendarManager.php b/apps/dav/lib/CalDAV/CalendarManager.php index ca527ab7a5f..0377979a8a8 100644 --- a/apps/dav/lib/CalDAV/CalendarManager.php +++ b/apps/dav/lib/CalDAV/CalendarManager.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV; use OCP\Calendar\IManager; diff --git a/apps/dav/lib/CalDAV/CalendarObject.php b/apps/dav/lib/CalDAV/CalendarObject.php index 0e42d9522ab..1582e8f2bfc 100644 --- a/apps/dav/lib/CalDAV/CalendarObject.php +++ b/apps/dav/lib/CalDAV/CalendarObject.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CalDAV; use OCP\IL10N; diff --git a/apps/dav/lib/CalDAV/CalendarRoot.php b/apps/dav/lib/CalDAV/CalendarRoot.php index 308e282f0c6..5b2bfa36027 100644 --- a/apps/dav/lib/CalDAV/CalendarRoot.php +++ b/apps/dav/lib/CalDAV/CalendarRoot.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CalDAV; class CalendarRoot extends \Sabre\CalDAV\CalendarRoot { diff --git a/apps/dav/lib/CalDAV/ICSExportPlugin/ICSExportPlugin.php b/apps/dav/lib/CalDAV/ICSExportPlugin/ICSExportPlugin.php index 52e9c330b2f..ae568720c55 100644 --- a/apps/dav/lib/CalDAV/ICSExportPlugin/ICSExportPlugin.php +++ b/apps/dav/lib/CalDAV/ICSExportPlugin/ICSExportPlugin.php @@ -13,7 +13,7 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/CalDAV/IRestorable.php b/apps/dav/lib/CalDAV/IRestorable.php index 438098b5a0e..fab73c43d3a 100644 --- a/apps/dav/lib/CalDAV/IRestorable.php +++ b/apps/dav/lib/CalDAV/IRestorable.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\CalDAV; use Sabre\DAV\Exception; diff --git a/apps/dav/lib/CalDAV/Integration/ExternalCalendar.php b/apps/dav/lib/CalDAV/Integration/ExternalCalendar.php index a42c704f53c..9c801a08a26 100644 --- a/apps/dav/lib/CalDAV/Integration/ExternalCalendar.php +++ b/apps/dav/lib/CalDAV/Integration/ExternalCalendar.php @@ -13,7 +13,7 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/CalDAV/Integration/ICalendarProvider.php b/apps/dav/lib/CalDAV/Integration/ICalendarProvider.php index 298d877f5da..c72112f06ba 100644 --- a/apps/dav/lib/CalDAV/Integration/ICalendarProvider.php +++ b/apps/dav/lib/CalDAV/Integration/ICalendarProvider.php @@ -13,7 +13,7 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php b/apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php index 7b0ee1bbef2..d1ea6902af3 100644 --- a/apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php +++ b/apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\InvitationResponse; use OCA\DAV\AppInfo\PluginManager; diff --git a/apps/dav/lib/CalDAV/Outbox.php b/apps/dav/lib/CalDAV/Outbox.php index a830b4b9b8d..eebb48e1294 100644 --- a/apps/dav/lib/CalDAV/Outbox.php +++ b/apps/dav/lib/CalDAV/Outbox.php @@ -4,7 +4,6 @@ * * @author Christoph Wurst * @author Georg Ehrke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -15,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV; use OCP\IConfig; diff --git a/apps/dav/lib/CalDAV/Plugin.php b/apps/dav/lib/CalDAV/Plugin.php index f87907e6c5d..5b367c51053 100644 --- a/apps/dav/lib/CalDAV/Plugin.php +++ b/apps/dav/lib/CalDAV/Plugin.php @@ -4,7 +4,6 @@ * * @author Christoph Wurst * @author Georg Ehrke - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CalDAV; class Plugin extends \Sabre\CalDAV\Plugin { diff --git a/apps/dav/lib/CalDAV/Principal/Collection.php b/apps/dav/lib/CalDAV/Principal/Collection.php index 83e3d82e13f..27997741609 100644 --- a/apps/dav/lib/CalDAV/Principal/Collection.php +++ b/apps/dav/lib/CalDAV/Principal/Collection.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Principal; /** diff --git a/apps/dav/lib/CalDAV/Principal/User.php b/apps/dav/lib/CalDAV/Principal/User.php index 1d1e823af71..904ecc32e89 100644 --- a/apps/dav/lib/CalDAV/Principal/User.php +++ b/apps/dav/lib/CalDAV/Principal/User.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Principal; /** diff --git a/apps/dav/lib/CalDAV/Proxy/Proxy.php b/apps/dav/lib/CalDAV/Proxy/Proxy.php index 3bac846ed97..8bafe8cc3b3 100644 --- a/apps/dav/lib/CalDAV/Proxy/Proxy.php +++ b/apps/dav/lib/CalDAV/Proxy/Proxy.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Proxy; use OCP\AppFramework\Db\Entity; diff --git a/apps/dav/lib/CalDAV/Proxy/ProxyMapper.php b/apps/dav/lib/CalDAV/Proxy/ProxyMapper.php index a422b19a46b..19c72ffa0e9 100644 --- a/apps/dav/lib/CalDAV/Proxy/ProxyMapper.php +++ b/apps/dav/lib/CalDAV/Proxy/ProxyMapper.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Proxy; use OCP\AppFramework\Db\QBMapper; diff --git a/apps/dav/lib/CalDAV/PublicCalendar.php b/apps/dav/lib/CalDAV/PublicCalendar.php index 064d011f69c..4a29c8d237a 100644 --- a/apps/dav/lib/CalDAV/PublicCalendar.php +++ b/apps/dav/lib/CalDAV/PublicCalendar.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV; use Sabre\DAV\Exception\NotFound; diff --git a/apps/dav/lib/CalDAV/PublicCalendarObject.php b/apps/dav/lib/CalDAV/PublicCalendarObject.php index 792015d373b..69a5583d8f5 100644 --- a/apps/dav/lib/CalDAV/PublicCalendarObject.php +++ b/apps/dav/lib/CalDAV/PublicCalendarObject.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV; class PublicCalendarObject extends CalendarObject { diff --git a/apps/dav/lib/CalDAV/PublicCalendarRoot.php b/apps/dav/lib/CalDAV/PublicCalendarRoot.php index 2d4db467d58..aafbb48ae8e 100644 --- a/apps/dav/lib/CalDAV/PublicCalendarRoot.php +++ b/apps/dav/lib/CalDAV/PublicCalendarRoot.php @@ -5,7 +5,6 @@ * @author Christoph Wurst * @author Georg Ehrke * @author Lukas Reschke - * @author Roeland Jago Douma * @author Thomas Citharel * @author Thomas Müller * @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CalDAV; use OCP\IConfig; diff --git a/apps/dav/lib/CalDAV/Publishing/PublishPlugin.php b/apps/dav/lib/CalDAV/Publishing/PublishPlugin.php index e5ae9064ae7..97e942f9da2 100644 --- a/apps/dav/lib/CalDAV/Publishing/PublishPlugin.php +++ b/apps/dav/lib/CalDAV/Publishing/PublishPlugin.php @@ -4,6 +4,7 @@ * * @author Christoph Wurst * @author Georg Ehrke + * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Citharel * @author Thomas Müller @@ -17,14 +18,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Publishing; use OCA\DAV\CalDAV\Calendar; diff --git a/apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php b/apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php index bfeaf6b3daf..35bce872bf8 100644 --- a/apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php +++ b/apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016 Thomas Citharel * * @author Christoph Wurst - * @author Roeland Jago Douma * @author Thomas Citharel * * @license GNU AGPL version 3 or any later version @@ -15,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Publishing\Xml; use Sabre\Xml\Writer; diff --git a/apps/dav/lib/CalDAV/Reminder/Backend.php b/apps/dav/lib/CalDAV/Reminder/Backend.php index 62d9c5b1341..48b1e9aed46 100644 --- a/apps/dav/lib/CalDAV/Reminder/Backend.php +++ b/apps/dav/lib/CalDAV/Reminder/Backend.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Reminder; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/dav/lib/CalDAV/Reminder/INotificationProvider.php b/apps/dav/lib/CalDAV/Reminder/INotificationProvider.php index 3ce05476ff5..a6b439c0b4f 100644 --- a/apps/dav/lib/CalDAV/Reminder/INotificationProvider.php +++ b/apps/dav/lib/CalDAV/Reminder/INotificationProvider.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Reminder; use OCP\IUser; diff --git a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php index 5b46271f453..8df6ef06fa5 100644 --- a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php +++ b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Reminder\NotificationProvider; use OCA\DAV\CalDAV\Reminder\INotificationProvider; diff --git a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/AudioProvider.php b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/AudioProvider.php index 7f47281185f..4b369b34dc0 100644 --- a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/AudioProvider.php +++ b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/AudioProvider.php @@ -6,7 +6,6 @@ declare(strict_types=1); * @copyright Copyright (c) 2019, Georg Ehrke * * @author Georg Ehrke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -17,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Reminder\NotificationProvider; /** diff --git a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php index 38c875315bf..71cdd2cdd69 100644 --- a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php +++ b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php @@ -22,14 +22,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Reminder\NotificationProvider; use DateTime; diff --git a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/ProviderNotAvailableException.php b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/ProviderNotAvailableException.php index e6c41d02ac4..2e4f9a38493 100644 --- a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/ProviderNotAvailableException.php +++ b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/ProviderNotAvailableException.php @@ -5,7 +5,6 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2018 Thomas Citharel * - * @author Roeland Jago Douma * @author Thomas Citharel * * @license GNU AGPL version 3 or any later version @@ -17,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Reminder\NotificationProvider; class ProviderNotAvailableException extends \Exception { diff --git a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/PushProvider.php b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/PushProvider.php index 6db3ca563ae..7b53fac766a 100644 --- a/apps/dav/lib/CalDAV/Reminder/NotificationProvider/PushProvider.php +++ b/apps/dav/lib/CalDAV/Reminder/NotificationProvider/PushProvider.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Reminder\NotificationProvider; use OCA\DAV\AppInfo\Application; diff --git a/apps/dav/lib/CalDAV/Reminder/NotificationProviderManager.php b/apps/dav/lib/CalDAV/Reminder/NotificationProviderManager.php index b9b500c36f9..cd8030a1177 100644 --- a/apps/dav/lib/CalDAV/Reminder/NotificationProviderManager.php +++ b/apps/dav/lib/CalDAV/Reminder/NotificationProviderManager.php @@ -7,7 +7,6 @@ declare(strict_types=1); * @copyright Copyright (c) 2019, Georg Ehrke * * @author Georg Ehrke - * @author Roeland Jago Douma * @author Thomas Citharel * * @license GNU AGPL version 3 or any later version @@ -19,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Reminder; /** diff --git a/apps/dav/lib/CalDAV/Reminder/NotificationTypeDoesNotExistException.php b/apps/dav/lib/CalDAV/Reminder/NotificationTypeDoesNotExistException.php index 1b144fdbbf0..16fb858bc3a 100644 --- a/apps/dav/lib/CalDAV/Reminder/NotificationTypeDoesNotExistException.php +++ b/apps/dav/lib/CalDAV/Reminder/NotificationTypeDoesNotExistException.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Reminder; class NotificationTypeDoesNotExistException extends \Exception { diff --git a/apps/dav/lib/CalDAV/Reminder/Notifier.php b/apps/dav/lib/CalDAV/Reminder/Notifier.php index 310f5e5b23d..6dbe95db244 100644 --- a/apps/dav/lib/CalDAV/Reminder/Notifier.php +++ b/apps/dav/lib/CalDAV/Reminder/Notifier.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Reminder; use DateTime; diff --git a/apps/dav/lib/CalDAV/Reminder/ReminderService.php b/apps/dav/lib/CalDAV/Reminder/ReminderService.php index 83fe413c0ee..ad5c18d477d 100644 --- a/apps/dav/lib/CalDAV/Reminder/ReminderService.php +++ b/apps/dav/lib/CalDAV/Reminder/ReminderService.php @@ -8,6 +8,7 @@ declare(strict_types=1); * * @author Christoph Wurst * @author Georg Ehrke + * @author Joas Schilling * @author Roeland Jago Douma * @author Thomas Citharel * @@ -20,14 +21,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Reminder; use DateTimeImmutable; diff --git a/apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php b/apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php index 8eb47511d48..61b4dafe34c 100644 --- a/apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php +++ b/apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\ResourceBooking; use OCA\DAV\CalDAV\Proxy\ProxyMapper; diff --git a/apps/dav/lib/CalDAV/ResourceBooking/ResourcePrincipalBackend.php b/apps/dav/lib/CalDAV/ResourceBooking/ResourcePrincipalBackend.php index 287eef36c69..65203e24da5 100644 --- a/apps/dav/lib/CalDAV/ResourceBooking/ResourcePrincipalBackend.php +++ b/apps/dav/lib/CalDAV/ResourceBooking/ResourcePrincipalBackend.php @@ -3,7 +3,6 @@ * @copyright 2018, Georg Ehrke * * @author Georg Ehrke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -14,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\ResourceBooking; use OCA\DAV\CalDAV\Proxy\ProxyMapper; diff --git a/apps/dav/lib/CalDAV/ResourceBooking/RoomPrincipalBackend.php b/apps/dav/lib/CalDAV/ResourceBooking/RoomPrincipalBackend.php index f550956c294..ca78ebd4bc4 100644 --- a/apps/dav/lib/CalDAV/ResourceBooking/RoomPrincipalBackend.php +++ b/apps/dav/lib/CalDAV/ResourceBooking/RoomPrincipalBackend.php @@ -3,7 +3,6 @@ * @copyright 2018, Georg Ehrke * * @author Georg Ehrke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -14,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\ResourceBooking; use OCA\DAV\CalDAV\Proxy\ProxyMapper; diff --git a/apps/dav/lib/CalDAV/RetentionService.php b/apps/dav/lib/CalDAV/RetentionService.php index 7342b719c81..1d92d847641 100644 --- a/apps/dav/lib/CalDAV/RetentionService.php +++ b/apps/dav/lib/CalDAV/RetentionService.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\CalDAV; use OCA\DAV\AppInfo\Application; diff --git a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php index 8d26f83ffc9..63290e76e61 100644 --- a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php +++ b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php @@ -2,6 +2,8 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * @copyright Copyright (c) 2017, Georg Ehrke + * @copyright Copyright (C) 2007-2015 fruux GmbH (https://fruux.com/). + * @copyright Copyright (C) 2007-2015 fruux GmbH (https://fruux.com/). * * @author brad2014 * @author Brad Rubenstein @@ -9,6 +11,7 @@ * @author Georg Ehrke * @author Joas Schilling * @author Leon Klingele + * @author Nick Sweeting * @author rakekniven * @author Roeland Jago Douma * @author Thomas Citharel @@ -29,7 +32,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CalDAV\Schedule; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/dav/lib/CalDAV/Schedule/Plugin.php b/apps/dav/lib/CalDAV/Schedule/Plugin.php index d384968e921..7ea75dcca2a 100644 --- a/apps/dav/lib/CalDAV/Schedule/Plugin.php +++ b/apps/dav/lib/CalDAV/Schedule/Plugin.php @@ -19,14 +19,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Schedule; use DateTimeZone; diff --git a/apps/dav/lib/CalDAV/Search/SearchPlugin.php b/apps/dav/lib/CalDAV/Search/SearchPlugin.php index a25abac6020..d08a5749ab2 100644 --- a/apps/dav/lib/CalDAV/Search/SearchPlugin.php +++ b/apps/dav/lib/CalDAV/Search/SearchPlugin.php @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Search; use OCA\DAV\CalDAV\CalendarHome; diff --git a/apps/dav/lib/CalDAV/Search/Xml/Filter/CompFilter.php b/apps/dav/lib/CalDAV/Search/Xml/Filter/CompFilter.php index cf6df3b8c58..d5b7c834e36 100644 --- a/apps/dav/lib/CalDAV/Search/Xml/Filter/CompFilter.php +++ b/apps/dav/lib/CalDAV/Search/Xml/Filter/CompFilter.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Search\Xml\Filter; use OCA\DAV\CalDAV\Search\SearchPlugin; diff --git a/apps/dav/lib/CalDAV/Search/Xml/Filter/LimitFilter.php b/apps/dav/lib/CalDAV/Search/Xml/Filter/LimitFilter.php index 5940df55654..2c435ba3650 100644 --- a/apps/dav/lib/CalDAV/Search/Xml/Filter/LimitFilter.php +++ b/apps/dav/lib/CalDAV/Search/Xml/Filter/LimitFilter.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Search\Xml\Filter; use OCA\DAV\CalDAV\Search\SearchPlugin; diff --git a/apps/dav/lib/CalDAV/Search/Xml/Filter/OffsetFilter.php b/apps/dav/lib/CalDAV/Search/Xml/Filter/OffsetFilter.php index 4331b2a4d9b..a6f41d09161 100644 --- a/apps/dav/lib/CalDAV/Search/Xml/Filter/OffsetFilter.php +++ b/apps/dav/lib/CalDAV/Search/Xml/Filter/OffsetFilter.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Search\Xml\Filter; use OCA\DAV\CalDAV\Search\SearchPlugin; diff --git a/apps/dav/lib/CalDAV/Search/Xml/Filter/ParamFilter.php b/apps/dav/lib/CalDAV/Search/Xml/Filter/ParamFilter.php index 2f24c54beb4..c25450a0c94 100644 --- a/apps/dav/lib/CalDAV/Search/Xml/Filter/ParamFilter.php +++ b/apps/dav/lib/CalDAV/Search/Xml/Filter/ParamFilter.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Search\Xml\Filter; use OCA\DAV\CalDAV\Search\SearchPlugin; diff --git a/apps/dav/lib/CalDAV/Search/Xml/Filter/PropFilter.php b/apps/dav/lib/CalDAV/Search/Xml/Filter/PropFilter.php index db03855e971..990b0ebf730 100644 --- a/apps/dav/lib/CalDAV/Search/Xml/Filter/PropFilter.php +++ b/apps/dav/lib/CalDAV/Search/Xml/Filter/PropFilter.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Search\Xml\Filter; use OCA\DAV\CalDAV\Search\SearchPlugin; diff --git a/apps/dav/lib/CalDAV/Search/Xml/Filter/SearchTermFilter.php b/apps/dav/lib/CalDAV/Search/Xml/Filter/SearchTermFilter.php index b5ec27eefd5..06fe39a463b 100644 --- a/apps/dav/lib/CalDAV/Search/Xml/Filter/SearchTermFilter.php +++ b/apps/dav/lib/CalDAV/Search/Xml/Filter/SearchTermFilter.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Search\Xml\Filter; use OCA\DAV\CalDAV\Search\SearchPlugin; diff --git a/apps/dav/lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php b/apps/dav/lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php index d9215a5a73c..98efe36ee43 100644 --- a/apps/dav/lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php +++ b/apps/dav/lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\Search\Xml\Request; use OCA\DAV\CalDAV\Search\SearchPlugin; diff --git a/apps/dav/lib/CalDAV/Trashbin/DeletedCalendarObject.php b/apps/dav/lib/CalDAV/Trashbin/DeletedCalendarObject.php index 877ae82157d..5730b7a1002 100644 --- a/apps/dav/lib/CalDAV/Trashbin/DeletedCalendarObject.php +++ b/apps/dav/lib/CalDAV/Trashbin/DeletedCalendarObject.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\CalDAV\Trashbin; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/lib/CalDAV/Trashbin/DeletedCalendarObjectsCollection.php b/apps/dav/lib/CalDAV/Trashbin/DeletedCalendarObjectsCollection.php index 6b084d7c857..20d05c047b1 100644 --- a/apps/dav/lib/CalDAV/Trashbin/DeletedCalendarObjectsCollection.php +++ b/apps/dav/lib/CalDAV/Trashbin/DeletedCalendarObjectsCollection.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\CalDAV\Trashbin; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/lib/CalDAV/Trashbin/Plugin.php b/apps/dav/lib/CalDAV/Trashbin/Plugin.php index 93f17cc5b7c..a4dff69ec77 100644 --- a/apps/dav/lib/CalDAV/Trashbin/Plugin.php +++ b/apps/dav/lib/CalDAV/Trashbin/Plugin.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\CalDAV\Trashbin; use Closure; diff --git a/apps/dav/lib/CalDAV/Trashbin/RestoreTarget.php b/apps/dav/lib/CalDAV/Trashbin/RestoreTarget.php index 0175168e8d2..31331957c49 100644 --- a/apps/dav/lib/CalDAV/Trashbin/RestoreTarget.php +++ b/apps/dav/lib/CalDAV/Trashbin/RestoreTarget.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\CalDAV\Trashbin; use OCA\DAV\CalDAV\IRestorable; diff --git a/apps/dav/lib/CalDAV/Trashbin/TrashbinHome.php b/apps/dav/lib/CalDAV/Trashbin/TrashbinHome.php index 87f1f24aaab..34d11e51eb3 100644 --- a/apps/dav/lib/CalDAV/Trashbin/TrashbinHome.php +++ b/apps/dav/lib/CalDAV/Trashbin/TrashbinHome.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\CalDAV\Trashbin; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/lib/CalDAV/WebcalCaching/Plugin.php b/apps/dav/lib/CalDAV/WebcalCaching/Plugin.php index ac592797d3d..13aef7ed227 100644 --- a/apps/dav/lib/CalDAV/WebcalCaching/Plugin.php +++ b/apps/dav/lib/CalDAV/WebcalCaching/Plugin.php @@ -7,7 +7,6 @@ declare(strict_types=1); * * @author Christoph Wurst * @author Georg Ehrke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -18,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\WebcalCaching; use OCA\DAV\CalDAV\CalendarHome; diff --git a/apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php b/apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php index d002c98d1c4..543d15e0179 100644 --- a/apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php +++ b/apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php @@ -21,14 +21,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CalDAV\WebcalCaching; use Exception; diff --git a/apps/dav/lib/Capabilities.php b/apps/dav/lib/Capabilities.php index 2ab06117c38..5d4e3c05077 100644 --- a/apps/dav/lib/Capabilities.php +++ b/apps/dav/lib/Capabilities.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV; use OCP\Capabilities\ICapability; diff --git a/apps/dav/lib/CardDAV/Activity/Backend.php b/apps/dav/lib/CardDAV/Activity/Backend.php index f23eee9d9ab..b713284e182 100644 --- a/apps/dav/lib/CardDAV/Activity/Backend.php +++ b/apps/dav/lib/CardDAV/Activity/Backend.php @@ -1,13 +1,11 @@ * - * @author Christoph Wurst * @author Joas Schilling - * @author Roeland Jago Douma - * @author Thomas Citharel * * @license GNU AGPL version 3 or any later version * @@ -18,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CardDAV\Activity; use OCA\DAV\CardDAV\Activity\Provider\Addressbook; diff --git a/apps/dav/lib/CardDAV/Activity/Filter.php b/apps/dav/lib/CardDAV/Activity/Filter.php index 9c9c0403d78..3ca4c3367d5 100644 --- a/apps/dav/lib/CardDAV/Activity/Filter.php +++ b/apps/dav/lib/CardDAV/Activity/Filter.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CardDAV\Activity; use OCP\Activity\IFilter; diff --git a/apps/dav/lib/CardDAV/Activity/Provider/Addressbook.php b/apps/dav/lib/CardDAV/Activity/Provider/Addressbook.php index 26ee637fcbc..bb03f6a8bfc 100644 --- a/apps/dav/lib/CardDAV/Activity/Provider/Addressbook.php +++ b/apps/dav/lib/CardDAV/Activity/Provider/Addressbook.php @@ -1,6 +1,7 @@ * @@ -15,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CardDAV\Activity\Provider; use OCP\Activity\IEvent; diff --git a/apps/dav/lib/CardDAV/Activity/Provider/Base.php b/apps/dav/lib/CardDAV/Activity/Provider/Base.php index 9a9b58e6c6e..2f6de31de15 100644 --- a/apps/dav/lib/CardDAV/Activity/Provider/Base.php +++ b/apps/dav/lib/CardDAV/Activity/Provider/Base.php @@ -1,6 +1,7 @@ * @@ -15,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CardDAV\Activity\Provider; use OCA\DAV\CardDAV\CardDavBackend; diff --git a/apps/dav/lib/CardDAV/Activity/Provider/Card.php b/apps/dav/lib/CardDAV/Activity/Provider/Card.php index a1b5ab97206..10d7ea1787a 100644 --- a/apps/dav/lib/CardDAV/Activity/Provider/Card.php +++ b/apps/dav/lib/CardDAV/Activity/Provider/Card.php @@ -1,6 +1,7 @@ * @@ -15,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CardDAV\Activity\Provider; use OCP\Activity\IEvent; diff --git a/apps/dav/lib/CardDAV/Activity/Setting.php b/apps/dav/lib/CardDAV/Activity/Setting.php index 2226d0ba5ce..c152fbd9060 100644 --- a/apps/dav/lib/CardDAV/Activity/Setting.php +++ b/apps/dav/lib/CardDAV/Activity/Setting.php @@ -1,6 +1,7 @@ * @@ -15,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CardDAV\Activity; use OCA\DAV\CalDAV\Activity\Setting\CalDAVSetting; diff --git a/apps/dav/lib/CardDAV/AddressBook.php b/apps/dav/lib/CardDAV/AddressBook.php index 0078dece854..9bd24bedbac 100644 --- a/apps/dav/lib/CardDAV/AddressBook.php +++ b/apps/dav/lib/CardDAV/AddressBook.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CardDAV; use OCA\DAV\DAV\Sharing\IShareable; diff --git a/apps/dav/lib/CardDAV/AddressBookImpl.php b/apps/dav/lib/CardDAV/AddressBookImpl.php index e270b579e1f..8b0d494fd01 100644 --- a/apps/dav/lib/CardDAV/AddressBookImpl.php +++ b/apps/dav/lib/CardDAV/AddressBookImpl.php @@ -3,13 +3,14 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Arne Hamann + * @author Arthur Schiwon * @author Björn Schießle * @author call-me-matt * @author Christoph Wurst * @author Daniel Kesselberg * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Thomas Müller * @@ -28,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CardDAV; use OCP\Constants; diff --git a/apps/dav/lib/CardDAV/AddressBookRoot.php b/apps/dav/lib/CardDAV/AddressBookRoot.php index 57fc6b71010..897ed819071 100644 --- a/apps/dav/lib/CardDAV/AddressBookRoot.php +++ b/apps/dav/lib/CardDAV/AddressBookRoot.php @@ -4,7 +4,6 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CardDAV; use OCA\DAV\AppInfo\PluginManager; diff --git a/apps/dav/lib/CardDAV/CardDavBackend.php b/apps/dav/lib/CardDAV/CardDavBackend.php index fa7db3750ff..13926ef12ce 100644 --- a/apps/dav/lib/CardDAV/CardDavBackend.php +++ b/apps/dav/lib/CardDAV/CardDavBackend.php @@ -5,10 +5,11 @@ * @author Arne Hamann * @author Arthur Schiwon * @author Björn Schießle + * @author Chih-Hsuan Yen * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author matt <34400929+call-me-matt@users.noreply.github.com> * @author Morris Jobke * @author Robin Appelman @@ -32,7 +33,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CardDAV; use OCA\DAV\Connector\Sabre\Principal; diff --git a/apps/dav/lib/CardDAV/ContactsManager.php b/apps/dav/lib/CardDAV/ContactsManager.php index 20616a65edc..bed1e676337 100644 --- a/apps/dav/lib/CardDAV/ContactsManager.php +++ b/apps/dav/lib/CardDAV/ContactsManager.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CardDAV; use OCP\Contacts\IManager; diff --git a/apps/dav/lib/CardDAV/Converter.php b/apps/dav/lib/CardDAV/Converter.php index f9ef0bb8cde..340e3127f0a 100644 --- a/apps/dav/lib/CardDAV/Converter.php +++ b/apps/dav/lib/CardDAV/Converter.php @@ -2,6 +2,7 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * + * @author Arthur Schiwon * @author Bjoern Schiessle * @author Christoph Wurst * @author Joas Schilling @@ -24,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CardDAV; use Exception; diff --git a/apps/dav/lib/CardDAV/HasPhotoPlugin.php b/apps/dav/lib/CardDAV/HasPhotoPlugin.php index a77a75c6cc6..528fcb36bf5 100644 --- a/apps/dav/lib/CardDAV/HasPhotoPlugin.php +++ b/apps/dav/lib/CardDAV/HasPhotoPlugin.php @@ -7,7 +7,7 @@ declare(strict_types=1); * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CardDAV; use Sabre\CardDAV\Card; diff --git a/apps/dav/lib/CardDAV/ImageExportPlugin.php b/apps/dav/lib/CardDAV/ImageExportPlugin.php index 17e544a85bc..4caf234e346 100644 --- a/apps/dav/lib/CardDAV/ImageExportPlugin.php +++ b/apps/dav/lib/CardDAV/ImageExportPlugin.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CardDAV; use OCP\Files\NotFoundException; diff --git a/apps/dav/lib/CardDAV/Integration/ExternalAddressBook.php b/apps/dav/lib/CardDAV/Integration/ExternalAddressBook.php index 3f276dc7a14..b1deb638f3d 100644 --- a/apps/dav/lib/CardDAV/Integration/ExternalAddressBook.php +++ b/apps/dav/lib/CardDAV/Integration/ExternalAddressBook.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Christoph Wurst * * @author Christoph Wurst * @author Georg Ehrke @@ -17,7 +17,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/CardDAV/Integration/IAddressBookProvider.php b/apps/dav/lib/CardDAV/Integration/IAddressBookProvider.php index 4fb3ccf5337..0560c13c05c 100644 --- a/apps/dav/lib/CardDAV/Integration/IAddressBookProvider.php +++ b/apps/dav/lib/CardDAV/Integration/IAddressBookProvider.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Christoph Wurst * * @author Christoph Wurst * @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/CardDAV/MultiGetExportPlugin.php b/apps/dav/lib/CardDAV/MultiGetExportPlugin.php index 94a169602b8..62c4f7e8178 100644 --- a/apps/dav/lib/CardDAV/MultiGetExportPlugin.php +++ b/apps/dav/lib/CardDAV/MultiGetExportPlugin.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2018 John Molakvoæ * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CardDAV; use Sabre\DAV; diff --git a/apps/dav/lib/CardDAV/PhotoCache.php b/apps/dav/lib/CardDAV/PhotoCache.php index 9b687658d5f..0761a69d60f 100644 --- a/apps/dav/lib/CardDAV/PhotoCache.php +++ b/apps/dav/lib/CardDAV/PhotoCache.php @@ -1,13 +1,13 @@ * * @author Arthur Schiwon * @author Christoph Wurst * @author Daniel Kesselberg * @author Jacob Neplokh * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Roeland Jago Douma * @@ -20,14 +20,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CardDAV; use OCP\Files\IAppData; diff --git a/apps/dav/lib/CardDAV/Plugin.php b/apps/dav/lib/CardDAV/Plugin.php index 6079b1a42a8..df8f7e6a436 100644 --- a/apps/dav/lib/CardDAV/Plugin.php +++ b/apps/dav/lib/CardDAV/Plugin.php @@ -4,7 +4,6 @@ * * @author Christoph Wurst * @author Georg Ehrke - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CardDAV; use OCA\DAV\CardDAV\Xml\Groups; diff --git a/apps/dav/lib/CardDAV/SyncService.php b/apps/dav/lib/CardDAV/SyncService.php index 2cbdba2b119..73bfaf01b60 100644 --- a/apps/dav/lib/CardDAV/SyncService.php +++ b/apps/dav/lib/CardDAV/SyncService.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CardDAV; use OC\Accounts\AccountManager; diff --git a/apps/dav/lib/CardDAV/SystemAddressbook.php b/apps/dav/lib/CardDAV/SystemAddressbook.php index 5b952152711..502e353acb3 100644 --- a/apps/dav/lib/CardDAV/SystemAddressbook.php +++ b/apps/dav/lib/CardDAV/SystemAddressbook.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2018, Roeland Jago Douma * - * @author Daniel Calviño Sánchez + * @author Joas Schilling * @author Julius Härtl * @author Roeland Jago Douma * @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\CardDAV; use OCP\IConfig; diff --git a/apps/dav/lib/CardDAV/UserAddressBooks.php b/apps/dav/lib/CardDAV/UserAddressBooks.php index ce03ce43548..98957301120 100644 --- a/apps/dav/lib/CardDAV/UserAddressBooks.php +++ b/apps/dav/lib/CardDAV/UserAddressBooks.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\DAV\CardDAV; use OCA\DAV\AppInfo\PluginManager; diff --git a/apps/dav/lib/CardDAV/Xml/Groups.php b/apps/dav/lib/CardDAV/Xml/Groups.php index e23ff321c1e..bde36129382 100644 --- a/apps/dav/lib/CardDAV/Xml/Groups.php +++ b/apps/dav/lib/CardDAV/Xml/Groups.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\CardDAV\Xml; use Sabre\Xml\Writer; diff --git a/apps/dav/lib/Command/CreateAddressBook.php b/apps/dav/lib/Command/CreateAddressBook.php index 21128745b26..3d56d95868d 100644 --- a/apps/dav/lib/Command/CreateAddressBook.php +++ b/apps/dav/lib/Command/CreateAddressBook.php @@ -5,7 +5,6 @@ * @author Björn Schießle * @author Christoph Wurst * @author Joas Schilling - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Command; use OCA\DAV\CardDAV\CardDavBackend; diff --git a/apps/dav/lib/Command/CreateCalendar.php b/apps/dav/lib/Command/CreateCalendar.php index 5d0eede54b6..4d2012b0d39 100644 --- a/apps/dav/lib/Command/CreateCalendar.php +++ b/apps/dav/lib/Command/CreateCalendar.php @@ -5,7 +5,6 @@ * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author Roeland Jago Douma * @author Thomas Citharel * @author Thomas Müller * @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Command; use OC\KnownUser\KnownUserService; diff --git a/apps/dav/lib/Command/ListCalendars.php b/apps/dav/lib/Command/ListCalendars.php index 1f92b99b716..35581c2d4b2 100644 --- a/apps/dav/lib/Command/ListCalendars.php +++ b/apps/dav/lib/Command/ListCalendars.php @@ -5,7 +5,6 @@ * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author Roeland Jago Douma * @author Thomas Citharel * * @license GNU AGPL version 3 or any later version @@ -17,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Command; use OCA\DAV\CalDAV\BirthdayService; diff --git a/apps/dav/lib/Command/MoveCalendar.php b/apps/dav/lib/Command/MoveCalendar.php index e0b0b63ff66..e6cba3b3330 100644 --- a/apps/dav/lib/Command/MoveCalendar.php +++ b/apps/dav/lib/Command/MoveCalendar.php @@ -1,12 +1,11 @@ * * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) - * @author Roeland Jago Douma + * @author John Molakvoæ * @author Thomas Citharel * * @license GNU AGPL version 3 or any later version @@ -18,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Command; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/lib/Command/RemoveInvalidShares.php b/apps/dav/lib/Command/RemoveInvalidShares.php index cb78c3545a8..4f9e4836a72 100644 --- a/apps/dav/lib/Command/RemoveInvalidShares.php +++ b/apps/dav/lib/Command/RemoveInvalidShares.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\DAV\Command; use OCA\DAV\Connector\Sabre\Principal; diff --git a/apps/dav/lib/Command/RetentionCleanupCommand.php b/apps/dav/lib/Command/RetentionCleanupCommand.php index a1f1d201d83..c9beabc974a 100644 --- a/apps/dav/lib/Command/RetentionCleanupCommand.php +++ b/apps/dav/lib/Command/RetentionCleanupCommand.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Command; use OCA\DAV\CalDAV\RetentionService; diff --git a/apps/dav/lib/Command/SendEventReminders.php b/apps/dav/lib/Command/SendEventReminders.php index 2c52da13cbe..697248d71a0 100644 --- a/apps/dav/lib/Command/SendEventReminders.php +++ b/apps/dav/lib/Command/SendEventReminders.php @@ -4,7 +4,6 @@ * * @author Georg Ehrke * @author Joas Schilling - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -15,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Command; use OCA\DAV\CalDAV\Reminder\ReminderService; diff --git a/apps/dav/lib/Command/SyncBirthdayCalendar.php b/apps/dav/lib/Command/SyncBirthdayCalendar.php index 6536f8439a4..6de5357bfde 100644 --- a/apps/dav/lib/Command/SyncBirthdayCalendar.php +++ b/apps/dav/lib/Command/SyncBirthdayCalendar.php @@ -5,7 +5,6 @@ * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Command; use OCA\DAV\CalDAV\BirthdayService; diff --git a/apps/dav/lib/Command/SyncSystemAddressBook.php b/apps/dav/lib/Command/SyncSystemAddressBook.php index ec17c113a2b..272cca5a08e 100644 --- a/apps/dav/lib/Command/SyncSystemAddressBook.php +++ b/apps/dav/lib/Command/SyncSystemAddressBook.php @@ -4,7 +4,6 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Command; use OCA\DAV\CardDAV\SyncService; diff --git a/apps/dav/lib/Comments/CommentNode.php b/apps/dav/lib/Comments/CommentNode.php index 0ea15d3b1d0..af76027671e 100644 --- a/apps/dav/lib/Comments/CommentNode.php +++ b/apps/dav/lib/Comments/CommentNode.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Comments; use OCP\Comments\IComment; diff --git a/apps/dav/lib/Comments/CommentsPlugin.php b/apps/dav/lib/Comments/CommentsPlugin.php index 5937a2b9afc..a4932751897 100644 --- a/apps/dav/lib/Comments/CommentsPlugin.php +++ b/apps/dav/lib/Comments/CommentsPlugin.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Comments; use OCP\Comments\IComment; diff --git a/apps/dav/lib/Comments/EntityCollection.php b/apps/dav/lib/Comments/EntityCollection.php index b68e3b9cf46..d9b06e1240c 100644 --- a/apps/dav/lib/Comments/EntityCollection.php +++ b/apps/dav/lib/Comments/EntityCollection.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Comments; use OCP\Comments\ICommentsManager; diff --git a/apps/dav/lib/Comments/EntityTypeCollection.php b/apps/dav/lib/Comments/EntityTypeCollection.php index 3e4b3ff9a32..c9df2a068d7 100644 --- a/apps/dav/lib/Comments/EntityTypeCollection.php +++ b/apps/dav/lib/Comments/EntityTypeCollection.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Comments; use OCP\Comments\ICommentsManager; diff --git a/apps/dav/lib/Comments/RootCollection.php b/apps/dav/lib/Comments/RootCollection.php index 65ec4fe8f1b..e8e890696eb 100644 --- a/apps/dav/lib/Comments/RootCollection.php +++ b/apps/dav/lib/Comments/RootCollection.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Comments; use OCP\Comments\CommentsEntityEvent; diff --git a/apps/dav/lib/Connector/LegacyDAVACL.php b/apps/dav/lib/Connector/LegacyDAVACL.php index fd74daaeca1..da570b235de 100644 --- a/apps/dav/lib/Connector/LegacyDAVACL.php +++ b/apps/dav/lib/Connector/LegacyDAVACL.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector; use OCA\DAV\Connector\Sabre\DavAclPlugin; diff --git a/apps/dav/lib/Connector/PublicAuth.php b/apps/dav/lib/Connector/PublicAuth.php index c7de392dbb1..74d65c1669f 100644 --- a/apps/dav/lib/Connector/PublicAuth.php +++ b/apps/dav/lib/Connector/PublicAuth.php @@ -7,7 +7,6 @@ * @author Joas Schilling * @author Lukas Reschke * @author Maxence Lange - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @author Thomas Müller @@ -28,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector; use OCP\IRequest; diff --git a/apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php b/apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php index e209f7f1af6..a71725af121 100644 --- a/apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php +++ b/apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Connector\Sabre; use Sabre\DAV\CorePlugin; diff --git a/apps/dav/lib/Connector/Sabre/AppEnabledPlugin.php b/apps/dav/lib/Connector/Sabre/AppEnabledPlugin.php index 28264b05057..244e5de0683 100644 --- a/apps/dav/lib/Connector/Sabre/AppEnabledPlugin.php +++ b/apps/dav/lib/Connector/Sabre/AppEnabledPlugin.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Georg Ehrke - * @author Morris Jobke * @author Robin Appelman * @author Thomas Müller * @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OCP\App\IAppManager; diff --git a/apps/dav/lib/Connector/Sabre/Auth.php b/apps/dav/lib/Connector/Sabre/Auth.php index fd741dbba36..30a27f672dd 100644 --- a/apps/dav/lib/Connector/Sabre/Auth.php +++ b/apps/dav/lib/Connector/Sabre/Auth.php @@ -13,7 +13,6 @@ * @author Michael Gapczynski * @author Morris Jobke * @author Robin Appelman - * @author Roeland Jago Douma * @author Thomas Müller * @author Vincent Petry * @@ -32,7 +31,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use Exception; diff --git a/apps/dav/lib/Connector/Sabre/BearerAuth.php b/apps/dav/lib/Connector/Sabre/BearerAuth.php index 656d9ce7cda..d28a9cfdb84 100644 --- a/apps/dav/lib/Connector/Sabre/BearerAuth.php +++ b/apps/dav/lib/Connector/Sabre/BearerAuth.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Connector\Sabre; use OCP\IRequest; diff --git a/apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php b/apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php index 4d2cdd1477c..8e2ea4d4e16 100644 --- a/apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php +++ b/apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OCP\IConfig; diff --git a/apps/dav/lib/Connector/Sabre/CachingTree.php b/apps/dav/lib/Connector/Sabre/CachingTree.php index 811ce21b923..eb1233d3540 100644 --- a/apps/dav/lib/Connector/Sabre/CachingTree.php +++ b/apps/dav/lib/Connector/Sabre/CachingTree.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Connector\Sabre; use Sabre\DAV\Tree; diff --git a/apps/dav/lib/Connector/Sabre/ChecksumList.php b/apps/dav/lib/Connector/Sabre/ChecksumList.php index 2e547be6987..74cdc98ef4f 100644 --- a/apps/dav/lib/Connector/Sabre/ChecksumList.php +++ b/apps/dav/lib/Connector/Sabre/ChecksumList.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use Sabre\Xml\Writer; diff --git a/apps/dav/lib/Connector/Sabre/CommentPropertiesPlugin.php b/apps/dav/lib/Connector/Sabre/CommentPropertiesPlugin.php index add69367fc8..82980553fa8 100644 --- a/apps/dav/lib/Connector/Sabre/CommentPropertiesPlugin.php +++ b/apps/dav/lib/Connector/Sabre/CommentPropertiesPlugin.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OCP\Comments\ICommentsManager; diff --git a/apps/dav/lib/Connector/Sabre/CopyEtagHeaderPlugin.php b/apps/dav/lib/Connector/Sabre/CopyEtagHeaderPlugin.php index 0da15c113ee..029e631f4d9 100644 --- a/apps/dav/lib/Connector/Sabre/CopyEtagHeaderPlugin.php +++ b/apps/dav/lib/Connector/Sabre/CopyEtagHeaderPlugin.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use Sabre\DAV\Exception\NotFound; diff --git a/apps/dav/lib/Connector/Sabre/DavAclPlugin.php b/apps/dav/lib/Connector/Sabre/DavAclPlugin.php index d1a85312658..6842975835d 100644 --- a/apps/dav/lib/Connector/Sabre/DavAclPlugin.php +++ b/apps/dav/lib/Connector/Sabre/DavAclPlugin.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OCA\DAV\CardDAV\AddressBook; diff --git a/apps/dav/lib/Connector/Sabre/Directory.php b/apps/dav/lib/Connector/Sabre/Directory.php index 98705c57792..3ae4416d363 100644 --- a/apps/dav/lib/Connector/Sabre/Directory.php +++ b/apps/dav/lib/Connector/Sabre/Directory.php @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OC\Files\Mount\MoveableMount; diff --git a/apps/dav/lib/Connector/Sabre/DummyGetResponsePlugin.php b/apps/dav/lib/Connector/Sabre/DummyGetResponsePlugin.php index 5158fb42410..3a8469e99b4 100644 --- a/apps/dav/lib/Connector/Sabre/DummyGetResponsePlugin.php +++ b/apps/dav/lib/Connector/Sabre/DummyGetResponsePlugin.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use Sabre\HTTP\RequestInterface; diff --git a/apps/dav/lib/Connector/Sabre/Exception/EntityTooLarge.php b/apps/dav/lib/Connector/Sabre/Exception/EntityTooLarge.php index c2b51a93b35..4fc3399ca81 100644 --- a/apps/dav/lib/Connector/Sabre/Exception/EntityTooLarge.php +++ b/apps/dav/lib/Connector/Sabre/Exception/EntityTooLarge.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Morris Jobke - * @author Roeland Jago Douma * @author Thomas Müller * @author Vincent Petry * @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre\Exception; /** diff --git a/apps/dav/lib/Connector/Sabre/Exception/FileLocked.php b/apps/dav/lib/Connector/Sabre/Exception/FileLocked.php index 02ad31d9f75..36063da8d65 100644 --- a/apps/dav/lib/Connector/Sabre/Exception/FileLocked.php +++ b/apps/dav/lib/Connector/Sabre/Exception/FileLocked.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre\Exception; use Exception; diff --git a/apps/dav/lib/Connector/Sabre/Exception/Forbidden.php b/apps/dav/lib/Connector/Sabre/Exception/Forbidden.php index 12f14f4ffd7..aabd5fda2fb 100644 --- a/apps/dav/lib/Connector/Sabre/Exception/Forbidden.php +++ b/apps/dav/lib/Connector/Sabre/Exception/Forbidden.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre\Exception; class Forbidden extends \Sabre\DAV\Exception\Forbidden { diff --git a/apps/dav/lib/Connector/Sabre/Exception/InvalidPath.php b/apps/dav/lib/Connector/Sabre/Exception/InvalidPath.php index 3169e53859d..c504483d45a 100644 --- a/apps/dav/lib/Connector/Sabre/Exception/InvalidPath.php +++ b/apps/dav/lib/Connector/Sabre/Exception/InvalidPath.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre\Exception; use Sabre\DAV\Exception; diff --git a/apps/dav/lib/Connector/Sabre/Exception/PasswordLoginForbidden.php b/apps/dav/lib/Connector/Sabre/Exception/PasswordLoginForbidden.php index 3af51da65df..7c00d15f627 100644 --- a/apps/dav/lib/Connector/Sabre/Exception/PasswordLoginForbidden.php +++ b/apps/dav/lib/Connector/Sabre/Exception/PasswordLoginForbidden.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre\Exception; use DOMElement; diff --git a/apps/dav/lib/Connector/Sabre/Exception/UnsupportedMediaType.php b/apps/dav/lib/Connector/Sabre/Exception/UnsupportedMediaType.php index 8c8a6cc3a03..a7e935d2497 100644 --- a/apps/dav/lib/Connector/Sabre/Exception/UnsupportedMediaType.php +++ b/apps/dav/lib/Connector/Sabre/Exception/UnsupportedMediaType.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Morris Jobke - * @author Roeland Jago Douma * @author Thomas Müller * @author Vincent Petry * @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre\Exception; /** diff --git a/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php b/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php index 94ca86c316c..b4df1f582db 100644 --- a/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php +++ b/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OCA\DAV\Connector\Sabre\Exception\FileLocked; diff --git a/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php b/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php index ee7e5722aed..d05cd6d2e6d 100644 --- a/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php +++ b/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use Sabre\DAV\INode; diff --git a/apps/dav/lib/Connector/Sabre/File.php b/apps/dav/lib/Connector/Sabre/File.php index 19bcb53d9cb..5ff5f831eb5 100644 --- a/apps/dav/lib/Connector/Sabre/File.php +++ b/apps/dav/lib/Connector/Sabre/File.php @@ -36,7 +36,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use Icewind\Streams\CallbackWrapper; diff --git a/apps/dav/lib/Connector/Sabre/FilesPlugin.php b/apps/dav/lib/Connector/Sabre/FilesPlugin.php index fa948f38624..2a1412a8d97 100644 --- a/apps/dav/lib/Connector/Sabre/FilesPlugin.php +++ b/apps/dav/lib/Connector/Sabre/FilesPlugin.php @@ -31,7 +31,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OC\AppFramework\Http\Request; diff --git a/apps/dav/lib/Connector/Sabre/FilesReportPlugin.php b/apps/dav/lib/Connector/Sabre/FilesReportPlugin.php index 35d1d1743ae..9524fe59746 100644 --- a/apps/dav/lib/Connector/Sabre/FilesReportPlugin.php +++ b/apps/dav/lib/Connector/Sabre/FilesReportPlugin.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OC\Files\View; diff --git a/apps/dav/lib/Connector/Sabre/LockPlugin.php b/apps/dav/lib/Connector/Sabre/LockPlugin.php index 89c1d0b8f1b..6305b0ec138 100644 --- a/apps/dav/lib/Connector/Sabre/LockPlugin.php +++ b/apps/dav/lib/Connector/Sabre/LockPlugin.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OCA\DAV\Connector\Sabre\Exception\FileLocked; diff --git a/apps/dav/lib/Connector/Sabre/MaintenancePlugin.php b/apps/dav/lib/Connector/Sabre/MaintenancePlugin.php index 5e6f8ec73b0..e7e3b273b98 100644 --- a/apps/dav/lib/Connector/Sabre/MaintenancePlugin.php +++ b/apps/dav/lib/Connector/Sabre/MaintenancePlugin.php @@ -7,6 +7,7 @@ * @author Joas Schilling * @author Morris Jobke * @author Thomas Müller + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * @author Vincent Petry * * @license AGPL-3.0 @@ -24,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OCP\IConfig; diff --git a/apps/dav/lib/Connector/Sabre/Node.php b/apps/dav/lib/Connector/Sabre/Node.php index b713d0d485b..aa03f42dc35 100644 --- a/apps/dav/lib/Connector/Sabre/Node.php +++ b/apps/dav/lib/Connector/Sabre/Node.php @@ -2,7 +2,6 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Arthur Schiwon * @author Bart Visscher * @author Björn Schießle * @author Christoph Wurst @@ -34,7 +33,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OC\Files\Mount\MoveableMount; diff --git a/apps/dav/lib/Connector/Sabre/ObjectTree.php b/apps/dav/lib/Connector/Sabre/ObjectTree.php index 5e4f757492d..c129371e376 100644 --- a/apps/dav/lib/Connector/Sabre/ObjectTree.php +++ b/apps/dav/lib/Connector/Sabre/ObjectTree.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OC\Files\FileInfo; diff --git a/apps/dav/lib/Connector/Sabre/Principal.php b/apps/dav/lib/Connector/Sabre/Principal.php index 1ebe853e465..5e81e155d74 100644 --- a/apps/dav/lib/Connector/Sabre/Principal.php +++ b/apps/dav/lib/Connector/Sabre/Principal.php @@ -10,8 +10,10 @@ * @author Daniel Kesselberg * @author Georg Ehrke * @author Jakob Sack + * @author Joas Schilling * @author Julius Härtl * @author Lukas Reschke + * @author Maxence Lange * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller @@ -33,7 +35,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OC\KnownUser\KnownUserService; diff --git a/apps/dav/lib/Connector/Sabre/PropfindCompressionPlugin.php b/apps/dav/lib/Connector/Sabre/PropfindCompressionPlugin.php index 7d6679acf99..d0251b2755f 100644 --- a/apps/dav/lib/Connector/Sabre/PropfindCompressionPlugin.php +++ b/apps/dav/lib/Connector/Sabre/PropfindCompressionPlugin.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Connector\Sabre; use Sabre\DAV\ServerPlugin; diff --git a/apps/dav/lib/Connector/Sabre/QuotaPlugin.php b/apps/dav/lib/Connector/Sabre/QuotaPlugin.php index b71dcd72918..f2b652e3320 100644 --- a/apps/dav/lib/Connector/Sabre/QuotaPlugin.php +++ b/apps/dav/lib/Connector/Sabre/QuotaPlugin.php @@ -1,6 +1,8 @@ * @author Felix Moeller @@ -26,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OCA\DAV\Upload\FutureFile; diff --git a/apps/dav/lib/Connector/Sabre/Server.php b/apps/dav/lib/Connector/Sabre/Server.php index 5ae0fa74abf..6cf6fa954c8 100644 --- a/apps/dav/lib/Connector/Sabre/Server.php +++ b/apps/dav/lib/Connector/Sabre/Server.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; /** diff --git a/apps/dav/lib/Connector/Sabre/ServerFactory.php b/apps/dav/lib/Connector/Sabre/ServerFactory.php index 8c0145973f2..5a8b109cd38 100644 --- a/apps/dav/lib/Connector/Sabre/ServerFactory.php +++ b/apps/dav/lib/Connector/Sabre/ServerFactory.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OC\Files\Node\Folder; diff --git a/apps/dav/lib/Connector/Sabre/ShareTypeList.php b/apps/dav/lib/Connector/Sabre/ShareTypeList.php index 75633d9d88d..6fbae0dee4a 100644 --- a/apps/dav/lib/Connector/Sabre/ShareTypeList.php +++ b/apps/dav/lib/Connector/Sabre/ShareTypeList.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use Sabre\Xml\Element; diff --git a/apps/dav/lib/Connector/Sabre/ShareeList.php b/apps/dav/lib/Connector/Sabre/ShareeList.php index a8a5bffbcb6..db8c011cc45 100644 --- a/apps/dav/lib/Connector/Sabre/ShareeList.php +++ b/apps/dav/lib/Connector/Sabre/ShareeList.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Connector\Sabre; use OCP\Share\IShare; diff --git a/apps/dav/lib/Connector/Sabre/SharesPlugin.php b/apps/dav/lib/Connector/Sabre/SharesPlugin.php index 677da9497d8..503d10aece3 100644 --- a/apps/dav/lib/Connector/Sabre/SharesPlugin.php +++ b/apps/dav/lib/Connector/Sabre/SharesPlugin.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use OCA\DAV\Connector\Sabre\Node as DavNode; diff --git a/apps/dav/lib/Connector/Sabre/TagList.php b/apps/dav/lib/Connector/Sabre/TagList.php index f5e19556862..bbb938fb27d 100644 --- a/apps/dav/lib/Connector/Sabre/TagList.php +++ b/apps/dav/lib/Connector/Sabre/TagList.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst - * @author Morris Jobke * @author Thomas Müller * @author Vincent Petry * @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; use Sabre\Xml\Element; diff --git a/apps/dav/lib/Connector/Sabre/TagsPlugin.php b/apps/dav/lib/Connector/Sabre/TagsPlugin.php index a2601f5768a..da5dd874905 100644 --- a/apps/dav/lib/Connector/Sabre/TagsPlugin.php +++ b/apps/dav/lib/Connector/Sabre/TagsPlugin.php @@ -1,6 +1,8 @@ + * @copyright 2014 Vincent Petry * * @author Christoph Wurst * @author Morris Jobke @@ -25,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Connector\Sabre; /** diff --git a/apps/dav/lib/Controller/BirthdayCalendarController.php b/apps/dav/lib/Controller/BirthdayCalendarController.php index f36ecd189ca..addcc4dd20a 100644 --- a/apps/dav/lib/Controller/BirthdayCalendarController.php +++ b/apps/dav/lib/Controller/BirthdayCalendarController.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Controller; use OCA\DAV\BackgroundJob\GenerateBirthdayCalendarBackgroundJob; diff --git a/apps/dav/lib/Controller/DirectController.php b/apps/dav/lib/Controller/DirectController.php index 9733c376fa8..bd77cef4872 100644 --- a/apps/dav/lib/Controller/DirectController.php +++ b/apps/dav/lib/Controller/DirectController.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Controller; use OCA\DAV\Db\Direct; diff --git a/apps/dav/lib/Controller/InvitationResponseController.php b/apps/dav/lib/Controller/InvitationResponseController.php index 726ee1c498a..f6923152dce 100644 --- a/apps/dav/lib/Controller/InvitationResponseController.php +++ b/apps/dav/lib/Controller/InvitationResponseController.php @@ -8,7 +8,6 @@ declare(strict_types=1); * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -19,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Controller; use OCA\DAV\CalDAV\InvitationResponse\InvitationResponseServer; diff --git a/apps/dav/lib/DAV/CustomPropertiesBackend.php b/apps/dav/lib/DAV/CustomPropertiesBackend.php index b25c33add82..d60bfddabfb 100644 --- a/apps/dav/lib/DAV/CustomPropertiesBackend.php +++ b/apps/dav/lib/DAV/CustomPropertiesBackend.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\DAV; use OCA\DAV\Connector\Sabre\Node; diff --git a/apps/dav/lib/DAV/GroupPrincipalBackend.php b/apps/dav/lib/DAV/GroupPrincipalBackend.php index 1b96f2ee8ba..34ac26d7d97 100644 --- a/apps/dav/lib/DAV/GroupPrincipalBackend.php +++ b/apps/dav/lib/DAV/GroupPrincipalBackend.php @@ -6,8 +6,9 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Georg Ehrke - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma + * @author Thomas Citharel * @author Thomas Müller * * @license AGPL-3.0 @@ -25,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\DAV; use OCP\Constants; diff --git a/apps/dav/lib/DAV/PublicAuth.php b/apps/dav/lib/DAV/PublicAuth.php index 66cfea8add1..83874ab0d4d 100644 --- a/apps/dav/lib/DAV/PublicAuth.php +++ b/apps/dav/lib/DAV/PublicAuth.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\DAV; use Sabre\DAV\Auth\Backend\BackendInterface; diff --git a/apps/dav/lib/DAV/Sharing/Backend.php b/apps/dav/lib/DAV/Sharing/Backend.php index 52fb21210f8..0f675ea4c15 100644 --- a/apps/dav/lib/DAV/Sharing/Backend.php +++ b/apps/dav/lib/DAV/Sharing/Backend.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\DAV\Sharing; use OCA\DAV\Connector\Sabre\Principal; diff --git a/apps/dav/lib/DAV/Sharing/IShareable.php b/apps/dav/lib/DAV/Sharing/IShareable.php index 58da1c7d658..3833e026696 100644 --- a/apps/dav/lib/DAV/Sharing/IShareable.php +++ b/apps/dav/lib/DAV/Sharing/IShareable.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\DAV\Sharing; use Sabre\DAV\INode; diff --git a/apps/dav/lib/DAV/Sharing/Plugin.php b/apps/dav/lib/DAV/Sharing/Plugin.php index 88dd817e88b..a4b2cd3681c 100644 --- a/apps/dav/lib/DAV/Sharing/Plugin.php +++ b/apps/dav/lib/DAV/Sharing/Plugin.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\DAV\Sharing; use OCA\DAV\Connector\Sabre\Auth; diff --git a/apps/dav/lib/DAV/Sharing/Xml/Invite.php b/apps/dav/lib/DAV/Sharing/Xml/Invite.php index d931087c3b2..161a8dd0ebf 100644 --- a/apps/dav/lib/DAV/Sharing/Xml/Invite.php +++ b/apps/dav/lib/DAV/Sharing/Xml/Invite.php @@ -1,11 +1,12 @@ * @author Lukas Reschke * @author Robin Appelman - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -23,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\DAV\Sharing\Xml; use OCA\DAV\DAV\Sharing\Plugin; diff --git a/apps/dav/lib/DAV/Sharing/Xml/ShareRequest.php b/apps/dav/lib/DAV/Sharing/Xml/ShareRequest.php index c736824d857..eb5d7d4661d 100644 --- a/apps/dav/lib/DAV/Sharing/Xml/ShareRequest.php +++ b/apps/dav/lib/DAV/Sharing/Xml/ShareRequest.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\DAV\Sharing\Xml; use OCA\DAV\DAV\Sharing\Plugin; diff --git a/apps/dav/lib/DAV/SystemPrincipalBackend.php b/apps/dav/lib/DAV/SystemPrincipalBackend.php index 48dec96c6f3..e5b9a20037f 100644 --- a/apps/dav/lib/DAV/SystemPrincipalBackend.php +++ b/apps/dav/lib/DAV/SystemPrincipalBackend.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst - * @author Morris Jobke * @author Thomas Müller * * @license AGPL-3.0 @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\DAV; use Sabre\DAVACL\PrincipalBackend\AbstractBackend; diff --git a/apps/dav/lib/Db/Direct.php b/apps/dav/lib/Db/Direct.php index 5b96ffe2653..ca2586ab2e0 100644 --- a/apps/dav/lib/Db/Direct.php +++ b/apps/dav/lib/Db/Direct.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Db; use OCP\AppFramework\Db\Entity; diff --git a/apps/dav/lib/Db/DirectMapper.php b/apps/dav/lib/Db/DirectMapper.php index 8192793bb02..c0ed10b97c6 100644 --- a/apps/dav/lib/Db/DirectMapper.php +++ b/apps/dav/lib/Db/DirectMapper.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Db; use OCP\AppFramework\Db\DoesNotExistException; diff --git a/apps/dav/lib/Direct/DirectFile.php b/apps/dav/lib/Direct/DirectFile.php index b53f0f0bbe6..a4a1999aca7 100644 --- a/apps/dav/lib/Direct/DirectFile.php +++ b/apps/dav/lib/Direct/DirectFile.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright 2018, Roeland Jago Douma * + * @author Robin Appelman * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Direct; use OCA\DAV\Db\Direct; diff --git a/apps/dav/lib/Direct/DirectHome.php b/apps/dav/lib/Direct/DirectHome.php index f5f9a2e24a8..a385cd8f39d 100644 --- a/apps/dav/lib/Direct/DirectHome.php +++ b/apps/dav/lib/Direct/DirectHome.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright 2018, Roeland Jago Douma * + * @author Robin Appelman * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Direct; use OC\Security\Bruteforce\Throttler; diff --git a/apps/dav/lib/Direct/Server.php b/apps/dav/lib/Direct/Server.php index 82891bc7695..0ce5798571d 100644 --- a/apps/dav/lib/Direct/Server.php +++ b/apps/dav/lib/Direct/Server.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Direct; class Server extends \Sabre\DAV\Server { diff --git a/apps/dav/lib/Direct/ServerFactory.php b/apps/dav/lib/Direct/ServerFactory.php index d84bb208d3f..05587ab4c2c 100644 --- a/apps/dav/lib/Direct/ServerFactory.php +++ b/apps/dav/lib/Direct/ServerFactory.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright 2018, Roeland Jago Douma * * @author Morris Jobke + * @author Robin Appelman * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -17,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Direct; use OC\Security\Bruteforce\Throttler; diff --git a/apps/dav/lib/Events/AddressBookCreatedEvent.php b/apps/dav/lib/Events/AddressBookCreatedEvent.php index c59675a3bb1..86c4cd23640 100644 --- a/apps/dav/lib/Events/AddressBookCreatedEvent.php +++ b/apps/dav/lib/Events/AddressBookCreatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Events/AddressBookDeletedEvent.php b/apps/dav/lib/Events/AddressBookDeletedEvent.php index 5e35f6401a3..3c8da6b7bf0 100644 --- a/apps/dav/lib/Events/AddressBookDeletedEvent.php +++ b/apps/dav/lib/Events/AddressBookDeletedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Events/AddressBookShareUpdatedEvent.php b/apps/dav/lib/Events/AddressBookShareUpdatedEvent.php index 100c18ebb59..f9f8ff99d40 100644 --- a/apps/dav/lib/Events/AddressBookShareUpdatedEvent.php +++ b/apps/dav/lib/Events/AddressBookShareUpdatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Events/AddressBookUpdatedEvent.php b/apps/dav/lib/Events/AddressBookUpdatedEvent.php index df5e3b29dde..c632f1817a8 100644 --- a/apps/dav/lib/Events/AddressBookUpdatedEvent.php +++ b/apps/dav/lib/Events/AddressBookUpdatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Events/BeforeFileDirectDownloadedEvent.php b/apps/dav/lib/Events/BeforeFileDirectDownloadedEvent.php index d87aa6b8159..ddb79505ac6 100644 --- a/apps/dav/lib/Events/BeforeFileDirectDownloadedEvent.php +++ b/apps/dav/lib/Events/BeforeFileDirectDownloadedEvent.php @@ -1,9 +1,12 @@ * + * @author Robin Appelman + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -13,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\DAV\Events; use OCP\EventDispatcher\Event; diff --git a/apps/dav/lib/Events/CachedCalendarObjectCreatedEvent.php b/apps/dav/lib/Events/CachedCalendarObjectCreatedEvent.php index f070f8abbdc..29e11ddc146 100644 --- a/apps/dav/lib/Events/CachedCalendarObjectCreatedEvent.php +++ b/apps/dav/lib/Events/CachedCalendarObjectCreatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Events/CachedCalendarObjectDeletedEvent.php b/apps/dav/lib/Events/CachedCalendarObjectDeletedEvent.php index 26841cf84ee..eaf98df60bf 100644 --- a/apps/dav/lib/Events/CachedCalendarObjectDeletedEvent.php +++ b/apps/dav/lib/Events/CachedCalendarObjectDeletedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Events/CachedCalendarObjectUpdatedEvent.php b/apps/dav/lib/Events/CachedCalendarObjectUpdatedEvent.php index 178814540e6..d47d75ec1d8 100644 --- a/apps/dav/lib/Events/CachedCalendarObjectUpdatedEvent.php +++ b/apps/dav/lib/Events/CachedCalendarObjectUpdatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Events/CalendarCreatedEvent.php b/apps/dav/lib/Events/CalendarCreatedEvent.php index 2b26fca7648..ba51002f829 100644 --- a/apps/dav/lib/Events/CalendarCreatedEvent.php +++ b/apps/dav/lib/Events/CalendarCreatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Events/CalendarDeletedEvent.php b/apps/dav/lib/Events/CalendarDeletedEvent.php index 2f28c95f7a1..d6207ac6ee2 100644 --- a/apps/dav/lib/Events/CalendarDeletedEvent.php +++ b/apps/dav/lib/Events/CalendarDeletedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Events/CalendarMovedToTrashEvent.php b/apps/dav/lib/Events/CalendarMovedToTrashEvent.php index cc09ef0f072..c04b383d5bf 100644 --- a/apps/dav/lib/Events/CalendarMovedToTrashEvent.php +++ b/apps/dav/lib/Events/CalendarMovedToTrashEvent.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Events; use OCP\EventDispatcher\Event; diff --git a/apps/dav/lib/Events/CalendarObjectCreatedEvent.php b/apps/dav/lib/Events/CalendarObjectCreatedEvent.php index a6afd1e063e..294c778335e 100644 --- a/apps/dav/lib/Events/CalendarObjectCreatedEvent.php +++ b/apps/dav/lib/Events/CalendarObjectCreatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Events/CalendarObjectDeletedEvent.php b/apps/dav/lib/Events/CalendarObjectDeletedEvent.php index 4f21db4c42a..7a621994b80 100644 --- a/apps/dav/lib/Events/CalendarObjectDeletedEvent.php +++ b/apps/dav/lib/Events/CalendarObjectDeletedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Events/CalendarObjectMovedToTrashEvent.php b/apps/dav/lib/Events/CalendarObjectMovedToTrashEvent.php index 91a1fed4019..d7a3b99de82 100644 --- a/apps/dav/lib/Events/CalendarObjectMovedToTrashEvent.php +++ b/apps/dav/lib/Events/CalendarObjectMovedToTrashEvent.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Events; use OCP\EventDispatcher\Event; diff --git a/apps/dav/lib/Events/CalendarObjectRestoredEvent.php b/apps/dav/lib/Events/CalendarObjectRestoredEvent.php index d86c21e9ce8..42f296e64cc 100644 --- a/apps/dav/lib/Events/CalendarObjectRestoredEvent.php +++ b/apps/dav/lib/Events/CalendarObjectRestoredEvent.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Events; use OCP\EventDispatcher\Event; diff --git a/apps/dav/lib/Events/CalendarObjectUpdatedEvent.php b/apps/dav/lib/Events/CalendarObjectUpdatedEvent.php index 7c30854c55d..84157afd20a 100644 --- a/apps/dav/lib/Events/CalendarObjectUpdatedEvent.php +++ b/apps/dav/lib/Events/CalendarObjectUpdatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Events/CalendarPublishedEvent.php b/apps/dav/lib/Events/CalendarPublishedEvent.php index 563570f9d67..7b3b95f2f77 100644 --- a/apps/dav/lib/Events/CalendarPublishedEvent.php +++ b/apps/dav/lib/Events/CalendarPublishedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Events/CalendarRestoredEvent.php b/apps/dav/lib/Events/CalendarRestoredEvent.php index 3d4ac9cb863..ef477ac1d48 100644 --- a/apps/dav/lib/Events/CalendarRestoredEvent.php +++ b/apps/dav/lib/Events/CalendarRestoredEvent.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Events; use OCP\EventDispatcher\Event; diff --git a/apps/dav/lib/Events/CalendarShareUpdatedEvent.php b/apps/dav/lib/Events/CalendarShareUpdatedEvent.php index 7b24fee01b9..a9011bc0273 100644 --- a/apps/dav/lib/Events/CalendarShareUpdatedEvent.php +++ b/apps/dav/lib/Events/CalendarShareUpdatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Events/CalendarUnpublishedEvent.php b/apps/dav/lib/Events/CalendarUnpublishedEvent.php index ae1a8e8cd68..0cea53c6f0d 100644 --- a/apps/dav/lib/Events/CalendarUnpublishedEvent.php +++ b/apps/dav/lib/Events/CalendarUnpublishedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Events/CalendarUpdatedEvent.php b/apps/dav/lib/Events/CalendarUpdatedEvent.php index c109e07bd25..ec33412b478 100644 --- a/apps/dav/lib/Events/CalendarUpdatedEvent.php +++ b/apps/dav/lib/Events/CalendarUpdatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Events/CardCreatedEvent.php b/apps/dav/lib/Events/CardCreatedEvent.php index 90ae187348b..4c6b1714721 100644 --- a/apps/dav/lib/Events/CardCreatedEvent.php +++ b/apps/dav/lib/Events/CardCreatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Events/CardDeletedEvent.php b/apps/dav/lib/Events/CardDeletedEvent.php index 97bd7140fb0..f4d7e21fab1 100644 --- a/apps/dav/lib/Events/CardDeletedEvent.php +++ b/apps/dav/lib/Events/CardDeletedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Events/CardUpdatedEvent.php b/apps/dav/lib/Events/CardUpdatedEvent.php index f6be7aed5f4..213419d51a3 100644 --- a/apps/dav/lib/Events/CardUpdatedEvent.php +++ b/apps/dav/lib/Events/CardUpdatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Events/SabrePluginAuthInitEvent.php b/apps/dav/lib/Events/SabrePluginAuthInitEvent.php index ca3c7b65527..ea1bd95a0f7 100644 --- a/apps/dav/lib/Events/SabrePluginAuthInitEvent.php +++ b/apps/dav/lib/Events/SabrePluginAuthInitEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Events; use OCP\EventDispatcher\Event; diff --git a/apps/dav/lib/Events/SubscriptionCreatedEvent.php b/apps/dav/lib/Events/SubscriptionCreatedEvent.php index 7aa54d33899..f7fc2101221 100644 --- a/apps/dav/lib/Events/SubscriptionCreatedEvent.php +++ b/apps/dav/lib/Events/SubscriptionCreatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Events/SubscriptionDeletedEvent.php b/apps/dav/lib/Events/SubscriptionDeletedEvent.php index 228cb94ec01..fc31005ac0f 100644 --- a/apps/dav/lib/Events/SubscriptionDeletedEvent.php +++ b/apps/dav/lib/Events/SubscriptionDeletedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Events/SubscriptionUpdatedEvent.php b/apps/dav/lib/Events/SubscriptionUpdatedEvent.php index e725157d4c7..29231d13a7f 100644 --- a/apps/dav/lib/Events/SubscriptionUpdatedEvent.php +++ b/apps/dav/lib/Events/SubscriptionUpdatedEvent.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Exception/UnsupportedLimitOnInitialSyncException.php b/apps/dav/lib/Exception/UnsupportedLimitOnInitialSyncException.php index 1754ac17c39..255a06578ac 100644 --- a/apps/dav/lib/Exception/UnsupportedLimitOnInitialSyncException.php +++ b/apps/dav/lib/Exception/UnsupportedLimitOnInitialSyncException.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2019 Georg Ehrke * * @author Georg Ehrke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -14,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Exception; use Sabre\DAV\Exception\InsufficientStorage; diff --git a/apps/dav/lib/Files/BrowserErrorPagePlugin.php b/apps/dav/lib/Files/BrowserErrorPagePlugin.php index 5f9c5916d89..b3ce591bd4a 100644 --- a/apps/dav/lib/Files/BrowserErrorPagePlugin.php +++ b/apps/dav/lib/Files/BrowserErrorPagePlugin.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Files; use OC\AppFramework\Http\Request; diff --git a/apps/dav/lib/Files/FileSearchBackend.php b/apps/dav/lib/Files/FileSearchBackend.php index 7fe049a7b2d..1732b0cc85a 100644 --- a/apps/dav/lib/Files/FileSearchBackend.php +++ b/apps/dav/lib/Files/FileSearchBackend.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Files; use OC\Files\Search\SearchBinaryOperator; diff --git a/apps/dav/lib/Files/FilesHome.php b/apps/dav/lib/Files/FilesHome.php index 698431b6b14..0a781b5589d 100644 --- a/apps/dav/lib/Files/FilesHome.php +++ b/apps/dav/lib/Files/FilesHome.php @@ -5,7 +5,6 @@ * @author Christoph Wurst * @author Morris Jobke * @author Robin Appelman - * @author Roeland Jago Douma * @author Thomas Müller * @author Vincent Petry * @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Files; use OCA\DAV\Connector\Sabre\Directory; diff --git a/apps/dav/lib/Files/LazySearchBackend.php b/apps/dav/lib/Files/LazySearchBackend.php index 2ec41ccfd12..d84c11306e3 100644 --- a/apps/dav/lib/Files/LazySearchBackend.php +++ b/apps/dav/lib/Files/LazySearchBackend.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Files; use SearchDAV\Backend\ISearchBackend; diff --git a/apps/dav/lib/Files/RootCollection.php b/apps/dav/lib/Files/RootCollection.php index 7924299d207..15498ec26ec 100644 --- a/apps/dav/lib/Files/RootCollection.php +++ b/apps/dav/lib/Files/RootCollection.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Files; use OCP\Files\FileInfo; diff --git a/apps/dav/lib/Files/Sharing/FilesDropPlugin.php b/apps/dav/lib/Files/Sharing/FilesDropPlugin.php index 3291a6269dc..3ac541bbfd9 100644 --- a/apps/dav/lib/Files/Sharing/FilesDropPlugin.php +++ b/apps/dav/lib/Files/Sharing/FilesDropPlugin.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Files\Sharing; use OC\Files\View; diff --git a/apps/dav/lib/Files/Sharing/PublicLinkCheckPlugin.php b/apps/dav/lib/Files/Sharing/PublicLinkCheckPlugin.php index 3530e6d9af1..94cd6d29c6c 100644 --- a/apps/dav/lib/Files/Sharing/PublicLinkCheckPlugin.php +++ b/apps/dav/lib/Files/Sharing/PublicLinkCheckPlugin.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Files\Sharing; use OCP\Files\FileInfo; diff --git a/apps/dav/lib/HookManager.php b/apps/dav/lib/HookManager.php index 756d05bedbe..3929fdabbd0 100644 --- a/apps/dav/lib/HookManager.php +++ b/apps/dav/lib/HookManager.php @@ -6,9 +6,8 @@ * @author Bjoern Schiessle * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Robin Appelman - * @author Roeland Jago Douma * @author Thomas Citharel * @author Thomas Müller * @@ -27,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/lib/Listener/ActivityUpdaterListener.php b/apps/dav/lib/Listener/ActivityUpdaterListener.php index 181a5717c95..371912ff035 100644 --- a/apps/dav/lib/Listener/ActivityUpdaterListener.php +++ b/apps/dav/lib/Listener/ActivityUpdaterListener.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Listener; use OCA\DAV\CalDAV\Activity\Backend as ActivityBackend; diff --git a/apps/dav/lib/Listener/AddressbookListener.php b/apps/dav/lib/Listener/AddressbookListener.php index ff86fa55c62..3c17d399d4e 100644 --- a/apps/dav/lib/Listener/AddressbookListener.php +++ b/apps/dav/lib/Listener/AddressbookListener.php @@ -1,6 +1,7 @@ * @@ -15,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Listener; use OCA\DAV\CardDAV\Activity\Backend as ActivityBackend; diff --git a/apps/dav/lib/Listener/CalendarContactInteractionListener.php b/apps/dav/lib/Listener/CalendarContactInteractionListener.php index 1a04d44f6c6..04c759d5c3c 100644 --- a/apps/dav/lib/Listener/CalendarContactInteractionListener.php +++ b/apps/dav/lib/Listener/CalendarContactInteractionListener.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Listener; use OCA\DAV\Connector\Sabre\Principal; diff --git a/apps/dav/lib/Listener/CalendarDeletionDefaultUpdaterListener.php b/apps/dav/lib/Listener/CalendarDeletionDefaultUpdaterListener.php index 8ffe112628d..7bb535383c0 100644 --- a/apps/dav/lib/Listener/CalendarDeletionDefaultUpdaterListener.php +++ b/apps/dav/lib/Listener/CalendarDeletionDefaultUpdaterListener.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Listener; use OCA\DAV\Events\CalendarDeletedEvent; diff --git a/apps/dav/lib/Listener/CalendarObjectReminderUpdaterListener.php b/apps/dav/lib/Listener/CalendarObjectReminderUpdaterListener.php index 8ce6c024367..3c168f6105c 100644 --- a/apps/dav/lib/Listener/CalendarObjectReminderUpdaterListener.php +++ b/apps/dav/lib/Listener/CalendarObjectReminderUpdaterListener.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Listener; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/lib/Listener/CardListener.php b/apps/dav/lib/Listener/CardListener.php index a73ca8191f7..0281127c858 100644 --- a/apps/dav/lib/Listener/CardListener.php +++ b/apps/dav/lib/Listener/CardListener.php @@ -1,6 +1,7 @@ * @@ -15,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Listener; use OCA\DAV\CardDAV\Activity\Provider\Card; diff --git a/apps/dav/lib/Migration/BuildCalendarSearchIndex.php b/apps/dav/lib/Migration/BuildCalendarSearchIndex.php index f731fdf8963..c8a649f3449 100644 --- a/apps/dav/lib/Migration/BuildCalendarSearchIndex.php +++ b/apps/dav/lib/Migration/BuildCalendarSearchIndex.php @@ -2,6 +2,7 @@ /** * @copyright 2017 Georg Ehrke * + * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling * @author Morris Jobke @@ -16,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Migration; use OCP\BackgroundJob\IJobList; diff --git a/apps/dav/lib/Migration/BuildCalendarSearchIndexBackgroundJob.php b/apps/dav/lib/Migration/BuildCalendarSearchIndexBackgroundJob.php index a9002fcc0ce..6a315f2a150 100644 --- a/apps/dav/lib/Migration/BuildCalendarSearchIndexBackgroundJob.php +++ b/apps/dav/lib/Migration/BuildCalendarSearchIndexBackgroundJob.php @@ -4,7 +4,6 @@ * * @author Georg Ehrke * @author Joas Schilling - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -15,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Migration; use OC\BackgroundJob\QueuedJob; diff --git a/apps/dav/lib/Migration/BuildSocialSearchIndex.php b/apps/dav/lib/Migration/BuildSocialSearchIndex.php index b7888b423cb..ae2eb084e2b 100644 --- a/apps/dav/lib/Migration/BuildSocialSearchIndex.php +++ b/apps/dav/lib/Migration/BuildSocialSearchIndex.php @@ -3,6 +3,7 @@ * @copyright 2017 Georg Ehrke * * @author call-me-matt + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -13,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Migration; use OCP\BackgroundJob\IJobList; diff --git a/apps/dav/lib/Migration/BuildSocialSearchIndexBackgroundJob.php b/apps/dav/lib/Migration/BuildSocialSearchIndexBackgroundJob.php index 1769ab3b644..98afecc3b7d 100644 --- a/apps/dav/lib/Migration/BuildSocialSearchIndexBackgroundJob.php +++ b/apps/dav/lib/Migration/BuildSocialSearchIndexBackgroundJob.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Migration; use OC\BackgroundJob\QueuedJob; diff --git a/apps/dav/lib/Migration/CalDAVRemoveEmptyValue.php b/apps/dav/lib/Migration/CalDAVRemoveEmptyValue.php index 272a0895e99..5e575347d95 100644 --- a/apps/dav/lib/Migration/CalDAVRemoveEmptyValue.php +++ b/apps/dav/lib/Migration/CalDAVRemoveEmptyValue.php @@ -2,6 +2,7 @@ /** * @copyright 2017 Joas Schilling * + * @author Christoph Wurst * @author Joas Schilling * @author Julius Härtl * @@ -14,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Migration; use Doctrine\DBAL\Platforms\OraclePlatform; diff --git a/apps/dav/lib/Migration/ChunkCleanup.php b/apps/dav/lib/Migration/ChunkCleanup.php index 90d3b569591..918023552da 100644 --- a/apps/dav/lib/Migration/ChunkCleanup.php +++ b/apps/dav/lib/Migration/ChunkCleanup.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Migration; use OCA\DAV\BackgroundJob\UploadCleanup; diff --git a/apps/dav/lib/Migration/FixBirthdayCalendarComponent.php b/apps/dav/lib/Migration/FixBirthdayCalendarComponent.php index d7506a14edb..6aa499c8b1a 100644 --- a/apps/dav/lib/Migration/FixBirthdayCalendarComponent.php +++ b/apps/dav/lib/Migration/FixBirthdayCalendarComponent.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Migration; use OCA\DAV\CalDAV\BirthdayService; diff --git a/apps/dav/lib/Migration/RefreshWebcalJobRegistrar.php b/apps/dav/lib/Migration/RefreshWebcalJobRegistrar.php index 26dbd989583..ae930712859 100644 --- a/apps/dav/lib/Migration/RefreshWebcalJobRegistrar.php +++ b/apps/dav/lib/Migration/RefreshWebcalJobRegistrar.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Migration; use OCA\DAV\BackgroundJob\RefreshWebcalJob; diff --git a/apps/dav/lib/Migration/RegenerateBirthdayCalendars.php b/apps/dav/lib/Migration/RegenerateBirthdayCalendars.php index 90a34d1130f..29547b09ff7 100644 --- a/apps/dav/lib/Migration/RegenerateBirthdayCalendars.php +++ b/apps/dav/lib/Migration/RegenerateBirthdayCalendars.php @@ -4,7 +4,6 @@ * * @author Arthur Schiwon * @author Georg Ehrke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -15,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Migration; use OCA\DAV\BackgroundJob\RegisterRegenerateBirthdayCalendars; diff --git a/apps/dav/lib/Migration/RegisterBuildReminderIndexBackgroundJob.php b/apps/dav/lib/Migration/RegisterBuildReminderIndexBackgroundJob.php index 53087ff467f..f488d85bde2 100644 --- a/apps/dav/lib/Migration/RegisterBuildReminderIndexBackgroundJob.php +++ b/apps/dav/lib/Migration/RegisterBuildReminderIndexBackgroundJob.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright 2019 Georg Ehrke * + * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling * @author Roeland Jago Douma @@ -18,14 +19,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Migration; use OCA\DAV\BackgroundJob\BuildReminderIndexBackgroundJob; diff --git a/apps/dav/lib/Migration/RemoveClassifiedEventActivity.php b/apps/dav/lib/Migration/RemoveClassifiedEventActivity.php index ef92e4f2031..36108ddadfa 100644 --- a/apps/dav/lib/Migration/RemoveClassifiedEventActivity.php +++ b/apps/dav/lib/Migration/RemoveClassifiedEventActivity.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Migration; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/lib/Migration/RemoveOrphanEventsAndContacts.php b/apps/dav/lib/Migration/RemoveOrphanEventsAndContacts.php index 3e18c4586ea..4789a74d98a 100644 --- a/apps/dav/lib/Migration/RemoveOrphanEventsAndContacts.php +++ b/apps/dav/lib/Migration/RemoveOrphanEventsAndContacts.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Migration; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/lib/Migration/Version1004Date20170825134824.php b/apps/dav/lib/Migration/Version1004Date20170825134824.php index 8119656159e..a7cbaa78ef2 100644 --- a/apps/dav/lib/Migration/Version1004Date20170825134824.php +++ b/apps/dav/lib/Migration/Version1004Date20170825134824.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Migration; use OCP\DB\ISchemaWrapper; diff --git a/apps/dav/lib/Migration/Version1004Date20170919104507.php b/apps/dav/lib/Migration/Version1004Date20170919104507.php index a581978868c..54548f30aca 100644 --- a/apps/dav/lib/Migration/Version1004Date20170919104507.php +++ b/apps/dav/lib/Migration/Version1004Date20170919104507.php @@ -1,6 +1,6 @@ * * @author Joas Schilling * @author Morris Jobke @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Migration; use OCP\DB\ISchemaWrapper; diff --git a/apps/dav/lib/Migration/Version1004Date20170924124212.php b/apps/dav/lib/Migration/Version1004Date20170924124212.php index 0f24f8c30af..623a92a12dd 100644 --- a/apps/dav/lib/Migration/Version1004Date20170924124212.php +++ b/apps/dav/lib/Migration/Version1004Date20170924124212.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Migration; use OCP\DB\ISchemaWrapper; diff --git a/apps/dav/lib/Migration/Version1004Date20170926103422.php b/apps/dav/lib/Migration/Version1004Date20170926103422.php index 3881e922935..6d88effc240 100644 --- a/apps/dav/lib/Migration/Version1004Date20170926103422.php +++ b/apps/dav/lib/Migration/Version1004Date20170926103422.php @@ -1,10 +1,9 @@ * * @author Joas Schilling * @author Morris Jobke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -15,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Migration; use OCP\Migration\BigIntMigration; diff --git a/apps/dav/lib/Migration/Version1005Date20180413093149.php b/apps/dav/lib/Migration/Version1005Date20180413093149.php index e23f2c1b1ad..1ee767ce547 100644 --- a/apps/dav/lib/Migration/Version1005Date20180413093149.php +++ b/apps/dav/lib/Migration/Version1005Date20180413093149.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright 2018, Roeland Jago Douma * + * @author Christoph Wurst * @author Daniel Kesselberg * @author Roeland Jago Douma * @@ -17,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Migration; use OCP\DB\Types; diff --git a/apps/dav/lib/Migration/Version1005Date20180530124431.php b/apps/dav/lib/Migration/Version1005Date20180530124431.php index f75829f1b29..ae057f74599 100644 --- a/apps/dav/lib/Migration/Version1005Date20180530124431.php +++ b/apps/dav/lib/Migration/Version1005Date20180530124431.php @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Migration; use OCP\DB\Types; diff --git a/apps/dav/lib/Migration/Version1006Date20180619154313.php b/apps/dav/lib/Migration/Version1006Date20180619154313.php index 02e807a3d78..c607a14c2a9 100644 --- a/apps/dav/lib/Migration/Version1006Date20180619154313.php +++ b/apps/dav/lib/Migration/Version1006Date20180619154313.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Daniel Kesselberg @@ -17,7 +17,7 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Migration/Version1006Date20180628111625.php b/apps/dav/lib/Migration/Version1006Date20180628111625.php index ab278982d1a..7ce2edccc28 100644 --- a/apps/dav/lib/Migration/Version1006Date20180628111625.php +++ b/apps/dav/lib/Migration/Version1006Date20180628111625.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright 2018 Georg Ehrke * + * @author Christoph Wurst * @author Daniel Kesselberg * @author Georg Ehrke * @author Joas Schilling @@ -19,14 +20,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Migration; use OCP\DB\Types; diff --git a/apps/dav/lib/Migration/Version1008Date20181030113700.php b/apps/dav/lib/Migration/Version1008Date20181030113700.php index 71b1fc29c2e..694f096ff3e 100644 --- a/apps/dav/lib/Migration/Version1008Date20181030113700.php +++ b/apps/dav/lib/Migration/Version1008Date20181030113700.php @@ -1,9 +1,13 @@ * @author Daniel Kesselberg - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -15,15 +19,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ -declare(strict_types=1); - namespace OCA\DAV\Migration; use Closure; diff --git a/apps/dav/lib/Migration/Version1008Date20181105104826.php b/apps/dav/lib/Migration/Version1008Date20181105104826.php index d229b1f0c3c..86ce4c33ce5 100644 --- a/apps/dav/lib/Migration/Version1008Date20181105104826.php +++ b/apps/dav/lib/Migration/Version1008Date20181105104826.php @@ -1,7 +1,11 @@ * @author Daniel Kesselberg * @author Georg Ehrke * @author Roeland Jago Douma @@ -15,16 +19,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - -declare(strict_types=1); - namespace OCA\DAV\Migration; use Closure; diff --git a/apps/dav/lib/Migration/Version1008Date20181105104833.php b/apps/dav/lib/Migration/Version1008Date20181105104833.php index 6456cbe182c..4b4e9cc535e 100644 --- a/apps/dav/lib/Migration/Version1008Date20181105104833.php +++ b/apps/dav/lib/Migration/Version1008Date20181105104833.php @@ -1,4 +1,7 @@ . * */ - -declare(strict_types=1); - namespace OCA\DAV\Migration; use Closure; diff --git a/apps/dav/lib/Migration/Version1008Date20181105110300.php b/apps/dav/lib/Migration/Version1008Date20181105110300.php index dd3d5eb6b00..e275b2a8e1e 100644 --- a/apps/dav/lib/Migration/Version1008Date20181105110300.php +++ b/apps/dav/lib/Migration/Version1008Date20181105110300.php @@ -1,7 +1,11 @@ * @author Daniel Kesselberg * @author Georg Ehrke * @author Roeland Jago Douma @@ -15,16 +19,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - -declare(strict_types=1); - namespace OCA\DAV\Migration; use Closure; diff --git a/apps/dav/lib/Migration/Version1008Date20181105112049.php b/apps/dav/lib/Migration/Version1008Date20181105112049.php index 67b5ae8c99c..8dd7d695e68 100644 --- a/apps/dav/lib/Migration/Version1008Date20181105112049.php +++ b/apps/dav/lib/Migration/Version1008Date20181105112049.php @@ -1,4 +1,7 @@ . * */ - -declare(strict_types=1); - namespace OCA\DAV\Migration; use Closure; diff --git a/apps/dav/lib/Migration/Version1008Date20181114084440.php b/apps/dav/lib/Migration/Version1008Date20181114084440.php index d8224a72383..91f4211e3fa 100644 --- a/apps/dav/lib/Migration/Version1008Date20181114084440.php +++ b/apps/dav/lib/Migration/Version1008Date20181114084440.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Migration; use Closure; diff --git a/apps/dav/lib/Migration/Version1011Date20190725113607.php b/apps/dav/lib/Migration/Version1011Date20190725113607.php index cf23b4f00fa..1191f0e8878 100644 --- a/apps/dav/lib/Migration/Version1011Date20190725113607.php +++ b/apps/dav/lib/Migration/Version1011Date20190725113607.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Georg Ehrke * * @author Christoph Wurst * @author Daniel Kesselberg @@ -19,7 +19,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Migration/Version1011Date20190806104428.php b/apps/dav/lib/Migration/Version1011Date20190806104428.php index c5b6fc5b45f..a6f8772ec08 100644 --- a/apps/dav/lib/Migration/Version1011Date20190806104428.php +++ b/apps/dav/lib/Migration/Version1011Date20190806104428.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Roeland Jago Douma * * @author Christoph Wurst * @author Daniel Kesselberg @@ -19,7 +19,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Migration/Version1012Date20190808122342.php b/apps/dav/lib/Migration/Version1012Date20190808122342.php index d3b4304e571..7bb39db6bf1 100644 --- a/apps/dav/lib/Migration/Version1012Date20190808122342.php +++ b/apps/dav/lib/Migration/Version1012Date20190808122342.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright 2019, Georg Ehrke * + * @author Christoph Wurst * @author Daniel Kesselberg * @author Georg Ehrke * @author Joas Schilling @@ -19,14 +20,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Migration; use OCP\DB\Types; diff --git a/apps/dav/lib/Migration/Version1016Date20201109085907.php b/apps/dav/lib/Migration/Version1016Date20201109085907.php index fd8996d5e22..6828c71301a 100644 --- a/apps/dav/lib/Migration/Version1016Date20201109085907.php +++ b/apps/dav/lib/Migration/Version1016Date20201109085907.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Migration; use Closure; diff --git a/apps/dav/lib/Migration/Version1017Date20210216083742.php b/apps/dav/lib/Migration/Version1017Date20210216083742.php index 20e6ab3bfe8..c5347d773d1 100644 --- a/apps/dav/lib/Migration/Version1017Date20210216083742.php +++ b/apps/dav/lib/Migration/Version1017Date20210216083742.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Migration; use Closure; diff --git a/apps/dav/lib/Migration/Version1018Date20210312100735.php b/apps/dav/lib/Migration/Version1018Date20210312100735.php index 0bf160fb517..b0ea5146caa 100644 --- a/apps/dav/lib/Migration/Version1018Date20210312100735.php +++ b/apps/dav/lib/Migration/Version1018Date20210312100735.php @@ -2,6 +2,27 @@ declare(strict_types=1); +/** + * @copyright Copyright (c) 2016 Christoph Wurst + * + * @author Christoph Wurst + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ namespace OCA\DAV\Migration; use Closure; diff --git a/apps/dav/lib/Provisioning/Apple/AppleProvisioningNode.php b/apps/dav/lib/Provisioning/Apple/AppleProvisioningNode.php index e8f22bba358..4d33367b345 100644 --- a/apps/dav/lib/Provisioning/Apple/AppleProvisioningNode.php +++ b/apps/dav/lib/Provisioning/Apple/AppleProvisioningNode.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Provisioning\Apple; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php b/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php index e25f42c31e7..f92bc4f3a0d 100644 --- a/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php +++ b/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php @@ -6,6 +6,7 @@ * @author Georg Ehrke * @author Morris Jobke * @author Nils Wittenbrink + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -16,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Provisioning\Apple; use OCP\IL10N; diff --git a/apps/dav/lib/RootCollection.php b/apps/dav/lib/RootCollection.php index dcc22566809..aa81d2ff222 100644 --- a/apps/dav/lib/RootCollection.php +++ b/apps/dav/lib/RootCollection.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV; use OC\KnownUser\KnownUserService; diff --git a/apps/dav/lib/Search/ACalendarSearchProvider.php b/apps/dav/lib/Search/ACalendarSearchProvider.php index f5b24e069bd..91904d5e8d6 100644 --- a/apps/dav/lib/Search/ACalendarSearchProvider.php +++ b/apps/dav/lib/Search/ACalendarSearchProvider.php @@ -16,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Search/ContactsSearchProvider.php b/apps/dav/lib/Search/ContactsSearchProvider.php index d92226aa1b1..a7c2969016b 100644 --- a/apps/dav/lib/Search/ContactsSearchProvider.php +++ b/apps/dav/lib/Search/ContactsSearchProvider.php @@ -7,7 +7,7 @@ declare(strict_types=1); * * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -18,7 +18,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Search/EventsSearchProvider.php b/apps/dav/lib/Search/EventsSearchProvider.php index fc9d2d05e8e..5cfa7d30c5a 100644 --- a/apps/dav/lib/Search/EventsSearchProvider.php +++ b/apps/dav/lib/Search/EventsSearchProvider.php @@ -7,7 +7,7 @@ declare(strict_types=1); * * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -18,7 +18,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Search/TasksSearchProvider.php b/apps/dav/lib/Search/TasksSearchProvider.php index b9ec8997120..c8f1d0d288b 100644 --- a/apps/dav/lib/Search/TasksSearchProvider.php +++ b/apps/dav/lib/Search/TasksSearchProvider.php @@ -8,7 +8,7 @@ declare(strict_types=1); * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -19,7 +19,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/lib/Server.php b/apps/dav/lib/Server.php index 50c64380184..9193da49b48 100644 --- a/apps/dav/lib/Server.php +++ b/apps/dav/lib/Server.php @@ -8,7 +8,7 @@ * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Lukas Reschke * @author Morris Jobke * @author Robin Appelman @@ -32,7 +32,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV; use OCA\DAV\AppInfo\PluginManager; diff --git a/apps/dav/lib/Settings/CalDAVSettings.php b/apps/dav/lib/Settings/CalDAVSettings.php index f7bad2e2e2c..d47698efd91 100644 --- a/apps/dav/lib/Settings/CalDAVSettings.php +++ b/apps/dav/lib/Settings/CalDAVSettings.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Settings; use OCP\AppFramework\Http\TemplateResponse; diff --git a/apps/dav/lib/Storage/PublicOwnerWrapper.php b/apps/dav/lib/Storage/PublicOwnerWrapper.php index b8da4c53eca..10bcd20de05 100644 --- a/apps/dav/lib/Storage/PublicOwnerWrapper.php +++ b/apps/dav/lib/Storage/PublicOwnerWrapper.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Storage; use OC\Files\Storage\Wrapper\Wrapper; diff --git a/apps/dav/lib/SystemTag/SystemTagMappingNode.php b/apps/dav/lib/SystemTag/SystemTagMappingNode.php index 414e062f3cb..344ff1dbc70 100644 --- a/apps/dav/lib/SystemTag/SystemTagMappingNode.php +++ b/apps/dav/lib/SystemTag/SystemTagMappingNode.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\SystemTag; use OCP\IUser; diff --git a/apps/dav/lib/SystemTag/SystemTagNode.php b/apps/dav/lib/SystemTag/SystemTagNode.php index c588f506c3c..a31deb59a93 100644 --- a/apps/dav/lib/SystemTag/SystemTagNode.php +++ b/apps/dav/lib/SystemTag/SystemTagNode.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\SystemTag; use OCP\IUser; diff --git a/apps/dav/lib/SystemTag/SystemTagPlugin.php b/apps/dav/lib/SystemTag/SystemTagPlugin.php index 51d50873775..b6bd7d3b7cd 100644 --- a/apps/dav/lib/SystemTag/SystemTagPlugin.php +++ b/apps/dav/lib/SystemTag/SystemTagPlugin.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\SystemTag; use OCP\IGroupManager; diff --git a/apps/dav/lib/SystemTag/SystemTagsByIdCollection.php b/apps/dav/lib/SystemTag/SystemTagsByIdCollection.php index 13b5f009480..1256c58921e 100644 --- a/apps/dav/lib/SystemTag/SystemTagsByIdCollection.php +++ b/apps/dav/lib/SystemTag/SystemTagsByIdCollection.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\SystemTag; use OCP\IGroupManager; diff --git a/apps/dav/lib/SystemTag/SystemTagsObjectMappingCollection.php b/apps/dav/lib/SystemTag/SystemTagsObjectMappingCollection.php index 0216ddd1ae9..8bb34182b0c 100644 --- a/apps/dav/lib/SystemTag/SystemTagsObjectMappingCollection.php +++ b/apps/dav/lib/SystemTag/SystemTagsObjectMappingCollection.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\SystemTag; use OCP\IUser; diff --git a/apps/dav/lib/SystemTag/SystemTagsObjectTypeCollection.php b/apps/dav/lib/SystemTag/SystemTagsObjectTypeCollection.php index 8f663cbe8f8..1ca45c32ce4 100644 --- a/apps/dav/lib/SystemTag/SystemTagsObjectTypeCollection.php +++ b/apps/dav/lib/SystemTag/SystemTagsObjectTypeCollection.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\SystemTag; use OCP\IGroupManager; diff --git a/apps/dav/lib/SystemTag/SystemTagsRelationsCollection.php b/apps/dav/lib/SystemTag/SystemTagsRelationsCollection.php index 353f5bcedfb..4c179d5f0f6 100644 --- a/apps/dav/lib/SystemTag/SystemTagsRelationsCollection.php +++ b/apps/dav/lib/SystemTag/SystemTagsRelationsCollection.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\SystemTag; use OCP\IGroupManager; diff --git a/apps/dav/lib/Traits/PrincipalProxyTrait.php b/apps/dav/lib/Traits/PrincipalProxyTrait.php index 480e2abc209..6e764cac8c0 100644 --- a/apps/dav/lib/Traits/PrincipalProxyTrait.php +++ b/apps/dav/lib/Traits/PrincipalProxyTrait.php @@ -4,7 +4,6 @@ * * @author Christoph Wurst * @author Georg Ehrke - * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -15,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Traits; use OCA\DAV\CalDAV\Proxy\Proxy; diff --git a/apps/dav/lib/Upload/AssemblyStream.php b/apps/dav/lib/Upload/AssemblyStream.php index 3c996ffab4c..aaea5fc88c2 100644 --- a/apps/dav/lib/Upload/AssemblyStream.php +++ b/apps/dav/lib/Upload/AssemblyStream.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Upload; use Sabre\DAV\IFile; diff --git a/apps/dav/lib/Upload/ChunkingPlugin.php b/apps/dav/lib/Upload/ChunkingPlugin.php index 6ef207340e2..5a443ee7712 100644 --- a/apps/dav/lib/Upload/ChunkingPlugin.php +++ b/apps/dav/lib/Upload/ChunkingPlugin.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Upload; use OCA\DAV\Connector\Sabre\Directory; diff --git a/apps/dav/lib/Upload/CleanupService.php b/apps/dav/lib/Upload/CleanupService.php index 0c62c53db02..2b6fc965c01 100644 --- a/apps/dav/lib/Upload/CleanupService.php +++ b/apps/dav/lib/Upload/CleanupService.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Upload; use OCA\DAV\BackgroundJob\UploadCleanup; diff --git a/apps/dav/lib/Upload/FutureFile.php b/apps/dav/lib/Upload/FutureFile.php index ef7d7ac9fd3..eba550a62da 100644 --- a/apps/dav/lib/Upload/FutureFile.php +++ b/apps/dav/lib/Upload/FutureFile.php @@ -4,7 +4,6 @@ * * @author Christoph Wurst * @author Lukas Reschke - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Upload; use OCA\DAV\Connector\Sabre\Directory; diff --git a/apps/dav/lib/Upload/RootCollection.php b/apps/dav/lib/Upload/RootCollection.php index 3dfddf5c0a4..e3ae22af5e9 100644 --- a/apps/dav/lib/Upload/RootCollection.php +++ b/apps/dav/lib/Upload/RootCollection.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\DAV\Upload; use Sabre\DAVACL\AbstractPrincipalCollection; diff --git a/apps/dav/lib/Upload/UploadFile.php b/apps/dav/lib/Upload/UploadFile.php index dabddeb1434..49a2fadecf6 100644 --- a/apps/dav/lib/Upload/UploadFile.php +++ b/apps/dav/lib/Upload/UploadFile.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Upload; use OCA\DAV\Connector\Sabre\File; diff --git a/apps/dav/lib/Upload/UploadFolder.php b/apps/dav/lib/Upload/UploadFolder.php index b983458b95e..bb7c494cee3 100644 --- a/apps/dav/lib/Upload/UploadFolder.php +++ b/apps/dav/lib/Upload/UploadFolder.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Upload; use OCA\DAV\Connector\Sabre\Directory; diff --git a/apps/dav/lib/Upload/UploadHome.php b/apps/dav/lib/Upload/UploadHome.php index b25a2824d3f..35d47b6a82a 100644 --- a/apps/dav/lib/Upload/UploadHome.php +++ b/apps/dav/lib/Upload/UploadHome.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Upload; use OC\Files\Filesystem; diff --git a/apps/dav/tests/unit/AppInfo/ApplicationTest.php b/apps/dav/tests/unit/AppInfo/ApplicationTest.php index fd02993b1ac..2e728f8e872 100644 --- a/apps/dav/tests/unit/AppInfo/ApplicationTest.php +++ b/apps/dav/tests/unit/AppInfo/ApplicationTest.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\AppInfo; use OCA\DAV\AppInfo\Application; diff --git a/apps/dav/tests/unit/AppInfo/PluginManagerTest.php b/apps/dav/tests/unit/AppInfo/PluginManagerTest.php index 3b79207acbf..53e63269067 100644 --- a/apps/dav/tests/unit/AppInfo/PluginManagerTest.php +++ b/apps/dav/tests/unit/AppInfo/PluginManagerTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\AppInfo; use OC\App\AppManager; diff --git a/apps/dav/tests/unit/Avatars/AvatarHomeTest.php b/apps/dav/tests/unit/Avatars/AvatarHomeTest.php index 7415bba37cf..9b2d91954de 100644 --- a/apps/dav/tests/unit/Avatars/AvatarHomeTest.php +++ b/apps/dav/tests/unit/Avatars/AvatarHomeTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\Unit\Avatars; use OCA\DAV\Avatars\AvatarHome; diff --git a/apps/dav/tests/unit/Avatars/AvatarNodeTest.php b/apps/dav/tests/unit/Avatars/AvatarNodeTest.php index 574939fbac4..5a124d7f15b 100644 --- a/apps/dav/tests/unit/Avatars/AvatarNodeTest.php +++ b/apps/dav/tests/unit/Avatars/AvatarNodeTest.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\Unit\Avatars; use OCA\DAV\Avatars\AvatarNode; diff --git a/apps/dav/tests/unit/BackgroundJob/CleanupInvitationTokenJobTest.php b/apps/dav/tests/unit/BackgroundJob/CleanupInvitationTokenJobTest.php index 0c2cfb8b6c1..6233980edbb 100644 --- a/apps/dav/tests/unit/BackgroundJob/CleanupInvitationTokenJobTest.php +++ b/apps/dav/tests/unit/BackgroundJob/CleanupInvitationTokenJobTest.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\BackgroundJob; use OCA\DAV\BackgroundJob\CleanupInvitationTokenJob; diff --git a/apps/dav/tests/unit/BackgroundJob/EventReminderJobTest.php b/apps/dav/tests/unit/BackgroundJob/EventReminderJobTest.php index 4fb2353bbd3..f9276b61956 100644 --- a/apps/dav/tests/unit/BackgroundJob/EventReminderJobTest.php +++ b/apps/dav/tests/unit/BackgroundJob/EventReminderJobTest.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\BackgroundJob; use OCA\DAV\BackgroundJob\EventReminderJob; diff --git a/apps/dav/tests/unit/BackgroundJob/GenerateBirthdayCalendarBackgroundJobTest.php b/apps/dav/tests/unit/BackgroundJob/GenerateBirthdayCalendarBackgroundJobTest.php index fdd8c689d39..6c6e02ce717 100644 --- a/apps/dav/tests/unit/BackgroundJob/GenerateBirthdayCalendarBackgroundJobTest.php +++ b/apps/dav/tests/unit/BackgroundJob/GenerateBirthdayCalendarBackgroundJobTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\BackgroundJob; use OCA\DAV\BackgroundJob\GenerateBirthdayCalendarBackgroundJob; diff --git a/apps/dav/tests/unit/BackgroundJob/RefreshWebcalJobTest.php b/apps/dav/tests/unit/BackgroundJob/RefreshWebcalJobTest.php index c4cb52370ae..eba2a21f761 100644 --- a/apps/dav/tests/unit/BackgroundJob/RefreshWebcalJobTest.php +++ b/apps/dav/tests/unit/BackgroundJob/RefreshWebcalJobTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\BackgroundJob; use OCA\DAV\BackgroundJob\RefreshWebcalJob; diff --git a/apps/dav/tests/unit/BackgroundJob/RegisterRegenerateBirthdayCalendarsTest.php b/apps/dav/tests/unit/BackgroundJob/RegisterRegenerateBirthdayCalendarsTest.php index bd76548169f..f3b1878a833 100644 --- a/apps/dav/tests/unit/BackgroundJob/RegisterRegenerateBirthdayCalendarsTest.php +++ b/apps/dav/tests/unit/BackgroundJob/RegisterRegenerateBirthdayCalendarsTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\BackgroundJob; use OCA\DAV\BackgroundJob\GenerateBirthdayCalendarBackgroundJob; diff --git a/apps/dav/tests/unit/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJobTest.php b/apps/dav/tests/unit/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJobTest.php index 887f48a1d04..5974d0dec99 100644 --- a/apps/dav/tests/unit/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJobTest.php +++ b/apps/dav/tests/unit/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJobTest.php @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\BackgroundJob; use OCA\DAV\BackgroundJob\UpdateCalendarResourcesRoomsBackgroundJob; diff --git a/apps/dav/tests/unit/CalDAV/AbstractCalDavBackend.php b/apps/dav/tests/unit/CalDAV/AbstractCalDavBackend.php index eb0530a8b3d..9414bebd0dd 100644 --- a/apps/dav/tests/unit/CalDAV/AbstractCalDavBackend.php +++ b/apps/dav/tests/unit/CalDAV/AbstractCalDavBackend.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CalDAV; use OC\KnownUser\KnownUserService; diff --git a/apps/dav/tests/unit/CalDAV/Activity/BackendTest.php b/apps/dav/tests/unit/CalDAV/Activity/BackendTest.php index 43d8416fce1..21cbbd169ff 100644 --- a/apps/dav/tests/unit/CalDAV/Activity/BackendTest.php +++ b/apps/dav/tests/unit/CalDAV/Activity/BackendTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Activity; use OCA\DAV\CalDAV\Activity\Backend; diff --git a/apps/dav/tests/unit/CalDAV/Activity/Filter/CalendarTest.php b/apps/dav/tests/unit/CalDAV/Activity/Filter/CalendarTest.php index 1a01f6301d0..de31c71aacb 100644 --- a/apps/dav/tests/unit/CalDAV/Activity/Filter/CalendarTest.php +++ b/apps/dav/tests/unit/CalDAV/Activity/Filter/CalendarTest.php @@ -4,7 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Roeland Jago Douma * @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Activity\Filter; use OCA\DAV\CalDAV\Activity\Filter\Calendar; diff --git a/apps/dav/tests/unit/CalDAV/Activity/Filter/GenericTest.php b/apps/dav/tests/unit/CalDAV/Activity/Filter/GenericTest.php index 7cc02ee008c..af4c87c354b 100644 --- a/apps/dav/tests/unit/CalDAV/Activity/Filter/GenericTest.php +++ b/apps/dav/tests/unit/CalDAV/Activity/Filter/GenericTest.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Activity\Filter; use OCA\DAV\CalDAV\Activity\Filter\Calendar; diff --git a/apps/dav/tests/unit/CalDAV/Activity/Filter/TodoTest.php b/apps/dav/tests/unit/CalDAV/Activity/Filter/TodoTest.php index 36644588b93..e119064046b 100644 --- a/apps/dav/tests/unit/CalDAV/Activity/Filter/TodoTest.php +++ b/apps/dav/tests/unit/CalDAV/Activity/Filter/TodoTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Activity\Filter; use OCA\DAV\CalDAV\Activity\Filter\Todo; diff --git a/apps/dav/tests/unit/CalDAV/Activity/Provider/BaseTest.php b/apps/dav/tests/unit/CalDAV/Activity/Provider/BaseTest.php index 423c37da3e0..21cafee4f88 100644 --- a/apps/dav/tests/unit/CalDAV/Activity/Provider/BaseTest.php +++ b/apps/dav/tests/unit/CalDAV/Activity/Provider/BaseTest.php @@ -4,7 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma * @author Thomas Citharel * @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Activity\Provider; use OCA\DAV\CalDAV\Activity\Provider\Base; diff --git a/apps/dav/tests/unit/CalDAV/Activity/Provider/EventTest.php b/apps/dav/tests/unit/CalDAV/Activity/Provider/EventTest.php index 2ae78444c11..cb86b80d311 100644 --- a/apps/dav/tests/unit/CalDAV/Activity/Provider/EventTest.php +++ b/apps/dav/tests/unit/CalDAV/Activity/Provider/EventTest.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Activity\Provider; use InvalidArgumentException; diff --git a/apps/dav/tests/unit/CalDAV/Activity/Setting/GenericTest.php b/apps/dav/tests/unit/CalDAV/Activity/Setting/GenericTest.php index 44c05e8b0a5..b4c3506565a 100644 --- a/apps/dav/tests/unit/CalDAV/Activity/Setting/GenericTest.php +++ b/apps/dav/tests/unit/CalDAV/Activity/Setting/GenericTest.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Activity\Setting; use OCA\DAV\CalDAV\Activity\Setting\Calendar; diff --git a/apps/dav/tests/unit/CalDAV/BirthdayCalendar/EnablePluginTest.php b/apps/dav/tests/unit/CalDAV/BirthdayCalendar/EnablePluginTest.php index 2978863da88..99e5f2e8e54 100644 --- a/apps/dav/tests/unit/CalDAV/BirthdayCalendar/EnablePluginTest.php +++ b/apps/dav/tests/unit/CalDAV/BirthdayCalendar/EnablePluginTest.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2017 Georg Ehrke * * @author Christoph Wurst + * @author François Freitag * @author Georg Ehrke * @author Morris Jobke * @author Roeland Jago Douma @@ -16,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\BirthdayCalendar; use OCA\DAV\CalDAV\BirthdayCalendar\EnablePlugin; diff --git a/apps/dav/tests/unit/CalDAV/CachedSubscriptionObjectTest.php b/apps/dav/tests/unit/CalDAV/CachedSubscriptionObjectTest.php index 51acfae8204..74e3784aefa 100644 --- a/apps/dav/tests/unit/CalDAV/CachedSubscriptionObjectTest.php +++ b/apps/dav/tests/unit/CalDAV/CachedSubscriptionObjectTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV; use OCA\DAV\CalDAV\CachedSubscriptionObject; diff --git a/apps/dav/tests/unit/CalDAV/CachedSubscriptionTest.php b/apps/dav/tests/unit/CalDAV/CachedSubscriptionTest.php index bc6942062b0..dac5090dccc 100644 --- a/apps/dav/tests/unit/CalDAV/CachedSubscriptionTest.php +++ b/apps/dav/tests/unit/CalDAV/CachedSubscriptionTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV; use OCA\DAV\CalDAV\CachedSubscription; diff --git a/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php b/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php index 03abd554e2b..168269bb16e 100644 --- a/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php +++ b/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CalDAV; use DateTime; diff --git a/apps/dav/tests/unit/CalDAV/CalendarHomeTest.php b/apps/dav/tests/unit/CalDAV/CalendarHomeTest.php index c9ef312df03..451be14bcaf 100644 --- a/apps/dav/tests/unit/CalDAV/CalendarHomeTest.php +++ b/apps/dav/tests/unit/CalDAV/CalendarHomeTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CalDAV; use OCA\DAV\AppInfo\PluginManager; diff --git a/apps/dav/tests/unit/CalDAV/CalendarImplTest.php b/apps/dav/tests/unit/CalDAV/CalendarImplTest.php index 964ec7dfec6..af8c056cac7 100644 --- a/apps/dav/tests/unit/CalDAV/CalendarImplTest.php +++ b/apps/dav/tests/unit/CalDAV/CalendarImplTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/tests/unit/CalDAV/CalendarManagerTest.php b/apps/dav/tests/unit/CalDAV/CalendarManagerTest.php index a04bc1afdc7..c9bd526a505 100644 --- a/apps/dav/tests/unit/CalDAV/CalendarManagerTest.php +++ b/apps/dav/tests/unit/CalDAV/CalendarManagerTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV; use OC\Calendar\Manager; diff --git a/apps/dav/tests/unit/CalDAV/CalendarTest.php b/apps/dav/tests/unit/CalDAV/CalendarTest.php index cfbc08d79dc..4b89e35e81a 100644 --- a/apps/dav/tests/unit/CalDAV/CalendarTest.php +++ b/apps/dav/tests/unit/CalDAV/CalendarTest.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CalDAV; use OCA\DAV\CalDAV\BirthdayService; diff --git a/apps/dav/tests/unit/CalDAV/Integration/ExternalCalendarTest.php b/apps/dav/tests/unit/CalDAV/Integration/ExternalCalendarTest.php index 8d2fab953a7..0131ab443a8 100644 --- a/apps/dav/tests/unit/CalDAV/Integration/ExternalCalendarTest.php +++ b/apps/dav/tests/unit/CalDAV/Integration/ExternalCalendarTest.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Integration; use OCA\DAV\CalDAV\Integration\ExternalCalendar; diff --git a/apps/dav/tests/unit/CalDAV/OutboxTest.php b/apps/dav/tests/unit/CalDAV/OutboxTest.php index 6e18b76841d..8edc0f30ce4 100644 --- a/apps/dav/tests/unit/CalDAV/OutboxTest.php +++ b/apps/dav/tests/unit/CalDAV/OutboxTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV; use OCA\DAV\CalDAV\Outbox; diff --git a/apps/dav/tests/unit/CalDAV/PluginTest.php b/apps/dav/tests/unit/CalDAV/PluginTest.php index 2263176f23c..b5da2199e1c 100644 --- a/apps/dav/tests/unit/CalDAV/PluginTest.php +++ b/apps/dav/tests/unit/CalDAV/PluginTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV; use OCA\DAV\CalDAV\Plugin; diff --git a/apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php b/apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php index 94e224e5952..ba67a7f85a6 100644 --- a/apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php +++ b/apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Georg Ehrke @@ -21,14 +21,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/tests/unit/CalDAV/PublicCalendarTest.php b/apps/dav/tests/unit/CalDAV/PublicCalendarTest.php index 39e5f1edfb1..163b0ec45b8 100644 --- a/apps/dav/tests/unit/CalDAV/PublicCalendarTest.php +++ b/apps/dav/tests/unit/CalDAV/PublicCalendarTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/tests/unit/CalDAV/Publishing/PublisherTest.php b/apps/dav/tests/unit/CalDAV/Publishing/PublisherTest.php index c6c384744b5..d6b97648436 100644 --- a/apps/dav/tests/unit/CalDAV/Publishing/PublisherTest.php +++ b/apps/dav/tests/unit/CalDAV/Publishing/PublisherTest.php @@ -1,11 +1,10 @@ * * @author Christoph Wurst * @author Joas Schilling * @author Morris Jobke - * @author Roeland Jago Douma * @author Thomas Citharel * * @license GNU AGPL version 3 or any later version @@ -17,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Publishing; use OCA\DAV\CalDAV\Publishing\Xml\Publisher; diff --git a/apps/dav/tests/unit/CalDAV/Publishing/PublishingTest.php b/apps/dav/tests/unit/CalDAV/Publishing/PublishingTest.php index 70731878a41..2490bdc3639 100644 --- a/apps/dav/tests/unit/CalDAV/Publishing/PublishingTest.php +++ b/apps/dav/tests/unit/CalDAV/Publishing/PublishingTest.php @@ -1,6 +1,6 @@ * * @author Georg Ehrke * @author Morris Jobke @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Publishing; use OCA\DAV\CalDAV\Calendar; diff --git a/apps/dav/tests/unit/CalDAV/Reminder/BackendTest.php b/apps/dav/tests/unit/CalDAV/Reminder/BackendTest.php index c8e29bb8740..15f949d9adb 100644 --- a/apps/dav/tests/unit/CalDAV/Reminder/BackendTest.php +++ b/apps/dav/tests/unit/CalDAV/Reminder/BackendTest.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Reminder; use OCA\DAV\CalDAV\Reminder\Backend as ReminderBackend; diff --git a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/AbstractNotificationProviderTest.php b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/AbstractNotificationProviderTest.php index 077819ece04..8335428c6d5 100644 --- a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/AbstractNotificationProviderTest.php +++ b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/AbstractNotificationProviderTest.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Reminder\NotificationProvider; use OCA\DAV\CalDAV\Reminder\NotificationProvider\AbstractProvider; diff --git a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/AudioProviderTest.php b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/AudioProviderTest.php index 9004a42f98d..50c780396b0 100644 --- a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/AudioProviderTest.php +++ b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/AudioProviderTest.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Reminder\NotificationProvider; use OCA\DAV\CalDAV\Reminder\NotificationProvider\AudioProvider; diff --git a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/EmailProviderTest.php b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/EmailProviderTest.php index 1b3cbb31f58..9e96a1f3bec 100644 --- a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/EmailProviderTest.php +++ b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/EmailProviderTest.php @@ -22,14 +22,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Reminder\NotificationProvider; use OCA\DAV\CalDAV\Reminder\NotificationProvider\EmailProvider; diff --git a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/PushProviderTest.php b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/PushProviderTest.php index 4f126b98a38..9e9759f5eb8 100644 --- a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/PushProviderTest.php +++ b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/PushProviderTest.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Reminder\NotificationProvider; use OCA\DAV\CalDAV\Reminder\NotificationProvider\PushProvider; diff --git a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProviderManagerTest.php b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProviderManagerTest.php index 24c7a252648..be19f5de8a0 100644 --- a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProviderManagerTest.php +++ b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProviderManagerTest.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Reminder; use OCA\DAV\CalDAV\Reminder\NotificationProvider\EmailProvider; diff --git a/apps/dav/tests/unit/CalDAV/Reminder/NotifierTest.php b/apps/dav/tests/unit/CalDAV/Reminder/NotifierTest.php index 43741f24b38..1c823ac6830 100644 --- a/apps/dav/tests/unit/CalDAV/Reminder/NotifierTest.php +++ b/apps/dav/tests/unit/CalDAV/Reminder/NotifierTest.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Reminder; use OCA\DAV\AppInfo\Application; diff --git a/apps/dav/tests/unit/CalDAV/Reminder/ReminderServiceTest.php b/apps/dav/tests/unit/CalDAV/Reminder/ReminderServiceTest.php index ce5b5acdd69..660b1a48fd9 100644 --- a/apps/dav/tests/unit/CalDAV/Reminder/ReminderServiceTest.php +++ b/apps/dav/tests/unit/CalDAV/Reminder/ReminderServiceTest.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Reminder; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/tests/unit/CalDAV/ResourceBooking/AbstractPrincipalBackendTest.php b/apps/dav/tests/unit/CalDAV/ResourceBooking/AbstractPrincipalBackendTest.php index 1464a1e6c44..5f490286347 100644 --- a/apps/dav/tests/unit/CalDAV/ResourceBooking/AbstractPrincipalBackendTest.php +++ b/apps/dav/tests/unit/CalDAV/ResourceBooking/AbstractPrincipalBackendTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\ResourceBooking; use OCA\DAV\CalDAV\Proxy\Proxy; diff --git a/apps/dav/tests/unit/CalDAV/ResourceBooking/ResourcePrincipalBackendTest.php b/apps/dav/tests/unit/CalDAV/ResourceBooking/ResourcePrincipalBackendTest.php index 877de6f41a4..8b40088b0dc 100644 --- a/apps/dav/tests/unit/CalDAV/ResourceBooking/ResourcePrincipalBackendTest.php +++ b/apps/dav/tests/unit/CalDAV/ResourceBooking/ResourcePrincipalBackendTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\ResourceBooking; use OCA\DAV\CalDAV\ResourceBooking\ResourcePrincipalBackend; diff --git a/apps/dav/tests/unit/CalDAV/ResourceBooking/RoomPrincipalBackendTest.php b/apps/dav/tests/unit/CalDAV/ResourceBooking/RoomPrincipalBackendTest.php index bad66405e80..3d4e118b2e8 100644 --- a/apps/dav/tests/unit/CalDAV/ResourceBooking/RoomPrincipalBackendTest.php +++ b/apps/dav/tests/unit/CalDAV/ResourceBooking/RoomPrincipalBackendTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\ResourceBooking; use OCA\DAV\CalDAV\ResourceBooking\RoomPrincipalBackend; diff --git a/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php b/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php index 3b2abd8575e..a81aac52fbb 100644 --- a/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php +++ b/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CalDAV\Schedule; use OCA\DAV\CalDAV\Schedule\IMipPlugin; diff --git a/apps/dav/tests/unit/CalDAV/Schedule/PluginTest.php b/apps/dav/tests/unit/CalDAV/Schedule/PluginTest.php index 053ac641793..2518cc3d91a 100644 --- a/apps/dav/tests/unit/CalDAV/Schedule/PluginTest.php +++ b/apps/dav/tests/unit/CalDAV/Schedule/PluginTest.php @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Schedule; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/tests/unit/CalDAV/Search/Request/CalendarSearchReportTest.php b/apps/dav/tests/unit/CalDAV/Search/Request/CalendarSearchReportTest.php index 5211df8867a..1d4c34ae84c 100644 --- a/apps/dav/tests/unit/CalDAV/Search/Request/CalendarSearchReportTest.php +++ b/apps/dav/tests/unit/CalDAV/Search/Request/CalendarSearchReportTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Search\Xml\Request; use OCA\DAV\CalDAV\Search\Xml\Request\CalendarSearchReport; diff --git a/apps/dav/tests/unit/CalDAV/Search/SearchPluginTest.php b/apps/dav/tests/unit/CalDAV/Search/SearchPluginTest.php index c6c468b9d62..81155039015 100644 --- a/apps/dav/tests/unit/CalDAV/Search/SearchPluginTest.php +++ b/apps/dav/tests/unit/CalDAV/Search/SearchPluginTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\Search; use OCA\DAV\CalDAV\CalendarHome; diff --git a/apps/dav/tests/unit/CalDAV/WebcalCaching/PluginTest.php b/apps/dav/tests/unit/CalDAV/WebcalCaching/PluginTest.php index 2d57ad3b7d5..b848a5d591a 100644 --- a/apps/dav/tests/unit/CalDAV/WebcalCaching/PluginTest.php +++ b/apps/dav/tests/unit/CalDAV/WebcalCaching/PluginTest.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\CalDAV\WebcalCaching; use OCA\DAV\CalDAV\WebcalCaching\Plugin; diff --git a/apps/dav/tests/unit/CalDAV/WebcalCaching/RefreshWebcalServiceTest.php b/apps/dav/tests/unit/CalDAV/WebcalCaching/RefreshWebcalServiceTest.php index 29a6170b1e7..12e91345709 100644 --- a/apps/dav/tests/unit/CalDAV/WebcalCaching/RefreshWebcalServiceTest.php +++ b/apps/dav/tests/unit/CalDAV/WebcalCaching/RefreshWebcalServiceTest.php @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\BackgroundJob; use GuzzleHttp\HandlerStack; diff --git a/apps/dav/tests/unit/CapabilitiesTest.php b/apps/dav/tests/unit/CapabilitiesTest.php index f137a4923f7..719b62115d9 100644 --- a/apps/dav/tests/unit/CapabilitiesTest.php +++ b/apps/dav/tests/unit/CapabilitiesTest.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit; use OCA\DAV\Capabilities; diff --git a/apps/dav/tests/unit/CardDAV/AddressBookImplTest.php b/apps/dav/tests/unit/CardDAV/AddressBookImplTest.php index 38d560b9539..eb87901f3ac 100644 --- a/apps/dav/tests/unit/CardDAV/AddressBookImplTest.php +++ b/apps/dav/tests/unit/CardDAV/AddressBookImplTest.php @@ -2,12 +2,13 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * + * @author Arthur Schiwon * @author Björn Schießle * @author call-me-matt * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller @@ -27,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CardDAV; use OCA\DAV\CardDAV\AddressBook; diff --git a/apps/dav/tests/unit/CardDAV/AddressBookTest.php b/apps/dav/tests/unit/CardDAV/AddressBookTest.php index cddbd5164dc..23e3e4f3b2a 100644 --- a/apps/dav/tests/unit/CardDAV/AddressBookTest.php +++ b/apps/dav/tests/unit/CardDAV/AddressBookTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CardDAV; use OCA\DAV\CardDAV\AddressBook; diff --git a/apps/dav/tests/unit/CardDAV/BirthdayServiceTest.php b/apps/dav/tests/unit/CardDAV/BirthdayServiceTest.php index 5d1323ba8b9..bb45c88b10d 100644 --- a/apps/dav/tests/unit/CardDAV/BirthdayServiceTest.php +++ b/apps/dav/tests/unit/CardDAV/BirthdayServiceTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CardDAV; use OCA\DAV\CalDAV\BirthdayService; diff --git a/apps/dav/tests/unit/CardDAV/CardDavBackendTest.php b/apps/dav/tests/unit/CardDAV/CardDavBackendTest.php index 60f46ce8fac..fb9522519a5 100644 --- a/apps/dav/tests/unit/CardDAV/CardDavBackendTest.php +++ b/apps/dav/tests/unit/CardDAV/CardDavBackendTest.php @@ -9,7 +9,7 @@ * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CardDAV; use OC\KnownUser\KnownUserService; diff --git a/apps/dav/tests/unit/CardDAV/ContactsManagerTest.php b/apps/dav/tests/unit/CardDAV/ContactsManagerTest.php index 63c1413eec0..e9153c4d197 100644 --- a/apps/dav/tests/unit/CardDAV/ContactsManagerTest.php +++ b/apps/dav/tests/unit/CardDAV/ContactsManagerTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CardDAV; use OCA\DAV\CardDAV\CardDavBackend; diff --git a/apps/dav/tests/unit/CardDAV/ConverterTest.php b/apps/dav/tests/unit/CardDAV/ConverterTest.php index ef46845a5ae..cc5f707bb36 100644 --- a/apps/dav/tests/unit/CardDAV/ConverterTest.php +++ b/apps/dav/tests/unit/CardDAV/ConverterTest.php @@ -2,6 +2,7 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * + * @author Arthur Schiwon * @author Bjoern Schiessle * @author Christoph Wurst * @author Joas Schilling @@ -24,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CardDAV; use OCA\DAV\CardDAV\Converter; diff --git a/apps/dav/tests/unit/CardDAV/ImageExportPluginTest.php b/apps/dav/tests/unit/CardDAV/ImageExportPluginTest.php index 47606a45241..ed5ec544fb6 100644 --- a/apps/dav/tests/unit/CardDAV/ImageExportPluginTest.php +++ b/apps/dav/tests/unit/CardDAV/ImageExportPluginTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CardDAV; use OCA\DAV\CardDAV\AddressBook; diff --git a/apps/dav/tests/unit/CardDAV/Sharing/PluginTest.php b/apps/dav/tests/unit/CardDAV/Sharing/PluginTest.php index 472826ac2f7..e9429e4e18f 100644 --- a/apps/dav/tests/unit/CardDAV/Sharing/PluginTest.php +++ b/apps/dav/tests/unit/CardDAV/Sharing/PluginTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CardDAV\Sharing; use OCA\DAV\Connector\Sabre\Auth; diff --git a/apps/dav/tests/unit/CardDAV/SyncServiceTest.php b/apps/dav/tests/unit/CardDAV/SyncServiceTest.php index 426870853f2..d22a246bbec 100644 --- a/apps/dav/tests/unit/CardDAV/SyncServiceTest.php +++ b/apps/dav/tests/unit/CardDAV/SyncServiceTest.php @@ -2,8 +2,8 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * + * @author Arthur Schiwon * @author Bjoern Schiessle - * @author Christoph Wurst * @author Joas Schilling * @author Morris Jobke * @author Roeland Jago Douma @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\CardDAV; use OCA\DAV\CardDAV\CardDavBackend; diff --git a/apps/dav/tests/unit/Command/ListCalendarsTest.php b/apps/dav/tests/unit/Command/ListCalendarsTest.php index c98365e25fb..6f200da01bf 100644 --- a/apps/dav/tests/unit/Command/ListCalendarsTest.php +++ b/apps/dav/tests/unit/Command/ListCalendarsTest.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Georg Ehrke @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\Command; use OCA\DAV\CalDAV\BirthdayService; diff --git a/apps/dav/tests/unit/Command/MoveCalendarTest.php b/apps/dav/tests/unit/Command/MoveCalendarTest.php index 73443eacb7c..11a5d5a9daa 100644 --- a/apps/dav/tests/unit/Command/MoveCalendarTest.php +++ b/apps/dav/tests/unit/Command/MoveCalendarTest.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Georg Ehrke @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\Command; use InvalidArgumentException; diff --git a/apps/dav/tests/unit/Command/RemoveInvalidSharesTest.php b/apps/dav/tests/unit/Command/RemoveInvalidSharesTest.php index 0cf7d0d75d1..66ac40eff83 100644 --- a/apps/dav/tests/unit/Command/RemoveInvalidSharesTest.php +++ b/apps/dav/tests/unit/Command/RemoveInvalidSharesTest.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\Unit\Command; use OCA\DAV\Command\RemoveInvalidShares; diff --git a/apps/dav/tests/unit/Comments/CommentsNodeTest.php b/apps/dav/tests/unit/Comments/CommentsNodeTest.php index bb063f77f7f..1738e1b53f9 100644 --- a/apps/dav/tests/unit/Comments/CommentsNodeTest.php +++ b/apps/dav/tests/unit/Comments/CommentsNodeTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Comments; use OCA\DAV\Comments\CommentNode; diff --git a/apps/dav/tests/unit/Comments/CommentsPluginTest.php b/apps/dav/tests/unit/Comments/CommentsPluginTest.php index ebd0c431817..5d05b278e18 100644 --- a/apps/dav/tests/unit/Comments/CommentsPluginTest.php +++ b/apps/dav/tests/unit/Comments/CommentsPluginTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Comments; use OC\Comments\Comment; diff --git a/apps/dav/tests/unit/Comments/EntityCollectionTest.php b/apps/dav/tests/unit/Comments/EntityCollectionTest.php index f8f3990fbac..4466b0a6307 100644 --- a/apps/dav/tests/unit/Comments/EntityCollectionTest.php +++ b/apps/dav/tests/unit/Comments/EntityCollectionTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Comments; use OCA\DAV\Comments\EntityCollection; diff --git a/apps/dav/tests/unit/Comments/EntityTypeCollectionTest.php b/apps/dav/tests/unit/Comments/EntityTypeCollectionTest.php index dcdc8608c67..f49b2c39857 100644 --- a/apps/dav/tests/unit/Comments/EntityTypeCollectionTest.php +++ b/apps/dav/tests/unit/Comments/EntityTypeCollectionTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Comments; use OCA\DAV\Comments\EntityCollection as EntityCollectionImplemantation; diff --git a/apps/dav/tests/unit/Comments/RootCollectionTest.php b/apps/dav/tests/unit/Comments/RootCollectionTest.php index e908daaf3dd..6cc038bb7b8 100644 --- a/apps/dav/tests/unit/Comments/RootCollectionTest.php +++ b/apps/dav/tests/unit/Comments/RootCollectionTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Comments; use OC\EventDispatcher\EventDispatcher; diff --git a/apps/dav/tests/unit/Connector/PublicAuthTest.php b/apps/dav/tests/unit/Connector/PublicAuthTest.php index b8b59546eca..cdf269deb33 100644 --- a/apps/dav/tests/unit/Connector/PublicAuthTest.php +++ b/apps/dav/tests/unit/Connector/PublicAuthTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector; use OCP\IRequest; diff --git a/apps/dav/tests/unit/Connector/Sabre/AuthTest.php b/apps/dav/tests/unit/Connector/Sabre/AuthTest.php index 306da871f85..9355b34d66a 100644 --- a/apps/dav/tests/unit/Connector/Sabre/AuthTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/AuthTest.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OC\Authentication\TwoFactorAuth\Manager; diff --git a/apps/dav/tests/unit/Connector/Sabre/BearerAuthTest.php b/apps/dav/tests/unit/Connector/Sabre/BearerAuthTest.php index d6f4d27be5d..007b5c90295 100644 --- a/apps/dav/tests/unit/Connector/Sabre/BearerAuthTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/BearerAuthTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OCA\DAV\Connector\Sabre\BearerAuth; diff --git a/apps/dav/tests/unit/Connector/Sabre/BlockLegacyClientPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/BlockLegacyClientPluginTest.php index 97eb3301d3b..4d2771132cc 100644 --- a/apps/dav/tests/unit/Connector/Sabre/BlockLegacyClientPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/BlockLegacyClientPluginTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OCA\DAV\Connector\Sabre\BlockLegacyClientPlugin; diff --git a/apps/dav/tests/unit/Connector/Sabre/CommentsPropertiesPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/CommentsPropertiesPluginTest.php index 6ad053e9164..ea49cef5d0f 100644 --- a/apps/dav/tests/unit/Connector/Sabre/CommentsPropertiesPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/CommentsPropertiesPluginTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OCA\DAV\Connector\Sabre\CommentPropertiesPlugin as CommentPropertiesPluginImplementation; diff --git a/apps/dav/tests/unit/Connector/Sabre/CopyEtagHeaderPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/CopyEtagHeaderPluginTest.php index 010d8af5a66..858e5c8199b 100644 --- a/apps/dav/tests/unit/Connector/Sabre/CopyEtagHeaderPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/CopyEtagHeaderPluginTest.php @@ -1,7 +1,10 @@ + * Copyright (c) 2015 Vincent Petry * + * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling * @author Morris Jobke @@ -24,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OCA\DAV\Connector\Sabre\CopyEtagHeaderPlugin; diff --git a/apps/dav/tests/unit/Connector/Sabre/CustomPropertiesBackendTest.php b/apps/dav/tests/unit/Connector/Sabre/CustomPropertiesBackendTest.php index 68bc60e1703..48658f3ffa3 100644 --- a/apps/dav/tests/unit/Connector/Sabre/CustomPropertiesBackendTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/CustomPropertiesBackendTest.php @@ -1,6 +1,8 @@ + * Copyright (c) 2015 Vincent Petry * * @author Christoph Wurst * @author Joas Schilling @@ -25,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; /** diff --git a/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php b/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php index 3d98726cb4d..024a6432d01 100644 --- a/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\Unit\Connector\Sabre; use OC\Files\FileInfo; diff --git a/apps/dav/tests/unit/Connector/Sabre/DummyGetResponsePluginTest.php b/apps/dav/tests/unit/Connector/Sabre/DummyGetResponsePluginTest.php index 306c260ae5e..c4b7ed15f2b 100644 --- a/apps/dav/tests/unit/Connector/Sabre/DummyGetResponsePluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/DummyGetResponsePluginTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OCA\DAV\Connector\Sabre\DummyGetResponsePlugin; diff --git a/apps/dav/tests/unit/Connector/Sabre/Exception/ForbiddenTest.php b/apps/dav/tests/unit/Connector/Sabre/Exception/ForbiddenTest.php index 1f6a80f3882..4d316bf870a 100644 --- a/apps/dav/tests/unit/Connector/Sabre/Exception/ForbiddenTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/Exception/ForbiddenTest.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\Exception; use OCA\DAV\Connector\Sabre\Exception\Forbidden; diff --git a/apps/dav/tests/unit/Connector/Sabre/Exception/InvalidPathTest.php b/apps/dav/tests/unit/Connector/Sabre/Exception/InvalidPathTest.php index bb3b421f630..3c68d780ff3 100644 --- a/apps/dav/tests/unit/Connector/Sabre/Exception/InvalidPathTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/Exception/InvalidPathTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\Exception; use OCA\DAV\Connector\Sabre\Exception\InvalidPath; diff --git a/apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php index 239b6c72f76..83f8c416577 100644 --- a/apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OC\Log; diff --git a/apps/dav/tests/unit/Connector/Sabre/FakeLockerPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/FakeLockerPluginTest.php index d47ff00d0b2..578576e3f07 100644 --- a/apps/dav/tests/unit/Connector/Sabre/FakeLockerPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/FakeLockerPluginTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OCA\DAV\Connector\Sabre\FakeLockerPlugin; diff --git a/apps/dav/tests/unit/Connector/Sabre/FileTest.php b/apps/dav/tests/unit/Connector/Sabre/FileTest.php index bf3890432ec..304e8abed07 100644 --- a/apps/dav/tests/unit/Connector/Sabre/FileTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/FileTest.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OC\AppFramework\Http\Request; diff --git a/apps/dav/tests/unit/Connector/Sabre/FilesPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/FilesPluginTest.php index ea9bc371d51..9f254822f32 100644 --- a/apps/dav/tests/unit/Connector/Sabre/FilesPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/FilesPluginTest.php @@ -1,6 +1,8 @@ + * Copyright (c) 2015 Vincent Petry * * @author Christoph Wurst * @author Joas Schilling @@ -27,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OC\User\User; diff --git a/apps/dav/tests/unit/Connector/Sabre/FilesReportPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/FilesReportPluginTest.php index 23ab9f05ae7..8f59b5c791b 100644 --- a/apps/dav/tests/unit/Connector/Sabre/FilesReportPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/FilesReportPluginTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OC\Files\View; diff --git a/apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php b/apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php index afef4e91414..3f38008559c 100644 --- a/apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php @@ -7,6 +7,7 @@ * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * * @license AGPL-3.0 * @@ -23,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OCA\DAV\Connector\Sabre\MaintenancePlugin; diff --git a/apps/dav/tests/unit/Connector/Sabre/NodeTest.php b/apps/dav/tests/unit/Connector/Sabre/NodeTest.php index 4244792c46a..18ccd0fe690 100644 --- a/apps/dav/tests/unit/Connector/Sabre/NodeTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/NodeTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OC\Files\FileInfo; diff --git a/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php b/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php index 3bf8c0b642c..d77f65b33f5 100644 --- a/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OC\Files\FileInfo; diff --git a/apps/dav/tests/unit/Connector/Sabre/PrincipalTest.php b/apps/dav/tests/unit/Connector/Sabre/PrincipalTest.php index c9e3d44bf88..acaa82dca8b 100644 --- a/apps/dav/tests/unit/Connector/Sabre/PrincipalTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/PrincipalTest.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OC\KnownUser\KnownUserService; diff --git a/apps/dav/tests/unit/Connector/Sabre/PropfindCompressionPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/PropfindCompressionPluginTest.php index 2279a582845..e048190e633 100644 --- a/apps/dav/tests/unit/Connector/Sabre/PropfindCompressionPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/PropfindCompressionPluginTest.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OCA\DAV\Connector\Sabre\PropfindCompressionPlugin; diff --git a/apps/dav/tests/unit/Connector/Sabre/QuotaPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/QuotaPluginTest.php index 302961d6de6..69b2140e640 100644 --- a/apps/dav/tests/unit/Connector/Sabre/QuotaPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/QuotaPluginTest.php @@ -1,6 +1,8 @@ + * Copyright (c) 2013 Thomas Müller * * @author Christoph Wurst * @author Georg Ehrke @@ -26,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OC\Files\View; diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/Auth.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/Auth.php index e8471f36319..917c63038cb 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/Auth.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/Auth.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; use Sabre\DAV\Auth\Backend\BackendInterface; diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/DeleteTest.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/DeleteTest.php index e0ed00ada08..b76564e59d4 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/DeleteTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/DeleteTest.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; use OCP\AppFramework\Http; diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/DownloadTest.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/DownloadTest.php index ad41ddb7947..ceae6fadf28 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/DownloadTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/DownloadTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; use OCP\AppFramework\Http; diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/EncryptionMasterKeyUploadTest.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/EncryptionMasterKeyUploadTest.php index 48b854640ca..f0fd9e5a833 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/EncryptionMasterKeyUploadTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/EncryptionMasterKeyUploadTest.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; use OC\Files\View; diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/EncryptionUploadTest.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/EncryptionUploadTest.php index acdf1cf8d3b..da7c35560cb 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/EncryptionUploadTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/EncryptionUploadTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; use OC\Files\View; diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/ExceptionPlugin.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/ExceptionPlugin.php index 7eef0f74343..eb459912bf4 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/ExceptionPlugin.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/ExceptionPlugin.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; class ExceptionPlugin extends \OCA\DAV\Connector\Sabre\ExceptionLoggerPlugin { diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php index 3297b7278c1..88ec848ad89 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; use OCP\IConfig; diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php index 112f1280778..5adfece42e8 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; use OC\Files\View; diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/Sapi.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/Sapi.php index a32162f97c3..4a2e025f018 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/Sapi.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/Sapi.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; use Sabre\HTTP\Request; diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/UploadTest.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/UploadTest.php index 07396f6f535..9f7d381ad14 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/UploadTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/UploadTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; use OCP\AppFramework\Http; diff --git a/apps/dav/tests/unit/Connector/Sabre/SharesPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/SharesPluginTest.php index 900dee6df63..f528310e54c 100644 --- a/apps/dav/tests/unit/Connector/Sabre/SharesPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/SharesPluginTest.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OCA\DAV\Connector\Sabre\Directory; diff --git a/apps/dav/tests/unit/Connector/Sabre/TagsPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/TagsPluginTest.php index a0ef78c7520..995342db003 100644 --- a/apps/dav/tests/unit/Connector/Sabre/TagsPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/TagsPluginTest.php @@ -1,6 +1,8 @@ + * Copyright (c) 2014 Vincent Petry * * @author Christoph Wurst * @author Daniel Kesselberg @@ -25,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Connector\Sabre; use OCA\DAV\Connector\Sabre\Directory; diff --git a/apps/dav/tests/unit/Controller/BirthdayCalendarControllerTest.php b/apps/dav/tests/unit/Controller/BirthdayCalendarControllerTest.php index f017664238c..37650e6f1ed 100644 --- a/apps/dav/tests/unit/Controller/BirthdayCalendarControllerTest.php +++ b/apps/dav/tests/unit/Controller/BirthdayCalendarControllerTest.php @@ -4,6 +4,7 @@ * * @author Arthur Schiwon * @author Christoph Wurst + * @author François Freitag * @author Georg Ehrke * @author Morris Jobke * @author Roeland Jago Douma @@ -17,14 +18,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\Unit\DAV\Controller; use OCA\DAV\BackgroundJob\GenerateBirthdayCalendarBackgroundJob; diff --git a/apps/dav/tests/unit/Controller/DirectControllerTest.php b/apps/dav/tests/unit/Controller/DirectControllerTest.php index 2c8a708ba02..b85610f94d8 100644 --- a/apps/dav/tests/unit/Controller/DirectControllerTest.php +++ b/apps/dav/tests/unit/Controller/DirectControllerTest.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\Unit\DAV\Controller; use OCA\DAV\Controller\DirectController; diff --git a/apps/dav/tests/unit/Controller/InvitationResponseControllerTest.php b/apps/dav/tests/unit/Controller/InvitationResponseControllerTest.php index 87db11ddd69..e8b6af9fcea 100644 --- a/apps/dav/tests/unit/Controller/InvitationResponseControllerTest.php +++ b/apps/dav/tests/unit/Controller/InvitationResponseControllerTest.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\Unit\DAV\Controller; use OCA\DAV\CalDAV\InvitationResponse\InvitationResponseServer; diff --git a/apps/dav/tests/unit/DAV/AnonymousOptionsTest.php b/apps/dav/tests/unit/DAV/AnonymousOptionsTest.php index a9e679e4470..8c178ba8e44 100644 --- a/apps/dav/tests/unit/DAV/AnonymousOptionsTest.php +++ b/apps/dav/tests/unit/DAV/AnonymousOptionsTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\tests\unit\DAV; use OCA\DAV\Connector\Sabre\AnonymousOptionsPlugin; diff --git a/apps/dav/tests/unit/DAV/BrowserErrorPagePluginTest.php b/apps/dav/tests/unit/DAV/BrowserErrorPagePluginTest.php index 370852abdad..a0733a68550 100644 --- a/apps/dav/tests/unit/DAV/BrowserErrorPagePluginTest.php +++ b/apps/dav/tests/unit/DAV/BrowserErrorPagePluginTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\DAV; use OCA\DAV\Files\BrowserErrorPagePlugin; diff --git a/apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php b/apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php index 855add1fc1d..2e7939aa614 100644 --- a/apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php +++ b/apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php @@ -18,14 +18,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\DAV; use OCA\DAV\DAV\CustomPropertiesBackend; diff --git a/apps/dav/tests/unit/DAV/GroupPrincipalTest.php b/apps/dav/tests/unit/DAV/GroupPrincipalTest.php index 7e80930bc76..8f86961a6af 100644 --- a/apps/dav/tests/unit/DAV/GroupPrincipalTest.php +++ b/apps/dav/tests/unit/DAV/GroupPrincipalTest.php @@ -7,9 +7,10 @@ * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Roeland Jago Douma + * @author Thomas Citharel * @author Thomas Müller * * @license AGPL-3.0 @@ -27,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\DAV; use OC\Group\Group; diff --git a/apps/dav/tests/unit/DAV/HookManagerTest.php b/apps/dav/tests/unit/DAV/HookManagerTest.php index 8b8fad4d7cf..d36db8f90c8 100644 --- a/apps/dav/tests/unit/DAV/HookManagerTest.php +++ b/apps/dav/tests/unit/DAV/HookManagerTest.php @@ -5,7 +5,7 @@ * @author Bjoern Schiessle * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Lukas Reschke * @author Morris Jobke * @author Robin Appelman @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\DAV; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/tests/unit/DAV/Sharing/PluginTest.php b/apps/dav/tests/unit/DAV/Sharing/PluginTest.php index 0b01f46ffec..1c4bb5e12e4 100644 --- a/apps/dav/tests/unit/DAV/Sharing/PluginTest.php +++ b/apps/dav/tests/unit/DAV/Sharing/PluginTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\DAV\Sharing; use OCA\DAV\Connector\Sabre\Auth; diff --git a/apps/dav/tests/unit/DAV/SystemPrincipalBackendTest.php b/apps/dav/tests/unit/DAV/SystemPrincipalBackendTest.php index 6ad6874e7ed..05e6699cc4c 100644 --- a/apps/dav/tests/unit/DAV/SystemPrincipalBackendTest.php +++ b/apps/dav/tests/unit/DAV/SystemPrincipalBackendTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\DAV; use OCA\DAV\DAV\SystemPrincipalBackend; diff --git a/apps/dav/tests/unit/Direct/DirectFileTest.php b/apps/dav/tests/unit/Direct/DirectFileTest.php index 73722bccb96..5899b23d0b9 100644 --- a/apps/dav/tests/unit/Direct/DirectFileTest.php +++ b/apps/dav/tests/unit/Direct/DirectFileTest.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright 2018, Roeland Jago Douma * * @author Morris Jobke + * @author Robin Appelman * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -17,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\Unit\Direct; use OCA\DAV\Db\Direct; diff --git a/apps/dav/tests/unit/Direct/DirectHomeTest.php b/apps/dav/tests/unit/Direct/DirectHomeTest.php index 9ce76819451..073aa28f121 100644 --- a/apps/dav/tests/unit/Direct/DirectHomeTest.php +++ b/apps/dav/tests/unit/Direct/DirectHomeTest.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright 2018, Roeland Jago Douma * * @author Morris Jobke + * @author Robin Appelman * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -17,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\Unit\Direct; use OC\Security\Bruteforce\Throttler; diff --git a/apps/dav/tests/unit/Files/FileSearchBackendTest.php b/apps/dav/tests/unit/Files/FileSearchBackendTest.php index 7eff39535b6..dec5db1b1b0 100644 --- a/apps/dav/tests/unit/Files/FileSearchBackendTest.php +++ b/apps/dav/tests/unit/Files/FileSearchBackendTest.php @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\Files; use OC\Files\Search\SearchComparison; diff --git a/apps/dav/tests/unit/Files/Sharing/FilesDropPluginTest.php b/apps/dav/tests/unit/Files/Sharing/FilesDropPluginTest.php index 2543dc9d009..a24125b6804 100644 --- a/apps/dav/tests/unit/Files/Sharing/FilesDropPluginTest.php +++ b/apps/dav/tests/unit/Files/Sharing/FilesDropPluginTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\Files\Sharing; use OC\Files\View; diff --git a/apps/dav/tests/unit/Listener/CalendarContactInteractionListenerTest.php b/apps/dav/tests/unit/Listener/CalendarContactInteractionListenerTest.php index 5a90f5440a0..29058653a47 100644 --- a/apps/dav/tests/unit/Listener/CalendarContactInteractionListenerTest.php +++ b/apps/dav/tests/unit/Listener/CalendarContactInteractionListenerTest.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\DAV\Tests\Unit\Listener; use OCA\DAV\Connector\Sabre\Principal; diff --git a/apps/dav/tests/unit/Migration/CalDAVRemoveEmptyValueTest.php b/apps/dav/tests/unit/Migration/CalDAVRemoveEmptyValueTest.php index 4276db3c83e..478be5b4294 100644 --- a/apps/dav/tests/unit/Migration/CalDAVRemoveEmptyValueTest.php +++ b/apps/dav/tests/unit/Migration/CalDAVRemoveEmptyValueTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\Unit\DAV\Migration; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/tests/unit/Migration/RefreshWebcalJobRegistrarTest.php b/apps/dav/tests/unit/Migration/RefreshWebcalJobRegistrarTest.php index 87f7c79a770..427bf6da145 100644 --- a/apps/dav/tests/unit/Migration/RefreshWebcalJobRegistrarTest.php +++ b/apps/dav/tests/unit/Migration/RefreshWebcalJobRegistrarTest.php @@ -4,6 +4,7 @@ * * @author Christoph Wurst * @author Georg Ehrke + * @author Joas Schilling * @author Morris Jobke * @author Roeland Jago Douma * @@ -16,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\DAV\Migration; use OCA\DAV\BackgroundJob\RefreshWebcalJob; diff --git a/apps/dav/tests/unit/Migration/RegenerateBirthdayCalendarsTest.php b/apps/dav/tests/unit/Migration/RegenerateBirthdayCalendarsTest.php index 639708c57ff..bb5210f18fb 100644 --- a/apps/dav/tests/unit/Migration/RegenerateBirthdayCalendarsTest.php +++ b/apps/dav/tests/unit/Migration/RegenerateBirthdayCalendarsTest.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2018, Georg Ehrke * * @author Arthur Schiwon + * @author François Freitag * @author Georg Ehrke * @author Morris Jobke * @author Roeland Jago Douma @@ -16,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\DAV\Migration; use OCA\DAV\BackgroundJob\RegisterRegenerateBirthdayCalendars; diff --git a/apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningNodeTest.php b/apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningNodeTest.php index 71401fa31d5..2f4728f1966 100644 --- a/apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningNodeTest.php +++ b/apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningNodeTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\Provisioning\Apple; use OCA\DAV\Provisioning\Apple\AppleProvisioningNode; diff --git a/apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningPluginTest.php b/apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningPluginTest.php index a77d3d3c859..5bff59cbc7c 100644 --- a/apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningPluginTest.php +++ b/apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningPluginTest.php @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\unit\Provisioning\Apple; use OCA\DAV\Provisioning\Apple\AppleProvisioningPlugin; diff --git a/apps/dav/tests/unit/Search/ContactsSearchProviderTest.php b/apps/dav/tests/unit/Search/ContactsSearchProviderTest.php index 7e9fc6d9a49..b91612ae5be 100644 --- a/apps/dav/tests/unit/Search/ContactsSearchProviderTest.php +++ b/apps/dav/tests/unit/Search/ContactsSearchProviderTest.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2020, Georg Ehrke * * @author Georg Ehrke - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -17,7 +17,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/tests/unit/Search/EventsSearchProviderTest.php b/apps/dav/tests/unit/Search/EventsSearchProviderTest.php index 1f8c7f23d37..a2f4e66fbdb 100644 --- a/apps/dav/tests/unit/Search/EventsSearchProviderTest.php +++ b/apps/dav/tests/unit/Search/EventsSearchProviderTest.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2020, Georg Ehrke * * @author Georg Ehrke - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -17,7 +17,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/tests/unit/Search/TasksSearchProviderTest.php b/apps/dav/tests/unit/Search/TasksSearchProviderTest.php index 218f7674412..13dc02bb278 100644 --- a/apps/dav/tests/unit/Search/TasksSearchProviderTest.php +++ b/apps/dav/tests/unit/Search/TasksSearchProviderTest.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2020, Georg Ehrke * * @author Georg Ehrke - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -17,7 +17,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/dav/tests/unit/ServerTest.php b/apps/dav/tests/unit/ServerTest.php index e3377afc46c..8cdd52f5745 100644 --- a/apps/dav/tests/unit/ServerTest.php +++ b/apps/dav/tests/unit/ServerTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit; use OCA\DAV\Server; diff --git a/apps/dav/tests/unit/Settings/CalDAVSettingsTest.php b/apps/dav/tests/unit/Settings/CalDAVSettingsTest.php index 5c8a89db547..dd9942677c0 100644 --- a/apps/dav/tests/unit/Settings/CalDAVSettingsTest.php +++ b/apps/dav/tests/unit/Settings/CalDAVSettingsTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\DAV\Tests\Unit\DAV\Settings; use OCA\DAV\Settings\CalDAVSettings; diff --git a/apps/dav/tests/unit/SystemTag/SystemTagMappingNodeTest.php b/apps/dav/tests/unit/SystemTag/SystemTagMappingNodeTest.php index cf0373d5e33..e39cb0a04d3 100644 --- a/apps/dav/tests/unit/SystemTag/SystemTagMappingNodeTest.php +++ b/apps/dav/tests/unit/SystemTag/SystemTagMappingNodeTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\SystemTag; use OC\SystemTag\SystemTag; diff --git a/apps/dav/tests/unit/SystemTag/SystemTagNodeTest.php b/apps/dav/tests/unit/SystemTag/SystemTagNodeTest.php index a30ce43ba94..409132919a5 100644 --- a/apps/dav/tests/unit/SystemTag/SystemTagNodeTest.php +++ b/apps/dav/tests/unit/SystemTag/SystemTagNodeTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\SystemTag; use OC\SystemTag\SystemTag; diff --git a/apps/dav/tests/unit/SystemTag/SystemTagPluginTest.php b/apps/dav/tests/unit/SystemTag/SystemTagPluginTest.php index d950af3efdb..aa7026d3854 100644 --- a/apps/dav/tests/unit/SystemTag/SystemTagPluginTest.php +++ b/apps/dav/tests/unit/SystemTag/SystemTagPluginTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\SystemTag; use OC\SystemTag\SystemTag; diff --git a/apps/dav/tests/unit/SystemTag/SystemTagsByIdCollectionTest.php b/apps/dav/tests/unit/SystemTag/SystemTagsByIdCollectionTest.php index 378545beabd..72da59dfcce 100644 --- a/apps/dav/tests/unit/SystemTag/SystemTagsByIdCollectionTest.php +++ b/apps/dav/tests/unit/SystemTag/SystemTagsByIdCollectionTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\SystemTag; use OC\SystemTag\SystemTag; diff --git a/apps/dav/tests/unit/SystemTag/SystemTagsObjectMappingCollectionTest.php b/apps/dav/tests/unit/SystemTag/SystemTagsObjectMappingCollectionTest.php index 54fc82876c0..bb71de8ea8e 100644 --- a/apps/dav/tests/unit/SystemTag/SystemTagsObjectMappingCollectionTest.php +++ b/apps/dav/tests/unit/SystemTag/SystemTagsObjectMappingCollectionTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\SystemTag; use OC\SystemTag\SystemTag; diff --git a/apps/dav/tests/unit/SystemTag/SystemTagsObjectTypeCollectionTest.php b/apps/dav/tests/unit/SystemTag/SystemTagsObjectTypeCollectionTest.php index e50c30df3b9..11c9fc5977c 100644 --- a/apps/dav/tests/unit/SystemTag/SystemTagsObjectTypeCollectionTest.php +++ b/apps/dav/tests/unit/SystemTag/SystemTagsObjectTypeCollectionTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\SystemTag; use OCP\Files\Folder; diff --git a/apps/dav/tests/unit/Upload/AssemblyStreamTest.php b/apps/dav/tests/unit/Upload/AssemblyStreamTest.php index 2660951efee..c7d2fea2871 100644 --- a/apps/dav/tests/unit/Upload/AssemblyStreamTest.php +++ b/apps/dav/tests/unit/Upload/AssemblyStreamTest.php @@ -8,7 +8,6 @@ * @author Markus Goetz * @author Morris Jobke * @author Robin Appelman - * @author Roeland Jago Douma * @author Thomas Müller * @author Vincent Petry * @@ -27,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Upload; use Sabre\DAV\File; diff --git a/apps/dav/tests/unit/Upload/ChunkingPluginTest.php b/apps/dav/tests/unit/Upload/ChunkingPluginTest.php index e6548e87847..766b3e1f457 100644 --- a/apps/dav/tests/unit/Upload/ChunkingPluginTest.php +++ b/apps/dav/tests/unit/Upload/ChunkingPluginTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Upload; use OCA\DAV\Connector\Sabre\Directory; diff --git a/apps/dav/tests/unit/Upload/FutureFileTest.php b/apps/dav/tests/unit/Upload/FutureFileTest.php index 793241cda72..0c276167e1c 100644 --- a/apps/dav/tests/unit/Upload/FutureFileTest.php +++ b/apps/dav/tests/unit/Upload/FutureFileTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\DAV\Tests\unit\Upload; use OCA\DAV\Connector\Sabre\Directory; diff --git a/apps/encryption/appinfo/app.php b/apps/encryption/appinfo/app.php index 5fd5f628de0..c42a0435a14 100644 --- a/apps/encryption/appinfo/app.php +++ b/apps/encryption/appinfo/app.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\AppInfo; \OCP\Util::addscript('encryption', 'encryption'); diff --git a/apps/encryption/appinfo/routes.php b/apps/encryption/appinfo/routes.php index b6224f83e2e..5abe0ce6687 100644 --- a/apps/encryption/appinfo/routes.php +++ b/apps/encryption/appinfo/routes.php @@ -23,7 +23,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - return [ 'routes' => [ [ diff --git a/apps/encryption/lib/AppInfo/Application.php b/apps/encryption/lib/AppInfo/Application.php index ac0f2ededd2..63239a1bf9b 100644 --- a/apps/encryption/lib/AppInfo/Application.php +++ b/apps/encryption/lib/AppInfo/Application.php @@ -7,7 +7,6 @@ * @author Christoph Wurst * @author Clark Tomlinson * @author Morris Jobke - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -25,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\AppInfo; use OCA\Encryption\Crypto\Crypt; diff --git a/apps/encryption/lib/Command/DisableMasterKey.php b/apps/encryption/lib/Command/DisableMasterKey.php index 291ed6bbb04..6000d6021c8 100644 --- a/apps/encryption/lib/Command/DisableMasterKey.php +++ b/apps/encryption/lib/Command/DisableMasterKey.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Encryption\Command; use OCA\Encryption\Util; diff --git a/apps/encryption/lib/Command/EnableMasterKey.php b/apps/encryption/lib/Command/EnableMasterKey.php index c73d1b4ad1e..031f6e3fa4e 100644 --- a/apps/encryption/lib/Command/EnableMasterKey.php +++ b/apps/encryption/lib/Command/EnableMasterKey.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Command; use OCA\Encryption\Util; diff --git a/apps/encryption/lib/Command/RecoverUser.php b/apps/encryption/lib/Command/RecoverUser.php index 800ddf66a8a..d3dd4a3612d 100644 --- a/apps/encryption/lib/Command/RecoverUser.php +++ b/apps/encryption/lib/Command/RecoverUser.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Encryption\Command; use OCA\Encryption\Util; diff --git a/apps/encryption/lib/Command/ScanLegacyFormat.php b/apps/encryption/lib/Command/ScanLegacyFormat.php index 425d0348006..dc6d43ee5b8 100644 --- a/apps/encryption/lib/Command/ScanLegacyFormat.php +++ b/apps/encryption/lib/Command/ScanLegacyFormat.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Encryption\Command; use OC\Files\View; diff --git a/apps/encryption/lib/Controller/RecoveryController.php b/apps/encryption/lib/Controller/RecoveryController.php index 6455700cd9b..c5f8a7e8d72 100644 --- a/apps/encryption/lib/Controller/RecoveryController.php +++ b/apps/encryption/lib/Controller/RecoveryController.php @@ -6,6 +6,7 @@ * @author Christoph Wurst * @author Clark Tomlinson * @author Lukas Reschke + * @author Morris Jobke * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -23,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Controller; use OCA\Encryption\Recovery; diff --git a/apps/encryption/lib/Controller/SettingsController.php b/apps/encryption/lib/Controller/SettingsController.php index 6ccfe51400e..eedbaea9d9d 100644 --- a/apps/encryption/lib/Controller/SettingsController.php +++ b/apps/encryption/lib/Controller/SettingsController.php @@ -4,6 +4,7 @@ * * @author Björn Schießle * @author Joas Schilling + * @author Morris Jobke * * @license AGPL-3.0 * @@ -20,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Controller; use OCA\Encryption\Crypto\Crypt; diff --git a/apps/encryption/lib/Controller/StatusController.php b/apps/encryption/lib/Controller/StatusController.php index a17023fdcfd..d07b4da794a 100644 --- a/apps/encryption/lib/Controller/StatusController.php +++ b/apps/encryption/lib/Controller/StatusController.php @@ -6,6 +6,7 @@ * @author Björn Schießle * @author Christoph Wurst * @author Joas Schilling + * @author Morris Jobke * @author Thomas Müller * * @license AGPL-3.0 @@ -23,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Controller; use OCA\Encryption\Session; diff --git a/apps/encryption/lib/Crypto/Crypt.php b/apps/encryption/lib/Crypto/Crypt.php index c956283e5f6..41889d1226e 100644 --- a/apps/encryption/lib/Crypto/Crypt.php +++ b/apps/encryption/lib/Crypto/Crypt.php @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Crypto; use OC\Encryption\Exceptions\DecryptionFailedException; diff --git a/apps/encryption/lib/Crypto/DecryptAll.php b/apps/encryption/lib/Crypto/DecryptAll.php index 926d4b38db1..e982da72086 100644 --- a/apps/encryption/lib/Crypto/DecryptAll.php +++ b/apps/encryption/lib/Crypto/DecryptAll.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Crypto; use OCA\Encryption\KeyManager; diff --git a/apps/encryption/lib/Crypto/EncryptAll.php b/apps/encryption/lib/Crypto/EncryptAll.php index 135a89c28bb..c8c302f10c7 100644 --- a/apps/encryption/lib/Crypto/EncryptAll.php +++ b/apps/encryption/lib/Crypto/EncryptAll.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Crypto; use OC\Encryption\Exceptions\DecryptionFailedException; diff --git a/apps/encryption/lib/Crypto/Encryption.php b/apps/encryption/lib/Crypto/Encryption.php index 9f3cc964e40..58cefcbe087 100644 --- a/apps/encryption/lib/Crypto/Encryption.php +++ b/apps/encryption/lib/Crypto/Encryption.php @@ -11,8 +11,10 @@ * @author Julius Härtl * @author Lukas Reschke * @author Morris Jobke + * @author Robin Appelman * @author Roeland Jago Douma * @author Thomas Müller + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * * @license AGPL-3.0 * @@ -29,7 +31,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Crypto; use OC\Encryption\Exceptions\DecryptionFailedException; diff --git a/apps/encryption/lib/Exceptions/MultiKeyDecryptException.php b/apps/encryption/lib/Exceptions/MultiKeyDecryptException.php index 79ec2c3c822..562f6955ae4 100644 --- a/apps/encryption/lib/Exceptions/MultiKeyDecryptException.php +++ b/apps/encryption/lib/Exceptions/MultiKeyDecryptException.php @@ -2,7 +2,6 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -20,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Exceptions; use OCP\Encryption\Exceptions\GenericEncryptionException; diff --git a/apps/encryption/lib/Exceptions/MultiKeyEncryptException.php b/apps/encryption/lib/Exceptions/MultiKeyEncryptException.php index 4916a4ceba5..3771e7e36ba 100644 --- a/apps/encryption/lib/Exceptions/MultiKeyEncryptException.php +++ b/apps/encryption/lib/Exceptions/MultiKeyEncryptException.php @@ -2,7 +2,6 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -20,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Exceptions; use OCP\Encryption\Exceptions\GenericEncryptionException; diff --git a/apps/encryption/lib/Exceptions/PrivateKeyMissingException.php b/apps/encryption/lib/Exceptions/PrivateKeyMissingException.php index 03d3aba8279..b8fd4fb9234 100644 --- a/apps/encryption/lib/Exceptions/PrivateKeyMissingException.php +++ b/apps/encryption/lib/Exceptions/PrivateKeyMissingException.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Exceptions; use OCP\Encryption\Exceptions\GenericEncryptionException; diff --git a/apps/encryption/lib/Exceptions/PublicKeyMissingException.php b/apps/encryption/lib/Exceptions/PublicKeyMissingException.php index e4c739b3272..73edc5c710d 100644 --- a/apps/encryption/lib/Exceptions/PublicKeyMissingException.php +++ b/apps/encryption/lib/Exceptions/PublicKeyMissingException.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Exceptions; use OCP\Encryption\Exceptions\GenericEncryptionException; diff --git a/apps/encryption/lib/HookManager.php b/apps/encryption/lib/HookManager.php index 5917a9f6e2a..0e7ec5cfd56 100644 --- a/apps/encryption/lib/HookManager.php +++ b/apps/encryption/lib/HookManager.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption; use OCA\Encryption\Hooks\Contracts\IHook; diff --git a/apps/encryption/lib/Hooks/Contracts/IHook.php b/apps/encryption/lib/Hooks/Contracts/IHook.php index 02d26c4dea2..54128d10327 100644 --- a/apps/encryption/lib/Hooks/Contracts/IHook.php +++ b/apps/encryption/lib/Hooks/Contracts/IHook.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Hooks\Contracts; interface IHook { diff --git a/apps/encryption/lib/Hooks/UserHooks.php b/apps/encryption/lib/Hooks/UserHooks.php index 399e2865d03..a719d7bc12e 100644 --- a/apps/encryption/lib/Hooks/UserHooks.php +++ b/apps/encryption/lib/Hooks/UserHooks.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Hooks; use OC\Files\Filesystem; diff --git a/apps/encryption/lib/KeyManager.php b/apps/encryption/lib/KeyManager.php index 6dabca1729e..4a2c6c16e2b 100644 --- a/apps/encryption/lib/KeyManager.php +++ b/apps/encryption/lib/KeyManager.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption; use OC\Encryption\Exceptions\DecryptionFailedException; diff --git a/apps/encryption/lib/Migration/SetMasterKeyStatus.php b/apps/encryption/lib/Migration/SetMasterKeyStatus.php index 322b991ae97..9e800ac7cd3 100644 --- a/apps/encryption/lib/Migration/SetMasterKeyStatus.php +++ b/apps/encryption/lib/Migration/SetMasterKeyStatus.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Encryption\Migration; use OCP\IConfig; diff --git a/apps/encryption/lib/Recovery.php b/apps/encryption/lib/Recovery.php index 7d7132999ea..22a668cd5b0 100644 --- a/apps/encryption/lib/Recovery.php +++ b/apps/encryption/lib/Recovery.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption; use OC\Files\View; diff --git a/apps/encryption/lib/Session.php b/apps/encryption/lib/Session.php index 262705e0be5..ad07008d480 100644 --- a/apps/encryption/lib/Session.php +++ b/apps/encryption/lib/Session.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption; use OCA\Encryption\Exceptions\PrivateKeyMissingException; diff --git a/apps/encryption/lib/Settings/Admin.php b/apps/encryption/lib/Settings/Admin.php index cfb04166635..e69379bb414 100644 --- a/apps/encryption/lib/Settings/Admin.php +++ b/apps/encryption/lib/Settings/Admin.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Encryption\Settings; use OC\Files\View; diff --git a/apps/encryption/lib/Settings/Personal.php b/apps/encryption/lib/Settings/Personal.php index 75354381993..70b85a667a9 100644 --- a/apps/encryption/lib/Settings/Personal.php +++ b/apps/encryption/lib/Settings/Personal.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Encryption\Settings; use OCA\Encryption\Session; diff --git a/apps/encryption/lib/Users/Setup.php b/apps/encryption/lib/Users/Setup.php index 947ca27dd06..c28a83d8115 100644 --- a/apps/encryption/lib/Users/Setup.php +++ b/apps/encryption/lib/Users/Setup.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Users; use OCA\Encryption\Crypto\Crypt; diff --git a/apps/encryption/lib/Util.php b/apps/encryption/lib/Util.php index 139dd3f50fa..07bca9cbfdf 100644 --- a/apps/encryption/lib/Util.php +++ b/apps/encryption/lib/Util.php @@ -7,6 +7,7 @@ * @author Clark Tomlinson * @author Morris Jobke * @author Phil Davis + * @author Robin Appelman * * @license AGPL-3.0 * @@ -23,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption; use OC\Files\View; diff --git a/apps/encryption/tests/Command/TestEnableMasterKey.php b/apps/encryption/tests/Command/TestEnableMasterKey.php index ebaf477ddc5..269e99eae4b 100644 --- a/apps/encryption/tests/Command/TestEnableMasterKey.php +++ b/apps/encryption/tests/Command/TestEnableMasterKey.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests\Command; use OCA\Encryption\Command\EnableMasterKey; diff --git a/apps/encryption/tests/Controller/RecoveryControllerTest.php b/apps/encryption/tests/Controller/RecoveryControllerTest.php index d92cfebf295..7a33b4b1346 100644 --- a/apps/encryption/tests/Controller/RecoveryControllerTest.php +++ b/apps/encryption/tests/Controller/RecoveryControllerTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests\Controller; use OCA\Encryption\Controller\RecoveryController; diff --git a/apps/encryption/tests/Controller/SettingsControllerTest.php b/apps/encryption/tests/Controller/SettingsControllerTest.php index 0c50491857b..0576b442f02 100644 --- a/apps/encryption/tests/Controller/SettingsControllerTest.php +++ b/apps/encryption/tests/Controller/SettingsControllerTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests\Controller; use OCA\Encryption\Controller\SettingsController; diff --git a/apps/encryption/tests/Controller/StatusControllerTest.php b/apps/encryption/tests/Controller/StatusControllerTest.php index 4c1c59bccf7..dffc4a97718 100644 --- a/apps/encryption/tests/Controller/StatusControllerTest.php +++ b/apps/encryption/tests/Controller/StatusControllerTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests\Controller; use OCA\Encryption\Controller\StatusController; diff --git a/apps/encryption/tests/Crypto/CryptTest.php b/apps/encryption/tests/Crypto/CryptTest.php index 7bfaed0b17e..60548a0f1dc 100644 --- a/apps/encryption/tests/Crypto/CryptTest.php +++ b/apps/encryption/tests/Crypto/CryptTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests\Crypto; use OCA\Encryption\Crypto\Crypt; diff --git a/apps/encryption/tests/Crypto/DecryptAllTest.php b/apps/encryption/tests/Crypto/DecryptAllTest.php index 2721a6e8b53..68b49307f31 100644 --- a/apps/encryption/tests/Crypto/DecryptAllTest.php +++ b/apps/encryption/tests/Crypto/DecryptAllTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests\Crypto; use OCA\Encryption\Crypto\Crypt; diff --git a/apps/encryption/tests/Crypto/EncryptAllTest.php b/apps/encryption/tests/Crypto/EncryptAllTest.php index 8254cfc9b78..4a00b67f0b1 100644 --- a/apps/encryption/tests/Crypto/EncryptAllTest.php +++ b/apps/encryption/tests/Crypto/EncryptAllTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests\Crypto; use OC\Files\View; diff --git a/apps/encryption/tests/Crypto/EncryptionTest.php b/apps/encryption/tests/Crypto/EncryptionTest.php index b052dca2387..63698dcdc63 100644 --- a/apps/encryption/tests/Crypto/EncryptionTest.php +++ b/apps/encryption/tests/Crypto/EncryptionTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests\Crypto; use OCA\Encryption\Crypto\Crypt; diff --git a/apps/encryption/tests/HookManagerTest.php b/apps/encryption/tests/HookManagerTest.php index d1b6a4466af..13102c87168 100644 --- a/apps/encryption/tests/HookManagerTest.php +++ b/apps/encryption/tests/HookManagerTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests; use OCA\Encryption\HookManager; diff --git a/apps/encryption/tests/Hooks/UserHooksTest.php b/apps/encryption/tests/Hooks/UserHooksTest.php index 74e2e7716d6..e06feb1e370 100644 --- a/apps/encryption/tests/Hooks/UserHooksTest.php +++ b/apps/encryption/tests/Hooks/UserHooksTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests\Hooks; use OCA\Encryption\Crypto\Crypt; diff --git a/apps/encryption/tests/KeyManagerTest.php b/apps/encryption/tests/KeyManagerTest.php index d939a2681fe..882080c9eab 100644 --- a/apps/encryption/tests/KeyManagerTest.php +++ b/apps/encryption/tests/KeyManagerTest.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests; use OC\Files\FileInfo; diff --git a/apps/encryption/tests/RecoveryTest.php b/apps/encryption/tests/RecoveryTest.php index a5b531e51f4..37b6671d5cb 100644 --- a/apps/encryption/tests/RecoveryTest.php +++ b/apps/encryption/tests/RecoveryTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests; use OC\Files\View; diff --git a/apps/encryption/tests/SessionTest.php b/apps/encryption/tests/SessionTest.php index 9d13471ba53..91c83b80fa9 100644 --- a/apps/encryption/tests/SessionTest.php +++ b/apps/encryption/tests/SessionTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests; use OCA\Encryption\Session; diff --git a/apps/encryption/tests/Settings/AdminTest.php b/apps/encryption/tests/Settings/AdminTest.php index 82eed2d78a9..e4b2933dd3b 100644 --- a/apps/encryption/tests/Settings/AdminTest.php +++ b/apps/encryption/tests/Settings/AdminTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Encryption\Tests\Settings; use OCA\Encryption\Settings\Admin; diff --git a/apps/encryption/tests/Users/SetupTest.php b/apps/encryption/tests/Users/SetupTest.php index a418ac41dfe..00888ba8c60 100644 --- a/apps/encryption/tests/Users/SetupTest.php +++ b/apps/encryption/tests/Users/SetupTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests\Users; use OCA\Encryption\Crypto\Crypt; diff --git a/apps/encryption/tests/UtilTest.php b/apps/encryption/tests/UtilTest.php index 5a573f278e4..9d5d93809bc 100644 --- a/apps/encryption/tests/UtilTest.php +++ b/apps/encryption/tests/UtilTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Encryption\Tests; use OC\Files\View; diff --git a/apps/federatedfilesharing/appinfo/routes.php b/apps/federatedfilesharing/appinfo/routes.php index 61c99d59133..488ff592fd9 100644 --- a/apps/federatedfilesharing/appinfo/routes.php +++ b/apps/federatedfilesharing/appinfo/routes.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - return [ 'routes' => [ ['name' => 'MountPublicLink#createFederatedShare', 'url' => '/createFederatedShare', 'verb' => 'POST'], diff --git a/apps/federatedfilesharing/lib/AddressHandler.php b/apps/federatedfilesharing/lib/AddressHandler.php index 3a48e2adc86..5b50be2a53a 100644 --- a/apps/federatedfilesharing/lib/AddressHandler.php +++ b/apps/federatedfilesharing/lib/AddressHandler.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing; use OC\HintException; diff --git a/apps/federatedfilesharing/lib/AppInfo/Application.php b/apps/federatedfilesharing/lib/AppInfo/Application.php index 30844750ca5..fc9d1e5e150 100644 --- a/apps/federatedfilesharing/lib/AppInfo/Application.php +++ b/apps/federatedfilesharing/lib/AppInfo/Application.php @@ -5,7 +5,7 @@ * @author Bjoern Schiessle * @author Björn Schießle * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Roeland Jago Douma * @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing\AppInfo; use Closure; diff --git a/apps/federatedfilesharing/lib/BackgroundJob/RetryJob.php b/apps/federatedfilesharing/lib/BackgroundJob/RetryJob.php index 5349dec2ddc..f631abaabe0 100644 --- a/apps/federatedfilesharing/lib/BackgroundJob/RetryJob.php +++ b/apps/federatedfilesharing/lib/BackgroundJob/RetryJob.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing\BackgroundJob; use OCA\FederatedFileSharing\Notifications; diff --git a/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php b/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php index 372113aead3..6e66e7f9b4a 100644 --- a/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php +++ b/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php @@ -12,6 +12,7 @@ * @author Lukas Reschke * @author Morris Jobke * @author Robin Appelman + * @author Roeland Jago Douma * * @license AGPL-3.0 * @@ -28,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing\Controller; use OC\HintException; diff --git a/apps/federatedfilesharing/lib/Controller/RequestHandlerController.php b/apps/federatedfilesharing/lib/Controller/RequestHandlerController.php index a7beca508a3..99adefde000 100644 --- a/apps/federatedfilesharing/lib/Controller/RequestHandlerController.php +++ b/apps/federatedfilesharing/lib/Controller/RequestHandlerController.php @@ -4,6 +4,7 @@ * * @author Bjoern Schiessle * @author Björn Schießle + * @author Christoph Wurst * @author Joas Schilling * @author Morris Jobke * @author Robin Appelman @@ -24,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing\Controller; use OCA\FederatedFileSharing\AddressHandler; diff --git a/apps/federatedfilesharing/lib/Events/FederatedShareAddedEvent.php b/apps/federatedfilesharing/lib/Events/FederatedShareAddedEvent.php index f1269b9f938..3d9424666de 100644 --- a/apps/federatedfilesharing/lib/Events/FederatedShareAddedEvent.php +++ b/apps/federatedfilesharing/lib/Events/FederatedShareAddedEvent.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\FederatedFileSharing\Events; use OCP\EventDispatcher\Event; diff --git a/apps/federatedfilesharing/lib/FederatedShareProvider.php b/apps/federatedfilesharing/lib/FederatedShareProvider.php index 733ce27b596..d5fa99ef231 100644 --- a/apps/federatedfilesharing/lib/FederatedShareProvider.php +++ b/apps/federatedfilesharing/lib/FederatedShareProvider.php @@ -17,6 +17,8 @@ * @author Sergej Pupykin * @author Stefan Weil * @author Thomas Müller + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> + * @author Vincent Petry * * @license AGPL-3.0 * @@ -33,7 +35,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing; use OC\Share20\Exception\InvalidShare; diff --git a/apps/federatedfilesharing/lib/Listeners/LoadAdditionalScriptsListener.php b/apps/federatedfilesharing/lib/Listeners/LoadAdditionalScriptsListener.php index b62615c256b..bfbd29b525b 100644 --- a/apps/federatedfilesharing/lib/Listeners/LoadAdditionalScriptsListener.php +++ b/apps/federatedfilesharing/lib/Listeners/LoadAdditionalScriptsListener.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\FederatedFileSharing\Listeners; use OCA\FederatedFileSharing\FederatedShareProvider; diff --git a/apps/federatedfilesharing/lib/Migration/Version1010Date20200630191755.php b/apps/federatedfilesharing/lib/Migration/Version1010Date20200630191755.php index 4bf254fcbd0..9e491f0c533 100644 --- a/apps/federatedfilesharing/lib/Migration/Version1010Date20200630191755.php +++ b/apps/federatedfilesharing/lib/Migration/Version1010Date20200630191755.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Joas Schilling * + * @author Christoph Wurst * @author Joas Schilling * @author Julius Härtl * @@ -17,7 +18,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/federatedfilesharing/lib/Migration/Version1011Date20201120125158.php b/apps/federatedfilesharing/lib/Migration/Version1011Date20201120125158.php index f59822b8091..c1ff209b9c6 100644 --- a/apps/federatedfilesharing/lib/Migration/Version1011Date20201120125158.php +++ b/apps/federatedfilesharing/lib/Migration/Version1011Date20201120125158.php @@ -1,7 +1,11 @@ * + * @author Christoph Wurst * @author Julius Härtl * * @license GNU AGPL version 3 or any later version @@ -13,16 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - -declare(strict_types=1); - namespace OCA\FederatedFileSharing\Migration; use Closure; diff --git a/apps/federatedfilesharing/lib/Notifications.php b/apps/federatedfilesharing/lib/Notifications.php index 68acfc98f8b..b3d41cde851 100644 --- a/apps/federatedfilesharing/lib/Notifications.php +++ b/apps/federatedfilesharing/lib/Notifications.php @@ -8,6 +8,7 @@ * @author Julius Härtl * @author Lukas Reschke * @author Morris Jobke + * @author Samuel * * @license AGPL-3.0 * @@ -24,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing; use OCA\FederatedFileSharing\Events\FederatedShareAddedEvent; diff --git a/apps/federatedfilesharing/lib/Notifier.php b/apps/federatedfilesharing/lib/Notifier.php index f365a14a13c..a551a3cca0c 100644 --- a/apps/federatedfilesharing/lib/Notifier.php +++ b/apps/federatedfilesharing/lib/Notifier.php @@ -6,6 +6,7 @@ * @author Björn Schießle * @author Christoph Wurst * @author Joas Schilling + * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @@ -24,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing; use OC\HintException; diff --git a/apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php b/apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php index b5499ec6ec6..26b0288c354 100644 --- a/apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php +++ b/apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php @@ -19,14 +19,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\FederatedFileSharing\OCM; use OC\AppFramework\Http; diff --git a/apps/federatedfilesharing/lib/Settings/Admin.php b/apps/federatedfilesharing/lib/Settings/Admin.php index eb7423a4964..7dae83c05a9 100644 --- a/apps/federatedfilesharing/lib/Settings/Admin.php +++ b/apps/federatedfilesharing/lib/Settings/Admin.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\FederatedFileSharing\Settings; use OCA\FederatedFileSharing\FederatedShareProvider; diff --git a/apps/federatedfilesharing/lib/Settings/Personal.php b/apps/federatedfilesharing/lib/Settings/Personal.php index 5416dbf8b17..3bc1c3d89ad 100644 --- a/apps/federatedfilesharing/lib/Settings/Personal.php +++ b/apps/federatedfilesharing/lib/Settings/Personal.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\FederatedFileSharing\Settings; use OCA\FederatedFileSharing\FederatedShareProvider; diff --git a/apps/federatedfilesharing/lib/Settings/PersonalSection.php b/apps/federatedfilesharing/lib/Settings/PersonalSection.php index 102d4eb889f..43ec8f21c22 100644 --- a/apps/federatedfilesharing/lib/Settings/PersonalSection.php +++ b/apps/federatedfilesharing/lib/Settings/PersonalSection.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\FederatedFileSharing\Settings; use OCP\IL10N; diff --git a/apps/federatedfilesharing/lib/TokenHandler.php b/apps/federatedfilesharing/lib/TokenHandler.php index 62a90639124..084d0b0e2a4 100644 --- a/apps/federatedfilesharing/lib/TokenHandler.php +++ b/apps/federatedfilesharing/lib/TokenHandler.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing; use OCP\Security\ISecureRandom; diff --git a/apps/federatedfilesharing/tests/AddressHandlerTest.php b/apps/federatedfilesharing/tests/AddressHandlerTest.php index e2e61783ee7..d1d4f9cd70e 100644 --- a/apps/federatedfilesharing/tests/AddressHandlerTest.php +++ b/apps/federatedfilesharing/tests/AddressHandlerTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing\Tests; use OC\Federation\CloudIdManager; diff --git a/apps/federatedfilesharing/tests/Controller/MountPublicLinkControllerTest.php b/apps/federatedfilesharing/tests/Controller/MountPublicLinkControllerTest.php index 82980ee41f4..385f644f6b4 100644 --- a/apps/federatedfilesharing/tests/Controller/MountPublicLinkControllerTest.php +++ b/apps/federatedfilesharing/tests/Controller/MountPublicLinkControllerTest.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing\Tests\Controller; use OC\Federation\CloudIdManager; diff --git a/apps/federatedfilesharing/tests/Controller/RequestHandlerControllerTest.php b/apps/federatedfilesharing/tests/Controller/RequestHandlerControllerTest.php index ff51a13b89e..0cb91fac1ae 100644 --- a/apps/federatedfilesharing/tests/Controller/RequestHandlerControllerTest.php +++ b/apps/federatedfilesharing/tests/Controller/RequestHandlerControllerTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing\Tests; use OCA\FederatedFileSharing\Controller\RequestHandlerController; diff --git a/apps/federatedfilesharing/tests/FederatedShareProviderTest.php b/apps/federatedfilesharing/tests/FederatedShareProviderTest.php index fe54246acf2..a3253323769 100644 --- a/apps/federatedfilesharing/tests/FederatedShareProviderTest.php +++ b/apps/federatedfilesharing/tests/FederatedShareProviderTest.php @@ -12,6 +12,8 @@ * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> + * @author Vincent Petry * * @license AGPL-3.0 * @@ -28,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing\Tests; use OC\Federation\CloudIdManager; diff --git a/apps/federatedfilesharing/tests/NotificationsTest.php b/apps/federatedfilesharing/tests/NotificationsTest.php index a1c06f09769..c77d9affb17 100644 --- a/apps/federatedfilesharing/tests/NotificationsTest.php +++ b/apps/federatedfilesharing/tests/NotificationsTest.php @@ -6,6 +6,7 @@ * @author Björn Schießle * @author Morris Jobke * @author Roeland Jago Douma + * @author Samuel * * @license AGPL-3.0 * @@ -22,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing\Tests; use OCA\FederatedFileSharing\AddressHandler; diff --git a/apps/federatedfilesharing/tests/Settings/AdminTest.php b/apps/federatedfilesharing/tests/Settings/AdminTest.php index 74a0a9bb205..282bc84e86f 100644 --- a/apps/federatedfilesharing/tests/Settings/AdminTest.php +++ b/apps/federatedfilesharing/tests/Settings/AdminTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\FederatedFileSharing\Tests\Settings; use OCA\FederatedFileSharing\FederatedShareProvider; diff --git a/apps/federatedfilesharing/tests/TestCase.php b/apps/federatedfilesharing/tests/TestCase.php index d7f5bdd0286..dbd1df38c74 100644 --- a/apps/federatedfilesharing/tests/TestCase.php +++ b/apps/federatedfilesharing/tests/TestCase.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing\Tests; use OC\Files\Filesystem; diff --git a/apps/federatedfilesharing/tests/TokenHandlerTest.php b/apps/federatedfilesharing/tests/TokenHandlerTest.php index 9d8dd676e79..229cb017e33 100644 --- a/apps/federatedfilesharing/tests/TokenHandlerTest.php +++ b/apps/federatedfilesharing/tests/TokenHandlerTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\FederatedFileSharing\Tests; use OCA\FederatedFileSharing\TokenHandler; diff --git a/apps/federation/appinfo/routes.php b/apps/federation/appinfo/routes.php index 15ade1536b3..dd1e24ab2fb 100644 --- a/apps/federation/appinfo/routes.php +++ b/apps/federation/appinfo/routes.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - return [ 'routes' => [ [ diff --git a/apps/federation/lib/AppInfo/Application.php b/apps/federation/lib/AppInfo/Application.php index 72e96d85292..d564fb4a20b 100644 --- a/apps/federation/lib/AppInfo/Application.php +++ b/apps/federation/lib/AppInfo/Application.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\AppInfo; use OCA\DAV\Events\SabrePluginAuthInitEvent; diff --git a/apps/federation/lib/BackgroundJob/GetSharedSecret.php b/apps/federation/lib/BackgroundJob/GetSharedSecret.php index fd381cadd56..5379a837151 100644 --- a/apps/federation/lib/BackgroundJob/GetSharedSecret.php +++ b/apps/federation/lib/BackgroundJob/GetSharedSecret.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\BackgroundJob; use GuzzleHttp\Exception\ClientException; diff --git a/apps/federation/lib/BackgroundJob/RequestSharedSecret.php b/apps/federation/lib/BackgroundJob/RequestSharedSecret.php index e3c89f21ed3..2080418af61 100644 --- a/apps/federation/lib/BackgroundJob/RequestSharedSecret.php +++ b/apps/federation/lib/BackgroundJob/RequestSharedSecret.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\BackgroundJob; use GuzzleHttp\Exception\ClientException; diff --git a/apps/federation/lib/Command/SyncFederationAddressBooks.php b/apps/federation/lib/Command/SyncFederationAddressBooks.php index 05c24bdcb81..045c3c72009 100644 --- a/apps/federation/lib/Command/SyncFederationAddressBooks.php +++ b/apps/federation/lib/Command/SyncFederationAddressBooks.php @@ -5,7 +5,6 @@ * @author Christoph Wurst * @author Joas Schilling * @author Lukas Reschke - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Command; use Symfony\Component\Console\Command\Command; diff --git a/apps/federation/lib/Controller/OCSAuthAPIController.php b/apps/federation/lib/Controller/OCSAuthAPIController.php index 7a2f947421e..dd9b94d0027 100644 --- a/apps/federation/lib/Controller/OCSAuthAPIController.php +++ b/apps/federation/lib/Controller/OCSAuthAPIController.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Controller; use OCA\Federation\DbHandler; diff --git a/apps/federation/lib/Controller/SettingsController.php b/apps/federation/lib/Controller/SettingsController.php index dedfd70731f..86c1df89caf 100644 --- a/apps/federation/lib/Controller/SettingsController.php +++ b/apps/federation/lib/Controller/SettingsController.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Controller; use OC\HintException; diff --git a/apps/federation/lib/DAV/FedAuth.php b/apps/federation/lib/DAV/FedAuth.php index 13b4cbbc1ed..003bd6d2485 100644 --- a/apps/federation/lib/DAV/FedAuth.php +++ b/apps/federation/lib/DAV/FedAuth.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Joas Schilling - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\DAV; use OCA\Federation\DbHandler; diff --git a/apps/federation/lib/DbHandler.php b/apps/federation/lib/DbHandler.php index ebff671c21a..ce4d1d7e44a 100644 --- a/apps/federation/lib/DbHandler.php +++ b/apps/federation/lib/DbHandler.php @@ -7,6 +7,7 @@ * @author Joas Schilling * @author Morris Jobke * @author Robin Appelman + * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -24,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation; use OC\Files\Filesystem; diff --git a/apps/federation/lib/Listener/SabrePluginAuthInitListener.php b/apps/federation/lib/Listener/SabrePluginAuthInitListener.php index 2e5b25c929b..f176f21506a 100644 --- a/apps/federation/lib/Listener/SabrePluginAuthInitListener.php +++ b/apps/federation/lib/Listener/SabrePluginAuthInitListener.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Federation\Listener; use OCA\DAV\Events\SabrePluginAuthInitEvent; diff --git a/apps/federation/lib/Middleware/AddServerMiddleware.php b/apps/federation/lib/Middleware/AddServerMiddleware.php index ffce7710223..2cfdad133ca 100644 --- a/apps/federation/lib/Middleware/AddServerMiddleware.php +++ b/apps/federation/lib/Middleware/AddServerMiddleware.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Middleware; use OC\HintException; diff --git a/apps/federation/lib/Migration/Version1010Date20200630191302.php b/apps/federation/lib/Migration/Version1010Date20200630191302.php index a27e78f76f7..c98d7da137a 100644 --- a/apps/federation/lib/Migration/Version1010Date20200630191302.php +++ b/apps/federation/lib/Migration/Version1010Date20200630191302.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Joas Schilling * + * @author Christoph Wurst * @author Joas Schilling * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Federation\Migration; use Closure; diff --git a/apps/federation/lib/Settings/Admin.php b/apps/federation/lib/Settings/Admin.php index af4addecc41..c4efe983783 100644 --- a/apps/federation/lib/Settings/Admin.php +++ b/apps/federation/lib/Settings/Admin.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Federation\Settings; use OCA\Federation\TrustedServers; diff --git a/apps/federation/lib/SyncFederationAddressBooks.php b/apps/federation/lib/SyncFederationAddressBooks.php index 67d9ed15cc6..ace5c07065a 100644 --- a/apps/federation/lib/SyncFederationAddressBooks.php +++ b/apps/federation/lib/SyncFederationAddressBooks.php @@ -6,7 +6,6 @@ * @author Björn Schießle * @author Christoph Wurst * @author Lukas Reschke - * @author Roeland Jago Douma * @author Thomas Müller * * @license AGPL-3.0 @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation; use OC\OCS\DiscoveryService; diff --git a/apps/federation/lib/SyncJob.php b/apps/federation/lib/SyncJob.php index 610ea0d4803..f16d08a80d8 100644 --- a/apps/federation/lib/SyncJob.php +++ b/apps/federation/lib/SyncJob.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation; use OC\BackgroundJob\TimedJob; diff --git a/apps/federation/lib/TrustedServers.php b/apps/federation/lib/TrustedServers.php index 29b58555238..c1dced62102 100644 --- a/apps/federation/lib/TrustedServers.php +++ b/apps/federation/lib/TrustedServers.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation; use OC\HintException; diff --git a/apps/federation/tests/BackgroundJob/GetSharedSecretTest.php b/apps/federation/tests/BackgroundJob/GetSharedSecretTest.php index 6da3ba68940..baefa86aeda 100644 --- a/apps/federation/tests/BackgroundJob/GetSharedSecretTest.php +++ b/apps/federation/tests/BackgroundJob/GetSharedSecretTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Tests\BackgroundJob; use GuzzleHttp\Exception\ConnectException; diff --git a/apps/federation/tests/BackgroundJob/RequestSharedSecretTest.php b/apps/federation/tests/BackgroundJob/RequestSharedSecretTest.php index f03c5aa2a2b..d013ad221bc 100644 --- a/apps/federation/tests/BackgroundJob/RequestSharedSecretTest.php +++ b/apps/federation/tests/BackgroundJob/RequestSharedSecretTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Tests\BackgroundJob; use GuzzleHttp\Exception\ConnectException; diff --git a/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php b/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php index b7bad3aaf35..f48c8352ae1 100644 --- a/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php +++ b/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Tests\Controller; use OC\BackgroundJob\JobList; diff --git a/apps/federation/tests/Controller/SettingsControllerTest.php b/apps/federation/tests/Controller/SettingsControllerTest.php index fd072d841b5..1f3617de389 100644 --- a/apps/federation/tests/Controller/SettingsControllerTest.php +++ b/apps/federation/tests/Controller/SettingsControllerTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Tests\Controller; use OCA\Federation\Controller\SettingsController; diff --git a/apps/federation/tests/DAV/FedAuthTest.php b/apps/federation/tests/DAV/FedAuthTest.php index 426bfc5d6d5..3a801766d85 100644 --- a/apps/federation/tests/DAV/FedAuthTest.php +++ b/apps/federation/tests/DAV/FedAuthTest.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Tests\DAV; use OCA\Federation\DAV\FedAuth; diff --git a/apps/federation/tests/DbHandlerTest.php b/apps/federation/tests/DbHandlerTest.php index ee972458747..56645b307d1 100644 --- a/apps/federation/tests/DbHandlerTest.php +++ b/apps/federation/tests/DbHandlerTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Tests; use OCA\Federation\DbHandler; diff --git a/apps/federation/tests/Middleware/AddServerMiddlewareTest.php b/apps/federation/tests/Middleware/AddServerMiddlewareTest.php index 35fecf2f0e4..fdd9d1682d4 100644 --- a/apps/federation/tests/Middleware/AddServerMiddlewareTest.php +++ b/apps/federation/tests/Middleware/AddServerMiddlewareTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Tests\Middleware; use OC\HintException; diff --git a/apps/federation/tests/Settings/AdminTest.php b/apps/federation/tests/Settings/AdminTest.php index 9c60f732f96..e15fb5f8d2b 100644 --- a/apps/federation/tests/Settings/AdminTest.php +++ b/apps/federation/tests/Settings/AdminTest.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Federation\Tests\Settings; use OCA\Federation\Settings\Admin; diff --git a/apps/federation/tests/SyncFederationAddressbooksTest.php b/apps/federation/tests/SyncFederationAddressbooksTest.php index cda30c3ceb4..36dd43e7cd2 100644 --- a/apps/federation/tests/SyncFederationAddressbooksTest.php +++ b/apps/federation/tests/SyncFederationAddressbooksTest.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Tests; use OC\OCS\DiscoveryService; diff --git a/apps/federation/tests/TrustedServersTest.php b/apps/federation/tests/TrustedServersTest.php index bc16f14eedd..3dd237ffcd3 100644 --- a/apps/federation/tests/TrustedServersTest.php +++ b/apps/federation/tests/TrustedServersTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Federation\Tests; use OCA\Federation\DbHandler; diff --git a/apps/files/ajax/download.php b/apps/files/ajax/download.php index f87e05f45e0..d71d8442733 100644 --- a/apps/files/ajax/download.php +++ b/apps/files/ajax/download.php @@ -5,12 +5,12 @@ * @author Andreas Fischer * @author Björn Schießle * @author Christoph Wurst - * @author Frank Karlitschek * @author Jörn Friedrich Dreyer * @author Lukas Reschke * @author Morris Jobke * @author Piotr Filiciak * @author Robin Appelman + * @author Roeland Jago Douma * * @license AGPL-3.0 * @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - // Check if we are a user OC_Util::checkLoggedIn(); \OC::$server->getSession()->close(); diff --git a/apps/files/ajax/list.php b/apps/files/ajax/list.php index dfe2e0c9416..e43e5dd08e8 100644 --- a/apps/files/ajax/list.php +++ b/apps/files/ajax/list.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - use OCP\Files\StorageNotAvailableException; use OCP\Files\StorageInvalidException; diff --git a/apps/files/appinfo/routes.php b/apps/files/appinfo/routes.php index 03a025cadf5..a98170363e9 100644 --- a/apps/files/appinfo/routes.php +++ b/apps/files/appinfo/routes.php @@ -11,9 +11,10 @@ declare(strict_types=1); * @author fnuesse * @author fnuesse * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke + * @author Nina Pypchenko <22447785+nina-py@users.noreply.github.com> * @author Robin Appelman * @author Roeland Jago Douma * @author Tobias Kaminsky diff --git a/apps/files/lib/Activity/FavoriteProvider.php b/apps/files/lib/Activity/FavoriteProvider.php index d292a2b29dc..a1c08370e4e 100644 --- a/apps/files/lib/Activity/FavoriteProvider.php +++ b/apps/files/lib/Activity/FavoriteProvider.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Activity; use OCP\Activity\IEvent; diff --git a/apps/files/lib/Activity/Filter/Favorites.php b/apps/files/lib/Activity/Filter/Favorites.php index e33c404b6de..04f906b2f97 100644 --- a/apps/files/lib/Activity/Filter/Favorites.php +++ b/apps/files/lib/Activity/Filter/Favorites.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Activity\Filter; use OCA\Files\Activity\Helper; diff --git a/apps/files/lib/Activity/Filter/FileChanges.php b/apps/files/lib/Activity/Filter/FileChanges.php index 14c98094a2c..2950e7c46df 100644 --- a/apps/files/lib/Activity/Filter/FileChanges.php +++ b/apps/files/lib/Activity/Filter/FileChanges.php @@ -3,7 +3,7 @@ * @copyright Copyright (c) 2016 Joas Schilling * * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Activity\Filter; use OCP\Activity\IFilter; diff --git a/apps/files/lib/Activity/Helper.php b/apps/files/lib/Activity/Helper.php index dc7f5cb9646..b9a5ae887ec 100644 --- a/apps/files/lib/Activity/Helper.php +++ b/apps/files/lib/Activity/Helper.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Activity; use OCP\Files\Folder; diff --git a/apps/files/lib/Activity/Provider.php b/apps/files/lib/Activity/Provider.php index 53ee48ab550..8f3a5a4f417 100644 --- a/apps/files/lib/Activity/Provider.php +++ b/apps/files/lib/Activity/Provider.php @@ -5,6 +5,7 @@ * @author Christoph Wurst * @author Joas Schilling * @author Morris Jobke + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -15,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Activity; use OCP\Activity\IEvent; diff --git a/apps/files/lib/Activity/Settings/FavoriteAction.php b/apps/files/lib/Activity/Settings/FavoriteAction.php index 8201a09d4db..8c43b68ef88 100644 --- a/apps/files/lib/Activity/Settings/FavoriteAction.php +++ b/apps/files/lib/Activity/Settings/FavoriteAction.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Activity\Settings; class FavoriteAction extends FileActivitySettings { diff --git a/apps/files/lib/Activity/Settings/FileActivitySettings.php b/apps/files/lib/Activity/Settings/FileActivitySettings.php index 3ae32f03412..8bb97a81cc8 100644 --- a/apps/files/lib/Activity/Settings/FileActivitySettings.php +++ b/apps/files/lib/Activity/Settings/FileActivitySettings.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Activity\Settings; use OCP\Activity\ActivitySettings; diff --git a/apps/files/lib/Activity/Settings/FileChanged.php b/apps/files/lib/Activity/Settings/FileChanged.php index 457d945df7f..2d826c30b5b 100644 --- a/apps/files/lib/Activity/Settings/FileChanged.php +++ b/apps/files/lib/Activity/Settings/FileChanged.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Activity\Settings; class FileChanged extends FileActivitySettings { diff --git a/apps/files/lib/Activity/Settings/FileFavoriteChanged.php b/apps/files/lib/Activity/Settings/FileFavoriteChanged.php index d0bba21cf9b..a69ecd7bb64 100644 --- a/apps/files/lib/Activity/Settings/FileFavoriteChanged.php +++ b/apps/files/lib/Activity/Settings/FileFavoriteChanged.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Activity\Settings; class FileFavoriteChanged extends FileActivitySettings { diff --git a/apps/files/lib/App.php b/apps/files/lib/App.php index 9bb50d6f9ab..386e5a3243a 100644 --- a/apps/files/lib/App.php +++ b/apps/files/lib/App.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files; class App { diff --git a/apps/files/lib/AppInfo/Application.php b/apps/files/lib/AppInfo/Application.php index 025e6c42f28..26d541f57e8 100644 --- a/apps/files/lib/AppInfo/Application.php +++ b/apps/files/lib/AppInfo/Application.php @@ -8,7 +8,7 @@ declare(strict_types=1); * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Morris Jobke * @author Robin Appelman @@ -31,7 +31,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\Files\AppInfo; use Closure; diff --git a/apps/files/lib/BackgroundJob/CleanupDirectEditingTokens.php b/apps/files/lib/BackgroundJob/CleanupDirectEditingTokens.php index 4b4f36663ab..16f76a76dd8 100644 --- a/apps/files/lib/BackgroundJob/CleanupDirectEditingTokens.php +++ b/apps/files/lib/BackgroundJob/CleanupDirectEditingTokens.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Julius Härtl @@ -14,7 +14,7 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/files/lib/BackgroundJob/CleanupFileLocks.php b/apps/files/lib/BackgroundJob/CleanupFileLocks.php index c349ccaae1a..f22b8edcd9b 100644 --- a/apps/files/lib/BackgroundJob/CleanupFileLocks.php +++ b/apps/files/lib/BackgroundJob/CleanupFileLocks.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\BackgroundJob; use OC\BackgroundJob\TimedJob; diff --git a/apps/files/lib/BackgroundJob/DeleteOrphanedItems.php b/apps/files/lib/BackgroundJob/DeleteOrphanedItems.php index bea5fc7d349..720785f5727 100644 --- a/apps/files/lib/BackgroundJob/DeleteOrphanedItems.php +++ b/apps/files/lib/BackgroundJob/DeleteOrphanedItems.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\BackgroundJob; use OC\BackgroundJob\TimedJob; diff --git a/apps/files/lib/BackgroundJob/ScanFiles.php b/apps/files/lib/BackgroundJob/ScanFiles.php index 127ca758a1d..f0c318882dd 100644 --- a/apps/files/lib/BackgroundJob/ScanFiles.php +++ b/apps/files/lib/BackgroundJob/ScanFiles.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\BackgroundJob; use OC\Files\Utils\Scanner; diff --git a/apps/files/lib/BackgroundJob/TransferOwnership.php b/apps/files/lib/BackgroundJob/TransferOwnership.php index 2498cc865ff..8c96fcf8385 100644 --- a/apps/files/lib/BackgroundJob/TransferOwnership.php +++ b/apps/files/lib/BackgroundJob/TransferOwnership.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\BackgroundJob; use OCA\Files\AppInfo\Application; diff --git a/apps/files/lib/Capabilities.php b/apps/files/lib/Capabilities.php index c46ad01af71..29abfb5b253 100644 --- a/apps/files/lib/Capabilities.php +++ b/apps/files/lib/Capabilities.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files; use OCA\Files\Service\DirectEditingService; diff --git a/apps/files/lib/Collaboration/Resources/Listener.php b/apps/files/lib/Collaboration/Resources/Listener.php index 6133504bf5d..5cf84316578 100644 --- a/apps/files/lib/Collaboration/Resources/Listener.php +++ b/apps/files/lib/Collaboration/Resources/Listener.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Collaboration\Resources; use OCP\Collaboration\Resources\IManager; diff --git a/apps/files/lib/Collaboration/Resources/ResourceProvider.php b/apps/files/lib/Collaboration/Resources/ResourceProvider.php index b4a97afbb56..841a2bdd4f7 100644 --- a/apps/files/lib/Collaboration/Resources/ResourceProvider.php +++ b/apps/files/lib/Collaboration/Resources/ResourceProvider.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Collaboration\Resources; use OCP\Collaboration\Resources\IProvider; diff --git a/apps/files/lib/Command/DeleteOrphanedFiles.php b/apps/files/lib/Command/DeleteOrphanedFiles.php index 0e7fe378467..e3305fe3b9b 100644 --- a/apps/files/lib/Command/DeleteOrphanedFiles.php +++ b/apps/files/lib/Command/DeleteOrphanedFiles.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Command; use OCP\IDBConnection; diff --git a/apps/files/lib/Command/RepairTree.php b/apps/files/lib/Command/RepairTree.php index 144ce5654eb..96f114735d6 100644 --- a/apps/files/lib/Command/RepairTree.php +++ b/apps/files/lib/Command/RepairTree.php @@ -1,9 +1,12 @@ * + * @author Robin Appelman + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -13,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\Files\Command; use OCP\IDBConnection; diff --git a/apps/files/lib/Command/Scan.php b/apps/files/lib/Command/Scan.php index 48d55807be4..6a8697a5eaf 100644 --- a/apps/files/lib/Command/Scan.php +++ b/apps/files/lib/Command/Scan.php @@ -11,7 +11,6 @@ * @author Joel S * @author Jörn Friedrich Dreyer * @author martin.mattel@diemattels.at - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @author Thomas Müller @@ -32,7 +31,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Command; use OC\Core\Command\Base; diff --git a/apps/files/lib/Command/ScanAppData.php b/apps/files/lib/Command/ScanAppData.php index 854445c82dc..09153643727 100644 --- a/apps/files/lib/Command/ScanAppData.php +++ b/apps/files/lib/Command/ScanAppData.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Daniel Kesselberg @@ -19,14 +19,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Command; use OC\Core\Command\Base; diff --git a/apps/files/lib/Command/TransferOwnership.php b/apps/files/lib/Command/TransferOwnership.php index 07d6ab6029b..71853d632e7 100644 --- a/apps/files/lib/Command/TransferOwnership.php +++ b/apps/files/lib/Command/TransferOwnership.php @@ -31,7 +31,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\Files\Command; use OCA\Files\Exception\TransferOwnershipException; diff --git a/apps/files/lib/Controller/AjaxController.php b/apps/files/lib/Controller/AjaxController.php index 51a4a5b2a37..000d950595d 100644 --- a/apps/files/lib/Controller/AjaxController.php +++ b/apps/files/lib/Controller/AjaxController.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Controller; use OCA\Files\Helper; diff --git a/apps/files/lib/Controller/ApiController.php b/apps/files/lib/Controller/ApiController.php index fba62107cd7..45c7466e0c2 100644 --- a/apps/files/lib/Controller/ApiController.php +++ b/apps/files/lib/Controller/ApiController.php @@ -8,11 +8,12 @@ * @author fnuesse * @author fnuesse * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Max Kovalenko * @author Morris Jobke + * @author Nina Pypchenko <22447785+nina-py@users.noreply.github.com> * @author Richard Steinmetz * @author Robin Appelman * @author Roeland Jago Douma @@ -34,7 +35,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Controller; use OC\Files\Node\Node; diff --git a/apps/files/lib/Controller/DirectEditingController.php b/apps/files/lib/Controller/DirectEditingController.php index a2e765072f2..c67150be8d4 100644 --- a/apps/files/lib/Controller/DirectEditingController.php +++ b/apps/files/lib/Controller/DirectEditingController.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Controller; use Exception; diff --git a/apps/files/lib/Controller/DirectEditingViewController.php b/apps/files/lib/Controller/DirectEditingViewController.php index 75b6dfe7395..06bde8d63d7 100644 --- a/apps/files/lib/Controller/DirectEditingViewController.php +++ b/apps/files/lib/Controller/DirectEditingViewController.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Controller; use Exception; diff --git a/apps/files/lib/Controller/TemplateController.php b/apps/files/lib/Controller/TemplateController.php index b17d9336a94..d04d86760e6 100644 --- a/apps/files/lib/Controller/TemplateController.php +++ b/apps/files/lib/Controller/TemplateController.php @@ -1,7 +1,11 @@ * + * @author John Molakvoæ * @author Julius Härtl * * @license GNU AGPL version 3 or any later version @@ -20,9 +24,6 @@ * along with this program. If not, see . * */ - -declare(strict_types=1); - namespace OCA\Files\Controller; use OCP\AppFramework\Http\DataResponse; diff --git a/apps/files/lib/Controller/TransferOwnershipController.php b/apps/files/lib/Controller/TransferOwnershipController.php index fb3f3dffd6c..fb1a8b33dc1 100644 --- a/apps/files/lib/Controller/TransferOwnershipController.php +++ b/apps/files/lib/Controller/TransferOwnershipController.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Controller; use OCA\Files\BackgroundJob\TransferOwnership; diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php index b055f9a38b5..f649453f16e 100644 --- a/apps/files/lib/Controller/ViewController.php +++ b/apps/files/lib/Controller/ViewController.php @@ -7,11 +7,13 @@ * @author fnuesse * @author fnuesse * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Max Kovalenko * @author Morris Jobke + * @author Nina Pypchenko <22447785+nina-py@users.noreply.github.com> + * @author Robin Appelman * @author Roeland Jago Douma * @author Thomas Müller * @author Vincent Petry @@ -31,7 +33,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Controller; use OCA\Files\Activity\Helper; diff --git a/apps/files/lib/Db/TransferOwnership.php b/apps/files/lib/Db/TransferOwnership.php index acde06a977c..1ab94361ac9 100644 --- a/apps/files/lib/Db/TransferOwnership.php +++ b/apps/files/lib/Db/TransferOwnership.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Db; use OCP\AppFramework\Db\Entity; diff --git a/apps/files/lib/Db/TransferOwnershipMapper.php b/apps/files/lib/Db/TransferOwnershipMapper.php index e1e373eaab9..f55f9e733f9 100644 --- a/apps/files/lib/Db/TransferOwnershipMapper.php +++ b/apps/files/lib/Db/TransferOwnershipMapper.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Db; use OCP\AppFramework\Db\QBMapper; diff --git a/apps/files/lib/Event/LoadAdditionalScriptsEvent.php b/apps/files/lib/Event/LoadAdditionalScriptsEvent.php index e5943c6f895..5291a776e81 100644 --- a/apps/files/lib/Event/LoadAdditionalScriptsEvent.php +++ b/apps/files/lib/Event/LoadAdditionalScriptsEvent.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2019, Roeland Jago Douma * + * @author John Molakvoæ * @author Morris Jobke * @author Roeland Jago Douma * @@ -17,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Event; use OCP\EventDispatcher\Event; diff --git a/apps/files/lib/Event/LoadSidebar.php b/apps/files/lib/Event/LoadSidebar.php index 8f3892c60c2..8dc30e33632 100644 --- a/apps/files/lib/Event/LoadSidebar.php +++ b/apps/files/lib/Event/LoadSidebar.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2019, Roeland Jago Douma * - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Event; use OCP\EventDispatcher\Event; diff --git a/apps/files/lib/Exception/TransferOwnershipException.php b/apps/files/lib/Exception/TransferOwnershipException.php index 2fe7287f88f..1849976b6db 100644 --- a/apps/files/lib/Exception/TransferOwnershipException.php +++ b/apps/files/lib/Exception/TransferOwnershipException.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Exception; use Exception; diff --git a/apps/files/lib/Helper.php b/apps/files/lib/Helper.php index 699caec59eb..67e2fbe8321 100644 --- a/apps/files/lib/Helper.php +++ b/apps/files/lib/Helper.php @@ -5,7 +5,7 @@ * @author Björn Schießle * @author brumsel * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Jörn Friedrich Dreyer * @author Lukas Reschke * @author Michael Jobst @@ -31,7 +31,6 @@ * along with this program. If not, see * */ - namespace OCA\Files; use OCP\Files\FileInfo; diff --git a/apps/files/lib/Listener/LegacyLoadAdditionalScriptsAdapter.php b/apps/files/lib/Listener/LegacyLoadAdditionalScriptsAdapter.php index 298d7194cde..f60f9d73d78 100644 --- a/apps/files/lib/Listener/LegacyLoadAdditionalScriptsAdapter.php +++ b/apps/files/lib/Listener/LegacyLoadAdditionalScriptsAdapter.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Listener; use OC\EventDispatcher\SymfonyAdapter; diff --git a/apps/files/lib/Listener/LoadSidebarListener.php b/apps/files/lib/Listener/LoadSidebarListener.php index 902b6bd387a..aa24538c2ee 100644 --- a/apps/files/lib/Listener/LoadSidebarListener.php +++ b/apps/files/lib/Listener/LoadSidebarListener.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2019, John Molakvoæ * - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Listener; use OCA\Files\AppInfo\Application; diff --git a/apps/files/lib/Migration/Version11301Date20191205150729.php b/apps/files/lib/Migration/Version11301Date20191205150729.php index 80d1268fdc5..e7bda7ef38a 100644 --- a/apps/files/lib/Migration/Version11301Date20191205150729.php +++ b/apps/files/lib/Migration/Version11301Date20191205150729.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Migration; use Closure; diff --git a/apps/files/lib/Notification/Notifier.php b/apps/files/lib/Notification/Notifier.php index 0ce5287b110..8f885a995f9 100644 --- a/apps/files/lib/Notification/Notifier.php +++ b/apps/files/lib/Notification/Notifier.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Notification; use OCA\Files\Db\TransferOwnershipMapper; diff --git a/apps/files/lib/Search/FilesSearchProvider.php b/apps/files/lib/Search/FilesSearchProvider.php index 5571d41bda5..97052ef6973 100644 --- a/apps/files/lib/Search/FilesSearchProvider.php +++ b/apps/files/lib/Search/FilesSearchProvider.php @@ -7,7 +7,8 @@ declare(strict_types=1); * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ + * @author Robin Appelman * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -19,14 +20,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Search; use OC\Files\Search\SearchComparison; diff --git a/apps/files/lib/Service/DirectEditingService.php b/apps/files/lib/Service/DirectEditingService.php index cc9ee54d45e..1ee3a53d85a 100644 --- a/apps/files/lib/Service/DirectEditingService.php +++ b/apps/files/lib/Service/DirectEditingService.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Service; use OCP\DirectEditing\ACreateEmpty; diff --git a/apps/files/lib/Service/OwnershipTransferService.php b/apps/files/lib/Service/OwnershipTransferService.php index 3ab1a0c29d5..8c4c078758e 100644 --- a/apps/files/lib/Service/OwnershipTransferService.php +++ b/apps/files/lib/Service/OwnershipTransferService.php @@ -22,14 +22,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Service; use Closure; diff --git a/apps/files/lib/Service/TagService.php b/apps/files/lib/Service/TagService.php index 72814f47538..29b6fbc2840 100644 --- a/apps/files/lib/Service/TagService.php +++ b/apps/files/lib/Service/TagService.php @@ -5,7 +5,6 @@ * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling - * @author Morris Jobke * @author Vincent Petry * * @license AGPL-3.0 @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Service; use OCA\Files\Activity\FavoriteProvider; diff --git a/apps/files/lib/Settings/PersonalSettings.php b/apps/files/lib/Settings/PersonalSettings.php index ff5bf164dea..c62a1b9d62d 100644 --- a/apps/files/lib/Settings/PersonalSettings.php +++ b/apps/files/lib/Settings/PersonalSettings.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Settings; use OCA\Files\AppInfo\Application; diff --git a/apps/files/list.php b/apps/files/list.php index 308d149c873..259713ae68e 100644 --- a/apps/files/list.php +++ b/apps/files/list.php @@ -2,8 +2,9 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author John Molakvoæ (skjnldsv) - * @author Morris Jobke + * @author Christoph Wurst + * @author John Molakvoæ + * @author Robin Appelman * @author Vincent Petry * * @license AGPL-3.0 @@ -21,7 +22,6 @@ * along with this program. If not, see * */ - use OCP\Share\IManager; $config = \OC::$server->getConfig(); diff --git a/apps/files/recentlist.php b/apps/files/recentlist.php index 74727235766..899591013e2 100644 --- a/apps/files/recentlist.php +++ b/apps/files/recentlist.php @@ -1,8 +1,9 @@ * - * - * @author John Molakvoæ (skjnldsv) + * @author Christoph Wurst + * @author John Molakvoæ * @author Morris Jobke * @author Robin Appelman * @@ -15,7 +16,7 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/files/simplelist.php b/apps/files/simplelist.php index 25bef1968c1..7d571e697c0 100644 --- a/apps/files/simplelist.php +++ b/apps/files/simplelist.php @@ -2,8 +2,8 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author John Molakvoæ (skjnldsv) - * @author Morris Jobke + * @author Christoph Wurst + * @author John Molakvoæ * @author Vincent Petry * * @license AGPL-3.0 @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - // TODO: move to handlebars $config = \OC::$server->getConfig(); $userSession = \OC::$server->getUserSession(); diff --git a/apps/files/tests/Activity/Filter/GenericTest.php b/apps/files/tests/Activity/Filter/GenericTest.php index eb55ab2699f..f7c7cafaec4 100644 --- a/apps/files/tests/Activity/Filter/GenericTest.php +++ b/apps/files/tests/Activity/Filter/GenericTest.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Tests\Activity\Filter; use OCA\Files\Activity\Filter\Favorites; diff --git a/apps/files/tests/Activity/ProviderTest.php b/apps/files/tests/Activity/ProviderTest.php index 4521dea33ce..7c5bdf27ba1 100644 --- a/apps/files/tests/Activity/ProviderTest.php +++ b/apps/files/tests/Activity/ProviderTest.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Tests\Activity; use OCA\Files\Activity\Provider; diff --git a/apps/files/tests/Activity/Setting/GenericTest.php b/apps/files/tests/Activity/Setting/GenericTest.php index e4d90accb72..b0d42aa27ac 100644 --- a/apps/files/tests/Activity/Setting/GenericTest.php +++ b/apps/files/tests/Activity/Setting/GenericTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files\Tests\Activity\Setting; use OCA\Files\Activity\Settings\FavoriteAction; diff --git a/apps/files/tests/BackgroundJob/DeleteOrphanedItemsJobTest.php b/apps/files/tests/BackgroundJob/DeleteOrphanedItemsJobTest.php index 57864ba02b7..75318b1802f 100644 --- a/apps/files/tests/BackgroundJob/DeleteOrphanedItemsJobTest.php +++ b/apps/files/tests/BackgroundJob/DeleteOrphanedItemsJobTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Tests\BackgroundJob; use OCA\Files\BackgroundJob\DeleteOrphanedItems; diff --git a/apps/files/tests/BackgroundJob/ScanFilesTest.php b/apps/files/tests/BackgroundJob/ScanFilesTest.php index 2b70b3bd49c..f1fb505fe53 100644 --- a/apps/files/tests/BackgroundJob/ScanFilesTest.php +++ b/apps/files/tests/BackgroundJob/ScanFilesTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Tests\BackgroundJob; use OC\Files\Mount\MountPoint; diff --git a/apps/files/tests/Command/DeleteOrphanedFilesTest.php b/apps/files/tests/Command/DeleteOrphanedFilesTest.php index b9f03d057dc..bf266bc8229 100644 --- a/apps/files/tests/Command/DeleteOrphanedFilesTest.php +++ b/apps/files/tests/Command/DeleteOrphanedFilesTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Tests\Command; use OC\Files\View; diff --git a/apps/files/tests/Controller/ApiControllerTest.php b/apps/files/tests/Controller/ApiControllerTest.php index dd64bfb8330..0bce2763be9 100644 --- a/apps/files/tests/Controller/ApiControllerTest.php +++ b/apps/files/tests/Controller/ApiControllerTest.php @@ -5,6 +5,7 @@ * @author Christoph Wurst * @author Lukas Reschke * @author Morris Jobke + * @author Nina Pypchenko <22447785+nina-py@users.noreply.github.com> * @author Robin Appelman * @author Roeland Jago Douma * @author Vincent Petry @@ -24,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Controller; use OCA\Files\Service\TagService; diff --git a/apps/files/tests/Controller/ViewControllerTest.php b/apps/files/tests/Controller/ViewControllerTest.php index 3453914b27a..a0c62d28e2a 100644 --- a/apps/files/tests/Controller/ViewControllerTest.php +++ b/apps/files/tests/Controller/ViewControllerTest.php @@ -5,11 +5,12 @@ * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Michael Weimann * @author Morris Jobke + * @author Nina Pypchenko <22447785+nina-py@users.noreply.github.com> * @author Robin Appelman * @author Roeland Jago Douma * @author Vincent Petry @@ -29,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Tests\Controller; use OCA\Files\Activity\Helper; diff --git a/apps/files/tests/HelperTest.php b/apps/files/tests/HelperTest.php index ec301e99b46..230e2c6cea2 100644 --- a/apps/files/tests/HelperTest.php +++ b/apps/files/tests/HelperTest.php @@ -5,7 +5,6 @@ * @author brumsel * @author Christoph Wurst * @author Joas Schilling - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @author Vincent Petry @@ -25,11 +24,6 @@ * along with this program. If not, see * */ - - -/** - * Class Helper - */ class HelperTest extends \Test\TestCase { private function makeFileInfo($name, $size, $mtime, $isDir = false) { return new \OC\Files\FileInfo( diff --git a/apps/files/tests/Service/TagServiceTest.php b/apps/files/tests/Service/TagServiceTest.php index 202fdb6c823..dce01e7170f 100644 --- a/apps/files/tests/Service/TagServiceTest.php +++ b/apps/files/tests/Service/TagServiceTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files\Tests\Service; use OCA\Files\Service\TagService; diff --git a/apps/files_external/appinfo/app.php b/apps/files_external/appinfo/app.php index 15254b29002..432a2af502d 100644 --- a/apps/files_external/appinfo/app.php +++ b/apps/files_external/appinfo/app.php @@ -8,6 +8,7 @@ * @author Morris Jobke * @author Robin Appelman * @author Robin McCorkell + * @author szaimen * @author Vincent Petry * * @license AGPL-3.0 @@ -25,7 +26,6 @@ * along with this program. If not, see * */ - use OCA\Files_External\Config\ConfigAdapter; require_once __DIR__ . '/../3rdparty/autoload.php'; diff --git a/apps/files_external/appinfo/routes.php b/apps/files_external/appinfo/routes.php index 23b692703a7..bce4b0acdfb 100644 --- a/apps/files_external/appinfo/routes.php +++ b/apps/files_external/appinfo/routes.php @@ -26,10 +26,6 @@ * along with this program. If not, see * */ - -/** - * @var $this \OCP\Route\IRouter - **/ \OCA\Files_External\MountConfig::$app->registerRoutes( $this, [ diff --git a/apps/files_external/lib/AppInfo/Application.php b/apps/files_external/lib/AppInfo/Application.php index f0c66533777..151b14fdfa9 100644 --- a/apps/files_external/lib/AppInfo/Application.php +++ b/apps/files_external/lib/AppInfo/Application.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\AppInfo; use OCA\Files_External\Config\UserPlaceholderHandler; diff --git a/apps/files_external/lib/BackgroundJob/CredentialsCleanup.php b/apps/files_external/lib/BackgroundJob/CredentialsCleanup.php index ca44bea39a4..07b66e2ecb6 100644 --- a/apps/files_external/lib/BackgroundJob/CredentialsCleanup.php +++ b/apps/files_external/lib/BackgroundJob/CredentialsCleanup.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\BackgroundJob; use OCA\Files_External\Lib\Auth\Password\LoginCredentials; diff --git a/apps/files_external/lib/Command/Applicable.php b/apps/files_external/lib/Command/Applicable.php index bec312bdcb2..29d5459200e 100644 --- a/apps/files_external/lib/Command/Applicable.php +++ b/apps/files_external/lib/Command/Applicable.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Command; use OC\Core\Command\Base; diff --git a/apps/files_external/lib/Command/Backends.php b/apps/files_external/lib/Command/Backends.php index 0046ad72a4c..60d035f997f 100644 --- a/apps/files_external/lib/Command/Backends.php +++ b/apps/files_external/lib/Command/Backends.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Command; use OC\Core\Command\Base; diff --git a/apps/files_external/lib/Command/Config.php b/apps/files_external/lib/Command/Config.php index 467f421e730..5d0675b04bc 100644 --- a/apps/files_external/lib/Command/Config.php +++ b/apps/files_external/lib/Command/Config.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Command; use OC\Core\Command\Base; diff --git a/apps/files_external/lib/Command/Create.php b/apps/files_external/lib/Command/Create.php index 2eb0865b3f7..3fe9e71b17a 100644 --- a/apps/files_external/lib/Command/Create.php +++ b/apps/files_external/lib/Command/Create.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Command; use OC\Core\Command\Base; diff --git a/apps/files_external/lib/Command/Delete.php b/apps/files_external/lib/Command/Delete.php index 3a05fed8d08..a41161792b5 100644 --- a/apps/files_external/lib/Command/Delete.php +++ b/apps/files_external/lib/Command/Delete.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Command; use OC\Core\Command\Base; diff --git a/apps/files_external/lib/Command/Export.php b/apps/files_external/lib/Command/Export.php index 1f5dc3f4afc..622c4b46078 100644 --- a/apps/files_external/lib/Command/Export.php +++ b/apps/files_external/lib/Command/Export.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Command; use Symfony\Component\Console\Input\ArrayInput; diff --git a/apps/files_external/lib/Command/Import.php b/apps/files_external/lib/Command/Import.php index bbaeea91c3e..5d9a6893353 100644 --- a/apps/files_external/lib/Command/Import.php +++ b/apps/files_external/lib/Command/Import.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Command; use OC\Core\Command\Base; diff --git a/apps/files_external/lib/Command/ListCommand.php b/apps/files_external/lib/Command/ListCommand.php index d415d7718d4..fadf5d8de27 100644 --- a/apps/files_external/lib/Command/ListCommand.php +++ b/apps/files_external/lib/Command/ListCommand.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Command; use OC\Core\Command\Base; diff --git a/apps/files_external/lib/Command/Notify.php b/apps/files_external/lib/Command/Notify.php index de74900331a..340dd2fdca1 100644 --- a/apps/files_external/lib/Command/Notify.php +++ b/apps/files_external/lib/Command/Notify.php @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Command; use Doctrine\DBAL\Exception\DriverException; diff --git a/apps/files_external/lib/Command/Option.php b/apps/files_external/lib/Command/Option.php index bc4600b2b6e..9f7d4a30bcd 100644 --- a/apps/files_external/lib/Command/Option.php +++ b/apps/files_external/lib/Command/Option.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Command; use OCA\Files_External\Lib\StorageConfig; diff --git a/apps/files_external/lib/Command/Verify.php b/apps/files_external/lib/Command/Verify.php index 40969409812..0febfa15825 100644 --- a/apps/files_external/lib/Command/Verify.php +++ b/apps/files_external/lib/Command/Verify.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Command; use OC\Core\Command\Base; diff --git a/apps/files_external/lib/Config/ConfigAdapter.php b/apps/files_external/lib/Config/ConfigAdapter.php index 2528c090d66..fe9beceeb36 100644 --- a/apps/files_external/lib/Config/ConfigAdapter.php +++ b/apps/files_external/lib/Config/ConfigAdapter.php @@ -5,6 +5,7 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling + * @author Julius Härtl * @author Morris Jobke * @author Robin Appelman * @author Robin McCorkell @@ -26,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Config; use OC\Files\Storage\FailedStorage; diff --git a/apps/files_external/lib/Config/ExternalMountPoint.php b/apps/files_external/lib/Config/ExternalMountPoint.php index 1eac000a97f..985e70bee03 100644 --- a/apps/files_external/lib/Config/ExternalMountPoint.php +++ b/apps/files_external/lib/Config/ExternalMountPoint.php @@ -2,6 +2,7 @@ /** * @copyright Copyright (c) 2017 Robin Appelman * + * @author Julius Härtl * @author Robin Appelman * * @license GNU AGPL version 3 or any later version @@ -13,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Config; use OC\Files\Mount\MountPoint; diff --git a/apps/files_external/lib/Config/IConfigHandler.php b/apps/files_external/lib/Config/IConfigHandler.php index 3ec6f391da7..cd7ca4d1050 100644 --- a/apps/files_external/lib/Config/IConfigHandler.php +++ b/apps/files_external/lib/Config/IConfigHandler.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Config; /** diff --git a/apps/files_external/lib/Config/SimpleSubstitutionTrait.php b/apps/files_external/lib/Config/SimpleSubstitutionTrait.php index 9e4a908cd0d..4f15d285032 100644 --- a/apps/files_external/lib/Config/SimpleSubstitutionTrait.php +++ b/apps/files_external/lib/Config/SimpleSubstitutionTrait.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Config; /** diff --git a/apps/files_external/lib/Config/UserContext.php b/apps/files_external/lib/Config/UserContext.php index fe2cd24aa82..a4ff27e42b5 100644 --- a/apps/files_external/lib/Config/UserContext.php +++ b/apps/files_external/lib/Config/UserContext.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Config; use OCP\IRequest; diff --git a/apps/files_external/lib/Config/UserPlaceholderHandler.php b/apps/files_external/lib/Config/UserPlaceholderHandler.php index 4e1fdb674a4..b2ced2ecf6a 100644 --- a/apps/files_external/lib/Config/UserPlaceholderHandler.php +++ b/apps/files_external/lib/Config/UserPlaceholderHandler.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Config; class UserPlaceholderHandler extends UserContext implements IConfigHandler { diff --git a/apps/files_external/lib/Controller/AjaxController.php b/apps/files_external/lib/Controller/AjaxController.php index a200b581c39..db23ecd709d 100644 --- a/apps/files_external/lib/Controller/AjaxController.php +++ b/apps/files_external/lib/Controller/AjaxController.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Controller; use OCA\Files_External\Lib\Auth\Password\GlobalAuth; diff --git a/apps/files_external/lib/Controller/ApiController.php b/apps/files_external/lib/Controller/ApiController.php index afa869b5270..d7f24b44cff 100644 --- a/apps/files_external/lib/Controller/ApiController.php +++ b/apps/files_external/lib/Controller/ApiController.php @@ -27,7 +27,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\Files_External\Controller; use OCP\AppFramework\Http\DataResponse; diff --git a/apps/files_external/lib/Controller/GlobalStoragesController.php b/apps/files_external/lib/Controller/GlobalStoragesController.php index f6032ae902b..53173f88ee5 100644 --- a/apps/files_external/lib/Controller/GlobalStoragesController.php +++ b/apps/files_external/lib/Controller/GlobalStoragesController.php @@ -2,9 +2,9 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Christoph Wurst * @author Joas Schilling * @author Juan Pablo Villafáñez + * @author Morris Jobke * @author Robin Appelman * @author Robin McCorkell * @author Roeland Jago Douma @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Controller; use OCA\Files_External\NotFoundException; diff --git a/apps/files_external/lib/Controller/StoragesController.php b/apps/files_external/lib/Controller/StoragesController.php index 80adeb47f7d..47021bd7d11 100644 --- a/apps/files_external/lib/Controller/StoragesController.php +++ b/apps/files_external/lib/Controller/StoragesController.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Controller; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Controller/UserGlobalStoragesController.php b/apps/files_external/lib/Controller/UserGlobalStoragesController.php index 7bab5e47caa..02fd563df0f 100644 --- a/apps/files_external/lib/Controller/UserGlobalStoragesController.php +++ b/apps/files_external/lib/Controller/UserGlobalStoragesController.php @@ -2,9 +2,9 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Christoph Wurst * @author Joas Schilling * @author Juan Pablo Villafáñez + * @author Morris Jobke * @author Robin Appelman * @author Robin McCorkell * @author Roeland Jago Douma @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Controller; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Controller/UserStoragesController.php b/apps/files_external/lib/Controller/UserStoragesController.php index 5b981b7c643..4032ba1d96c 100644 --- a/apps/files_external/lib/Controller/UserStoragesController.php +++ b/apps/files_external/lib/Controller/UserStoragesController.php @@ -5,6 +5,7 @@ * @author Christoph Wurst * @author Joas Schilling * @author Juan Pablo Villafáñez + * @author Morris Jobke * @author Robin Appelman * @author Robin McCorkell * @author Roeland Jago Douma @@ -25,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Controller; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/AmazonS3/AccessKey.php b/apps/files_external/lib/Lib/Auth/AmazonS3/AccessKey.php index f318ba71a20..7185fb511f5 100644 --- a/apps/files_external/lib/Lib/Auth/AmazonS3/AccessKey.php +++ b/apps/files_external/lib/Lib/Auth/AmazonS3/AccessKey.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth\AmazonS3; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/AuthMechanism.php b/apps/files_external/lib/Lib/Auth/AuthMechanism.php index 512a0405fc0..f676957794d 100644 --- a/apps/files_external/lib/Lib/Auth/AuthMechanism.php +++ b/apps/files_external/lib/Lib/Auth/AuthMechanism.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth; use OCA\Files_External\Lib\FrontendDefinitionTrait; diff --git a/apps/files_external/lib/Lib/Auth/Builtin.php b/apps/files_external/lib/Lib/Auth/Builtin.php index 0f3d5342c6e..91428156c75 100644 --- a/apps/files_external/lib/Lib/Auth/Builtin.php +++ b/apps/files_external/lib/Lib/Auth/Builtin.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth; use OCP\IL10N; diff --git a/apps/files_external/lib/Lib/Auth/IUserProvided.php b/apps/files_external/lib/Lib/Auth/IUserProvided.php index 9ed2b76a057..f913e8e3ab5 100644 --- a/apps/files_external/lib/Lib/Auth/IUserProvided.php +++ b/apps/files_external/lib/Lib/Auth/IUserProvided.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth; use OCP\IUser; diff --git a/apps/files_external/lib/Lib/Auth/InvalidAuth.php b/apps/files_external/lib/Lib/Auth/InvalidAuth.php index 7c3ba64302e..1d2953b11cd 100644 --- a/apps/files_external/lib/Lib/Auth/InvalidAuth.php +++ b/apps/files_external/lib/Lib/Auth/InvalidAuth.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth; /** diff --git a/apps/files_external/lib/Lib/Auth/NullMechanism.php b/apps/files_external/lib/Lib/Auth/NullMechanism.php index e7a30ea613e..05b73b92fc1 100644 --- a/apps/files_external/lib/Lib/Auth/NullMechanism.php +++ b/apps/files_external/lib/Lib/Auth/NullMechanism.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth; use OCP\IL10N; diff --git a/apps/files_external/lib/Lib/Auth/OAuth1/OAuth1.php b/apps/files_external/lib/Lib/Auth/OAuth1/OAuth1.php index d93a09292ad..44cdcf79523 100644 --- a/apps/files_external/lib/Lib/Auth/OAuth1/OAuth1.php +++ b/apps/files_external/lib/Lib/Auth/OAuth1/OAuth1.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth\OAuth1; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/OAuth2/OAuth2.php b/apps/files_external/lib/Lib/Auth/OAuth2/OAuth2.php index 17add489776..4dc2b23035a 100644 --- a/apps/files_external/lib/Lib/Auth/OAuth2/OAuth2.php +++ b/apps/files_external/lib/Lib/Auth/OAuth2/OAuth2.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth\OAuth2; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/OpenStack/OpenStackV2.php b/apps/files_external/lib/Lib/Auth/OpenStack/OpenStackV2.php index 723ecc5068b..ddc734ff1ec 100644 --- a/apps/files_external/lib/Lib/Auth/OpenStack/OpenStackV2.php +++ b/apps/files_external/lib/Lib/Auth/OpenStack/OpenStackV2.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth\OpenStack; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/OpenStack/OpenStackV3.php b/apps/files_external/lib/Lib/Auth/OpenStack/OpenStackV3.php index 8ef66cc5f11..44ea1c61155 100644 --- a/apps/files_external/lib/Lib/Auth/OpenStack/OpenStackV3.php +++ b/apps/files_external/lib/Lib/Auth/OpenStack/OpenStackV3.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Lib\Auth\OpenStack; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/OpenStack/Rackspace.php b/apps/files_external/lib/Lib/Auth/OpenStack/Rackspace.php index 4fa2a07440c..8bf3eba668d 100644 --- a/apps/files_external/lib/Lib/Auth/OpenStack/Rackspace.php +++ b/apps/files_external/lib/Lib/Auth/OpenStack/Rackspace.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth\OpenStack; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/Password/GlobalAuth.php b/apps/files_external/lib/Lib/Auth/Password/GlobalAuth.php index 1094f778557..dff5bf86625 100644 --- a/apps/files_external/lib/Lib/Auth/Password/GlobalAuth.php +++ b/apps/files_external/lib/Lib/Auth/Password/GlobalAuth.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth\Password; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/Password/LoginCredentials.php b/apps/files_external/lib/Lib/Auth/Password/LoginCredentials.php index b8279f5ca61..5fa6b36ad63 100644 --- a/apps/files_external/lib/Lib/Auth/Password/LoginCredentials.php +++ b/apps/files_external/lib/Lib/Auth/Password/LoginCredentials.php @@ -2,7 +2,9 @@ /** * @copyright Copyright (c) 2015, ownCloud, Inc. * + * @author blizzz * @author Christoph Wurst + * @author Joas Schilling * @author Lukas Reschke * @author Morris Jobke * @author Robin Appelman @@ -23,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth\Password; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/Password/Password.php b/apps/files_external/lib/Lib/Auth/Password/Password.php index 79be4282014..5165a61d028 100644 --- a/apps/files_external/lib/Lib/Auth/Password/Password.php +++ b/apps/files_external/lib/Lib/Auth/Password/Password.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth\Password; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/Password/SessionCredentials.php b/apps/files_external/lib/Lib/Auth/Password/SessionCredentials.php index d6f2d3f844f..dbe5a2fdc20 100644 --- a/apps/files_external/lib/Lib/Auth/Password/SessionCredentials.php +++ b/apps/files_external/lib/Lib/Auth/Password/SessionCredentials.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth\Password; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/Password/UserGlobalAuth.php b/apps/files_external/lib/Lib/Auth/Password/UserGlobalAuth.php index ff95e225e67..6312a3d136e 100644 --- a/apps/files_external/lib/Lib/Auth/Password/UserGlobalAuth.php +++ b/apps/files_external/lib/Lib/Auth/Password/UserGlobalAuth.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Lib\Auth\Password; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/Password/UserProvided.php b/apps/files_external/lib/Lib/Auth/Password/UserProvided.php index d13c2090258..0c8140e3c14 100644 --- a/apps/files_external/lib/Lib/Auth/Password/UserProvided.php +++ b/apps/files_external/lib/Lib/Auth/Password/UserProvided.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth\Password; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/PublicKey/RSA.php b/apps/files_external/lib/Lib/Auth/PublicKey/RSA.php index f3e6c891e73..2d17b4e9698 100644 --- a/apps/files_external/lib/Lib/Auth/PublicKey/RSA.php +++ b/apps/files_external/lib/Lib/Auth/PublicKey/RSA.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Auth\PublicKey; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/PublicKey/RSAPrivateKey.php b/apps/files_external/lib/Lib/Auth/PublicKey/RSAPrivateKey.php index e7c523f3911..886d16965f4 100644 --- a/apps/files_external/lib/Lib/Auth/PublicKey/RSAPrivateKey.php +++ b/apps/files_external/lib/Lib/Auth/PublicKey/RSAPrivateKey.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Lib\Auth\PublicKey; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Auth/SMB/KerberosAuth.php b/apps/files_external/lib/Lib/Auth/SMB/KerberosAuth.php index 2051a192dad..44956c57ada 100644 --- a/apps/files_external/lib/Lib/Auth/SMB/KerberosAuth.php +++ b/apps/files_external/lib/Lib/Auth/SMB/KerberosAuth.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Lib\Auth\SMB; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Backend/AmazonS3.php b/apps/files_external/lib/Lib/Backend/AmazonS3.php index 5473975f372..d85ac3639da 100644 --- a/apps/files_external/lib/Lib/Backend/AmazonS3.php +++ b/apps/files_external/lib/Lib/Backend/AmazonS3.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\AmazonS3\AccessKey; diff --git a/apps/files_external/lib/Lib/Backend/Backend.php b/apps/files_external/lib/Lib/Backend/Backend.php index 69d41f85ecf..a6e63eb30d1 100644 --- a/apps/files_external/lib/Lib/Backend/Backend.php +++ b/apps/files_external/lib/Lib/Backend/Backend.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Backend/DAV.php b/apps/files_external/lib/Lib/Backend/DAV.php index 0991c5ac1df..cf16677334d 100644 --- a/apps/files_external/lib/Lib/Backend/DAV.php +++ b/apps/files_external/lib/Lib/Backend/DAV.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Backend/FTP.php b/apps/files_external/lib/Lib/Backend/FTP.php index bc35a5d386a..587f3e68535 100644 --- a/apps/files_external/lib/Lib/Backend/FTP.php +++ b/apps/files_external/lib/Lib/Backend/FTP.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Backend/InvalidBackend.php b/apps/files_external/lib/Lib/Backend/InvalidBackend.php index 148074a2391..3a535577447 100644 --- a/apps/files_external/lib/Lib/Backend/InvalidBackend.php +++ b/apps/files_external/lib/Lib/Backend/InvalidBackend.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\StorageConfig; diff --git a/apps/files_external/lib/Lib/Backend/LegacyBackend.php b/apps/files_external/lib/Lib/Backend/LegacyBackend.php index d618c756fbf..d00c5b0e944 100644 --- a/apps/files_external/lib/Lib/Backend/LegacyBackend.php +++ b/apps/files_external/lib/Lib/Backend/LegacyBackend.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\Builtin; diff --git a/apps/files_external/lib/Lib/Backend/Local.php b/apps/files_external/lib/Lib/Backend/Local.php index 67b50e127e9..88b251360d6 100644 --- a/apps/files_external/lib/Lib/Backend/Local.php +++ b/apps/files_external/lib/Lib/Backend/Local.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Backend/OwnCloud.php b/apps/files_external/lib/Lib/Backend/OwnCloud.php index 876f8709cc3..8b33b98b5c4 100644 --- a/apps/files_external/lib/Lib/Backend/OwnCloud.php +++ b/apps/files_external/lib/Lib/Backend/OwnCloud.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Backend/SFTP.php b/apps/files_external/lib/Lib/Backend/SFTP.php index a7f97c6b79a..c65720ea1ae 100644 --- a/apps/files_external/lib/Lib/Backend/SFTP.php +++ b/apps/files_external/lib/Lib/Backend/SFTP.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Backend/SFTP_Key.php b/apps/files_external/lib/Lib/Backend/SFTP_Key.php index 924d6a62ffe..e9a64407ce2 100644 --- a/apps/files_external/lib/Lib/Backend/SFTP_Key.php +++ b/apps/files_external/lib/Lib/Backend/SFTP_Key.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Backend/SMB.php b/apps/files_external/lib/Lib/Backend/SMB.php index a21beb6e012..73e6b67614b 100644 --- a/apps/files_external/lib/Lib/Backend/SMB.php +++ b/apps/files_external/lib/Lib/Backend/SMB.php @@ -7,6 +7,7 @@ * @author Robin Appelman * @author Robin McCorkell * @author Roeland Jago Douma + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * * @license AGPL-3.0 * @@ -23,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use Icewind\SMB\BasicAuth; diff --git a/apps/files_external/lib/Lib/Backend/SMB_OC.php b/apps/files_external/lib/Lib/Backend/SMB_OC.php index dfec19d11d1..78c266e36d1 100644 --- a/apps/files_external/lib/Lib/Backend/SMB_OC.php +++ b/apps/files_external/lib/Lib/Backend/SMB_OC.php @@ -5,6 +5,7 @@ * @author Morris Jobke * @author Robin McCorkell * @author Roeland Jago Douma + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * * @license AGPL-3.0 * @@ -21,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Backend/Swift.php b/apps/files_external/lib/Lib/Backend/Swift.php index b9d3c9c75ce..8450af5f19c 100644 --- a/apps/files_external/lib/Lib/Backend/Swift.php +++ b/apps/files_external/lib/Lib/Backend/Swift.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Config/IAuthMechanismProvider.php b/apps/files_external/lib/Lib/Config/IAuthMechanismProvider.php index e8f142c01da..4358b7abc4f 100644 --- a/apps/files_external/lib/Lib/Config/IAuthMechanismProvider.php +++ b/apps/files_external/lib/Lib/Config/IAuthMechanismProvider.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Config; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/Config/IBackendProvider.php b/apps/files_external/lib/Lib/Config/IBackendProvider.php index 7757f204c8c..e2b04e78c10 100644 --- a/apps/files_external/lib/Lib/Config/IBackendProvider.php +++ b/apps/files_external/lib/Lib/Config/IBackendProvider.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Config; use OCA\Files_External\Lib\Backend\Backend; diff --git a/apps/files_external/lib/Lib/DefinitionParameter.php b/apps/files_external/lib/Lib/DefinitionParameter.php index 8415c3214f5..fbfbbfd4686 100644 --- a/apps/files_external/lib/Lib/DefinitionParameter.php +++ b/apps/files_external/lib/Lib/DefinitionParameter.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; /** diff --git a/apps/files_external/lib/Lib/DependencyTrait.php b/apps/files_external/lib/Lib/DependencyTrait.php index b88a111392a..135f5ade296 100644 --- a/apps/files_external/lib/Lib/DependencyTrait.php +++ b/apps/files_external/lib/Lib/DependencyTrait.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; /** diff --git a/apps/files_external/lib/Lib/FrontendDefinitionTrait.php b/apps/files_external/lib/Lib/FrontendDefinitionTrait.php index 300abd15db3..b10d3a0b276 100644 --- a/apps/files_external/lib/Lib/FrontendDefinitionTrait.php +++ b/apps/files_external/lib/Lib/FrontendDefinitionTrait.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; /** diff --git a/apps/files_external/lib/Lib/IdentifierTrait.php b/apps/files_external/lib/Lib/IdentifierTrait.php index 6bdde976753..37813795490 100644 --- a/apps/files_external/lib/Lib/IdentifierTrait.php +++ b/apps/files_external/lib/Lib/IdentifierTrait.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; /** diff --git a/apps/files_external/lib/Lib/InsufficientDataForMeaningfulAnswerException.php b/apps/files_external/lib/Lib/InsufficientDataForMeaningfulAnswerException.php index 8205dcfd9f1..b2301543d8e 100644 --- a/apps/files_external/lib/Lib/InsufficientDataForMeaningfulAnswerException.php +++ b/apps/files_external/lib/Lib/InsufficientDataForMeaningfulAnswerException.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; use OCP\Files\StorageNotAvailableException; diff --git a/apps/files_external/lib/Lib/LegacyDependencyCheckPolyfill.php b/apps/files_external/lib/Lib/LegacyDependencyCheckPolyfill.php index 787872511f9..732413c78cd 100644 --- a/apps/files_external/lib/Lib/LegacyDependencyCheckPolyfill.php +++ b/apps/files_external/lib/Lib/LegacyDependencyCheckPolyfill.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; /** diff --git a/apps/files_external/lib/Lib/MissingDependency.php b/apps/files_external/lib/Lib/MissingDependency.php index f91154baec9..b740f4596b2 100644 --- a/apps/files_external/lib/Lib/MissingDependency.php +++ b/apps/files_external/lib/Lib/MissingDependency.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; /** diff --git a/apps/files_external/lib/Lib/Notify/SMBNotifyHandler.php b/apps/files_external/lib/Lib/Notify/SMBNotifyHandler.php index e8c89979e89..66567b397f2 100644 --- a/apps/files_external/lib/Lib/Notify/SMBNotifyHandler.php +++ b/apps/files_external/lib/Lib/Notify/SMBNotifyHandler.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2017 Robin Appelman * * @author Christoph Wurst + * @author Julius Härtl * @author Robin Appelman * * @license GNU AGPL version 3 or any later version @@ -14,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Lib\Notify; use OC\Files\Notify\Change; diff --git a/apps/files_external/lib/Lib/PersonalMount.php b/apps/files_external/lib/Lib/PersonalMount.php index d8f2aeea56e..b22266fce18 100644 --- a/apps/files_external/lib/Lib/PersonalMount.php +++ b/apps/files_external/lib/Lib/PersonalMount.php @@ -2,7 +2,7 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Morris Jobke + * @author Julius Härtl * @author Robin Appelman * @author Robin McCorkell * @author Roeland Jago Douma @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; use OC\Files\Mount\MoveableMount; diff --git a/apps/files_external/lib/Lib/PriorityTrait.php b/apps/files_external/lib/Lib/PriorityTrait.php index 12e30de231f..355f75a833a 100644 --- a/apps/files_external/lib/Lib/PriorityTrait.php +++ b/apps/files_external/lib/Lib/PriorityTrait.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; use OCA\Files_External\Service\BackendService; diff --git a/apps/files_external/lib/Lib/SessionStorageWrapper.php b/apps/files_external/lib/Lib/SessionStorageWrapper.php index 2b8f2b8613b..386ab4a73af 100644 --- a/apps/files_external/lib/Lib/SessionStorageWrapper.php +++ b/apps/files_external/lib/Lib/SessionStorageWrapper.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; use OC\Files\Storage\Wrapper\PermissionsMask; diff --git a/apps/files_external/lib/Lib/Storage/AmazonS3.php b/apps/files_external/lib/Lib/Storage/AmazonS3.php index 50bea958b6e..32e74250a91 100644 --- a/apps/files_external/lib/Lib/Storage/AmazonS3.php +++ b/apps/files_external/lib/Lib/Storage/AmazonS3.php @@ -37,7 +37,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Storage; use Aws\Result; diff --git a/apps/files_external/lib/Lib/Storage/FTP.php b/apps/files_external/lib/Lib/Storage/FTP.php index 48e312ecd7f..5beed27ed76 100644 --- a/apps/files_external/lib/Lib/Storage/FTP.php +++ b/apps/files_external/lib/Lib/Storage/FTP.php @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Storage; use Icewind\Streams\CallbackWrapper; diff --git a/apps/files_external/lib/Lib/Storage/OwnCloud.php b/apps/files_external/lib/Lib/Storage/OwnCloud.php index 501d7e68e1c..d5926008f62 100644 --- a/apps/files_external/lib/Lib/Storage/OwnCloud.php +++ b/apps/files_external/lib/Lib/Storage/OwnCloud.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Storage; use OCP\Files\Storage\IDisableEncryptionStorage; diff --git a/apps/files_external/lib/Lib/Storage/SFTP.php b/apps/files_external/lib/Lib/Storage/SFTP.php index 5f3d02dfd0a..ae049007cdc 100644 --- a/apps/files_external/lib/Lib/Storage/SFTP.php +++ b/apps/files_external/lib/Lib/Storage/SFTP.php @@ -34,7 +34,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Storage; use Icewind\Streams\IteratorDirectory; diff --git a/apps/files_external/lib/Lib/Storage/SFTPReadStream.php b/apps/files_external/lib/Lib/Storage/SFTPReadStream.php index 1a721a0e2d8..06ede120f5a 100644 --- a/apps/files_external/lib/Lib/Storage/SFTPReadStream.php +++ b/apps/files_external/lib/Lib/Storage/SFTPReadStream.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Lib\Storage; use Icewind\Streams\File; diff --git a/apps/files_external/lib/Lib/Storage/SFTPWriteStream.php b/apps/files_external/lib/Lib/Storage/SFTPWriteStream.php index b71dcbb1be5..b1518809f09 100644 --- a/apps/files_external/lib/Lib/Storage/SFTPWriteStream.php +++ b/apps/files_external/lib/Lib/Storage/SFTPWriteStream.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Lib\Storage; use Icewind\Streams\File; diff --git a/apps/files_external/lib/Lib/Storage/SMB.php b/apps/files_external/lib/Lib/Storage/SMB.php index e795e7cfd92..2081824b2f8 100644 --- a/apps/files_external/lib/Lib/Storage/SMB.php +++ b/apps/files_external/lib/Lib/Storage/SMB.php @@ -8,6 +8,7 @@ * @author Jörn Friedrich Dreyer * @author Juan Pablo Villafañez * @author Juan Pablo Villafáñez + * @author Julius Härtl * @author Michael Gapczynski * @author Morris Jobke * @author Philipp Kapfer @@ -33,7 +34,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Storage; use Icewind\SMB\ACL; diff --git a/apps/files_external/lib/Lib/Storage/StreamWrapper.php b/apps/files_external/lib/Lib/Storage/StreamWrapper.php index ba98bceda38..dc203399646 100644 --- a/apps/files_external/lib/Lib/Storage/StreamWrapper.php +++ b/apps/files_external/lib/Lib/Storage/StreamWrapper.php @@ -4,7 +4,6 @@ * * @author Bart Visscher * @author Jörn Friedrich Dreyer - * @author Morris Jobke * @author Robin Appelman * @author Robin McCorkell * @author Thomas Müller @@ -25,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Storage; abstract class StreamWrapper extends \OC\Files\Storage\Common { diff --git a/apps/files_external/lib/Lib/Storage/Swift.php b/apps/files_external/lib/Lib/Storage/Swift.php index 5082816b2c2..17859259fe3 100644 --- a/apps/files_external/lib/Lib/Storage/Swift.php +++ b/apps/files_external/lib/Lib/Storage/Swift.php @@ -40,7 +40,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\Files_External\Lib\Storage; use GuzzleHttp\Psr7\Uri; diff --git a/apps/files_external/lib/Lib/StorageConfig.php b/apps/files_external/lib/Lib/StorageConfig.php index 4e61d89e9a5..ca8622ab32d 100644 --- a/apps/files_external/lib/Lib/StorageConfig.php +++ b/apps/files_external/lib/Lib/StorageConfig.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/lib/Lib/StorageModifierTrait.php b/apps/files_external/lib/Lib/StorageModifierTrait.php index 304eadb2254..48e91531cc1 100644 --- a/apps/files_external/lib/Lib/StorageModifierTrait.php +++ b/apps/files_external/lib/Lib/StorageModifierTrait.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; use OCP\Files\Storage; diff --git a/apps/files_external/lib/Lib/VisibilityTrait.php b/apps/files_external/lib/Lib/VisibilityTrait.php index dc4ba7b366f..db616900b8e 100644 --- a/apps/files_external/lib/Lib/VisibilityTrait.php +++ b/apps/files_external/lib/Lib/VisibilityTrait.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Lib; use OCA\Files_External\Service\BackendService; diff --git a/apps/files_external/lib/Listener/StorePasswordListener.php b/apps/files_external/lib/Listener/StorePasswordListener.php index 27de4ada465..bd0c4dc1ffd 100644 --- a/apps/files_external/lib/Listener/StorePasswordListener.php +++ b/apps/files_external/lib/Listener/StorePasswordListener.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020, Morris Jobke * + * @author Joas Schilling * @author Morris Jobke * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Listener; use OCA\Files_External\Lib\Auth\Password\LoginCredentials; diff --git a/apps/files_external/lib/Migration/DummyUserSession.php b/apps/files_external/lib/Migration/DummyUserSession.php index 73de23be681..e1b2b500188 100644 --- a/apps/files_external/lib/Migration/DummyUserSession.php +++ b/apps/files_external/lib/Migration/DummyUserSession.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Migration; use OCP\IUser; diff --git a/apps/files_external/lib/Migration/StorageMigrator.php b/apps/files_external/lib/Migration/StorageMigrator.php index 4d20a9538a0..05a39865797 100644 --- a/apps/files_external/lib/Migration/StorageMigrator.php +++ b/apps/files_external/lib/Migration/StorageMigrator.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Migration; use OCA\Files_External\Service\BackendService; diff --git a/apps/files_external/lib/Migration/Version1011Date20200630192246.php b/apps/files_external/lib/Migration/Version1011Date20200630192246.php index f1f9ac4b6a5..5ec289428fb 100644 --- a/apps/files_external/lib/Migration/Version1011Date20200630192246.php +++ b/apps/files_external/lib/Migration/Version1011Date20200630192246.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Joas Schilling * + * @author Christoph Wurst * @author Joas Schilling * @author Vincent Petry * @@ -17,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Migration; use Closure; diff --git a/apps/files_external/lib/Migration/Version22000Date20210216084416.php b/apps/files_external/lib/Migration/Version22000Date20210216084416.php index babfb42748e..1f56b7f8abb 100644 --- a/apps/files_external/lib/Migration/Version22000Date20210216084416.php +++ b/apps/files_external/lib/Migration/Version22000Date20210216084416.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Migration; use Closure; diff --git a/apps/files_external/lib/MountConfig.php b/apps/files_external/lib/MountConfig.php index 8b63f1b1f4b..0a9168bbfd7 100644 --- a/apps/files_external/lib/MountConfig.php +++ b/apps/files_external/lib/MountConfig.php @@ -37,7 +37,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External; use OCA\Files_External\AppInfo\Application; diff --git a/apps/files_external/lib/NotFoundException.php b/apps/files_external/lib/NotFoundException.php index d21de079f60..8f7063cc989 100644 --- a/apps/files_external/lib/NotFoundException.php +++ b/apps/files_external/lib/NotFoundException.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External; /** diff --git a/apps/files_external/lib/Service/BackendService.php b/apps/files_external/lib/Service/BackendService.php index 0239bc17e1e..2cfc1d48b2e 100644 --- a/apps/files_external/lib/Service/BackendService.php +++ b/apps/files_external/lib/Service/BackendService.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Service; use OCA\Files_External\Config\IConfigHandler; diff --git a/apps/files_external/lib/Service/DBConfigService.php b/apps/files_external/lib/Service/DBConfigService.php index 3530b0fa4fc..f6446eea363 100644 --- a/apps/files_external/lib/Service/DBConfigService.php +++ b/apps/files_external/lib/Service/DBConfigService.php @@ -8,6 +8,7 @@ * @author Morris Jobke * @author Robin Appelman * @author Robin McCorkell + * @author Roeland Jago Douma * * @license AGPL-3.0 * @@ -24,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Service; use Doctrine\DBAL\Exception\UniqueConstraintViolationException; diff --git a/apps/files_external/lib/Service/GlobalStoragesService.php b/apps/files_external/lib/Service/GlobalStoragesService.php index 2c195bd8694..509d4fde8d9 100644 --- a/apps/files_external/lib/Service/GlobalStoragesService.php +++ b/apps/files_external/lib/Service/GlobalStoragesService.php @@ -9,6 +9,7 @@ * @author Robin McCorkell * @author Roeland Jago Douma * @author Stefan Weil + * @author szaimen * @author Vincent Petry * * @license AGPL-3.0 @@ -26,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Service; use OC\Files\Filesystem; diff --git a/apps/files_external/lib/Service/ImportLegacyStoragesService.php b/apps/files_external/lib/Service/ImportLegacyStoragesService.php index 2b7a3b0277c..c17b6fe8fa0 100644 --- a/apps/files_external/lib/Service/ImportLegacyStoragesService.php +++ b/apps/files_external/lib/Service/ImportLegacyStoragesService.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Service; class ImportLegacyStoragesService extends LegacyStoragesService { diff --git a/apps/files_external/lib/Service/LegacyStoragesService.php b/apps/files_external/lib/Service/LegacyStoragesService.php index 60f6118284a..325e6255691 100644 --- a/apps/files_external/lib/Service/LegacyStoragesService.php +++ b/apps/files_external/lib/Service/LegacyStoragesService.php @@ -7,6 +7,7 @@ * @author Morris Jobke * @author Robin Appelman * @author Stefan Weil + * @author szaimen * * @license AGPL-3.0 * @@ -23,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Service; use OCA\Files_External\Lib\StorageConfig; diff --git a/apps/files_external/lib/Service/StoragesService.php b/apps/files_external/lib/Service/StoragesService.php index aed05e2725a..b8eabd65e1e 100644 --- a/apps/files_external/lib/Service/StoragesService.php +++ b/apps/files_external/lib/Service/StoragesService.php @@ -12,6 +12,7 @@ * @author Robin McCorkell * @author Roeland Jago Douma * @author Stefan Weil + * @author szaimen * @author Vincent Petry * * @license AGPL-3.0 @@ -29,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Service; use OC\Files\Filesystem; diff --git a/apps/files_external/lib/Service/UserGlobalStoragesService.php b/apps/files_external/lib/Service/UserGlobalStoragesService.php index fc284f951bd..ba894d8f210 100644 --- a/apps/files_external/lib/Service/UserGlobalStoragesService.php +++ b/apps/files_external/lib/Service/UserGlobalStoragesService.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Service; use OCA\Files_External\Lib\StorageConfig; diff --git a/apps/files_external/lib/Service/UserLegacyStoragesService.php b/apps/files_external/lib/Service/UserLegacyStoragesService.php index eb059b66207..ce86ce30bad 100644 --- a/apps/files_external/lib/Service/UserLegacyStoragesService.php +++ b/apps/files_external/lib/Service/UserLegacyStoragesService.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Service; use OCP\IUserSession; diff --git a/apps/files_external/lib/Service/UserStoragesService.php b/apps/files_external/lib/Service/UserStoragesService.php index 770a4f25e03..8af6bdb3a77 100644 --- a/apps/files_external/lib/Service/UserStoragesService.php +++ b/apps/files_external/lib/Service/UserStoragesService.php @@ -8,6 +8,7 @@ * @author Robin McCorkell * @author Roeland Jago Douma * @author Stefan Weil + * @author szaimen * @author Vincent Petry * * @license AGPL-3.0 @@ -25,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Service; use OC\Files\Filesystem; diff --git a/apps/files_external/lib/Service/UserTrait.php b/apps/files_external/lib/Service/UserTrait.php index 72f9ed57121..260f20cd03b 100644 --- a/apps/files_external/lib/Service/UserTrait.php +++ b/apps/files_external/lib/Service/UserTrait.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Service; use OCP\IUser; diff --git a/apps/files_external/lib/Settings/Admin.php b/apps/files_external/lib/Settings/Admin.php index 12808528393..116738b3f42 100644 --- a/apps/files_external/lib/Settings/Admin.php +++ b/apps/files_external/lib/Settings/Admin.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Settings; use OCA\Files_External\Lib\Auth\Password\GlobalAuth; diff --git a/apps/files_external/lib/Settings/Personal.php b/apps/files_external/lib/Settings/Personal.php index e10b671ea88..c27cb0fce26 100644 --- a/apps/files_external/lib/Settings/Personal.php +++ b/apps/files_external/lib/Settings/Personal.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Settings; use OCA\Files_External\Lib\Auth\Password\GlobalAuth; diff --git a/apps/files_external/lib/Settings/PersonalSection.php b/apps/files_external/lib/Settings/PersonalSection.php index da66b61eee9..b1ca6bb16dc 100644 --- a/apps/files_external/lib/Settings/PersonalSection.php +++ b/apps/files_external/lib/Settings/PersonalSection.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Settings; use OCA\Files_External\Service\BackendService; diff --git a/apps/files_external/lib/Settings/Section.php b/apps/files_external/lib/Settings/Section.php index 02cb12c5b39..9123cbe26c9 100644 --- a/apps/files_external/lib/Settings/Section.php +++ b/apps/files_external/lib/Settings/Section.php @@ -4,6 +4,7 @@ * * @author Arthur Schiwon * @author Joas Schilling + * @author szaimen * * @license GNU AGPL version 3 or any later version * @@ -14,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Settings; use OCP\IL10N; diff --git a/apps/files_external/list.php b/apps/files_external/list.php index dd54c02b75a..0107bf92e6f 100644 --- a/apps/files_external/list.php +++ b/apps/files_external/list.php @@ -2,8 +2,9 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * + * @author Christoph Wurst * @author Jesús Macias - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Vincent Petry * diff --git a/apps/files_external/tests/Auth/AuthMechanismTest.php b/apps/files_external/tests/Auth/AuthMechanismTest.php index 8a4321466c8..7e1d2a84ae4 100644 --- a/apps/files_external/tests/Auth/AuthMechanismTest.php +++ b/apps/files_external/tests/Auth/AuthMechanismTest.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Auth; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_external/tests/Auth/Password/GlobalAuth.php b/apps/files_external/tests/Auth/Password/GlobalAuth.php index caaaa7f2518..611efd3a8eb 100644 --- a/apps/files_external/tests/Auth/Password/GlobalAuth.php +++ b/apps/files_external/tests/Auth/Password/GlobalAuth.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Auth\Password; use OCA\Files_External\Lib\Auth\Password\GlobalAuth; diff --git a/apps/files_external/tests/Backend/BackendTest.php b/apps/files_external/tests/Backend/BackendTest.php index b1b786e879b..011b8711c4a 100644 --- a/apps/files_external/tests/Backend/BackendTest.php +++ b/apps/files_external/tests/Backend/BackendTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Backend; use OCA\Files_External\Lib\Backend\Backend; diff --git a/apps/files_external/tests/Backend/LegacyBackendTest.php b/apps/files_external/tests/Backend/LegacyBackendTest.php index c929058c2b5..2a69ab9e355 100644 --- a/apps/files_external/tests/Backend/LegacyBackendTest.php +++ b/apps/files_external/tests/Backend/LegacyBackendTest.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Backend; use OCA\Files_External\Lib\Backend\LegacyBackend; diff --git a/apps/files_external/tests/Command/ApplicableTest.php b/apps/files_external/tests/Command/ApplicableTest.php index c0eb3fc0db3..fb4326354fa 100644 --- a/apps/files_external/tests/Command/ApplicableTest.php +++ b/apps/files_external/tests/Command/ApplicableTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Command; use OCA\Files_External\Command\Applicable; diff --git a/apps/files_external/tests/Command/CommandTest.php b/apps/files_external/tests/Command/CommandTest.php index 811177130eb..952ca2a0307 100644 --- a/apps/files_external/tests/Command/CommandTest.php +++ b/apps/files_external/tests/Command/CommandTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Command; use OCA\Files_External\Lib\StorageConfig; diff --git a/apps/files_external/tests/Command/ListCommandTest.php b/apps/files_external/tests/Command/ListCommandTest.php index 4b808b662bc..e9cd3496d71 100644 --- a/apps/files_external/tests/Command/ListCommandTest.php +++ b/apps/files_external/tests/Command/ListCommandTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Command; use OCA\Files_External\Command\ListCommand; diff --git a/apps/files_external/tests/Config/UserPlaceholderHandlerTest.php b/apps/files_external/tests/Config/UserPlaceholderHandlerTest.php index 8546eb06dd5..48474a82331 100644 --- a/apps/files_external/tests/Config/UserPlaceholderHandlerTest.php +++ b/apps/files_external/tests/Config/UserPlaceholderHandlerTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\files_external\tests\Config; use OCA\Files_External\Config\UserPlaceholderHandler; diff --git a/apps/files_external/tests/Controller/AjaxControllerTest.php b/apps/files_external/tests/Controller/AjaxControllerTest.php index 90c66470f27..2ddd64f0e07 100644 --- a/apps/files_external/tests/Controller/AjaxControllerTest.php +++ b/apps/files_external/tests/Controller/AjaxControllerTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Tests\Controller; use OCA\Files_External\Controller\AjaxController; diff --git a/apps/files_external/tests/Controller/GlobalStoragesControllerTest.php b/apps/files_external/tests/Controller/GlobalStoragesControllerTest.php index 9314488aa08..f385b1f379e 100644 --- a/apps/files_external/tests/Controller/GlobalStoragesControllerTest.php +++ b/apps/files_external/tests/Controller/GlobalStoragesControllerTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Controller; use OC\User\User; diff --git a/apps/files_external/tests/Controller/StoragesControllerTest.php b/apps/files_external/tests/Controller/StoragesControllerTest.php index 80dd01d3684..7dc2d287b43 100644 --- a/apps/files_external/tests/Controller/StoragesControllerTest.php +++ b/apps/files_external/tests/Controller/StoragesControllerTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Controller; use OCA\Files_External\Controller\GlobalStoragesController; diff --git a/apps/files_external/tests/Controller/UserStoragesControllerTest.php b/apps/files_external/tests/Controller/UserStoragesControllerTest.php index 7ceb18b633b..c9e4ec5f985 100644 --- a/apps/files_external/tests/Controller/UserStoragesControllerTest.php +++ b/apps/files_external/tests/Controller/UserStoragesControllerTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Controller; use OC\User\User; diff --git a/apps/files_external/tests/DefinitionParameterTest.php b/apps/files_external/tests/DefinitionParameterTest.php index b0a48509d65..00df3e0aee1 100644 --- a/apps/files_external/tests/DefinitionParameterTest.php +++ b/apps/files_external/tests/DefinitionParameterTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests; use OCA\Files_External\Lib\DefinitionParameter as Param; diff --git a/apps/files_external/tests/FrontendDefinitionTraitTest.php b/apps/files_external/tests/FrontendDefinitionTraitTest.php index c4eab6f0122..22593a81afa 100644 --- a/apps/files_external/tests/FrontendDefinitionTraitTest.php +++ b/apps/files_external/tests/FrontendDefinitionTraitTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests; use OCA\Files_External\Lib\DefinitionParameter; diff --git a/apps/files_external/tests/LegacyDependencyCheckPolyfillTest.php b/apps/files_external/tests/LegacyDependencyCheckPolyfillTest.php index b873a18694d..b905f24fb1a 100644 --- a/apps/files_external/tests/LegacyDependencyCheckPolyfillTest.php +++ b/apps/files_external/tests/LegacyDependencyCheckPolyfillTest.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests; use OCA\Files_External\Lib\MissingDependency; diff --git a/apps/files_external/tests/OwnCloudFunctionsTest.php b/apps/files_external/tests/OwnCloudFunctionsTest.php index a1db042d48e..0564fa6a727 100644 --- a/apps/files_external/tests/OwnCloudFunctionsTest.php +++ b/apps/files_external/tests/OwnCloudFunctionsTest.php @@ -4,7 +4,6 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author Morris Jobke * @author Robin McCorkell * @author Thomas Müller * @author Vincent Petry @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests; /** diff --git a/apps/files_external/tests/PersonalMountTest.php b/apps/files_external/tests/PersonalMountTest.php index 7d5179104bb..b8a57657f9d 100644 --- a/apps/files_external/tests/PersonalMountTest.php +++ b/apps/files_external/tests/PersonalMountTest.php @@ -4,6 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling + * @author Julius Härtl * @author Robin Appelman * * @license AGPL-3.0 @@ -21,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests; use OC\Files\Mount\Manager; diff --git a/apps/files_external/tests/Service/BackendServiceTest.php b/apps/files_external/tests/Service/BackendServiceTest.php index 6d120cc9e16..9190b63b5d8 100644 --- a/apps/files_external/tests/Service/BackendServiceTest.php +++ b/apps/files_external/tests/Service/BackendServiceTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Service; use OCA\Files_External\Config\IConfigHandler; diff --git a/apps/files_external/tests/Service/DBConfigServiceTest.php b/apps/files_external/tests/Service/DBConfigServiceTest.php index e3615f2edcd..f5a93435a1d 100644 --- a/apps/files_external/tests/Service/DBConfigServiceTest.php +++ b/apps/files_external/tests/Service/DBConfigServiceTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Service; use OCA\Files_External\Service\DBConfigService; diff --git a/apps/files_external/tests/Service/GlobalStoragesServiceTest.php b/apps/files_external/tests/Service/GlobalStoragesServiceTest.php index 25f2f39b505..b23c4b8f2bf 100644 --- a/apps/files_external/tests/Service/GlobalStoragesServiceTest.php +++ b/apps/files_external/tests/Service/GlobalStoragesServiceTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Service; use OC\Files\Filesystem; diff --git a/apps/files_external/tests/Service/StoragesServiceTest.php b/apps/files_external/tests/Service/StoragesServiceTest.php index 1e4707e05b5..78510c3e383 100644 --- a/apps/files_external/tests/Service/StoragesServiceTest.php +++ b/apps/files_external/tests/Service/StoragesServiceTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Service; use OC\Files\Filesystem; diff --git a/apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php b/apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php index 2ad75c88940..ea77148c8f2 100644 --- a/apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php +++ b/apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Service; use OCA\Files_External\Lib\StorageConfig; diff --git a/apps/files_external/tests/Service/UserStoragesServiceTest.php b/apps/files_external/tests/Service/UserStoragesServiceTest.php index e54fc6d515f..ff39ea9ddbc 100644 --- a/apps/files_external/tests/Service/UserStoragesServiceTest.php +++ b/apps/files_external/tests/Service/UserStoragesServiceTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Service; use OC\Files\Filesystem; diff --git a/apps/files_external/tests/Settings/AdminTest.php b/apps/files_external/tests/Settings/AdminTest.php index 413956d21c4..bad5da8516d 100644 --- a/apps/files_external/tests/Settings/AdminTest.php +++ b/apps/files_external/tests/Settings/AdminTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Tests\Settings; use OCA\Files_External\Lib\Auth\Password\GlobalAuth; diff --git a/apps/files_external/tests/Settings/SectionTest.php b/apps/files_external/tests/Settings/SectionTest.php index 96bf1cd1eb9..cfe97896358 100644 --- a/apps/files_external/tests/Settings/SectionTest.php +++ b/apps/files_external/tests/Settings/SectionTest.php @@ -5,6 +5,7 @@ * @author Lukas Reschke * @author Morris Jobke * @author Roeland Jago Douma + * @author szaimen * * @license GNU AGPL version 3 or any later version * @@ -15,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_External\Tests\Settings; use OCA\Files_External\Settings\Section; diff --git a/apps/files_external/tests/Storage/Amazons3Test.php b/apps/files_external/tests/Storage/Amazons3Test.php index 728db46e16d..c013d304cce 100644 --- a/apps/files_external/tests/Storage/Amazons3Test.php +++ b/apps/files_external/tests/Storage/Amazons3Test.php @@ -5,7 +5,6 @@ * @author Christoph Wurst * @author Joas Schilling * @author Michael Gapczynski - * @author Morris Jobke * @author Robin Appelman * @author Robin McCorkell * @author Roeland Jago Douma @@ -26,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Storage; use OCA\Files_External\Lib\Storage\AmazonS3; diff --git a/apps/files_external/tests/Storage/FtpTest.php b/apps/files_external/tests/Storage/FtpTest.php index b471b2ebdf4..507490204e3 100644 --- a/apps/files_external/tests/Storage/FtpTest.php +++ b/apps/files_external/tests/Storage/FtpTest.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Storage; use OCA\Files_External\Lib\Storage\FTP; diff --git a/apps/files_external/tests/Storage/OwncloudTest.php b/apps/files_external/tests/Storage/OwncloudTest.php index 1fcac551330..88f6277c06a 100644 --- a/apps/files_external/tests/Storage/OwncloudTest.php +++ b/apps/files_external/tests/Storage/OwncloudTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Storage; use OCA\Files_External\Lib\Storage\OwnCloud; diff --git a/apps/files_external/tests/Storage/SFTP_KeyTest.php b/apps/files_external/tests/Storage/SFTP_KeyTest.php index 0d336212a66..558b24f0914 100644 --- a/apps/files_external/tests/Storage/SFTP_KeyTest.php +++ b/apps/files_external/tests/Storage/SFTP_KeyTest.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst - * @author Morris Jobke * @author Robin McCorkell * @author Roeland Jago Douma * @author Ross Nicoll @@ -25,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Storage; use OCA\Files_External\Lib\Storage\SFTP_Key; diff --git a/apps/files_external/tests/Storage/SftpTest.php b/apps/files_external/tests/Storage/SftpTest.php index 44b1c80108f..70e93ada2f2 100644 --- a/apps/files_external/tests/Storage/SftpTest.php +++ b/apps/files_external/tests/Storage/SftpTest.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Storage; use OCA\Files_External\Lib\Storage\SFTP; diff --git a/apps/files_external/tests/Storage/SmbTest.php b/apps/files_external/tests/Storage/SmbTest.php index bd966eef16f..17948c5275a 100644 --- a/apps/files_external/tests/Storage/SmbTest.php +++ b/apps/files_external/tests/Storage/SmbTest.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Storage; use OC\Files\Notify\Change; diff --git a/apps/files_external/tests/Storage/SwiftTest.php b/apps/files_external/tests/Storage/SwiftTest.php index d90608a2886..98a184f37b5 100644 --- a/apps/files_external/tests/Storage/SwiftTest.php +++ b/apps/files_external/tests/Storage/SwiftTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Storage; use GuzzleHttp\Exception\ClientException; diff --git a/apps/files_external/tests/Storage/WebdavTest.php b/apps/files_external/tests/Storage/WebdavTest.php index 87caaa5a353..bf3eb64a63c 100644 --- a/apps/files_external/tests/Storage/WebdavTest.php +++ b/apps/files_external/tests/Storage/WebdavTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests\Storage; use OC\Files\Storage\DAV; diff --git a/apps/files_external/tests/StorageConfigTest.php b/apps/files_external/tests/StorageConfigTest.php index c6a7e86eedd..6f5d8066f92 100644 --- a/apps/files_external/tests/StorageConfigTest.php +++ b/apps/files_external/tests/StorageConfigTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_External\Tests; use OCA\Files_External\Lib\Auth\AuthMechanism; diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php index 84fb68dbe2e..79be3732773 100644 --- a/apps/files_sharing/appinfo/app.php +++ b/apps/files_sharing/appinfo/app.php @@ -3,7 +3,7 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Björn Schießle - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Robin Appelman * @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - use OCA\Files_Sharing\ShareBackend\File; use OCA\Files_Sharing\ShareBackend\Folder; use OCA\Files_Sharing\AppInfo\Application; diff --git a/apps/files_sharing/appinfo/routes.php b/apps/files_sharing/appinfo/routes.php index 12cdf66707f..7a6eec40d7e 100644 --- a/apps/files_sharing/appinfo/routes.php +++ b/apps/files_sharing/appinfo/routes.php @@ -5,7 +5,7 @@ * @author Björn Schießle * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Lukas Reschke * @author Maxence Lange * @author Roeland Jago Douma @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - return [ 'resources' => [ 'ExternalShares' => ['url' => '/api/externalShares'], diff --git a/apps/files_sharing/lib/Activity/Filter.php b/apps/files_sharing/lib/Activity/Filter.php index da4539384cf..0ac64301ec8 100644 --- a/apps/files_sharing/lib/Activity/Filter.php +++ b/apps/files_sharing/lib/Activity/Filter.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Activity; use OCP\Activity\IFilter; diff --git a/apps/files_sharing/lib/Activity/Providers/Base.php b/apps/files_sharing/lib/Activity/Providers/Base.php index 843a0c447f1..948d629c8fc 100644 --- a/apps/files_sharing/lib/Activity/Providers/Base.php +++ b/apps/files_sharing/lib/Activity/Providers/Base.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Activity\Providers; use OCP\Activity\IEvent; diff --git a/apps/files_sharing/lib/Activity/Providers/Downloads.php b/apps/files_sharing/lib/Activity/Providers/Downloads.php index be019bdcd65..a6bbe9a4118 100644 --- a/apps/files_sharing/lib/Activity/Providers/Downloads.php +++ b/apps/files_sharing/lib/Activity/Providers/Downloads.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Activity\Providers; use OCP\Activity\IEvent; diff --git a/apps/files_sharing/lib/Activity/Providers/Groups.php b/apps/files_sharing/lib/Activity/Providers/Groups.php index 53336057e37..71b1dc65f56 100644 --- a/apps/files_sharing/lib/Activity/Providers/Groups.php +++ b/apps/files_sharing/lib/Activity/Providers/Groups.php @@ -4,7 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Activity\Providers; use OCP\Activity\IEvent; diff --git a/apps/files_sharing/lib/Activity/Providers/PublicLinks.php b/apps/files_sharing/lib/Activity/Providers/PublicLinks.php index 2742ded4007..5782166704f 100644 --- a/apps/files_sharing/lib/Activity/Providers/PublicLinks.php +++ b/apps/files_sharing/lib/Activity/Providers/PublicLinks.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Activity\Providers; use OCP\Activity\IEvent; diff --git a/apps/files_sharing/lib/Activity/Providers/RemoteShares.php b/apps/files_sharing/lib/Activity/Providers/RemoteShares.php index f2217f423ef..29f7c0a298e 100644 --- a/apps/files_sharing/lib/Activity/Providers/RemoteShares.php +++ b/apps/files_sharing/lib/Activity/Providers/RemoteShares.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Activity\Providers; use OCP\Activity\IEvent; diff --git a/apps/files_sharing/lib/Activity/Providers/Users.php b/apps/files_sharing/lib/Activity/Providers/Users.php index 828befc471b..8b90ac8ee9d 100644 --- a/apps/files_sharing/lib/Activity/Providers/Users.php +++ b/apps/files_sharing/lib/Activity/Providers/Users.php @@ -4,7 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Kevin Ndung'u * * @license GNU AGPL version 3 or any later version @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Activity\Providers; use OCP\Activity\IEvent; diff --git a/apps/files_sharing/lib/Activity/Settings/PublicLinks.php b/apps/files_sharing/lib/Activity/Settings/PublicLinks.php index 455ae88d5c6..6d91bf16ce2 100644 --- a/apps/files_sharing/lib/Activity/Settings/PublicLinks.php +++ b/apps/files_sharing/lib/Activity/Settings/PublicLinks.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Activity\Settings; class PublicLinks extends ShareActivitySettings { diff --git a/apps/files_sharing/lib/Activity/Settings/RemoteShare.php b/apps/files_sharing/lib/Activity/Settings/RemoteShare.php index 24fa753437b..4a796132612 100644 --- a/apps/files_sharing/lib/Activity/Settings/RemoteShare.php +++ b/apps/files_sharing/lib/Activity/Settings/RemoteShare.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Activity\Settings; class RemoteShare extends ShareActivitySettings { diff --git a/apps/files_sharing/lib/Activity/Settings/ShareActivitySettings.php b/apps/files_sharing/lib/Activity/Settings/ShareActivitySettings.php index 26b307c34e4..e7de3dff8ee 100644 --- a/apps/files_sharing/lib/Activity/Settings/ShareActivitySettings.php +++ b/apps/files_sharing/lib/Activity/Settings/ShareActivitySettings.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Activity\Settings; use OCP\Activity\ActivitySettings; diff --git a/apps/files_sharing/lib/Activity/Settings/Shared.php b/apps/files_sharing/lib/Activity/Settings/Shared.php index 43b26252287..eaef23c1c92 100644 --- a/apps/files_sharing/lib/Activity/Settings/Shared.php +++ b/apps/files_sharing/lib/Activity/Settings/Shared.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Activity\Settings; class Shared extends ShareActivitySettings { diff --git a/apps/files_sharing/lib/AppInfo/Application.php b/apps/files_sharing/lib/AppInfo/Application.php index 213e441cdb8..7f234e63660 100644 --- a/apps/files_sharing/lib/AppInfo/Application.php +++ b/apps/files_sharing/lib/AppInfo/Application.php @@ -5,7 +5,7 @@ * @author Bjoern Schiessle * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Morris Jobke * @author Robin Appelman @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\AppInfo; use OC\AppFramework\Utility\SimpleContainer; diff --git a/apps/files_sharing/lib/BackgroundJob/FederatedSharesDiscoverJob.php b/apps/files_sharing/lib/BackgroundJob/FederatedSharesDiscoverJob.php index 913dbf64284..d35f35d20f2 100644 --- a/apps/files_sharing/lib/BackgroundJob/FederatedSharesDiscoverJob.php +++ b/apps/files_sharing/lib/BackgroundJob/FederatedSharesDiscoverJob.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\BackgroundJob; use OC\BackgroundJob\TimedJob; diff --git a/apps/files_sharing/lib/Cache.php b/apps/files_sharing/lib/Cache.php index 3a6ade5a2ac..29224c5fb6b 100644 --- a/apps/files_sharing/lib/Cache.php +++ b/apps/files_sharing/lib/Cache.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; use OC\Files\Cache\FailedCache; diff --git a/apps/files_sharing/lib/Capabilities.php b/apps/files_sharing/lib/Capabilities.php index dca32d123f4..c5421fe779a 100644 --- a/apps/files_sharing/lib/Capabilities.php +++ b/apps/files_sharing/lib/Capabilities.php @@ -3,9 +3,11 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Bjoern Schiessle - * @author Christoph Wurst + * @author Julius Härtl + * @author Robin Appelman * @author Roeland Jago Douma * @author Tobias Kaminsky + * @author Vincent Petry * * @license AGPL-3.0 * @@ -22,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; use OCP\Capabilities\ICapability; diff --git a/apps/files_sharing/lib/Collaboration/ShareRecipientSorter.php b/apps/files_sharing/lib/Collaboration/ShareRecipientSorter.php index 5fbeba7dd01..28d0d26c5be 100644 --- a/apps/files_sharing/lib/Collaboration/ShareRecipientSorter.php +++ b/apps/files_sharing/lib/Collaboration/ShareRecipientSorter.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Collaboration; use OCP\Collaboration\AutoComplete\ISorter; diff --git a/apps/files_sharing/lib/Command/CleanupRemoteStorages.php b/apps/files_sharing/lib/Command/CleanupRemoteStorages.php index cf0550aef7f..3816a2a5124 100644 --- a/apps/files_sharing/lib/Command/CleanupRemoteStorages.php +++ b/apps/files_sharing/lib/Command/CleanupRemoteStorages.php @@ -2,6 +2,8 @@ /** * @copyright Copyright (c) 2016, ownCloud GmbH. * + * @author Christoph Wurst + * @author Daniel Calviño Sánchez * @author Joas Schilling * @author Jörn Friedrich Dreyer * @author Roeland Jago Douma @@ -21,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Command; use OCP\DB\QueryBuilder\IQueryBuilder; diff --git a/apps/files_sharing/lib/Command/ExiprationNotification.php b/apps/files_sharing/lib/Command/ExiprationNotification.php index 748a640a962..e77b41b1835 100644 --- a/apps/files_sharing/lib/Command/ExiprationNotification.php +++ b/apps/files_sharing/lib/Command/ExiprationNotification.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Command; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/files_sharing/lib/Controller/AcceptController.php b/apps/files_sharing/lib/Controller/AcceptController.php index b25382b45f5..c97780d6f0c 100644 --- a/apps/files_sharing/lib/Controller/AcceptController.php +++ b/apps/files_sharing/lib/Controller/AcceptController.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Controller; use OCA\Files_Sharing\AppInfo\Application; diff --git a/apps/files_sharing/lib/Controller/DeletedShareAPIController.php b/apps/files_sharing/lib/Controller/DeletedShareAPIController.php index 75936907fed..1d625b35322 100644 --- a/apps/files_sharing/lib/Controller/DeletedShareAPIController.php +++ b/apps/files_sharing/lib/Controller/DeletedShareAPIController.php @@ -3,12 +3,12 @@ declare(strict_types=1); /** - * + * @copyright Copyright (c) 2016 Roeland Jago Douma * * @author Christoph Wurst * @author Daniel Calviño Sánchez * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Roeland Jago Douma * @@ -21,14 +21,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Controller; use OCP\App\IAppManager; diff --git a/apps/files_sharing/lib/Controller/ExternalSharesController.php b/apps/files_sharing/lib/Controller/ExternalSharesController.php index 96b9ebffac8..9fab8d4e1a0 100644 --- a/apps/files_sharing/lib/Controller/ExternalSharesController.php +++ b/apps/files_sharing/lib/Controller/ExternalSharesController.php @@ -5,7 +5,6 @@ * @author Björn Schießle * @author Joas Schilling * @author Lukas Reschke - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Controller; use OCP\AppFramework\Controller; diff --git a/apps/files_sharing/lib/Controller/PublicPreviewController.php b/apps/files_sharing/lib/Controller/PublicPreviewController.php index 0e58057351f..4a16afa7ac0 100644 --- a/apps/files_sharing/lib/Controller/PublicPreviewController.php +++ b/apps/files_sharing/lib/Controller/PublicPreviewController.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Controller; use OCP\AppFramework\Http; diff --git a/apps/files_sharing/lib/Controller/RemoteController.php b/apps/files_sharing/lib/Controller/RemoteController.php index 72eb8667b96..75684220c52 100644 --- a/apps/files_sharing/lib/Controller/RemoteController.php +++ b/apps/files_sharing/lib/Controller/RemoteController.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Controller; use OCA\Files_Sharing\External\Manager; diff --git a/apps/files_sharing/lib/Controller/SettingsController.php b/apps/files_sharing/lib/Controller/SettingsController.php index 343bec31926..8f542ecb071 100644 --- a/apps/files_sharing/lib/Controller/SettingsController.php +++ b/apps/files_sharing/lib/Controller/SettingsController.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Controller; use OCA\Files_Sharing\AppInfo\Application; diff --git a/apps/files_sharing/lib/Controller/ShareAPIController.php b/apps/files_sharing/lib/Controller/ShareAPIController.php index 9a2bca486c1..b323e5514a5 100644 --- a/apps/files_sharing/lib/Controller/ShareAPIController.php +++ b/apps/files_sharing/lib/Controller/ShareAPIController.php @@ -6,13 +6,14 @@ declare(strict_types=1); * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Bjoern Schiessle + * @author castillo92 <37965565+castillo92@users.noreply.github.com> * @author Christoph Wurst * @author Daniel Calviño Sánchez * @author Daniel Kesselberg * @author Gary Kim * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Maxence Lange @@ -22,6 +23,7 @@ declare(strict_types=1); * @author Richard Steinmetz * @author Robin Appelman * @author Roeland Jago Douma + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * @author Vincent Petry * @author waleczny * @@ -40,7 +42,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Controller; use OCA\Files_Sharing\Exceptions\SharingRightsException; diff --git a/apps/files_sharing/lib/Controller/ShareController.php b/apps/files_sharing/lib/Controller/ShareController.php index 7e83ffaa7dc..4893a693df3 100644 --- a/apps/files_sharing/lib/Controller/ShareController.php +++ b/apps/files_sharing/lib/Controller/ShareController.php @@ -10,7 +10,7 @@ * @author Georg Ehrke * @author j3l11234 <297259024@qq.com> * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Jonas Sulzer * @author Julius Härtl * @author Lukas Reschke @@ -40,7 +40,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Controller; use OC_Files; diff --git a/apps/files_sharing/lib/Controller/ShareInfoController.php b/apps/files_sharing/lib/Controller/ShareInfoController.php index 0fe98a32c7d..429eb91bc92 100644 --- a/apps/files_sharing/lib/Controller/ShareInfoController.php +++ b/apps/files_sharing/lib/Controller/ShareInfoController.php @@ -1,6 +1,6 @@ * * @author Morris Jobke * @author Roeland Jago Douma @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Controller; use OCA\Files_External\NotFoundException; diff --git a/apps/files_sharing/lib/Controller/ShareesAPIController.php b/apps/files_sharing/lib/Controller/ShareesAPIController.php index 571ea707e69..399cd4e00be 100644 --- a/apps/files_sharing/lib/Controller/ShareesAPIController.php +++ b/apps/files_sharing/lib/Controller/ShareesAPIController.php @@ -11,8 +11,9 @@ declare(strict_types=1); * @author Christoph Wurst * @author Daniel Calviño Sánchez * @author Daniel Kesselberg + * @author J0WI * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Maxence Lange * @author Morris Jobke @@ -34,7 +35,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Controller; use OCP\Constants; diff --git a/apps/files_sharing/lib/DeleteOrphanedSharesJob.php b/apps/files_sharing/lib/DeleteOrphanedSharesJob.php index eef44cd3400..6a641734680 100644 --- a/apps/files_sharing/lib/DeleteOrphanedSharesJob.php +++ b/apps/files_sharing/lib/DeleteOrphanedSharesJob.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; use OC\BackgroundJob\TimedJob; diff --git a/apps/files_sharing/lib/Event/BeforeTemplateRenderedEvent.php b/apps/files_sharing/lib/Event/BeforeTemplateRenderedEvent.php index 6076d50b1f2..1a889cfebe7 100644 --- a/apps/files_sharing/lib/Event/BeforeTemplateRenderedEvent.php +++ b/apps/files_sharing/lib/Event/BeforeTemplateRenderedEvent.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Event; use OCP\EventDispatcher\Event; diff --git a/apps/files_sharing/lib/Exceptions/BrokenPath.php b/apps/files_sharing/lib/Exceptions/BrokenPath.php index c0679c83314..e9908ac293a 100644 --- a/apps/files_sharing/lib/Exceptions/BrokenPath.php +++ b/apps/files_sharing/lib/Exceptions/BrokenPath.php @@ -4,7 +4,6 @@ * * @author Björn Schießle * @author Christoph Wurst - * @author Morris Jobke * * @license AGPL-3.0 * @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Exceptions; /** diff --git a/apps/files_sharing/lib/Exceptions/S2SException.php b/apps/files_sharing/lib/Exceptions/S2SException.php index e775257034b..c6becc057dd 100644 --- a/apps/files_sharing/lib/Exceptions/S2SException.php +++ b/apps/files_sharing/lib/Exceptions/S2SException.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Björn Schießle - * @author Morris Jobke * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Exceptions; /** diff --git a/apps/files_sharing/lib/Exceptions/SharingRightsException.php b/apps/files_sharing/lib/Exceptions/SharingRightsException.php index db346774bdb..f235e56cbe4 100644 --- a/apps/files_sharing/lib/Exceptions/SharingRightsException.php +++ b/apps/files_sharing/lib/Exceptions/SharingRightsException.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Exceptions; use Exception; diff --git a/apps/files_sharing/lib/ExpireSharesJob.php b/apps/files_sharing/lib/ExpireSharesJob.php index 85a57e855b8..1e56602a0bf 100644 --- a/apps/files_sharing/lib/ExpireSharesJob.php +++ b/apps/files_sharing/lib/ExpireSharesJob.php @@ -4,7 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/files_sharing/lib/External/Cache.php b/apps/files_sharing/lib/External/Cache.php index 6a816b166ae..f8d9a2548a8 100644 --- a/apps/files_sharing/lib/External/Cache.php +++ b/apps/files_sharing/lib/External/Cache.php @@ -2,7 +2,6 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Morris Jobke * @author Robin Appelman * @author Vincent Petry * @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\External; use OCP\Federation\ICloudId; diff --git a/apps/files_sharing/lib/External/Manager.php b/apps/files_sharing/lib/External/Manager.php index 534dd0d2c51..720df28d107 100644 --- a/apps/files_sharing/lib/External/Manager.php +++ b/apps/files_sharing/lib/External/Manager.php @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\External; use Doctrine\DBAL\Driver\Exception; diff --git a/apps/files_sharing/lib/External/Mount.php b/apps/files_sharing/lib/External/Mount.php index 8ed04182143..c8b74202ac7 100644 --- a/apps/files_sharing/lib/External/Mount.php +++ b/apps/files_sharing/lib/External/Mount.php @@ -4,8 +4,8 @@ * * @author Bjoern Schiessle * @author Björn Schießle - * @author Morris Jobke * @author Robin Appelman + * @author szaimen * * @license AGPL-3.0 * @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\External; use OC\Files\Mount\MountPoint; diff --git a/apps/files_sharing/lib/External/MountProvider.php b/apps/files_sharing/lib/External/MountProvider.php index 7eb2491619f..36015162530 100644 --- a/apps/files_sharing/lib/External/MountProvider.php +++ b/apps/files_sharing/lib/External/MountProvider.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\External; use OCP\Federation\ICloudIdManager; diff --git a/apps/files_sharing/lib/External/Scanner.php b/apps/files_sharing/lib/External/Scanner.php index 71187707ad7..8115159d181 100644 --- a/apps/files_sharing/lib/External/Scanner.php +++ b/apps/files_sharing/lib/External/Scanner.php @@ -4,7 +4,6 @@ * * @author Christoph Wurst * @author Lukas Reschke - * @author Morris Jobke * @author Olivier Paroz * @author Robin Appelman * @author Vincent Petry @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\External; use OC\ForbiddenException; diff --git a/apps/files_sharing/lib/External/Storage.php b/apps/files_sharing/lib/External/Storage.php index f612aadfb32..7d9e8f31c98 100644 --- a/apps/files_sharing/lib/External/Storage.php +++ b/apps/files_sharing/lib/External/Storage.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\External; use GuzzleHttp\Exception\ClientException; diff --git a/apps/files_sharing/lib/External/Watcher.php b/apps/files_sharing/lib/External/Watcher.php index fb15944a533..6afd1c6d538 100644 --- a/apps/files_sharing/lib/External/Watcher.php +++ b/apps/files_sharing/lib/External/Watcher.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\External; class Watcher extends \OC\Files\Cache\Watcher { diff --git a/apps/files_sharing/lib/Helper.php b/apps/files_sharing/lib/Helper.php index 270eb452419..d8e58e84b7d 100644 --- a/apps/files_sharing/lib/Helper.php +++ b/apps/files_sharing/lib/Helper.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; use OC\Files\Filesystem; diff --git a/apps/files_sharing/lib/Hooks.php b/apps/files_sharing/lib/Hooks.php index b3fe09bf9cf..ff4ca59339a 100644 --- a/apps/files_sharing/lib/Hooks.php +++ b/apps/files_sharing/lib/Hooks.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; use OC\Files\Filesystem; diff --git a/apps/files_sharing/lib/ISharedStorage.php b/apps/files_sharing/lib/ISharedStorage.php index 07c012fd6ff..9f57984803a 100644 --- a/apps/files_sharing/lib/ISharedStorage.php +++ b/apps/files_sharing/lib/ISharedStorage.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst - * @author Morris Jobke * @author Robin Appelman * * @license AGPL-3.0 @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; interface ISharedStorage { diff --git a/apps/files_sharing/lib/Listener/LegacyBeforeTemplateRenderedListener.php b/apps/files_sharing/lib/Listener/LegacyBeforeTemplateRenderedListener.php index bd0a668b429..e7e81c3a17a 100644 --- a/apps/files_sharing/lib/Listener/LegacyBeforeTemplateRenderedListener.php +++ b/apps/files_sharing/lib/Listener/LegacyBeforeTemplateRenderedListener.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Listener; use OC\EventDispatcher\SymfonyAdapter; diff --git a/apps/files_sharing/lib/Listener/LoadAdditionalListener.php b/apps/files_sharing/lib/Listener/LoadAdditionalListener.php index 316461e792d..44412023bf8 100644 --- a/apps/files_sharing/lib/Listener/LoadAdditionalListener.php +++ b/apps/files_sharing/lib/Listener/LoadAdditionalListener.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2019, Roeland Jago Douma * - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Listener; use OCA\Files_Sharing\AppInfo\Application; diff --git a/apps/files_sharing/lib/Listener/LoadSidebarListener.php b/apps/files_sharing/lib/Listener/LoadSidebarListener.php index 636a8c7757e..145ab25f686 100644 --- a/apps/files_sharing/lib/Listener/LoadSidebarListener.php +++ b/apps/files_sharing/lib/Listener/LoadSidebarListener.php @@ -5,7 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2019, Roeland Jago Douma * - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Listener; use OCA\Files_Sharing\AppInfo\Application; diff --git a/apps/files_sharing/lib/Listener/ShareInteractionListener.php b/apps/files_sharing/lib/Listener/ShareInteractionListener.php index 90fc6e996b3..65ad555f5bd 100644 --- a/apps/files_sharing/lib/Listener/ShareInteractionListener.php +++ b/apps/files_sharing/lib/Listener/ShareInteractionListener.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright 2020 Christoph Wurst * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Listener; use OCP\Contacts\Events\ContactInteractedWithEvent; diff --git a/apps/files_sharing/lib/Listener/UserAddedToGroupListener.php b/apps/files_sharing/lib/Listener/UserAddedToGroupListener.php index 623591da310..9b2975f5833 100644 --- a/apps/files_sharing/lib/Listener/UserAddedToGroupListener.php +++ b/apps/files_sharing/lib/Listener/UserAddedToGroupListener.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Listener; use OCA\Files_Sharing\AppInfo\Application; diff --git a/apps/files_sharing/lib/Listener/UserShareAcceptanceListener.php b/apps/files_sharing/lib/Listener/UserShareAcceptanceListener.php index 91c0aa494bb..160a806f8ac 100644 --- a/apps/files_sharing/lib/Listener/UserShareAcceptanceListener.php +++ b/apps/files_sharing/lib/Listener/UserShareAcceptanceListener.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Listener; use OCA\Files_Sharing\AppInfo\Application; diff --git a/apps/files_sharing/lib/Middleware/OCSShareAPIMiddleware.php b/apps/files_sharing/lib/Middleware/OCSShareAPIMiddleware.php index 398682b7833..1c961ffed34 100644 --- a/apps/files_sharing/lib/Middleware/OCSShareAPIMiddleware.php +++ b/apps/files_sharing/lib/Middleware/OCSShareAPIMiddleware.php @@ -1,6 +1,6 @@ * * @author Lukas Reschke * @author Morris Jobke @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Middleware; use OCA\Files_Sharing\Controller\ShareAPIController; diff --git a/apps/files_sharing/lib/Middleware/ShareInfoMiddleware.php b/apps/files_sharing/lib/Middleware/ShareInfoMiddleware.php index 52d83cdc836..adc6116af45 100644 --- a/apps/files_sharing/lib/Middleware/ShareInfoMiddleware.php +++ b/apps/files_sharing/lib/Middleware/ShareInfoMiddleware.php @@ -1,6 +1,6 @@ * * @author Morris Jobke * @author Roeland Jago Douma @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Middleware; use OCA\Files_Sharing\Controller\ShareInfoController; diff --git a/apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php b/apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php index 335b0908a98..b9bab169d1d 100644 --- a/apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php +++ b/apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php @@ -1,6 +1,7 @@ * */ - namespace OCA\Files_Sharing\Middleware; use OCA\Files_Sharing\Controller\ExternalSharesController; diff --git a/apps/files_sharing/lib/Migration/OwncloudGuestShareType.php b/apps/files_sharing/lib/Migration/OwncloudGuestShareType.php index a4eaa5b3989..d1ba645f93d 100644 --- a/apps/files_sharing/lib/Migration/OwncloudGuestShareType.php +++ b/apps/files_sharing/lib/Migration/OwncloudGuestShareType.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Migration; use OCP\IConfig; diff --git a/apps/files_sharing/lib/Migration/SetAcceptedStatus.php b/apps/files_sharing/lib/Migration/SetAcceptedStatus.php index 386f7299d40..a27f12e87e1 100644 --- a/apps/files_sharing/lib/Migration/SetAcceptedStatus.php +++ b/apps/files_sharing/lib/Migration/SetAcceptedStatus.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Migration; use OCP\DB\QueryBuilder\IQueryBuilder; diff --git a/apps/files_sharing/lib/Migration/SetPasswordColumn.php b/apps/files_sharing/lib/Migration/SetPasswordColumn.php index 859c49f2991..b4de4f574dd 100644 --- a/apps/files_sharing/lib/Migration/SetPasswordColumn.php +++ b/apps/files_sharing/lib/Migration/SetPasswordColumn.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Migration; use OCP\IConfig; diff --git a/apps/files_sharing/lib/Migration/Version11300Date20201120141438.php b/apps/files_sharing/lib/Migration/Version11300Date20201120141438.php index 9d485952ac4..50d0cd9e066 100644 --- a/apps/files_sharing/lib/Migration/Version11300Date20201120141438.php +++ b/apps/files_sharing/lib/Migration/Version11300Date20201120141438.php @@ -5,7 +5,9 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Julius Härtl * + * @author Christoph Wurst * @author Julius Härtl + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -16,15 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - - namespace OCA\Files_Sharing\Migration; use Closure; diff --git a/apps/files_sharing/lib/Migration/Version21000Date20201223143245.php b/apps/files_sharing/lib/Migration/Version21000Date20201223143245.php index 0138d3298e5..ff7722eaa58 100644 --- a/apps/files_sharing/lib/Migration/Version21000Date20201223143245.php +++ b/apps/files_sharing/lib/Migration/Version21000Date20201223143245.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Vincent Petry * + * @author Christoph Wurst * @author Vincent Petry * * @license GNU AGPL version 3 or any later version @@ -16,15 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - - namespace OCA\Files_Sharing\Migration; use Closure; diff --git a/apps/files_sharing/lib/Migration/Version22000Date20210216084241.php b/apps/files_sharing/lib/Migration/Version22000Date20210216084241.php index e3e8dc8bc55..443f255d031 100644 --- a/apps/files_sharing/lib/Migration/Version22000Date20210216084241.php +++ b/apps/files_sharing/lib/Migration/Version22000Date20210216084241.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Migration; use Closure; diff --git a/apps/files_sharing/lib/MountProvider.php b/apps/files_sharing/lib/MountProvider.php index 05328872c15..42541b77f2d 100644 --- a/apps/files_sharing/lib/MountProvider.php +++ b/apps/files_sharing/lib/MountProvider.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; use OC\Cache\CappedMemoryCache; diff --git a/apps/files_sharing/lib/Notification/Listener.php b/apps/files_sharing/lib/Notification/Listener.php index 385612959a9..db7939767d6 100644 --- a/apps/files_sharing/lib/Notification/Listener.php +++ b/apps/files_sharing/lib/Notification/Listener.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Notification; use OCP\IGroup; diff --git a/apps/files_sharing/lib/Notification/Notifier.php b/apps/files_sharing/lib/Notification/Notifier.php index 2499896653b..7d79165dd26 100644 --- a/apps/files_sharing/lib/Notification/Notifier.php +++ b/apps/files_sharing/lib/Notification/Notifier.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Notification; use OCP\Files\IRootFolder; diff --git a/apps/files_sharing/lib/Scanner.php b/apps/files_sharing/lib/Scanner.php index 21d2565a4cd..a240d3ffb8f 100644 --- a/apps/files_sharing/lib/Scanner.php +++ b/apps/files_sharing/lib/Scanner.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Joas Schilling - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @author Vincent Petry @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; use OC\Files\ObjectStore\NoopScanner; diff --git a/apps/files_sharing/lib/Settings/Personal.php b/apps/files_sharing/lib/Settings/Personal.php index c265a279393..3917001e882 100644 --- a/apps/files_sharing/lib/Settings/Personal.php +++ b/apps/files_sharing/lib/Settings/Personal.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Settings; use OCA\Files_Sharing\AppInfo\Application; diff --git a/apps/files_sharing/lib/ShareBackend/File.php b/apps/files_sharing/lib/ShareBackend/File.php index fdaeb0c5814..c84cbd66c67 100644 --- a/apps/files_sharing/lib/ShareBackend/File.php +++ b/apps/files_sharing/lib/ShareBackend/File.php @@ -31,7 +31,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\ShareBackend; use OCA\FederatedFileSharing\FederatedShareProvider; diff --git a/apps/files_sharing/lib/ShareBackend/Folder.php b/apps/files_sharing/lib/ShareBackend/Folder.php index c51740cd6d0..51d0c709d98 100644 --- a/apps/files_sharing/lib/ShareBackend/Folder.php +++ b/apps/files_sharing/lib/ShareBackend/Folder.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\ShareBackend; class Folder extends File implements \OCP\Share_Backend_Collection { diff --git a/apps/files_sharing/lib/SharedMount.php b/apps/files_sharing/lib/SharedMount.php index be600caef4c..8443ccb8439 100644 --- a/apps/files_sharing/lib/SharedMount.php +++ b/apps/files_sharing/lib/SharedMount.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; use OC\Cache\CappedMemoryCache; diff --git a/apps/files_sharing/lib/SharedStorage.php b/apps/files_sharing/lib/SharedStorage.php index eb0af419983..662c5ad3651 100644 --- a/apps/files_sharing/lib/SharedStorage.php +++ b/apps/files_sharing/lib/SharedStorage.php @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; use OC\Files\Cache\FailedCache; diff --git a/apps/files_sharing/lib/Updater.php b/apps/files_sharing/lib/Updater.php index 976143ab1b0..e035ed51ec8 100644 --- a/apps/files_sharing/lib/Updater.php +++ b/apps/files_sharing/lib/Updater.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing; use OCP\Share\IShare; diff --git a/apps/files_sharing/list.php b/apps/files_sharing/list.php index d3627266c70..759f87179a1 100644 --- a/apps/files_sharing/list.php +++ b/apps/files_sharing/list.php @@ -2,7 +2,8 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author John Molakvoæ (skjnldsv) + * @author Christoph Wurst + * @author John Molakvoæ * @author Morris Jobke * @author Robin Appelman * @author Vincent Petry diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php index 6e3530d26b6..8734042d877 100644 --- a/apps/files_sharing/public.php +++ b/apps/files_sharing/public.php @@ -3,7 +3,7 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Lukas Reschke * @author Morris Jobke * @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - // This file is just used to redirect the legacy sharing URLs (< ownCloud 8) to the new ones $urlGenerator = \OC::$server->getURLGenerator(); diff --git a/apps/files_sharing/tests/ApiTest.php b/apps/files_sharing/tests/ApiTest.php index 523faec1615..f3a31578511 100644 --- a/apps/files_sharing/tests/ApiTest.php +++ b/apps/files_sharing/tests/ApiTest.php @@ -7,7 +7,6 @@ * @author Christoph Wurst * @author Daniel Calviño Sánchez * @author Georg Ehrke - * @author Jan-Christoph Borchardt * @author Joas Schilling * @author Julius Härtl * @author Morris Jobke @@ -16,6 +15,7 @@ * @author Robin McCorkell * @author Roeland Jago Douma * @author Thomas Müller + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * @author Vincent Petry * * @license AGPL-3.0 @@ -33,7 +33,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OC\Files\Cache\Scanner; diff --git a/apps/files_sharing/tests/CacheTest.php b/apps/files_sharing/tests/CacheTest.php index ae8be7731fe..2623b4c34b5 100644 --- a/apps/files_sharing/tests/CacheTest.php +++ b/apps/files_sharing/tests/CacheTest.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OC\Files\Storage\Temporary; diff --git a/apps/files_sharing/tests/CapabilitiesTest.php b/apps/files_sharing/tests/CapabilitiesTest.php index 7f019603e32..eb10c927140 100644 --- a/apps/files_sharing/tests/CapabilitiesTest.php +++ b/apps/files_sharing/tests/CapabilitiesTest.php @@ -6,8 +6,10 @@ * @author Christoph Wurst * @author Joas Schilling * @author Morris Jobke + * @author Robin Appelman * @author Roeland Jago Douma * @author Thomas Müller + * @author Vincent Petry * * @license AGPL-3.0 * @@ -24,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OC\Share20\Manager; diff --git a/apps/files_sharing/tests/Collaboration/ShareRecipientSorterTest.php b/apps/files_sharing/tests/Collaboration/ShareRecipientSorterTest.php index 6d83535a8c2..ed35c81fb7d 100644 --- a/apps/files_sharing/tests/Collaboration/ShareRecipientSorterTest.php +++ b/apps/files_sharing/tests/Collaboration/ShareRecipientSorterTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Tests\Collaboration; use OCA\Files_Sharing\Collaboration\ShareRecipientSorter; diff --git a/apps/files_sharing/tests/Command/CleanupRemoteStoragesTest.php b/apps/files_sharing/tests/Command/CleanupRemoteStoragesTest.php index ba4b1d05499..55f719b8f88 100644 --- a/apps/files_sharing/tests/Command/CleanupRemoteStoragesTest.php +++ b/apps/files_sharing/tests/Command/CleanupRemoteStoragesTest.php @@ -2,6 +2,7 @@ /** * @copyright Copyright (c) 2016, ownCloud GmbH. * + * @author Daniel Calviño Sánchez * @author Joas Schilling * @author Jörn Friedrich Dreyer * @author Morris Jobke @@ -22,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests\Command; use OCA\Files_Sharing\Command\CleanupRemoteStorages; diff --git a/apps/files_sharing/tests/Controller/ExternalShareControllerTest.php b/apps/files_sharing/tests/Controller/ExternalShareControllerTest.php index d6a4ee8d4f3..8a7209e52dc 100644 --- a/apps/files_sharing/tests/Controller/ExternalShareControllerTest.php +++ b/apps/files_sharing/tests/Controller/ExternalShareControllerTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests\Controllers; use OCA\Files_Sharing\Controller\ExternalSharesController; diff --git a/apps/files_sharing/tests/Controller/PublicPreviewControllerTest.php b/apps/files_sharing/tests/Controller/PublicPreviewControllerTest.php index 6a91ed5da9f..e089cd9e34b 100644 --- a/apps/files_sharing/tests/Controller/PublicPreviewControllerTest.php +++ b/apps/files_sharing/tests/Controller/PublicPreviewControllerTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Tests\Controller; use OCA\Files_Sharing\Controller\PublicPreviewController; diff --git a/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php b/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php index 11eefc18f64..eff2d529a05 100644 --- a/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php +++ b/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php @@ -7,7 +7,7 @@ * @author Daniel Calviño Sánchez * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Maxence Lange * @author Maxence Lange @@ -15,6 +15,7 @@ * @author Richard Steinmetz * @author Roeland Jago Douma * @author Thomas Müller + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * @author Vincent Petry * * @license AGPL-3.0 @@ -32,7 +33,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests\Controller; use OCA\Files_Sharing\Controller\ShareAPIController; diff --git a/apps/files_sharing/tests/Controller/ShareControllerTest.php b/apps/files_sharing/tests/Controller/ShareControllerTest.php index e00d6bc8c66..8a9520e2515 100644 --- a/apps/files_sharing/tests/Controller/ShareControllerTest.php +++ b/apps/files_sharing/tests/Controller/ShareControllerTest.php @@ -8,7 +8,7 @@ * @author Daniel Calviño Sánchez * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Michael Weimann @@ -16,6 +16,7 @@ * @author Robin Appelman * @author Roeland Jago Douma * @author Thomas Müller + * @author Vincent Petry * * @license AGPL-3.0 * @@ -32,7 +33,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests\Controllers; use OC\Files\Filesystem; diff --git a/apps/files_sharing/tests/Controller/ShareInfoControllerTest.php b/apps/files_sharing/tests/Controller/ShareInfoControllerTest.php index 5de04d8444b..18bda2f488d 100644 --- a/apps/files_sharing/tests/Controller/ShareInfoControllerTest.php +++ b/apps/files_sharing/tests/Controller/ShareInfoControllerTest.php @@ -1,6 +1,6 @@ * * @author Morris Jobke * @author Roeland Jago Douma @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Tests\Controller; use OCA\Files_Sharing\Controller\ShareInfoController; diff --git a/apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php b/apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php index f057bc1b892..860d5796e56 100644 --- a/apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php +++ b/apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php @@ -8,9 +8,9 @@ * @author Joas Schilling * @author Julius Härtl * @author Lukas Reschke - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma + * @author Thomas Citharel * @author Thomas Müller * * @license AGPL-3.0 @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests\Controller; use OCA\Files_Sharing\Controller\ShareesAPIController; diff --git a/apps/files_sharing/tests/DeleteOrphanedSharesJobTest.php b/apps/files_sharing/tests/DeleteOrphanedSharesJobTest.php index ceec8eee67e..d2f05002a68 100644 --- a/apps/files_sharing/tests/DeleteOrphanedSharesJobTest.php +++ b/apps/files_sharing/tests/DeleteOrphanedSharesJobTest.php @@ -4,6 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling + * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller * @author Vincent Petry @@ -23,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OCA\Files_Sharing\DeleteOrphanedSharesJob; diff --git a/apps/files_sharing/tests/EncryptedSizePropagationTest.php b/apps/files_sharing/tests/EncryptedSizePropagationTest.php index 9a8ff29d70a..37eec01b9d7 100644 --- a/apps/files_sharing/tests/EncryptedSizePropagationTest.php +++ b/apps/files_sharing/tests/EncryptedSizePropagationTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OC\Files\View; diff --git a/apps/files_sharing/tests/EtagPropagationTest.php b/apps/files_sharing/tests/EtagPropagationTest.php index bbb8edd3b8a..77149ae388e 100644 --- a/apps/files_sharing/tests/EtagPropagationTest.php +++ b/apps/files_sharing/tests/EtagPropagationTest.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OC\Files\Filesystem; diff --git a/apps/files_sharing/tests/ExpireSharesJobTest.php b/apps/files_sharing/tests/ExpireSharesJobTest.php index 781f58a2c31..e12eac5ba06 100644 --- a/apps/files_sharing/tests/ExpireSharesJobTest.php +++ b/apps/files_sharing/tests/ExpireSharesJobTest.php @@ -4,6 +4,7 @@ * * @author Christoph Wurst * @author Joas Schilling + * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller * @@ -22,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OCA\Files_Sharing\ExpireSharesJob; diff --git a/apps/files_sharing/tests/External/CacheTest.php b/apps/files_sharing/tests/External/CacheTest.php index b86cf55af80..cbac5907d07 100644 --- a/apps/files_sharing/tests/External/CacheTest.php +++ b/apps/files_sharing/tests/External/CacheTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests\External; use OC\Federation\CloudIdManager; diff --git a/apps/files_sharing/tests/External/ManagerTest.php b/apps/files_sharing/tests/External/ManagerTest.php index e35d734f04e..0098f67b2fb 100644 --- a/apps/files_sharing/tests/External/ManagerTest.php +++ b/apps/files_sharing/tests/External/ManagerTest.php @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests\External; use OC\Federation\CloudIdManager; diff --git a/apps/files_sharing/tests/External/ScannerTest.php b/apps/files_sharing/tests/External/ScannerTest.php index 843f106af81..57696a697eb 100644 --- a/apps/files_sharing/tests/External/ScannerTest.php +++ b/apps/files_sharing/tests/External/ScannerTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests\External; use OCA\Files_Sharing\External\Scanner; diff --git a/apps/files_sharing/tests/ExternalStorageTest.php b/apps/files_sharing/tests/ExternalStorageTest.php index eb10c73b1a7..7709abbf6eb 100644 --- a/apps/files_sharing/tests/ExternalStorageTest.php +++ b/apps/files_sharing/tests/ExternalStorageTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OC\Federation\CloudId; diff --git a/apps/files_sharing/tests/GroupEtagPropagationTest.php b/apps/files_sharing/tests/GroupEtagPropagationTest.php index 35ebeaeb7bf..1a7c075ddf8 100644 --- a/apps/files_sharing/tests/GroupEtagPropagationTest.php +++ b/apps/files_sharing/tests/GroupEtagPropagationTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OC\Files\Filesystem; diff --git a/apps/files_sharing/tests/HelperTest.php b/apps/files_sharing/tests/HelperTest.php index a4311f908b3..5b8fb2cded1 100644 --- a/apps/files_sharing/tests/HelperTest.php +++ b/apps/files_sharing/tests/HelperTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; /** diff --git a/apps/files_sharing/tests/LockingTest.php b/apps/files_sharing/tests/LockingTest.php index 680220e5fa5..5d6d7b30ec0 100644 --- a/apps/files_sharing/tests/LockingTest.php +++ b/apps/files_sharing/tests/LockingTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OC\Files\Filesystem; diff --git a/apps/files_sharing/tests/Middleware/OCSShareAPIMiddlewareTest.php b/apps/files_sharing/tests/Middleware/OCSShareAPIMiddlewareTest.php index 32be9e3212f..7a579c9cddb 100644 --- a/apps/files_sharing/tests/Middleware/OCSShareAPIMiddlewareTest.php +++ b/apps/files_sharing/tests/Middleware/OCSShareAPIMiddlewareTest.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Joas Schilling @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Tests\Middleware; use OCA\Files_Sharing\Controller\ShareAPIController; diff --git a/apps/files_sharing/tests/Middleware/ShareInfoMiddlewareTest.php b/apps/files_sharing/tests/Middleware/ShareInfoMiddlewareTest.php index deab3f07e2f..41f104fe20b 100644 --- a/apps/files_sharing/tests/Middleware/ShareInfoMiddlewareTest.php +++ b/apps/files_sharing/tests/Middleware/ShareInfoMiddlewareTest.php @@ -1,6 +1,6 @@ * * @author Morris Jobke * @author Roeland Jago Douma @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Sharing\Tests\Middleware; use OCA\Files_Sharing\Controller\ShareInfoController; diff --git a/apps/files_sharing/tests/Middleware/SharingCheckMiddlewareTest.php b/apps/files_sharing/tests/Middleware/SharingCheckMiddlewareTest.php index 9b5f61e81ad..379cb88567e 100644 --- a/apps/files_sharing/tests/Middleware/SharingCheckMiddlewareTest.php +++ b/apps/files_sharing/tests/Middleware/SharingCheckMiddlewareTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Middleware; use OCA\Files_Sharing\Controller\ExternalSharesController; diff --git a/apps/files_sharing/tests/Migration/SetPasswordColumnTest.php b/apps/files_sharing/tests/Migration/SetPasswordColumnTest.php index a0e8720d17c..20eb6e96171 100644 --- a/apps/files_sharing/tests/Migration/SetPasswordColumnTest.php +++ b/apps/files_sharing/tests/Migration/SetPasswordColumnTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests\Migration; use OCA\Files_Sharing\Migration\SetPasswordColumn; diff --git a/apps/files_sharing/tests/MountProviderTest.php b/apps/files_sharing/tests/MountProviderTest.php index 2033f61a978..8025cdddff9 100644 --- a/apps/files_sharing/tests/MountProviderTest.php +++ b/apps/files_sharing/tests/MountProviderTest.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OCA\Files_Sharing\MountProvider; diff --git a/apps/files_sharing/tests/PropagationTestCase.php b/apps/files_sharing/tests/PropagationTestCase.php index 58fb99324c6..dbe711c9583 100644 --- a/apps/files_sharing/tests/PropagationTestCase.php +++ b/apps/files_sharing/tests/PropagationTestCase.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; abstract class PropagationTestCase extends TestCase { diff --git a/apps/files_sharing/tests/ShareTest.php b/apps/files_sharing/tests/ShareTest.php index 35ca0a60de3..45c7ceb61ef 100644 --- a/apps/files_sharing/tests/ShareTest.php +++ b/apps/files_sharing/tests/ShareTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OCP\Share\IShare; diff --git a/apps/files_sharing/tests/SharedMountTest.php b/apps/files_sharing/tests/SharedMountTest.php index 2764dc1032d..7252d2908ba 100644 --- a/apps/files_sharing/tests/SharedMountTest.php +++ b/apps/files_sharing/tests/SharedMountTest.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OCP\IGroupManager; diff --git a/apps/files_sharing/tests/SharedStorageTest.php b/apps/files_sharing/tests/SharedStorageTest.php index 6b51c471586..8e69c5a0f65 100644 --- a/apps/files_sharing/tests/SharedStorageTest.php +++ b/apps/files_sharing/tests/SharedStorageTest.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OC\Files\View; diff --git a/apps/files_sharing/tests/SizePropagationTest.php b/apps/files_sharing/tests/SizePropagationTest.php index 21f7265069b..ddb77459073 100644 --- a/apps/files_sharing/tests/SizePropagationTest.php +++ b/apps/files_sharing/tests/SizePropagationTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OC\Files\View; diff --git a/apps/files_sharing/tests/TestCase.php b/apps/files_sharing/tests/TestCase.php index d772e6359ec..54c8704df81 100644 --- a/apps/files_sharing/tests/TestCase.php +++ b/apps/files_sharing/tests/TestCase.php @@ -5,7 +5,7 @@ * @author Björn Schießle * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Jörn Friedrich Dreyer * @author Lukas Reschke * @author Morris Jobke @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OC\Files\Filesystem; diff --git a/apps/files_sharing/tests/UnshareChildrenTest.php b/apps/files_sharing/tests/UnshareChildrenTest.php index b9d06bb7fa4..db6f0912419 100644 --- a/apps/files_sharing/tests/UnshareChildrenTest.php +++ b/apps/files_sharing/tests/UnshareChildrenTest.php @@ -5,7 +5,6 @@ * @author Björn Schießle * @author Christoph Wurst * @author Joas Schilling - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @author Thomas Müller @@ -25,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OCP\Share\IShare; diff --git a/apps/files_sharing/tests/UpdaterTest.php b/apps/files_sharing/tests/UpdaterTest.php index a7a7ab3269c..464dff412a8 100644 --- a/apps/files_sharing/tests/UpdaterTest.php +++ b/apps/files_sharing/tests/UpdaterTest.php @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OCA\Files_Trashbin\AppInfo\Application; diff --git a/apps/files_sharing/tests/WatcherTest.php b/apps/files_sharing/tests/WatcherTest.php index 2a7367a230b..49f91ca3027 100644 --- a/apps/files_sharing/tests/WatcherTest.php +++ b/apps/files_sharing/tests/WatcherTest.php @@ -6,7 +6,6 @@ * @author Christoph Wurst * @author Joas Schilling * @author Jörn Friedrich Dreyer - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @author Thomas Müller @@ -27,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Sharing\Tests; use OCP\Share\IShare; diff --git a/apps/files_trashbin/appinfo/routes.php b/apps/files_trashbin/appinfo/routes.php index 878e4af3c40..a85f8a124f7 100644 --- a/apps/files_trashbin/appinfo/routes.php +++ b/apps/files_trashbin/appinfo/routes.php @@ -23,7 +23,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - return [ 'routes' => [ [ diff --git a/apps/files_trashbin/lib/AppInfo/Application.php b/apps/files_trashbin/lib/AppInfo/Application.php index a14b49ba77b..5f56b9ba1ea 100644 --- a/apps/files_trashbin/lib/AppInfo/Application.php +++ b/apps/files_trashbin/lib/AppInfo/Application.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin\AppInfo; use OCA\DAV\Connector\Sabre\Principal; diff --git a/apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php b/apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php index 3de365bd849..d319edd91dc 100644 --- a/apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php +++ b/apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin\BackgroundJob; use OCA\Files_Trashbin\AppInfo\Application; diff --git a/apps/files_trashbin/lib/Capabilities.php b/apps/files_trashbin/lib/Capabilities.php index 988c4ec815f..28acf0c8d27 100644 --- a/apps/files_trashbin/lib/Capabilities.php +++ b/apps/files_trashbin/lib/Capabilities.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Lukas Reschke - * @author Morris Jobke * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin; use OCP\Capabilities\ICapability; diff --git a/apps/files_trashbin/lib/Command/CleanUp.php b/apps/files_trashbin/lib/Command/CleanUp.php index 1b61c1ae74d..e3ed527e535 100644 --- a/apps/files_trashbin/lib/Command/CleanUp.php +++ b/apps/files_trashbin/lib/Command/CleanUp.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin\Command; use OCP\Files\IRootFolder; diff --git a/apps/files_trashbin/lib/Command/Expire.php b/apps/files_trashbin/lib/Command/Expire.php index 0806781f2de..568506737eb 100644 --- a/apps/files_trashbin/lib/Command/Expire.php +++ b/apps/files_trashbin/lib/Command/Expire.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin\Command; use OC\Command\FileAccess; diff --git a/apps/files_trashbin/lib/Command/ExpireTrash.php b/apps/files_trashbin/lib/Command/ExpireTrash.php index a4e9ea57e1c..b863f3a1fba 100644 --- a/apps/files_trashbin/lib/Command/ExpireTrash.php +++ b/apps/files_trashbin/lib/Command/ExpireTrash.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin\Command; use OCA\Files_Trashbin\Expiration; diff --git a/apps/files_trashbin/lib/Command/Size.php b/apps/files_trashbin/lib/Command/Size.php index cecd2f9bf50..30ac474199e 100644 --- a/apps/files_trashbin/lib/Command/Size.php +++ b/apps/files_trashbin/lib/Command/Size.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Command; use OC\Core\Command\Base; diff --git a/apps/files_trashbin/lib/Controller/PreviewController.php b/apps/files_trashbin/lib/Controller/PreviewController.php index 4195d584c8e..22ca56d8f36 100644 --- a/apps/files_trashbin/lib/Controller/PreviewController.php +++ b/apps/files_trashbin/lib/Controller/PreviewController.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Controller; use OCA\Files_Trashbin\Trash\ITrashManager; diff --git a/apps/files_trashbin/lib/Events/MoveToTrashEvent.php b/apps/files_trashbin/lib/Events/MoveToTrashEvent.php index 7d0b18fb0d8..3dce70f96bd 100644 --- a/apps/files_trashbin/lib/Events/MoveToTrashEvent.php +++ b/apps/files_trashbin/lib/Events/MoveToTrashEvent.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Events; use OCP\EventDispatcher\Event; diff --git a/apps/files_trashbin/lib/Exceptions/CopyRecursiveException.php b/apps/files_trashbin/lib/Exceptions/CopyRecursiveException.php index cd5715109cc..ea715dff302 100644 --- a/apps/files_trashbin/lib/Exceptions/CopyRecursiveException.php +++ b/apps/files_trashbin/lib/Exceptions/CopyRecursiveException.php @@ -3,7 +3,6 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Björn Schießle - * @author Morris Jobke * * @license AGPL-3.0 * @@ -20,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin\Exceptions; class CopyRecursiveException extends \Exception { diff --git a/apps/files_trashbin/lib/Expiration.php b/apps/files_trashbin/lib/Expiration.php index 554f083e853..5705fc23b8a 100644 --- a/apps/files_trashbin/lib/Expiration.php +++ b/apps/files_trashbin/lib/Expiration.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/files_trashbin/lib/Helper.php b/apps/files_trashbin/lib/Helper.php index 92fa0bcb43b..61d8eb9c715 100644 --- a/apps/files_trashbin/lib/Helper.php +++ b/apps/files_trashbin/lib/Helper.php @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin; use OC\Files\FileInfo; diff --git a/apps/files_trashbin/lib/Hooks.php b/apps/files_trashbin/lib/Hooks.php index 8bf8fa8dc94..4f4cf8bb705 100644 --- a/apps/files_trashbin/lib/Hooks.php +++ b/apps/files_trashbin/lib/Hooks.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Björn Schießle + * @author Christoph Wurst * @author Morris Jobke * @author Robin McCorkell * @author Vincent Petry @@ -22,11 +23,6 @@ * along with this program. If not, see * */ - -/** - * This class contains all hooks. - */ - namespace OCA\Files_Trashbin; class Hooks { diff --git a/apps/files_trashbin/lib/Migration/Version1010Date20200630192639.php b/apps/files_trashbin/lib/Migration/Version1010Date20200630192639.php index 0ede446fba8..778bd76c218 100644 --- a/apps/files_trashbin/lib/Migration/Version1010Date20200630192639.php +++ b/apps/files_trashbin/lib/Migration/Version1010Date20200630192639.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Joas Schilling * + * @author Christoph Wurst * @author Joas Schilling * @author Vincent Petry * @@ -17,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Migration; use Closure; diff --git a/apps/files_trashbin/lib/Sabre/AbstractTrash.php b/apps/files_trashbin/lib/Sabre/AbstractTrash.php index b1088f13221..412e432a19e 100644 --- a/apps/files_trashbin/lib/Sabre/AbstractTrash.php +++ b/apps/files_trashbin/lib/Sabre/AbstractTrash.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; use OCA\Files_Trashbin\Trash\ITrashItem; diff --git a/apps/files_trashbin/lib/Sabre/AbstractTrashFile.php b/apps/files_trashbin/lib/Sabre/AbstractTrashFile.php index d2748898b04..520a2a6b6ec 100644 --- a/apps/files_trashbin/lib/Sabre/AbstractTrashFile.php +++ b/apps/files_trashbin/lib/Sabre/AbstractTrashFile.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; use Sabre\DAV\Exception\Forbidden; diff --git a/apps/files_trashbin/lib/Sabre/AbstractTrashFolder.php b/apps/files_trashbin/lib/Sabre/AbstractTrashFolder.php index f59d05ca3d3..8a61823cf10 100644 --- a/apps/files_trashbin/lib/Sabre/AbstractTrashFolder.php +++ b/apps/files_trashbin/lib/Sabre/AbstractTrashFolder.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; use OCA\Files_Trashbin\Trash\ITrashItem; diff --git a/apps/files_trashbin/lib/Sabre/ITrash.php b/apps/files_trashbin/lib/Sabre/ITrash.php index aa44d04abd9..dcda1abe259 100644 --- a/apps/files_trashbin/lib/Sabre/ITrash.php +++ b/apps/files_trashbin/lib/Sabre/ITrash.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; use OCP\Files\FileInfo; diff --git a/apps/files_trashbin/lib/Sabre/PropfindPlugin.php b/apps/files_trashbin/lib/Sabre/PropfindPlugin.php index 65f8f138f49..219f236f93c 100644 --- a/apps/files_trashbin/lib/Sabre/PropfindPlugin.php +++ b/apps/files_trashbin/lib/Sabre/PropfindPlugin.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; use OCA\DAV\Connector\Sabre\FilesPlugin; diff --git a/apps/files_trashbin/lib/Sabre/RestoreFolder.php b/apps/files_trashbin/lib/Sabre/RestoreFolder.php index c31e7dfb492..9076b3dc284 100644 --- a/apps/files_trashbin/lib/Sabre/RestoreFolder.php +++ b/apps/files_trashbin/lib/Sabre/RestoreFolder.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; use Sabre\DAV\Exception\Forbidden; diff --git a/apps/files_trashbin/lib/Sabre/RootCollection.php b/apps/files_trashbin/lib/Sabre/RootCollection.php index 0f3c5ef810c..f1b705f3e13 100644 --- a/apps/files_trashbin/lib/Sabre/RootCollection.php +++ b/apps/files_trashbin/lib/Sabre/RootCollection.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; use OCA\Files_Trashbin\Trash\ITrashManager; diff --git a/apps/files_trashbin/lib/Sabre/TrashFile.php b/apps/files_trashbin/lib/Sabre/TrashFile.php index fb5d8bf1fc3..13df15ff084 100644 --- a/apps/files_trashbin/lib/Sabre/TrashFile.php +++ b/apps/files_trashbin/lib/Sabre/TrashFile.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; class TrashFile extends AbstractTrashFile { diff --git a/apps/files_trashbin/lib/Sabre/TrashFolder.php b/apps/files_trashbin/lib/Sabre/TrashFolder.php index ae654b7daed..094f80dad98 100644 --- a/apps/files_trashbin/lib/Sabre/TrashFolder.php +++ b/apps/files_trashbin/lib/Sabre/TrashFolder.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; class TrashFolder extends AbstractTrashFolder { diff --git a/apps/files_trashbin/lib/Sabre/TrashFolderFile.php b/apps/files_trashbin/lib/Sabre/TrashFolderFile.php index 63a032c8682..5067d88cb48 100644 --- a/apps/files_trashbin/lib/Sabre/TrashFolderFile.php +++ b/apps/files_trashbin/lib/Sabre/TrashFolderFile.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; class TrashFolderFile extends AbstractTrashFile { diff --git a/apps/files_trashbin/lib/Sabre/TrashFolderFolder.php b/apps/files_trashbin/lib/Sabre/TrashFolderFolder.php index 0f866f7c697..b276a6f29f9 100644 --- a/apps/files_trashbin/lib/Sabre/TrashFolderFolder.php +++ b/apps/files_trashbin/lib/Sabre/TrashFolderFolder.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; class TrashFolderFolder extends AbstractTrashFolder { diff --git a/apps/files_trashbin/lib/Sabre/TrashHome.php b/apps/files_trashbin/lib/Sabre/TrashHome.php index b1d5a114934..dda347f4c99 100644 --- a/apps/files_trashbin/lib/Sabre/TrashHome.php +++ b/apps/files_trashbin/lib/Sabre/TrashHome.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; use OCA\Files_Trashbin\Trash\ITrashManager; diff --git a/apps/files_trashbin/lib/Sabre/TrashRoot.php b/apps/files_trashbin/lib/Sabre/TrashRoot.php index 5d41a81e670..b61daacdf43 100644 --- a/apps/files_trashbin/lib/Sabre/TrashRoot.php +++ b/apps/files_trashbin/lib/Sabre/TrashRoot.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright 2018, Roeland Jago Douma * + * @author Julius Härtl * @author Robin Appelman * @author Roeland Jago Douma * @@ -17,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Sabre; use OCA\Files_Trashbin\Trash\ITrashItem; diff --git a/apps/files_trashbin/lib/Storage.php b/apps/files_trashbin/lib/Storage.php index 415f8a183b2..f08d8d25a55 100644 --- a/apps/files_trashbin/lib/Storage.php +++ b/apps/files_trashbin/lib/Storage.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin; use OC\Files\Filesystem; diff --git a/apps/files_trashbin/lib/Trash/BackendNotFoundException.php b/apps/files_trashbin/lib/Trash/BackendNotFoundException.php index 2554faade4d..e52d5f667c9 100644 --- a/apps/files_trashbin/lib/Trash/BackendNotFoundException.php +++ b/apps/files_trashbin/lib/Trash/BackendNotFoundException.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Trash; class BackendNotFoundException extends \Exception { diff --git a/apps/files_trashbin/lib/Trash/ITrashBackend.php b/apps/files_trashbin/lib/Trash/ITrashBackend.php index e0d7ea50ac8..52eaad7737e 100644 --- a/apps/files_trashbin/lib/Trash/ITrashBackend.php +++ b/apps/files_trashbin/lib/Trash/ITrashBackend.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Trash; use OCP\Files\Node; diff --git a/apps/files_trashbin/lib/Trash/ITrashItem.php b/apps/files_trashbin/lib/Trash/ITrashItem.php index c0bef7ec44b..0f9c8144a59 100644 --- a/apps/files_trashbin/lib/Trash/ITrashItem.php +++ b/apps/files_trashbin/lib/Trash/ITrashItem.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Trash; use OCP\Files\FileInfo; diff --git a/apps/files_trashbin/lib/Trash/ITrashManager.php b/apps/files_trashbin/lib/Trash/ITrashManager.php index 184e739d1c5..24617c0287d 100644 --- a/apps/files_trashbin/lib/Trash/ITrashManager.php +++ b/apps/files_trashbin/lib/Trash/ITrashManager.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Trash; use OCP\IUser; diff --git a/apps/files_trashbin/lib/Trash/LegacyTrashBackend.php b/apps/files_trashbin/lib/Trash/LegacyTrashBackend.php index 68ee8c1c517..22f12c9a062 100644 --- a/apps/files_trashbin/lib/Trash/LegacyTrashBackend.php +++ b/apps/files_trashbin/lib/Trash/LegacyTrashBackend.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Trash; use OC\Files\Filesystem; diff --git a/apps/files_trashbin/lib/Trash/TrashItem.php b/apps/files_trashbin/lib/Trash/TrashItem.php index 82d168016ad..29de0a2ed5a 100644 --- a/apps/files_trashbin/lib/Trash/TrashItem.php +++ b/apps/files_trashbin/lib/Trash/TrashItem.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Trash; use OCP\Files\FileInfo; diff --git a/apps/files_trashbin/lib/Trash/TrashManager.php b/apps/files_trashbin/lib/Trash/TrashManager.php index 8d75ac21658..7f4be89efdc 100644 --- a/apps/files_trashbin/lib/Trash/TrashManager.php +++ b/apps/files_trashbin/lib/Trash/TrashManager.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Trash; use OCP\Files\Storage\IStorage; diff --git a/apps/files_trashbin/lib/Trashbin.php b/apps/files_trashbin/lib/Trashbin.php index 8b2b8b2d953..1cef0a6ed0a 100644 --- a/apps/files_trashbin/lib/Trashbin.php +++ b/apps/files_trashbin/lib/Trashbin.php @@ -42,7 +42,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin; use OC_User; diff --git a/apps/files_trashbin/list.php b/apps/files_trashbin/list.php index 29d9cfd5ef0..9ee833319fc 100644 --- a/apps/files_trashbin/list.php +++ b/apps/files_trashbin/list.php @@ -4,7 +4,8 @@ * * @author Bart Visscher * @author Björn Schießle - * @author John Molakvoæ (skjnldsv) + * @author Christoph Wurst + * @author John Molakvoæ * @author Roeland Jago Douma * @author Vincent Petry * diff --git a/apps/files_trashbin/tests/BackgroundJob/ExpireTrashTest.php b/apps/files_trashbin/tests/BackgroundJob/ExpireTrashTest.php index 7d97042209f..07e60ba8fbf 100644 --- a/apps/files_trashbin/tests/BackgroundJob/ExpireTrashTest.php +++ b/apps/files_trashbin/tests/BackgroundJob/ExpireTrashTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin\Tests\BackgroundJob; use OCA\Files_Trashbin\BackgroundJob\ExpireTrash; diff --git a/apps/files_trashbin/tests/CapabilitiesTest.php b/apps/files_trashbin/tests/CapabilitiesTest.php index 0f0778d5727..b017b48da8c 100644 --- a/apps/files_trashbin/tests/CapabilitiesTest.php +++ b/apps/files_trashbin/tests/CapabilitiesTest.php @@ -1,6 +1,6 @@ * * @author Roeland Jago Douma * @author Unknown @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Tests; use OCA\Files_Trashbin\Capabilities; diff --git a/apps/files_trashbin/tests/Command/CleanUpTest.php b/apps/files_trashbin/tests/Command/CleanUpTest.php index dad73aaadfc..949d0529fd6 100644 --- a/apps/files_trashbin/tests/Command/CleanUpTest.php +++ b/apps/files_trashbin/tests/Command/CleanUpTest.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin\Tests\Command; use OC\User\Manager; diff --git a/apps/files_trashbin/tests/Command/ExpireTest.php b/apps/files_trashbin/tests/Command/ExpireTest.php index 0afbe315fef..dd9e2c2b254 100644 --- a/apps/files_trashbin/tests/Command/ExpireTest.php +++ b/apps/files_trashbin/tests/Command/ExpireTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin\Tests\Command; use OCA\Files_Trashbin\Command\Expire; diff --git a/apps/files_trashbin/tests/Controller/PreviewControllerTest.php b/apps/files_trashbin/tests/Controller/PreviewControllerTest.php index 349250a93f3..1a36473ecf1 100644 --- a/apps/files_trashbin/tests/Controller/PreviewControllerTest.php +++ b/apps/files_trashbin/tests/Controller/PreviewControllerTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Trashbin\Tests\Controller; use OCA\Files_Trashbin\Controller\PreviewController; diff --git a/apps/files_trashbin/tests/ExpirationTest.php b/apps/files_trashbin/tests/ExpirationTest.php index d33c502f419..2f304b17881 100644 --- a/apps/files_trashbin/tests/ExpirationTest.php +++ b/apps/files_trashbin/tests/ExpirationTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin\Tests; use OCA\Files_Trashbin\Expiration; diff --git a/apps/files_trashbin/tests/StorageTest.php b/apps/files_trashbin/tests/StorageTest.php index 53c1a09cc39..448c3a6adb1 100644 --- a/apps/files_trashbin/tests/StorageTest.php +++ b/apps/files_trashbin/tests/StorageTest.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Trashbin\Tests; use OC\Files\Filesystem; diff --git a/apps/files_trashbin/tests/TrashbinTest.php b/apps/files_trashbin/tests/TrashbinTest.php index e38a147f329..1df93bccb4a 100644 --- a/apps/files_trashbin/tests/TrashbinTest.php +++ b/apps/files_trashbin/tests/TrashbinTest.php @@ -6,7 +6,7 @@ * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - use OC\AppFramework\Bootstrap\BootContext; use OC\AppFramework\DependencyInjection\DIContainer; use OCA\Files_Sharing\AppInfo\Application; diff --git a/apps/files_versions/appinfo/routes.php b/apps/files_versions/appinfo/routes.php index e5e8ccc8ac6..b9706554c40 100644 --- a/apps/files_versions/appinfo/routes.php +++ b/apps/files_versions/appinfo/routes.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions\AppInfo; /** @var Application $application */ diff --git a/apps/files_versions/lib/AppInfo/Application.php b/apps/files_versions/lib/AppInfo/Application.php index e09ad7e90ae..ad38c017498 100644 --- a/apps/files_versions/lib/AppInfo/Application.php +++ b/apps/files_versions/lib/AppInfo/Application.php @@ -3,7 +3,8 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author Joas Schilling + * @author John Molakvoæ * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma @@ -24,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions\AppInfo; use OC\KnownUser\KnownUserService; diff --git a/apps/files_versions/lib/BackgroundJob/ExpireVersions.php b/apps/files_versions/lib/BackgroundJob/ExpireVersions.php index 13418ba64c4..73459949db3 100644 --- a/apps/files_versions/lib/BackgroundJob/ExpireVersions.php +++ b/apps/files_versions/lib/BackgroundJob/ExpireVersions.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions\BackgroundJob; use OCA\Files_Versions\Expiration; diff --git a/apps/files_versions/lib/Capabilities.php b/apps/files_versions/lib/Capabilities.php index 4da267be86e..b8602540ec8 100644 --- a/apps/files_versions/lib/Capabilities.php +++ b/apps/files_versions/lib/Capabilities.php @@ -4,7 +4,6 @@ * * @author Christopher Schäpers * @author Christoph Wurst - * @author Morris Jobke * @author Roeland Jago Douma * @author Tom Needham * @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions; use OCP\Capabilities\ICapability; diff --git a/apps/files_versions/lib/Command/CleanUp.php b/apps/files_versions/lib/Command/CleanUp.php index 64c14e21308..b51959e9532 100644 --- a/apps/files_versions/lib/Command/CleanUp.php +++ b/apps/files_versions/lib/Command/CleanUp.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions\Command; use OCP\Files\IRootFolder; diff --git a/apps/files_versions/lib/Command/Expire.php b/apps/files_versions/lib/Command/Expire.php index 76d26321d1e..395ed603813 100644 --- a/apps/files_versions/lib/Command/Expire.php +++ b/apps/files_versions/lib/Command/Expire.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions\Command; use OC\Command\FileAccess; diff --git a/apps/files_versions/lib/Command/ExpireVersions.php b/apps/files_versions/lib/Command/ExpireVersions.php index e59fea7db9a..bc080d93184 100644 --- a/apps/files_versions/lib/Command/ExpireVersions.php +++ b/apps/files_versions/lib/Command/ExpireVersions.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions\Command; use OCA\Files_Versions\Expiration; diff --git a/apps/files_versions/lib/Controller/PreviewController.php b/apps/files_versions/lib/Controller/PreviewController.php index fa9d6a4aa0a..75093165af9 100644 --- a/apps/files_versions/lib/Controller/PreviewController.php +++ b/apps/files_versions/lib/Controller/PreviewController.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Versions\Controller; use OCA\Files_Versions\Versions\IVersionManager; diff --git a/apps/files_versions/lib/Events/CreateVersionEvent.php b/apps/files_versions/lib/Events/CreateVersionEvent.php index 90281bd8ca7..c62b0db5ed5 100644 --- a/apps/files_versions/lib/Events/CreateVersionEvent.php +++ b/apps/files_versions/lib/Events/CreateVersionEvent.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Versions\Events; use OCP\EventDispatcher\Event; diff --git a/apps/files_versions/lib/Expiration.php b/apps/files_versions/lib/Expiration.php index 12f34b07304..e9dd91e2428 100644 --- a/apps/files_versions/lib/Expiration.php +++ b/apps/files_versions/lib/Expiration.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/files_versions/lib/Hooks.php b/apps/files_versions/lib/Hooks.php index 78a89202457..9de2e2c3ac9 100644 --- a/apps/files_versions/lib/Hooks.php +++ b/apps/files_versions/lib/Hooks.php @@ -5,7 +5,7 @@ * @author Bart Visscher * @author Björn Schießle * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Jörn Friedrich Dreyer * @author Morris Jobke * @author Robin Appelman @@ -27,11 +27,6 @@ * along with this program. If not, see * */ - -/** - * This class contains all hooks. - */ - namespace OCA\Files_Versions; use OC\Files\Filesystem; diff --git a/apps/files_versions/lib/Listener/LoadAdditionalListener.php b/apps/files_versions/lib/Listener/LoadAdditionalListener.php index 7448224048a..aeea8756515 100644 --- a/apps/files_versions/lib/Listener/LoadAdditionalListener.php +++ b/apps/files_versions/lib/Listener/LoadAdditionalListener.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2019, Roeland Jago Douma * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Versions\Listener; use OCA\Files\Event\LoadAdditionalScriptsEvent; diff --git a/apps/files_versions/lib/Listener/LoadSidebarListener.php b/apps/files_versions/lib/Listener/LoadSidebarListener.php index 7a1b13d9c32..27261fbc3d2 100644 --- a/apps/files_versions/lib/Listener/LoadSidebarListener.php +++ b/apps/files_versions/lib/Listener/LoadSidebarListener.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2019, Roeland Jago Douma * * @author Christoph Wurst - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Versions\Listener; use OCA\Files\Event\LoadSidebar; diff --git a/apps/files_versions/lib/Sabre/Plugin.php b/apps/files_versions/lib/Sabre/Plugin.php index 56a2f0a58e0..8095198a51d 100644 --- a/apps/files_versions/lib/Sabre/Plugin.php +++ b/apps/files_versions/lib/Sabre/Plugin.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Versions\Sabre; use OC\AppFramework\Http\Request; diff --git a/apps/files_versions/lib/Sabre/RestoreFolder.php b/apps/files_versions/lib/Sabre/RestoreFolder.php index 5b52a5777ae..31d87cc7112 100644 --- a/apps/files_versions/lib/Sabre/RestoreFolder.php +++ b/apps/files_versions/lib/Sabre/RestoreFolder.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Versions\Sabre; use Sabre\DAV\Exception\Forbidden; diff --git a/apps/files_versions/lib/Sabre/RootCollection.php b/apps/files_versions/lib/Sabre/RootCollection.php index 13a55512602..ed4df7fed63 100644 --- a/apps/files_versions/lib/Sabre/RootCollection.php +++ b/apps/files_versions/lib/Sabre/RootCollection.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Versions\Sabre; use OCA\Files_Versions\Versions\IVersionManager; diff --git a/apps/files_versions/lib/Sabre/VersionCollection.php b/apps/files_versions/lib/Sabre/VersionCollection.php index e2ad562e8bc..d33e036d7c0 100644 --- a/apps/files_versions/lib/Sabre/VersionCollection.php +++ b/apps/files_versions/lib/Sabre/VersionCollection.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Versions\Sabre; use OCA\Files_Versions\Versions\IVersion; diff --git a/apps/files_versions/lib/Sabre/VersionFile.php b/apps/files_versions/lib/Sabre/VersionFile.php index 9e16022d754..b7c7e6db1a6 100644 --- a/apps/files_versions/lib/Sabre/VersionFile.php +++ b/apps/files_versions/lib/Sabre/VersionFile.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Versions\Sabre; use OCA\Files_Versions\Versions\IVersion; diff --git a/apps/files_versions/lib/Sabre/VersionHome.php b/apps/files_versions/lib/Sabre/VersionHome.php index d425ea41369..13505d9a96c 100644 --- a/apps/files_versions/lib/Sabre/VersionHome.php +++ b/apps/files_versions/lib/Sabre/VersionHome.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Versions\Sabre; use OC\User\NoUserException; diff --git a/apps/files_versions/lib/Sabre/VersionRoot.php b/apps/files_versions/lib/Sabre/VersionRoot.php index 9b11159ee11..cc9b1a2abb3 100644 --- a/apps/files_versions/lib/Sabre/VersionRoot.php +++ b/apps/files_versions/lib/Sabre/VersionRoot.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Versions\Sabre; use OCA\Files_Versions\Versions\IVersionManager; diff --git a/apps/files_versions/lib/Storage.php b/apps/files_versions/lib/Storage.php index 79683e41b4e..861a014f5f3 100644 --- a/apps/files_versions/lib/Storage.php +++ b/apps/files_versions/lib/Storage.php @@ -37,13 +37,6 @@ * along with this program. If not, see * */ - -/** - * Versions - * - * A class to handle the versioning of files. - */ - namespace OCA\Files_Versions; use OC_User; diff --git a/apps/files_versions/lib/Versions/BackendNotFoundException.php b/apps/files_versions/lib/Versions/BackendNotFoundException.php index 5338d5eea37..151957c116a 100644 --- a/apps/files_versions/lib/Versions/BackendNotFoundException.php +++ b/apps/files_versions/lib/Versions/BackendNotFoundException.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Versions\Versions; class BackendNotFoundException extends \Exception { diff --git a/apps/files_versions/lib/Versions/IVersion.php b/apps/files_versions/lib/Versions/IVersion.php index b65bb236be6..8ab3357b1e2 100644 --- a/apps/files_versions/lib/Versions/IVersion.php +++ b/apps/files_versions/lib/Versions/IVersion.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Versions\Versions; use OCP\Files\FileInfo; diff --git a/apps/files_versions/lib/Versions/IVersionBackend.php b/apps/files_versions/lib/Versions/IVersionBackend.php index 3173233e2d1..c06e395e4c1 100644 --- a/apps/files_versions/lib/Versions/IVersionBackend.php +++ b/apps/files_versions/lib/Versions/IVersionBackend.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Versions\Versions; use OCP\Files\File; diff --git a/apps/files_versions/lib/Versions/IVersionManager.php b/apps/files_versions/lib/Versions/IVersionManager.php index 1bb5bcd2842..afc3046fa48 100644 --- a/apps/files_versions/lib/Versions/IVersionManager.php +++ b/apps/files_versions/lib/Versions/IVersionManager.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Versions\Versions; /** diff --git a/apps/files_versions/lib/Versions/LegacyVersionsBackend.php b/apps/files_versions/lib/Versions/LegacyVersionsBackend.php index db8530d1303..4ea0985e113 100644 --- a/apps/files_versions/lib/Versions/LegacyVersionsBackend.php +++ b/apps/files_versions/lib/Versions/LegacyVersionsBackend.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Versions\Versions; use OC\Files\View; diff --git a/apps/files_versions/lib/Versions/Version.php b/apps/files_versions/lib/Versions/Version.php index 64be4276827..9979933ebc5 100644 --- a/apps/files_versions/lib/Versions/Version.php +++ b/apps/files_versions/lib/Versions/Version.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Versions\Versions; use OCP\Files\FileInfo; diff --git a/apps/files_versions/lib/Versions/VersionManager.php b/apps/files_versions/lib/Versions/VersionManager.php index fbdbfca07d6..4700f1b208b 100644 --- a/apps/files_versions/lib/Versions/VersionManager.php +++ b/apps/files_versions/lib/Versions/VersionManager.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Versions\Versions; use OCP\Files\File; diff --git a/apps/files_versions/tests/Command/CleanupTest.php b/apps/files_versions/tests/Command/CleanupTest.php index b48bbaf1246..b5463aa61db 100644 --- a/apps/files_versions/tests/Command/CleanupTest.php +++ b/apps/files_versions/tests/Command/CleanupTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions\Tests\Command; use OC\User\Manager; diff --git a/apps/files_versions/tests/Command/ExpireTest.php b/apps/files_versions/tests/Command/ExpireTest.php index 24871dd2b96..9b0b68e71ea 100644 --- a/apps/files_versions/tests/Command/ExpireTest.php +++ b/apps/files_versions/tests/Command/ExpireTest.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions\Tests\Command; use OCA\Files_Versions\Command\Expire; diff --git a/apps/files_versions/tests/Controller/PreviewControllerTest.php b/apps/files_versions/tests/Controller/PreviewControllerTest.php index 7b550f60866..51ef45af881 100644 --- a/apps/files_versions/tests/Controller/PreviewControllerTest.php +++ b/apps/files_versions/tests/Controller/PreviewControllerTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Files_Versions\Tests\Controller; use OCA\Files_Versions\Controller\PreviewController; diff --git a/apps/files_versions/tests/ExpirationTest.php b/apps/files_versions/tests/ExpirationTest.php index d6d057e29a5..fdfba49c2e2 100644 --- a/apps/files_versions/tests/ExpirationTest.php +++ b/apps/files_versions/tests/ExpirationTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions\Tests; use OCA\Files_Versions\Expiration; diff --git a/apps/files_versions/tests/VersioningTest.php b/apps/files_versions/tests/VersioningTest.php index 7a6802a1d0d..952298b3ef9 100644 --- a/apps/files_versions/tests/VersioningTest.php +++ b/apps/files_versions/tests/VersioningTest.php @@ -32,7 +32,6 @@ * along with this program. If not, see * */ - namespace OCA\Files_Versions\Tests; use OC\Files\Storage\Temporary; diff --git a/apps/files_versions/tests/Versions/VersionManagerTest.php b/apps/files_versions/tests/Versions/VersionManagerTest.php index 950b719ca5d..f3eb1ee3e4d 100644 --- a/apps/files_versions/tests/Versions/VersionManagerTest.php +++ b/apps/files_versions/tests/Versions/VersionManagerTest.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\files_versions\tests\Versions; use OC\Files\Storage\Local; diff --git a/apps/lookup_server_connector/lib/AppInfo/Application.php b/apps/lookup_server_connector/lib/AppInfo/Application.php index 707a06af6fb..806f3e327aa 100644 --- a/apps/lookup_server_connector/lib/AppInfo/Application.php +++ b/apps/lookup_server_connector/lib/AppInfo/Application.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\LookupServerConnector\AppInfo; use Closure; diff --git a/apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php b/apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php index da0721dc017..f905f9173b6 100644 --- a/apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php +++ b/apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php @@ -12,6 +12,7 @@ declare(strict_types=1); * @author Lukas Reschke * @author Morris Jobke * @author Roeland Jago Douma + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -22,14 +23,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\LookupServerConnector\BackgroundJobs; use OC\Security\IdentityProof\Signer; diff --git a/apps/lookup_server_connector/lib/UpdateLookupServer.php b/apps/lookup_server_connector/lib/UpdateLookupServer.php index 5b029532904..ec528e6effa 100644 --- a/apps/lookup_server_connector/lib/UpdateLookupServer.php +++ b/apps/lookup_server_connector/lib/UpdateLookupServer.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\LookupServerConnector; use OCA\LookupServerConnector\BackgroundJobs\RetryJob; diff --git a/apps/oauth2/appinfo/routes.php b/apps/oauth2/appinfo/routes.php index 55b3c5bc7ff..4ba398e1343 100644 --- a/apps/oauth2/appinfo/routes.php +++ b/apps/oauth2/appinfo/routes.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - return [ 'routes' => [ [ diff --git a/apps/oauth2/lib/Controller/LoginRedirectorController.php b/apps/oauth2/lib/Controller/LoginRedirectorController.php index 4254c9880bc..57f18a97f85 100644 --- a/apps/oauth2/lib/Controller/LoginRedirectorController.php +++ b/apps/oauth2/lib/Controller/LoginRedirectorController.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\OAuth2\Controller; use OCA\OAuth2\Db\ClientMapper; diff --git a/apps/oauth2/lib/Controller/OauthApiController.php b/apps/oauth2/lib/Controller/OauthApiController.php index 2fbaf456263..d6e090565ca 100644 --- a/apps/oauth2/lib/Controller/OauthApiController.php +++ b/apps/oauth2/lib/Controller/OauthApiController.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\OAuth2\Controller; use OC\Authentication\Exceptions\ExpiredTokenException; diff --git a/apps/oauth2/lib/Controller/SettingsController.php b/apps/oauth2/lib/Controller/SettingsController.php index 00d16ce4976..28500128629 100644 --- a/apps/oauth2/lib/Controller/SettingsController.php +++ b/apps/oauth2/lib/Controller/SettingsController.php @@ -21,14 +21,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\OAuth2\Controller; use OC\Authentication\Token\DefaultTokenMapper; diff --git a/apps/oauth2/lib/Db/AccessToken.php b/apps/oauth2/lib/Db/AccessToken.php index f033cf616bb..26c830c64ad 100644 --- a/apps/oauth2/lib/Db/AccessToken.php +++ b/apps/oauth2/lib/Db/AccessToken.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\OAuth2\Db; use OCP\AppFramework\Db\Entity; diff --git a/apps/oauth2/lib/Db/AccessTokenMapper.php b/apps/oauth2/lib/Db/AccessTokenMapper.php index a15b1d2a3b3..da351d5d496 100644 --- a/apps/oauth2/lib/Db/AccessTokenMapper.php +++ b/apps/oauth2/lib/Db/AccessTokenMapper.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2017 Lukas Reschke * * @author Bjoern Schiessle + * @author Christoph Wurst * @author Lukas Reschke * @author Roeland Jago Douma * @@ -18,14 +19,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\OAuth2\Db; use OCA\OAuth2\Exceptions\AccessTokenNotFoundException; diff --git a/apps/oauth2/lib/Db/Client.php b/apps/oauth2/lib/Db/Client.php index 87559f89cee..f0cac4bed33 100644 --- a/apps/oauth2/lib/Db/Client.php +++ b/apps/oauth2/lib/Db/Client.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\OAuth2\Db; use OCP\AppFramework\Db\Entity; diff --git a/apps/oauth2/lib/Db/ClientMapper.php b/apps/oauth2/lib/Db/ClientMapper.php index 787d926d0a9..a3d5df35482 100644 --- a/apps/oauth2/lib/Db/ClientMapper.php +++ b/apps/oauth2/lib/Db/ClientMapper.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\OAuth2\Db; use OCA\OAuth2\Exceptions\ClientNotFoundException; diff --git a/apps/oauth2/lib/Exceptions/AccessTokenNotFoundException.php b/apps/oauth2/lib/Exceptions/AccessTokenNotFoundException.php index 079f7a9beee..8ccc32d67e1 100644 --- a/apps/oauth2/lib/Exceptions/AccessTokenNotFoundException.php +++ b/apps/oauth2/lib/Exceptions/AccessTokenNotFoundException.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\OAuth2\Exceptions; class AccessTokenNotFoundException extends \Exception { diff --git a/apps/oauth2/lib/Exceptions/ClientNotFoundException.php b/apps/oauth2/lib/Exceptions/ClientNotFoundException.php index 77c7c6687ca..d2f819449ce 100644 --- a/apps/oauth2/lib/Exceptions/ClientNotFoundException.php +++ b/apps/oauth2/lib/Exceptions/ClientNotFoundException.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\OAuth2\Exceptions; class ClientNotFoundException extends \Exception { diff --git a/apps/oauth2/lib/Migration/SetTokenExpiration.php b/apps/oauth2/lib/Migration/SetTokenExpiration.php index 93f879d8e87..7188985f3f5 100644 --- a/apps/oauth2/lib/Migration/SetTokenExpiration.php +++ b/apps/oauth2/lib/Migration/SetTokenExpiration.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\OAuth2\Migration; use OC\Authentication\Exceptions\InvalidTokenException; diff --git a/apps/oauth2/lib/Migration/Version010401Date20181207190718.php b/apps/oauth2/lib/Migration/Version010401Date20181207190718.php index 311c07d84c2..51fd77c5528 100644 --- a/apps/oauth2/lib/Migration/Version010401Date20181207190718.php +++ b/apps/oauth2/lib/Migration/Version010401Date20181207190718.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\OAuth2\Migration; use Closure; diff --git a/apps/oauth2/lib/Migration/Version010402Date20190107124745.php b/apps/oauth2/lib/Migration/Version010402Date20190107124745.php index 837d9c1937d..ff9a628712a 100644 --- a/apps/oauth2/lib/Migration/Version010402Date20190107124745.php +++ b/apps/oauth2/lib/Migration/Version010402Date20190107124745.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\OAuth2\Migration; use Closure; diff --git a/apps/oauth2/lib/Settings/Admin.php b/apps/oauth2/lib/Settings/Admin.php index 154643255f4..ddf5302a1aa 100644 --- a/apps/oauth2/lib/Settings/Admin.php +++ b/apps/oauth2/lib/Settings/Admin.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\OAuth2\Settings; use OCA\OAuth2\Db\ClientMapper; diff --git a/apps/oauth2/tests/Controller/LoginRedirectorControllerTest.php b/apps/oauth2/tests/Controller/LoginRedirectorControllerTest.php index c3dfa4114b3..7f45f9c5b4b 100644 --- a/apps/oauth2/tests/Controller/LoginRedirectorControllerTest.php +++ b/apps/oauth2/tests/Controller/LoginRedirectorControllerTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\OAuth2\Tests\Controller; use OCA\OAuth2\Controller\LoginRedirectorController; diff --git a/apps/oauth2/tests/Controller/OauthApiControllerTest.php b/apps/oauth2/tests/Controller/OauthApiControllerTest.php index 414bcd3e432..e723877a7b4 100644 --- a/apps/oauth2/tests/Controller/OauthApiControllerTest.php +++ b/apps/oauth2/tests/Controller/OauthApiControllerTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\OAuth2\Tests\Controller; use OC\Authentication\Exceptions\ExpiredTokenException; diff --git a/apps/oauth2/tests/Controller/SettingsControllerTest.php b/apps/oauth2/tests/Controller/SettingsControllerTest.php index f539e3f1c1b..40785e280a0 100644 --- a/apps/oauth2/tests/Controller/SettingsControllerTest.php +++ b/apps/oauth2/tests/Controller/SettingsControllerTest.php @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\OAuth2\Tests\Controller; use OC\Authentication\Token\DefaultTokenMapper; diff --git a/apps/oauth2/tests/Db/AccessTokenMapperTest.php b/apps/oauth2/tests/Db/AccessTokenMapperTest.php index cdbd563a677..013eb72919a 100644 --- a/apps/oauth2/tests/Db/AccessTokenMapperTest.php +++ b/apps/oauth2/tests/Db/AccessTokenMapperTest.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\OAuth2\Tests\Db; use OCA\OAuth2\Db\AccessToken; diff --git a/apps/oauth2/tests/Db/ClientMapperTest.php b/apps/oauth2/tests/Db/ClientMapperTest.php index 219f3cddf25..fdc458fa301 100644 --- a/apps/oauth2/tests/Db/ClientMapperTest.php +++ b/apps/oauth2/tests/Db/ClientMapperTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\OAuth2\Tests\Db; use OCA\OAuth2\Db\Client; diff --git a/apps/oauth2/tests/Settings/AdminTest.php b/apps/oauth2/tests/Settings/AdminTest.php index fa1a5a2cda8..93a9c528420 100644 --- a/apps/oauth2/tests/Settings/AdminTest.php +++ b/apps/oauth2/tests/Settings/AdminTest.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\OAuth2\Tests\Settings; use OCA\OAuth2\Db\ClientMapper; diff --git a/apps/provisioning_api/appinfo/routes.php b/apps/provisioning_api/appinfo/routes.php index 2375e70a57e..8cf57487d3a 100644 --- a/apps/provisioning_api/appinfo/routes.php +++ b/apps/provisioning_api/appinfo/routes.php @@ -5,7 +5,7 @@ * @author Bjoern Schiessle * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Roeland Jago Douma * @author Tom Needham @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - return [ 'ocs' => [ // Apps diff --git a/apps/provisioning_api/lib/AppInfo/Application.php b/apps/provisioning_api/lib/AppInfo/Application.php index af6b2b33711..c63720becef 100644 --- a/apps/provisioning_api/lib/AppInfo/Application.php +++ b/apps/provisioning_api/lib/AppInfo/Application.php @@ -1,13 +1,14 @@ * * @author Christoph Wurst * @author Daniel Kesselberg + * @author Joas Schilling * @author Lukas Reschke * @author Morris Jobke * @author Roeland Jago Douma - * @author zulan + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -18,14 +19,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Provisioning_API\AppInfo; use OC\Group\Manager as GroupManager; diff --git a/apps/provisioning_api/lib/Capabilities.php b/apps/provisioning_api/lib/Capabilities.php index d355e4db4c2..59c462c5d90 100644 --- a/apps/provisioning_api/lib/Capabilities.php +++ b/apps/provisioning_api/lib/Capabilities.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Provisioning_API; use OCA\FederatedFileSharing\FederatedShareProvider; diff --git a/apps/provisioning_api/lib/Controller/AUserData.php b/apps/provisioning_api/lib/Controller/AUserData.php index 6f682b41f28..c4fa537c2df 100644 --- a/apps/provisioning_api/lib/Controller/AUserData.php +++ b/apps/provisioning_api/lib/Controller/AUserData.php @@ -9,8 +9,9 @@ declare(strict_types=1); * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Roeland Jago Douma + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -21,14 +22,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Provisioning_API\Controller; use OC\Group\Manager; diff --git a/apps/provisioning_api/lib/Controller/AppConfigController.php b/apps/provisioning_api/lib/Controller/AppConfigController.php index b8a8cb4109f..b6e43cac1df 100644 --- a/apps/provisioning_api/lib/Controller/AppConfigController.php +++ b/apps/provisioning_api/lib/Controller/AppConfigController.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Provisioning_API\Controller; use OCP\AppFramework\Http; diff --git a/apps/provisioning_api/lib/Controller/AppsController.php b/apps/provisioning_api/lib/Controller/AppsController.php index 6a6db017f99..fa0f2597e7f 100644 --- a/apps/provisioning_api/lib/Controller/AppsController.php +++ b/apps/provisioning_api/lib/Controller/AppsController.php @@ -8,7 +8,6 @@ declare(strict_types=1); * @author Christoph Wurst * @author Joas Schilling * @author Lukas Reschke - * @author Morris Jobke * @author Roeland Jago Douma * @author Tom Needham * @@ -27,7 +26,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\Provisioning_API\Controller; use OC_App; diff --git a/apps/provisioning_api/lib/Controller/GroupsController.php b/apps/provisioning_api/lib/Controller/GroupsController.php index 05c738bdbd5..543fc3b40ac 100644 --- a/apps/provisioning_api/lib/Controller/GroupsController.php +++ b/apps/provisioning_api/lib/Controller/GroupsController.php @@ -8,10 +8,9 @@ declare(strict_types=1); * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @author Tom Needham @@ -31,7 +30,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\Provisioning_API\Controller; use OCP\Accounts\IAccountManager; diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php index 6237ca04a9b..256077e9ae9 100644 --- a/apps/provisioning_api/lib/Controller/UsersController.php +++ b/apps/provisioning_api/lib/Controller/UsersController.php @@ -11,7 +11,7 @@ declare(strict_types=1); * @author Daniel Calviño Sánchez * @author Daniel Kesselberg * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author michag86 @@ -23,6 +23,7 @@ declare(strict_types=1); * @author Thomas Citharel * @author Thomas Müller * @author Tom Needham + * @author Vincent Petry * * @license AGPL-3.0 * @@ -39,7 +40,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\Provisioning_API\Controller; use libphonenumber\NumberParseException; diff --git a/apps/provisioning_api/lib/FederatedShareProviderFactory.php b/apps/provisioning_api/lib/FederatedShareProviderFactory.php index 0b0cfc5bd22..063f5261f2f 100644 --- a/apps/provisioning_api/lib/FederatedShareProviderFactory.php +++ b/apps/provisioning_api/lib/FederatedShareProviderFactory.php @@ -1,4 +1,7 @@ * @@ -15,15 +18,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ -declare(strict_types=1); - namespace OCA\Provisioning_API; use OCA\FederatedFileSharing\FederatedShareProvider; diff --git a/apps/provisioning_api/lib/Listener/UserDeletedListener.php b/apps/provisioning_api/lib/Listener/UserDeletedListener.php index 1e021177bb4..d1fa8f6ad9f 100644 --- a/apps/provisioning_api/lib/Listener/UserDeletedListener.php +++ b/apps/provisioning_api/lib/Listener/UserDeletedListener.php @@ -1,9 +1,12 @@ * + * @author Joas Schilling + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -13,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\Provisioning_API\Listener; use OC\KnownUser\KnownUserService; diff --git a/apps/provisioning_api/lib/Middleware/Exceptions/NotSubAdminException.php b/apps/provisioning_api/lib/Middleware/Exceptions/NotSubAdminException.php index 04e9fa33578..6f5b15628f9 100644 --- a/apps/provisioning_api/lib/Middleware/Exceptions/NotSubAdminException.php +++ b/apps/provisioning_api/lib/Middleware/Exceptions/NotSubAdminException.php @@ -1,6 +1,6 @@ * * @author Morris Jobke * @author Roeland Jago Douma @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Provisioning_API\Middleware\Exceptions; use OCP\AppFramework\Http; diff --git a/apps/provisioning_api/lib/Middleware/ProvisioningApiMiddleware.php b/apps/provisioning_api/lib/Middleware/ProvisioningApiMiddleware.php index cf51a148bba..8dbee85360b 100644 --- a/apps/provisioning_api/lib/Middleware/ProvisioningApiMiddleware.php +++ b/apps/provisioning_api/lib/Middleware/ProvisioningApiMiddleware.php @@ -3,8 +3,9 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Roeland Jago Douma * - * + * @author Joas Schilling * @author Lukas Reschke * @author Morris Jobke * @author Roeland Jago Douma @@ -18,14 +19,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Provisioning_API\Middleware; use OCA\Provisioning_API\Middleware\Exceptions\NotSubAdminException; diff --git a/apps/provisioning_api/tests/CapabilitiesTest.php b/apps/provisioning_api/tests/CapabilitiesTest.php index 89a4215d273..97f9ba562bc 100644 --- a/apps/provisioning_api/tests/CapabilitiesTest.php +++ b/apps/provisioning_api/tests/CapabilitiesTest.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Provisioning_API\Tests\unit; use OCA\FederatedFileSharing\FederatedShareProvider; diff --git a/apps/provisioning_api/tests/Controller/AppConfigControllerTest.php b/apps/provisioning_api/tests/Controller/AppConfigControllerTest.php index cc4b6aa7555..3abc46dc5fc 100644 --- a/apps/provisioning_api/tests/Controller/AppConfigControllerTest.php +++ b/apps/provisioning_api/tests/Controller/AppConfigControllerTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Provisioning_API\Tests\Controller; use OCA\Provisioning_API\Controller\AppConfigController; diff --git a/apps/provisioning_api/tests/Controller/AppsControllerTest.php b/apps/provisioning_api/tests/Controller/AppsControllerTest.php index 88125a93488..d4237508a31 100644 --- a/apps/provisioning_api/tests/Controller/AppsControllerTest.php +++ b/apps/provisioning_api/tests/Controller/AppsControllerTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Provisioning_API\Tests\Controller; use OCA\Provisioning_API\Controller\AppsController; diff --git a/apps/provisioning_api/tests/Controller/GroupsControllerTest.php b/apps/provisioning_api/tests/Controller/GroupsControllerTest.php index b32b6e4d89b..66e7665de63 100644 --- a/apps/provisioning_api/tests/Controller/GroupsControllerTest.php +++ b/apps/provisioning_api/tests/Controller/GroupsControllerTest.php @@ -5,7 +5,7 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Morris Jobke @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\Provisioning_API\Tests\Controller; use OC\Group\Manager; diff --git a/apps/provisioning_api/tests/Controller/UsersControllerTest.php b/apps/provisioning_api/tests/Controller/UsersControllerTest.php index c1a42457871..742335a919a 100644 --- a/apps/provisioning_api/tests/Controller/UsersControllerTest.php +++ b/apps/provisioning_api/tests/Controller/UsersControllerTest.php @@ -10,7 +10,7 @@ * @author Georg Ehrke * @author GretaD * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author michag86 @@ -20,6 +20,7 @@ * @author Thomas Citharel * @author Thomas Müller * @author Tom Needham + * @author Vincent Petry * @author zulan * * @license AGPL-3.0 @@ -37,7 +38,6 @@ * along with this program. If not, see * */ - namespace OCA\Provisioning_API\Tests\Controller; use Exception; diff --git a/apps/provisioning_api/tests/Middleware/ProvisioningApiMiddlewareTest.php b/apps/provisioning_api/tests/Middleware/ProvisioningApiMiddlewareTest.php index 1977a4aa0f9..ea3d44cc907 100644 --- a/apps/provisioning_api/tests/Middleware/ProvisioningApiMiddlewareTest.php +++ b/apps/provisioning_api/tests/Middleware/ProvisioningApiMiddlewareTest.php @@ -2,6 +2,7 @@ /** * @copyright 2016, Roeland Jago Douma * + * @author Joas Schilling * @author Morris Jobke * @author Roeland Jago Douma * @@ -14,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Provisioning_API\Tests\Middleware; use OCA\Provisioning_API\Middleware\Exceptions\NotSubAdminException; diff --git a/apps/provisioning_api/tests/TestCase.php b/apps/provisioning_api/tests/TestCase.php index 7ddebfcf322..5cbab2ab200 100644 --- a/apps/provisioning_api/tests/TestCase.php +++ b/apps/provisioning_api/tests/TestCase.php @@ -4,7 +4,6 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller * @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Provisioning_API\Tests; use OCP\IGroupManager; diff --git a/apps/settings/appinfo/routes.php b/apps/settings/appinfo/routes.php index c1d3938a739..c73ef08f63c 100644 --- a/apps/settings/appinfo/routes.php +++ b/apps/settings/appinfo/routes.php @@ -9,7 +9,6 @@ declare(strict_types=1); * @author Jan C. Borchardt * @author Julius Härtl * @author Lukas Reschke - * @author Morris Jobke * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -27,7 +26,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - return [ 'resources' => [ 'AuthSettings' => ['url' => '/settings/personal/authtokens' , 'root' => ''], diff --git a/apps/settings/lib/Activity/GroupProvider.php b/apps/settings/lib/Activity/GroupProvider.php index ab34e907ca3..a1709de5c3f 100644 --- a/apps/settings/lib/Activity/GroupProvider.php +++ b/apps/settings/lib/Activity/GroupProvider.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Activity; use InvalidArgumentException; diff --git a/apps/settings/lib/Activity/GroupSetting.php b/apps/settings/lib/Activity/GroupSetting.php index 212efd5c468..9538a4e4ebd 100644 --- a/apps/settings/lib/Activity/GroupSetting.php +++ b/apps/settings/lib/Activity/GroupSetting.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Activity; use OCP\Activity\ISetting; diff --git a/apps/settings/lib/Activity/Provider.php b/apps/settings/lib/Activity/Provider.php index 6697f85a101..2d5c858f5e8 100644 --- a/apps/settings/lib/Activity/Provider.php +++ b/apps/settings/lib/Activity/Provider.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Activity; use OCP\Activity\IEvent; diff --git a/apps/settings/lib/Activity/SecurityFilter.php b/apps/settings/lib/Activity/SecurityFilter.php index d814571897c..48cf6e74f29 100644 --- a/apps/settings/lib/Activity/SecurityFilter.php +++ b/apps/settings/lib/Activity/SecurityFilter.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Activity; use OCP\Activity\IFilter; diff --git a/apps/settings/lib/Activity/SecurityProvider.php b/apps/settings/lib/Activity/SecurityProvider.php index 20156bbc407..cdf7b80298d 100644 --- a/apps/settings/lib/Activity/SecurityProvider.php +++ b/apps/settings/lib/Activity/SecurityProvider.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Activity; use InvalidArgumentException; diff --git a/apps/settings/lib/Activity/SecuritySetting.php b/apps/settings/lib/Activity/SecuritySetting.php index c9ed42b2e2a..3dc6df4ef2a 100644 --- a/apps/settings/lib/Activity/SecuritySetting.php +++ b/apps/settings/lib/Activity/SecuritySetting.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Activity; use OCP\Activity\ISetting; diff --git a/apps/settings/lib/Activity/Setting.php b/apps/settings/lib/Activity/Setting.php index d0b48445932..dc92cea4d8a 100644 --- a/apps/settings/lib/Activity/Setting.php +++ b/apps/settings/lib/Activity/Setting.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Activity; use OCP\Activity\ISetting; diff --git a/apps/settings/lib/AppInfo/Application.php b/apps/settings/lib/AppInfo/Application.php index f089260a7c7..8f0434b9ab9 100644 --- a/apps/settings/lib/AppInfo/Application.php +++ b/apps/settings/lib/AppInfo/Application.php @@ -8,7 +8,6 @@ declare(strict_types=1); * @author Arthur Schiwon * @author Björn Schießle * @author Christoph Wurst - * @author Daniel Calviño Sánchez * @author Daniel Kesselberg * @author Joas Schilling * @author Lukas Reschke @@ -32,7 +31,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\Settings\AppInfo; use OC\AppFramework\Utility\TimeFactory; diff --git a/apps/settings/lib/BackgroundJobs/VerifyUserData.php b/apps/settings/lib/BackgroundJobs/VerifyUserData.php index ee1cc43c53b..a0557452628 100644 --- a/apps/settings/lib/BackgroundJobs/VerifyUserData.php +++ b/apps/settings/lib/BackgroundJobs/VerifyUserData.php @@ -20,14 +20,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\BackgroundJobs; use OCP\Accounts\IAccountManager; diff --git a/apps/settings/lib/Controller/AdminSettingsController.php b/apps/settings/lib/Controller/AdminSettingsController.php index c50ffc6f1e7..e5621e2b0b2 100644 --- a/apps/settings/lib/Controller/AdminSettingsController.php +++ b/apps/settings/lib/Controller/AdminSettingsController.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Controller; use OCP\AppFramework\Controller; diff --git a/apps/settings/lib/Controller/AppSettingsController.php b/apps/settings/lib/Controller/AppSettingsController.php index b9bbfddb249..78326c2e25a 100644 --- a/apps/settings/lib/Controller/AppSettingsController.php +++ b/apps/settings/lib/Controller/AppSettingsController.php @@ -7,7 +7,7 @@ * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Morris Jobke @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\Settings\Controller; use OC\App\AppStore\Bundles\BundleFetcher; diff --git a/apps/settings/lib/Controller/AuthSettingsController.php b/apps/settings/lib/Controller/AuthSettingsController.php index 11e1be7fd47..3255fcce56e 100644 --- a/apps/settings/lib/Controller/AuthSettingsController.php +++ b/apps/settings/lib/Controller/AuthSettingsController.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\Settings\Controller; use BadMethodCallException; diff --git a/apps/settings/lib/Controller/ChangePasswordController.php b/apps/settings/lib/Controller/ChangePasswordController.php index 430b0b2fd68..76ac2f792ac 100644 --- a/apps/settings/lib/Controller/ChangePasswordController.php +++ b/apps/settings/lib/Controller/ChangePasswordController.php @@ -1,6 +1,6 @@ * * @author Arthur Schiwon * @author Christoph Wurst @@ -22,14 +22,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - // FIXME: disabled for now to be able to inject IGroupManager and also use // getSubAdmin() //declare(strict_types=1); diff --git a/apps/settings/lib/Controller/CheckSetupController.php b/apps/settings/lib/Controller/CheckSetupController.php index 89dfc7b617a..27e8bfe6ac0 100644 --- a/apps/settings/lib/Controller/CheckSetupController.php +++ b/apps/settings/lib/Controller/CheckSetupController.php @@ -17,12 +17,14 @@ * @author Michael Weimann * @author Morris Jobke * @author nhirokinet + * @author Robin Appelman * @author Robin McCorkell * @author Roeland Jago Douma * @author Sven Strickroth * @author Sylvia van Os * @author timm2k * @author Timo Förster + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * * @license AGPL-3.0 * @@ -39,7 +41,6 @@ * along with this program. If not, see * */ - namespace OCA\Settings\Controller; use bantu\IniGetWrapper\IniGetWrapper; diff --git a/apps/settings/lib/Controller/CommonSettingsTrait.php b/apps/settings/lib/Controller/CommonSettingsTrait.php index ea9cc45b339..4832e62999b 100644 --- a/apps/settings/lib/Controller/CommonSettingsTrait.php +++ b/apps/settings/lib/Controller/CommonSettingsTrait.php @@ -19,14 +19,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Controller; use OCP\AppFramework\Http\TemplateResponse; diff --git a/apps/settings/lib/Controller/HelpController.php b/apps/settings/lib/Controller/HelpController.php index b612303f9f3..8a62fb9b58c 100644 --- a/apps/settings/lib/Controller/HelpController.php +++ b/apps/settings/lib/Controller/HelpController.php @@ -1,12 +1,15 @@ * * @author Arthur Schiwon - * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling * @author Julius Härtl + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -17,15 +20,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ -declare(strict_types=1); - namespace OCA\Settings\Controller; use OCP\AppFramework\Controller; diff --git a/apps/settings/lib/Controller/LogSettingsController.php b/apps/settings/lib/Controller/LogSettingsController.php index 31abc144371..08c18189d03 100644 --- a/apps/settings/lib/Controller/LogSettingsController.php +++ b/apps/settings/lib/Controller/LogSettingsController.php @@ -6,7 +6,6 @@ * @author Christoph Wurst * @author Georg Ehrke * @author Lukas Reschke - * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller * @@ -25,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\Settings\Controller; use OC\Log; diff --git a/apps/settings/lib/Controller/MailSettingsController.php b/apps/settings/lib/Controller/MailSettingsController.php index 7b17c1442d1..ca8a7520930 100644 --- a/apps/settings/lib/Controller/MailSettingsController.php +++ b/apps/settings/lib/Controller/MailSettingsController.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\Settings\Controller; use OCP\AppFramework\Controller; diff --git a/apps/settings/lib/Controller/PersonalSettingsController.php b/apps/settings/lib/Controller/PersonalSettingsController.php index a1ea713b78a..dc274c9d2a9 100644 --- a/apps/settings/lib/Controller/PersonalSettingsController.php +++ b/apps/settings/lib/Controller/PersonalSettingsController.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Controller; use OCP\AppFramework\Controller; diff --git a/apps/settings/lib/Controller/ReasonsController.php b/apps/settings/lib/Controller/ReasonsController.php index 9c897314091..2ceb7005407 100644 --- a/apps/settings/lib/Controller/ReasonsController.php +++ b/apps/settings/lib/Controller/ReasonsController.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Controller; use OCP\AppFramework\Controller; diff --git a/apps/settings/lib/Controller/TwoFactorSettingsController.php b/apps/settings/lib/Controller/TwoFactorSettingsController.php index 36b554c8181..45722767cda 100644 --- a/apps/settings/lib/Controller/TwoFactorSettingsController.php +++ b/apps/settings/lib/Controller/TwoFactorSettingsController.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Controller; use OC\Authentication\TwoFactorAuth\EnforcementState; diff --git a/apps/settings/lib/Controller/UsersController.php b/apps/settings/lib/Controller/UsersController.php index 3f8f05d4223..7e323baf300 100644 --- a/apps/settings/lib/Controller/UsersController.php +++ b/apps/settings/lib/Controller/UsersController.php @@ -8,13 +8,14 @@ declare(strict_types=1); * @author Arthur Schiwon * @author Bjoern Schiessle * @author Christoph Wurst + * @author Daniel Calviño Sánchez * @author Daniel Kesselberg * @author GretaD * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke - * @author Robin Appelman * @author Roeland Jago Douma + * @author Vincent Petry * * @license AGPL-3.0 * @@ -31,7 +32,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - // FIXME: disabled for now to be able to inject IGroupManager and also use // getSubAdmin() diff --git a/apps/settings/lib/Controller/WebAuthnController.php b/apps/settings/lib/Controller/WebAuthnController.php index 32bb4ee91f5..2692882301d 100644 --- a/apps/settings/lib/Controller/WebAuthnController.php +++ b/apps/settings/lib/Controller/WebAuthnController.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Controller; use OC\Authentication\WebAuthn\Manager; diff --git a/apps/settings/lib/Events/BeforeTemplateRenderedEvent.php b/apps/settings/lib/Events/BeforeTemplateRenderedEvent.php index 458a392a8cf..7d283cca1ab 100644 --- a/apps/settings/lib/Events/BeforeTemplateRenderedEvent.php +++ b/apps/settings/lib/Events/BeforeTemplateRenderedEvent.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Events; use OCP\EventDispatcher\Event; diff --git a/apps/settings/lib/Hooks.php b/apps/settings/lib/Hooks.php index c8fa5609914..4f005272b93 100644 --- a/apps/settings/lib/Hooks.php +++ b/apps/settings/lib/Hooks.php @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings; use OCA\Settings\Activity\Provider; diff --git a/apps/settings/lib/Listener/AppPasswordCreatedActivityListener.php b/apps/settings/lib/Listener/AppPasswordCreatedActivityListener.php index 83aa67642a7..3eec74f4604 100644 --- a/apps/settings/lib/Listener/AppPasswordCreatedActivityListener.php +++ b/apps/settings/lib/Listener/AppPasswordCreatedActivityListener.php @@ -2,10 +2,10 @@ declare(strict_types=1); -/* +/** * @copyright 2021 Christoph Wurst * - * @author 2021 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,13 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\Settings\Listener; use BadMethodCallException; diff --git a/apps/settings/lib/Listener/UserAddedToGroupActivityListener.php b/apps/settings/lib/Listener/UserAddedToGroupActivityListener.php index 181b65986a6..a09ba38396c 100644 --- a/apps/settings/lib/Listener/UserAddedToGroupActivityListener.php +++ b/apps/settings/lib/Listener/UserAddedToGroupActivityListener.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Listener; use OC\Group\Manager; diff --git a/apps/settings/lib/Listener/UserRemovedFromGroupActivityListener.php b/apps/settings/lib/Listener/UserRemovedFromGroupActivityListener.php index b6e1fbc5188..5f3139cbbba 100644 --- a/apps/settings/lib/Listener/UserRemovedFromGroupActivityListener.php +++ b/apps/settings/lib/Listener/UserRemovedFromGroupActivityListener.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Listener; use OC\Group\Manager; diff --git a/apps/settings/lib/Mailer/NewUserMailHelper.php b/apps/settings/lib/Mailer/NewUserMailHelper.php index abee7b2e045..4b89a000c55 100644 --- a/apps/settings/lib/Mailer/NewUserMailHelper.php +++ b/apps/settings/lib/Mailer/NewUserMailHelper.php @@ -20,14 +20,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Mailer; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/settings/lib/Middleware/SubadminMiddleware.php b/apps/settings/lib/Middleware/SubadminMiddleware.php index 71d47c71947..d0701dcb620 100644 --- a/apps/settings/lib/Middleware/SubadminMiddleware.php +++ b/apps/settings/lib/Middleware/SubadminMiddleware.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\Settings\Middleware; use OC\AppFramework\Http; diff --git a/apps/settings/lib/Search/AppSearch.php b/apps/settings/lib/Search/AppSearch.php index 5221fc3d1fd..fa3d884e80d 100644 --- a/apps/settings/lib/Search/AppSearch.php +++ b/apps/settings/lib/Search/AppSearch.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Search; use OCP\IL10N; diff --git a/apps/settings/lib/Search/SectionSearch.php b/apps/settings/lib/Search/SectionSearch.php index b9a3c491d12..c1968d7deaf 100644 --- a/apps/settings/lib/Search/SectionSearch.php +++ b/apps/settings/lib/Search/SectionSearch.php @@ -6,7 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2020 Joas Schilling * * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * * @license GNU AGPL version 3 or any later version @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Search; use OCP\IGroupManager; diff --git a/apps/settings/lib/Sections/Admin/Additional.php b/apps/settings/lib/Sections/Admin/Additional.php index 9f0bed8261a..d98312fa35d 100644 --- a/apps/settings/lib/Sections/Admin/Additional.php +++ b/apps/settings/lib/Sections/Admin/Additional.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Sections\Admin; use OCP\IL10N; diff --git a/apps/settings/lib/Sections/Admin/Groupware.php b/apps/settings/lib/Sections/Admin/Groupware.php index 4e027dee3f2..5855c156bf2 100644 --- a/apps/settings/lib/Sections/Admin/Groupware.php +++ b/apps/settings/lib/Sections/Admin/Groupware.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Sections\Admin; use OCP\IL10N; diff --git a/apps/settings/lib/Sections/Admin/Overview.php b/apps/settings/lib/Sections/Admin/Overview.php index 7d4acfff884..e6a6e4b4033 100644 --- a/apps/settings/lib/Sections/Admin/Overview.php +++ b/apps/settings/lib/Sections/Admin/Overview.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Sections\Admin; use OCP\IL10N; diff --git a/apps/settings/lib/Sections/Admin/Security.php b/apps/settings/lib/Sections/Admin/Security.php index b430d07d095..10ddc2658f2 100644 --- a/apps/settings/lib/Sections/Admin/Security.php +++ b/apps/settings/lib/Sections/Admin/Security.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Sections\Admin; use OCP\IL10N; diff --git a/apps/settings/lib/Sections/Admin/Server.php b/apps/settings/lib/Sections/Admin/Server.php index 8a3d2ce67b6..1a573dfbf06 100644 --- a/apps/settings/lib/Sections/Admin/Server.php +++ b/apps/settings/lib/Sections/Admin/Server.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Sections\Admin; use OCP\IL10N; diff --git a/apps/settings/lib/Sections/Admin/Sharing.php b/apps/settings/lib/Sections/Admin/Sharing.php index ad086c5ace8..d4ee762aba1 100644 --- a/apps/settings/lib/Sections/Admin/Sharing.php +++ b/apps/settings/lib/Sections/Admin/Sharing.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Sections\Admin; use OCP\IL10N; diff --git a/apps/settings/lib/Sections/Personal/PersonalInfo.php b/apps/settings/lib/Sections/Personal/PersonalInfo.php index bc0ceb1f965..e92262e91b3 100644 --- a/apps/settings/lib/Sections/Personal/PersonalInfo.php +++ b/apps/settings/lib/Sections/Personal/PersonalInfo.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Sections\Personal; use OCP\IL10N; diff --git a/apps/settings/lib/Sections/Personal/Security.php b/apps/settings/lib/Sections/Personal/Security.php index 0cb47afb580..72c99765266 100644 --- a/apps/settings/lib/Sections/Personal/Security.php +++ b/apps/settings/lib/Sections/Personal/Security.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Sections\Personal; use OCP\IL10N; diff --git a/apps/settings/lib/Sections/Personal/SyncClients.php b/apps/settings/lib/Sections/Personal/SyncClients.php index d99c007b3f0..4730f5e1ead 100644 --- a/apps/settings/lib/Sections/Personal/SyncClients.php +++ b/apps/settings/lib/Sections/Personal/SyncClients.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Sections\Personal; use OCP\IL10N; diff --git a/apps/settings/lib/Settings/Admin/Mail.php b/apps/settings/lib/Settings/Admin/Mail.php index 75d3f4505c1..3a1d8ecce5e 100644 --- a/apps/settings/lib/Settings/Admin/Mail.php +++ b/apps/settings/lib/Settings/Admin/Mail.php @@ -18,14 +18,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Settings\Admin; use OCP\AppFramework\Http\TemplateResponse; diff --git a/apps/settings/lib/Settings/Admin/Overview.php b/apps/settings/lib/Settings/Admin/Overview.php index ed6a6551f29..0aefbb3456f 100644 --- a/apps/settings/lib/Settings/Admin/Overview.php +++ b/apps/settings/lib/Settings/Admin/Overview.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Settings\Admin; use OCP\AppFramework\Http\TemplateResponse; diff --git a/apps/settings/lib/Settings/Admin/Security.php b/apps/settings/lib/Settings/Admin/Security.php index b7f460f1bca..2580c0a3d00 100644 --- a/apps/settings/lib/Settings/Admin/Security.php +++ b/apps/settings/lib/Settings/Admin/Security.php @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Settings\Admin; use OC\Authentication\TwoFactorAuth\MandatoryTwoFactor; diff --git a/apps/settings/lib/Settings/Admin/Server.php b/apps/settings/lib/Settings/Admin/Server.php index 8fb1961719e..00164e14ddd 100644 --- a/apps/settings/lib/Settings/Admin/Server.php +++ b/apps/settings/lib/Settings/Admin/Server.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Settings\Admin; use OCP\AppFramework\Http\TemplateResponse; diff --git a/apps/settings/lib/Settings/Admin/Sharing.php b/apps/settings/lib/Settings/Admin/Sharing.php index 8d759b4ae85..85d3e4d8d40 100644 --- a/apps/settings/lib/Settings/Admin/Sharing.php +++ b/apps/settings/lib/Settings/Admin/Sharing.php @@ -5,10 +5,13 @@ * @author Arthur Schiwon * @author Bjoern Schiessle * @author Christoph Wurst + * @author Joas Schilling * @author Lukas Reschke * @author Morris Jobke + * @author Robin Appelman * @author Roeland Jago Douma * @author Sascha Wiswedel + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -19,14 +22,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Settings\Admin; use OC\Share\Share; diff --git a/apps/settings/lib/Settings/Personal/Additional.php b/apps/settings/lib/Settings/Personal/Additional.php index a3203431cd8..e1696e2424e 100644 --- a/apps/settings/lib/Settings/Personal/Additional.php +++ b/apps/settings/lib/Settings/Personal/Additional.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Settings\Personal; use OCP\AppFramework\Http\TemplateResponse; diff --git a/apps/settings/lib/Settings/Personal/PersonalInfo.php b/apps/settings/lib/Settings/Personal/PersonalInfo.php index dbe68b907f2..94ff867daba 100644 --- a/apps/settings/lib/Settings/Personal/PersonalInfo.php +++ b/apps/settings/lib/Settings/Personal/PersonalInfo.php @@ -9,7 +9,7 @@ declare(strict_types=1); * @author Christoph Wurst * @author Georg Ehrke * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma @@ -25,14 +25,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Settings\Personal; use OCA\FederatedFileSharing\FederatedShareProvider; diff --git a/apps/settings/lib/Settings/Personal/Security/Authtokens.php b/apps/settings/lib/Settings/Personal/Security/Authtokens.php index a0758933525..4963f40347d 100644 --- a/apps/settings/lib/Settings/Personal/Security/Authtokens.php +++ b/apps/settings/lib/Settings/Personal/Security/Authtokens.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Settings\Personal\Security; use OCP\AppFramework\Services\IInitialState; diff --git a/apps/settings/lib/Settings/Personal/Security/Password.php b/apps/settings/lib/Settings/Personal/Security/Password.php index a3a5ae35cea..252311b87ab 100644 --- a/apps/settings/lib/Settings/Personal/Security/Password.php +++ b/apps/settings/lib/Settings/Personal/Security/Password.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Settings\Personal\Security; use OCP\AppFramework\Http\TemplateResponse; diff --git a/apps/settings/lib/Settings/Personal/Security/TwoFactor.php b/apps/settings/lib/Settings/Personal/Security/TwoFactor.php index 61f249a3181..726fc99943a 100644 --- a/apps/settings/lib/Settings/Personal/Security/TwoFactor.php +++ b/apps/settings/lib/Settings/Personal/Security/TwoFactor.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2019, Roeland Jago Douma * + * @author Christoph Wurst * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Settings\Personal\Security; use Exception; diff --git a/apps/settings/lib/Settings/Personal/Security/WebAuthn.php b/apps/settings/lib/Settings/Personal/Security/WebAuthn.php index e3d087a4e06..38241c9a41c 100644 --- a/apps/settings/lib/Settings/Personal/Security/WebAuthn.php +++ b/apps/settings/lib/Settings/Personal/Security/WebAuthn.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Settings\Personal\Security; use OC\Authentication\WebAuthn\Db\PublicKeyCredentialMapper; diff --git a/apps/settings/lib/Settings/Personal/ServerDevNotice.php b/apps/settings/lib/Settings/Personal/ServerDevNotice.php index 03cea34713c..3cb9a3a972f 100644 --- a/apps/settings/lib/Settings/Personal/ServerDevNotice.php +++ b/apps/settings/lib/Settings/Personal/ServerDevNotice.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Settings\Personal; use OCA\Viewer\Event\LoadViewer; diff --git a/apps/settings/lib/SetupChecks/CheckUserCertificates.php b/apps/settings/lib/SetupChecks/CheckUserCertificates.php index cbe6c91996a..eff5b4d7515 100644 --- a/apps/settings/lib/SetupChecks/CheckUserCertificates.php +++ b/apps/settings/lib/SetupChecks/CheckUserCertificates.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\SetupChecks; use OCP\IConfig; diff --git a/apps/settings/lib/SetupChecks/LegacySSEKeyFormat.php b/apps/settings/lib/SetupChecks/LegacySSEKeyFormat.php index 626707c95d8..4814d3fba7c 100644 --- a/apps/settings/lib/SetupChecks/LegacySSEKeyFormat.php +++ b/apps/settings/lib/SetupChecks/LegacySSEKeyFormat.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\SetupChecks; use OCP\IConfig; diff --git a/apps/settings/lib/SetupChecks/PhpDefaultCharset.php b/apps/settings/lib/SetupChecks/PhpDefaultCharset.php index ccddf8e1c32..0ad5e2f56ea 100644 --- a/apps/settings/lib/SetupChecks/PhpDefaultCharset.php +++ b/apps/settings/lib/SetupChecks/PhpDefaultCharset.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\SetupChecks; class PhpDefaultCharset { diff --git a/apps/settings/lib/SetupChecks/PhpOutputBuffering.php b/apps/settings/lib/SetupChecks/PhpOutputBuffering.php index 71210e5cbbf..3bf52695301 100644 --- a/apps/settings/lib/SetupChecks/PhpOutputBuffering.php +++ b/apps/settings/lib/SetupChecks/PhpOutputBuffering.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\SetupChecks; class PhpOutputBuffering { diff --git a/apps/settings/lib/SetupChecks/SupportedDatabase.php b/apps/settings/lib/SetupChecks/SupportedDatabase.php index ba43fb84550..1684567609b 100644 --- a/apps/settings/lib/SetupChecks/SupportedDatabase.php +++ b/apps/settings/lib/SetupChecks/SupportedDatabase.php @@ -5,7 +5,9 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2021 Morris Jobke * + * @author Claas Augner * @author Morris Jobke + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -16,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\SetupChecks; use Doctrine\DBAL\Platforms\MariaDb1027Platform; diff --git a/apps/settings/tests/Activity/SecurityFilterTest.php b/apps/settings/tests/Activity/SecurityFilterTest.php index 4f9d9a87ef1..6903cf5f3c2 100644 --- a/apps/settings/tests/Activity/SecurityFilterTest.php +++ b/apps/settings/tests/Activity/SecurityFilterTest.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Roeland Jago Douma @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Tests; use OCA\Settings\Activity\SecurityFilter; diff --git a/apps/settings/tests/Activity/SecurityProviderTest.php b/apps/settings/tests/Activity/SecurityProviderTest.php index 174f6049b34..4499e470c2b 100644 --- a/apps/settings/tests/Activity/SecurityProviderTest.php +++ b/apps/settings/tests/Activity/SecurityProviderTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Tests; use InvalidArgumentException; diff --git a/apps/settings/tests/Activity/SecuritySettingTest.php b/apps/settings/tests/Activity/SecuritySettingTest.php index e66d3e0dc10..840f228b0c1 100644 --- a/apps/settings/tests/Activity/SecuritySettingTest.php +++ b/apps/settings/tests/Activity/SecuritySettingTest.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Tests; use OCA\Settings\Activity\SecuritySetting; diff --git a/apps/settings/tests/AppInfo/ApplicationTest.php b/apps/settings/tests/AppInfo/ApplicationTest.php index 66994872a3d..c9b44bda987 100644 --- a/apps/settings/tests/AppInfo/ApplicationTest.php +++ b/apps/settings/tests/AppInfo/ApplicationTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Tests\AppInfo; use OCA\Settings\AppInfo\Application; diff --git a/apps/settings/tests/Controller/AdminSettingsControllerTest.php b/apps/settings/tests/Controller/AdminSettingsControllerTest.php index e59e353c5a5..dd4cee956d4 100644 --- a/apps/settings/tests/Controller/AdminSettingsControllerTest.php +++ b/apps/settings/tests/Controller/AdminSettingsControllerTest.php @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Tests\Controller; use OCA\Settings\Controller\AdminSettingsController; diff --git a/apps/settings/tests/Controller/AppSettingsControllerTest.php b/apps/settings/tests/Controller/AppSettingsControllerTest.php index b03a01ebb0a..e273375d76d 100644 --- a/apps/settings/tests/Controller/AppSettingsControllerTest.php +++ b/apps/settings/tests/Controller/AppSettingsControllerTest.php @@ -5,7 +5,7 @@ * * @author Christoph Wurst * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Härtl * @author Lukas Reschke * @author Morris Jobke @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\Settings\Tests\Controller; use OC\App\AppStore\Bundles\BundleFetcher; diff --git a/apps/settings/tests/Controller/AuthSettingsControllerTest.php b/apps/settings/tests/Controller/AuthSettingsControllerTest.php index 252fe94cf83..477d0fcc8f5 100644 --- a/apps/settings/tests/Controller/AuthSettingsControllerTest.php +++ b/apps/settings/tests/Controller/AuthSettingsControllerTest.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace Test\Settings\Controller; use OC\AppFramework\Http; diff --git a/apps/settings/tests/Controller/CheckSetupControllerTest.php b/apps/settings/tests/Controller/CheckSetupControllerTest.php index 73db93e3960..5cfab1ccf2d 100644 --- a/apps/settings/tests/Controller/CheckSetupControllerTest.php +++ b/apps/settings/tests/Controller/CheckSetupControllerTest.php @@ -6,6 +6,7 @@ * @author Christoph Wurst * @author Daniel Kesselberg * @author Joas Schilling + * @author John Molakvoæ * @author Lukas Reschke * @author Michael Weimann * @author Morris Jobke @@ -31,7 +32,6 @@ * along with this program. If not, see * */ - namespace OCA\Settings\Tests\Controller; use bantu\IniGetWrapper\IniGetWrapper; diff --git a/apps/settings/tests/Controller/MailSettingsControllerTest.php b/apps/settings/tests/Controller/MailSettingsControllerTest.php index 912db85d5d9..93fffadcfe1 100644 --- a/apps/settings/tests/Controller/MailSettingsControllerTest.php +++ b/apps/settings/tests/Controller/MailSettingsControllerTest.php @@ -19,14 +19,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Tests\Controller; use OC\Mail\Message; diff --git a/apps/settings/tests/Controller/TwoFactorSettingsControllerTest.php b/apps/settings/tests/Controller/TwoFactorSettingsControllerTest.php index 1d7c7db8924..a19db6a3380 100644 --- a/apps/settings/tests/Controller/TwoFactorSettingsControllerTest.php +++ b/apps/settings/tests/Controller/TwoFactorSettingsControllerTest.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Tests\Controller; use OC\Authentication\TwoFactorAuth\EnforcementState; diff --git a/apps/settings/tests/Controller/UsersControllerTest.php b/apps/settings/tests/Controller/UsersControllerTest.php index a163ef5b7ee..7faca378cdf 100644 --- a/apps/settings/tests/Controller/UsersControllerTest.php +++ b/apps/settings/tests/Controller/UsersControllerTest.php @@ -5,10 +5,12 @@ * @author Arthur Schiwon * @author Bjoern Schiessle * @author Christoph Wurst + * @author Daniel Calviño Sánchez * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Morris Jobke * @author Roeland Jago Douma + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -19,14 +21,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Tests\Controller; use OC\Accounts\AccountManager; diff --git a/apps/settings/tests/Mailer/NewUserMailHelperTest.php b/apps/settings/tests/Mailer/NewUserMailHelperTest.php index 112aed997ce..e4c5cb20973 100644 --- a/apps/settings/tests/Mailer/NewUserMailHelperTest.php +++ b/apps/settings/tests/Mailer/NewUserMailHelperTest.php @@ -24,14 +24,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Tests\Mailer; use OC\Mail\EMailTemplate; diff --git a/apps/settings/tests/Middleware/SubadminMiddlewareTest.php b/apps/settings/tests/Middleware/SubadminMiddlewareTest.php index 12d5cee714a..d943e8ad752 100644 --- a/apps/settings/tests/Middleware/SubadminMiddlewareTest.php +++ b/apps/settings/tests/Middleware/SubadminMiddlewareTest.php @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Tests\Middleware; use OC\AppFramework\Middleware\Security\Exceptions\NotAdminException; diff --git a/apps/settings/tests/Settings/Admin/MailTest.php b/apps/settings/tests/Settings/Admin/MailTest.php index 60a8f39cfa8..b346089e3d4 100644 --- a/apps/settings/tests/Settings/Admin/MailTest.php +++ b/apps/settings/tests/Settings/Admin/MailTest.php @@ -19,14 +19,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Tests\Settings\Admin; use OCA\Settings\Settings\Admin\Mail; diff --git a/apps/settings/tests/Settings/Admin/SecurityTest.php b/apps/settings/tests/Settings/Admin/SecurityTest.php index ac73fc4a318..da4ce62d9cd 100644 --- a/apps/settings/tests/Settings/Admin/SecurityTest.php +++ b/apps/settings/tests/Settings/Admin/SecurityTest.php @@ -18,14 +18,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Tests\Settings\Admin; use OC\Authentication\TwoFactorAuth\MandatoryTwoFactor; diff --git a/apps/settings/tests/Settings/Admin/ServerTest.php b/apps/settings/tests/Settings/Admin/ServerTest.php index f37cb01a40d..c1448c9e987 100644 --- a/apps/settings/tests/Settings/Admin/ServerTest.php +++ b/apps/settings/tests/Settings/Admin/ServerTest.php @@ -22,14 +22,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Tests\Settings\Admin; use OCA\Settings\Settings\Admin\Server; diff --git a/apps/settings/tests/Settings/Admin/SharingTest.php b/apps/settings/tests/Settings/Admin/SharingTest.php index 2703eddcd5c..ff25c717498 100644 --- a/apps/settings/tests/Settings/Admin/SharingTest.php +++ b/apps/settings/tests/Settings/Admin/SharingTest.php @@ -6,10 +6,12 @@ * @author Bjoern Schiessle * @author Christoph Wurst * @author Daniel Kesselberg - * @author Julius Härtl + * @author Joas Schilling * @author Lukas Reschke * @author Morris Jobke + * @author Robin Appelman * @author Roeland Jago Douma + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -20,14 +22,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Tests\Settings\Admin; use OCA\Settings\Settings\Admin\Sharing; diff --git a/apps/settings/tests/Settings/Personal/Security/AuthtokensTest.php b/apps/settings/tests/Settings/Personal/Security/AuthtokensTest.php index f3d92051e46..3ee39c3624c 100644 --- a/apps/settings/tests/Settings/Personal/Security/AuthtokensTest.php +++ b/apps/settings/tests/Settings/Personal/Security/AuthtokensTest.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Tests\Settings\Personal\Security; use OC\Authentication\Token\DefaultToken; diff --git a/apps/settings/tests/Settings/Personal/Security/PasswordTest.php b/apps/settings/tests/Settings/Personal/Security/PasswordTest.php index db766747fe7..2db1effd660 100644 --- a/apps/settings/tests/Settings/Personal/Security/PasswordTest.php +++ b/apps/settings/tests/Settings/Personal/Security/PasswordTest.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Tests\Settings\Personal\Security; use OCA\Settings\Settings\Personal\Security\Password; diff --git a/apps/settings/tests/SetupChecks/PhpDefaultCharsetTest.php b/apps/settings/tests/SetupChecks/PhpDefaultCharsetTest.php index 75756d5246a..eac671a0e13 100644 --- a/apps/settings/tests/SetupChecks/PhpDefaultCharsetTest.php +++ b/apps/settings/tests/SetupChecks/PhpDefaultCharsetTest.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Tests; use OCA\Settings\SetupChecks\PhpDefaultCharset; diff --git a/apps/settings/tests/SetupChecks/PhpOutputBufferingTest.php b/apps/settings/tests/SetupChecks/PhpOutputBufferingTest.php index 9b3de6e0c32..9e0301dcc12 100644 --- a/apps/settings/tests/SetupChecks/PhpOutputBufferingTest.php +++ b/apps/settings/tests/SetupChecks/PhpOutputBufferingTest.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Tests; use OCA\Settings\SetupChecks\PhpOutputBuffering; diff --git a/apps/settings/tests/SetupChecks/SupportedDatabaseTest.php b/apps/settings/tests/SetupChecks/SupportedDatabaseTest.php index de709572261..35c27769e78 100644 --- a/apps/settings/tests/SetupChecks/SupportedDatabaseTest.php +++ b/apps/settings/tests/SetupChecks/SupportedDatabaseTest.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Settings\Tests; use OCA\Settings\SetupChecks\SupportedDatabase; diff --git a/apps/sharebymail/lib/Activity.php b/apps/sharebymail/lib/Activity.php index 23f036c4700..ff012654834 100644 --- a/apps/sharebymail/lib/Activity.php +++ b/apps/sharebymail/lib/Activity.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\ShareByMail; use OCP\Activity\IEvent; diff --git a/apps/sharebymail/lib/AppInfo/Application.php b/apps/sharebymail/lib/AppInfo/Application.php index 42e9f8e6a6d..a279d911a80 100644 --- a/apps/sharebymail/lib/AppInfo/Application.php +++ b/apps/sharebymail/lib/AppInfo/Application.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\ShareByMail\AppInfo; use OCA\ShareByMail\Capabilities; diff --git a/apps/sharebymail/lib/Capabilities.php b/apps/sharebymail/lib/Capabilities.php index c862e4c7017..eda8df9db5e 100644 --- a/apps/sharebymail/lib/Capabilities.php +++ b/apps/sharebymail/lib/Capabilities.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2017 Bjoern Schiessle * * @author Bjoern Schiessle + * @author John Molakvoæ * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -17,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\ShareByMail; use OCP\Capabilities\ICapability; diff --git a/apps/sharebymail/lib/Settings/Admin.php b/apps/sharebymail/lib/Settings/Admin.php index 95dce03e51e..98ed251da9a 100644 --- a/apps/sharebymail/lib/Settings/Admin.php +++ b/apps/sharebymail/lib/Settings/Admin.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2017 Bjoern Schiessle * * @author Bjoern Schiessle + * @author Nicolas SIMIDE <2083596+dems54@users.noreply.github.com> * * @license GNU AGPL version 3 or any later version * @@ -13,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\ShareByMail\Settings; use OCP\AppFramework\Http\TemplateResponse; diff --git a/apps/sharebymail/lib/Settings/SettingsManager.php b/apps/sharebymail/lib/Settings/SettingsManager.php index 8d9e7e92514..0a22e7400f3 100644 --- a/apps/sharebymail/lib/Settings/SettingsManager.php +++ b/apps/sharebymail/lib/Settings/SettingsManager.php @@ -6,6 +6,9 @@ declare(strict_types=1); * @copyright Copyright (c) 2017 Bjoern Schiessle * * @author Bjoern Schiessle + * @author dems54 <2083596+dems54@users.noreply.github.com> + * @author Nicolas SIMIDE <2083596+dems54@users.noreply.github.com> + * @author noiob <8197071+noiob@users.noreply.github.com> * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -17,14 +20,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\ShareByMail\Settings; use OCP\IConfig; diff --git a/apps/sharebymail/lib/ShareByMailProvider.php b/apps/sharebymail/lib/ShareByMailProvider.php index 9d120281c57..b5226850fa4 100644 --- a/apps/sharebymail/lib/ShareByMailProvider.php +++ b/apps/sharebymail/lib/ShareByMailProvider.php @@ -11,12 +11,16 @@ * @author exner104 <59639860+exner104@users.noreply.github.com> * @author Frederic Werner * @author Joas Schilling + * @author John Molakvoæ * @author Lukas Reschke * @author Morris Jobke + * @author Nicolas SIMIDE <2083596+dems54@users.noreply.github.com> * @author Robin Appelman + * @author robottod <83244577+robottod@users.noreply.github.com> * @author Roeland Jago Douma * @author rubo77 * @author Stephan Müller + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * * @license GNU AGPL version 3 or any later version * @@ -27,14 +31,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\ShareByMail; use OC\HintException; diff --git a/apps/sharebymail/tests/CapabilitiesTest.php b/apps/sharebymail/tests/CapabilitiesTest.php index c198648f29a..35b6bb6a919 100644 --- a/apps/sharebymail/tests/CapabilitiesTest.php +++ b/apps/sharebymail/tests/CapabilitiesTest.php @@ -1,8 +1,9 @@ * * @author Christoph Wurst + * @author John Molakvoæ * @author MasterOfDeath * @author Roeland Jago Douma * @@ -15,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\ShareByMail\Tests; use OCA\ShareByMail\Capabilities; diff --git a/apps/sharebymail/tests/ShareByMailProviderTest.php b/apps/sharebymail/tests/ShareByMailProviderTest.php index 065246dbc65..9c3b6525736 100644 --- a/apps/sharebymail/tests/ShareByMailProviderTest.php +++ b/apps/sharebymail/tests/ShareByMailProviderTest.php @@ -7,8 +7,10 @@ * @author Daniel Calviño Sánchez * @author Daniel Kesselberg * @author Joas Schilling + * @author John Molakvoæ * @author Lukas Reschke * @author Morris Jobke + * @author Nicolas SIMIDE <2083596+dems54@users.noreply.github.com> * @author Roeland Jago Douma * @author Stephan Müller * @@ -21,14 +23,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\ShareByMail\Tests; use OC\Mail\Message; diff --git a/apps/systemtags/appinfo/routes.php b/apps/systemtags/appinfo/routes.php index dd4203ceab7..ef92fd91497 100644 --- a/apps/systemtags/appinfo/routes.php +++ b/apps/systemtags/appinfo/routes.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - return [ 'routes' => [ ['name' => 'LastUsed#getLastUsedTagIds', 'url' => '/lastused', 'verb' => 'GET'], diff --git a/apps/systemtags/lib/Activity/Listener.php b/apps/systemtags/lib/Activity/Listener.php index e5354c4a773..3b3d3b49662 100644 --- a/apps/systemtags/lib/Activity/Listener.php +++ b/apps/systemtags/lib/Activity/Listener.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\SystemTags\Activity; use OCP\Activity\IManager; diff --git a/apps/systemtags/lib/Activity/Provider.php b/apps/systemtags/lib/Activity/Provider.php index a9248a91efd..fe1df169d40 100644 --- a/apps/systemtags/lib/Activity/Provider.php +++ b/apps/systemtags/lib/Activity/Provider.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\SystemTags\Activity; use OCP\Activity\IEvent; diff --git a/apps/systemtags/lib/Activity/Setting.php b/apps/systemtags/lib/Activity/Setting.php index 65e35a004ca..0ef6b264c30 100644 --- a/apps/systemtags/lib/Activity/Setting.php +++ b/apps/systemtags/lib/Activity/Setting.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\SystemTags\Activity; use OCP\Activity\ISetting; diff --git a/apps/systemtags/lib/AppInfo/Application.php b/apps/systemtags/lib/AppInfo/Application.php index 15f2a6e6989..b6261298f86 100644 --- a/apps/systemtags/lib/AppInfo/Application.php +++ b/apps/systemtags/lib/AppInfo/Application.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\SystemTags\AppInfo; use OCA\SystemTags\Activity\Listener; diff --git a/apps/systemtags/lib/Controller/LastUsedController.php b/apps/systemtags/lib/Controller/LastUsedController.php index 599aa9e384b..d6016c72136 100644 --- a/apps/systemtags/lib/Controller/LastUsedController.php +++ b/apps/systemtags/lib/Controller/LastUsedController.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\SystemTags\Controller; use OCP\AppFramework\Controller; diff --git a/apps/systemtags/lib/Settings/Admin.php b/apps/systemtags/lib/Settings/Admin.php index d4eaa74f3cd..5a5cf3d49e2 100644 --- a/apps/systemtags/lib/Settings/Admin.php +++ b/apps/systemtags/lib/Settings/Admin.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\SystemTags\Settings; use OCP\AppFramework\Http\TemplateResponse; diff --git a/apps/systemtags/list.php b/apps/systemtags/list.php index c5ba3eb3116..d7ba2c9eed9 100644 --- a/apps/systemtags/list.php +++ b/apps/systemtags/list.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - // WARNING: this should be moved to proper AppFramework handling // Check if we are a user if (!\OC::$server->getUserSession()->isLoggedIn()) { diff --git a/apps/systemtags/tests/Activity/SettingTest.php b/apps/systemtags/tests/Activity/SettingTest.php index a2b32d20985..ea4f174f0a6 100644 --- a/apps/systemtags/tests/Activity/SettingTest.php +++ b/apps/systemtags/tests/Activity/SettingTest.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Morris Jobke @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\SystemTags\Tests\Activity; use OCA\SystemTags\Activity\Setting; diff --git a/apps/systemtags/tests/Settings/AdminTest.php b/apps/systemtags/tests/Settings/AdminTest.php index 172310072b1..a412366bd6b 100644 --- a/apps/systemtags/tests/Settings/AdminTest.php +++ b/apps/systemtags/tests/Settings/AdminTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\SystemTags\Tests\Settings; use OCA\SystemTags\Settings\Admin; diff --git a/apps/testing/appinfo/routes.php b/apps/testing/appinfo/routes.php index 0ab6b42d55f..1ab36a4e826 100644 --- a/apps/testing/appinfo/routes.php +++ b/apps/testing/appinfo/routes.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - return [ 'routes' => [ [ diff --git a/apps/testing/clean_opcode_cache.php b/apps/testing/clean_opcode_cache.php index bada33781cc..c43340d1b2c 100644 --- a/apps/testing/clean_opcode_cache.php +++ b/apps/testing/clean_opcode_cache.php @@ -13,12 +13,11 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - opcache_reset(); diff --git a/apps/testing/lib/AlternativeHomeUserBackend.php b/apps/testing/lib/AlternativeHomeUserBackend.php index 313d86b370e..b6d39cf6b99 100644 --- a/apps/testing/lib/AlternativeHomeUserBackend.php +++ b/apps/testing/lib/AlternativeHomeUserBackend.php @@ -19,7 +19,6 @@ * along with this program. If not, see * */ - namespace OCA\Testing; /** diff --git a/apps/testing/lib/AppInfo/Application.php b/apps/testing/lib/AppInfo/Application.php index e3c2bcebaf0..4bf4b5cb470 100644 --- a/apps/testing/lib/AppInfo/Application.php +++ b/apps/testing/lib/AppInfo/Application.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\Testing\AppInfo; use OCA\Testing\AlternativeHomeUserBackend; diff --git a/apps/testing/lib/Controller/ConfigController.php b/apps/testing/lib/Controller/ConfigController.php index 31d20613a1a..76f1e1a1ee1 100644 --- a/apps/testing/lib/Controller/ConfigController.php +++ b/apps/testing/lib/Controller/ConfigController.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Testing\Controller; use OCP\AppFramework\Http\DataResponse; diff --git a/apps/testing/lib/Controller/LockingController.php b/apps/testing/lib/Controller/LockingController.php index c1fd3423996..808c7c2d3ba 100644 --- a/apps/testing/lib/Controller/LockingController.php +++ b/apps/testing/lib/Controller/LockingController.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\Testing\Controller; use OC\Lock\DBLockingProvider; diff --git a/apps/testing/lib/Controller/RateLimitTestController.php b/apps/testing/lib/Controller/RateLimitTestController.php index 1d7eb5be94c..d9a8fde5c0d 100644 --- a/apps/testing/lib/Controller/RateLimitTestController.php +++ b/apps/testing/lib/Controller/RateLimitTestController.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Testing\Controller; use OCP\AppFramework\Controller; diff --git a/apps/testing/lib/Locking/FakeDBLockingProvider.php b/apps/testing/lib/Locking/FakeDBLockingProvider.php index 5fba9a8a40a..a8a83812749 100644 --- a/apps/testing/lib/Locking/FakeDBLockingProvider.php +++ b/apps/testing/lib/Locking/FakeDBLockingProvider.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\Testing\Locking; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/theming/appinfo/routes.php b/apps/theming/appinfo/routes.php index 41b3f02bbf8..0628ade8032 100644 --- a/apps/theming/appinfo/routes.php +++ b/apps/theming/appinfo/routes.php @@ -20,14 +20,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - return ['routes' => [ [ 'name' => 'Theming#updateStylesheet', diff --git a/apps/theming/lib/AppInfo/Application.php b/apps/theming/lib/AppInfo/Application.php index 2fc752f73a8..0f567b4d0e4 100644 --- a/apps/theming/lib/AppInfo/Application.php +++ b/apps/theming/lib/AppInfo/Application.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming\AppInfo; use OCA\Theming\Capabilities; diff --git a/apps/theming/lib/Capabilities.php b/apps/theming/lib/Capabilities.php index 76352801628..10828619e60 100644 --- a/apps/theming/lib/Capabilities.php +++ b/apps/theming/lib/Capabilities.php @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming; use OCP\Capabilities\IPublicCapability; diff --git a/apps/theming/lib/Command/UpdateConfig.php b/apps/theming/lib/Command/UpdateConfig.php index 001bc2d2d76..3d5840fadd9 100644 --- a/apps/theming/lib/Command/UpdateConfig.php +++ b/apps/theming/lib/Command/UpdateConfig.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming\Command; use OCA\Theming\ImageManager; diff --git a/apps/theming/lib/Controller/IconController.php b/apps/theming/lib/Controller/IconController.php index 66b6affaae0..b9df2e95622 100644 --- a/apps/theming/lib/Controller/IconController.php +++ b/apps/theming/lib/Controller/IconController.php @@ -18,14 +18,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming\Controller; use OC\IntegrityCheck\Helpers\FileAccessHelper; diff --git a/apps/theming/lib/Controller/ThemingController.php b/apps/theming/lib/Controller/ThemingController.php index 5e21ae7b2ed..1638f5bd957 100644 --- a/apps/theming/lib/Controller/ThemingController.php +++ b/apps/theming/lib/Controller/ThemingController.php @@ -28,14 +28,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming\Controller; use OC\Template\SCSSCacher; diff --git a/apps/theming/lib/IconBuilder.php b/apps/theming/lib/IconBuilder.php index 65b7be430ed..36f69e3e59f 100644 --- a/apps/theming/lib/IconBuilder.php +++ b/apps/theming/lib/IconBuilder.php @@ -6,6 +6,7 @@ * @author Jan-Christoph Borchardt * @author Julius Haertl * @author Julius Härtl + * @author Morris Jobke * * @license GNU AGPL version 3 or any later version * @@ -16,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming; use Imagick; diff --git a/apps/theming/lib/ImageManager.php b/apps/theming/lib/ImageManager.php index 001ad680bd8..b5ace6c968e 100644 --- a/apps/theming/lib/ImageManager.php +++ b/apps/theming/lib/ImageManager.php @@ -6,13 +6,14 @@ * @author Daniel Kesselberg * @author Gary Kim * @author Jacob Neplokh - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julien Veyssier * @author Julius Haertl * @author Julius Härtl * @author Michael Weimann * @author Morris Jobke * @author Roeland Jago Douma + * @author ste101 * * @license GNU AGPL version 3 or any later version * @@ -23,14 +24,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming; use OCP\Files\IAppData; diff --git a/apps/theming/lib/Listener/BeforeTemplateRenderedListener.php b/apps/theming/lib/Listener/BeforeTemplateRenderedListener.php index 1d84f4eae83..30ebcb89ac8 100644 --- a/apps/theming/lib/Listener/BeforeTemplateRenderedListener.php +++ b/apps/theming/lib/Listener/BeforeTemplateRenderedListener.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming\Listener; use OCA\Theming\AppInfo\Application; diff --git a/apps/theming/lib/Service/JSDataService.php b/apps/theming/lib/Service/JSDataService.php index 32aae2b2cfc..a6e5d6f8e36 100644 --- a/apps/theming/lib/Service/JSDataService.php +++ b/apps/theming/lib/Service/JSDataService.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming\Service; use OCA\Theming\AppInfo\Application; diff --git a/apps/theming/lib/Settings/Admin.php b/apps/theming/lib/Settings/Admin.php index 6ad8f8551b8..421bb196cb9 100644 --- a/apps/theming/lib/Settings/Admin.php +++ b/apps/theming/lib/Settings/Admin.php @@ -18,14 +18,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming\Settings; use OCA\Theming\ImageManager; diff --git a/apps/theming/lib/Settings/Section.php b/apps/theming/lib/Settings/Section.php index 5cd64d318ca..fe2cc9243bb 100644 --- a/apps/theming/lib/Settings/Section.php +++ b/apps/theming/lib/Settings/Section.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming\Settings; use OCP\IL10N; diff --git a/apps/theming/lib/ThemingDefaults.php b/apps/theming/lib/ThemingDefaults.php index 35ed32c69a3..6e9298bdbcc 100644 --- a/apps/theming/lib/ThemingDefaults.php +++ b/apps/theming/lib/ThemingDefaults.php @@ -11,7 +11,7 @@ * @author Jan-Christoph Borchardt * @author Joachim Bauch * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julien Veyssier * @author Julius Haertl * @author Julius Härtl @@ -31,14 +31,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming; use OCP\App\AppPathNotFoundException; diff --git a/apps/theming/lib/Util.php b/apps/theming/lib/Util.php index f2842711f6d..70b5a00f9ea 100644 --- a/apps/theming/lib/Util.php +++ b/apps/theming/lib/Util.php @@ -19,14 +19,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming; use OCP\App\AppPathNotFoundException; diff --git a/apps/theming/tests/CapabilitiesTest.php b/apps/theming/tests/CapabilitiesTest.php index 1a11421ce1d..41a4a6aa981 100644 --- a/apps/theming/tests/CapabilitiesTest.php +++ b/apps/theming/tests/CapabilitiesTest.php @@ -19,14 +19,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming\Tests; use OCA\Theming\Capabilities; diff --git a/apps/theming/tests/Controller/IconControllerTest.php b/apps/theming/tests/Controller/IconControllerTest.php index a40809855d1..821291427d9 100644 --- a/apps/theming/tests/Controller/IconControllerTest.php +++ b/apps/theming/tests/Controller/IconControllerTest.php @@ -18,14 +18,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming\Tests\Controller; use OC\Files\SimpleFS\SimpleFile; diff --git a/apps/theming/tests/Controller/ThemingControllerTest.php b/apps/theming/tests/Controller/ThemingControllerTest.php index c5ecc08b211..d07444f7c77 100644 --- a/apps/theming/tests/Controller/ThemingControllerTest.php +++ b/apps/theming/tests/Controller/ThemingControllerTest.php @@ -6,7 +6,7 @@ * @author Christoph Wurst * @author Daniel Calviño Sánchez * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Haertl * @author Julius Härtl * @author Kyle Fazzari @@ -24,14 +24,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming\Tests\Controller; use OC\L10N\L10N; diff --git a/apps/theming/tests/IconBuilderTest.php b/apps/theming/tests/IconBuilderTest.php index 542bfcc51bd..a365f653e4c 100644 --- a/apps/theming/tests/IconBuilderTest.php +++ b/apps/theming/tests/IconBuilderTest.php @@ -18,14 +18,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming\Tests; use OC\Files\AppData\AppData; diff --git a/apps/theming/tests/ImageManagerTest.php b/apps/theming/tests/ImageManagerTest.php index 08a8fe821f0..71752e99a2c 100644 --- a/apps/theming/tests/ImageManagerTest.php +++ b/apps/theming/tests/ImageManagerTest.php @@ -18,14 +18,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming\Tests; use OCA\Theming\ImageManager; diff --git a/apps/theming/tests/ServicesTest.php b/apps/theming/tests/ServicesTest.php index 70d8f402afa..fdd49deddd8 100644 --- a/apps/theming/tests/ServicesTest.php +++ b/apps/theming/tests/ServicesTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming\Tests; use OCA\Theming\Capabilities; diff --git a/apps/theming/tests/Settings/AdminTest.php b/apps/theming/tests/Settings/AdminTest.php index e5de7093f8f..50b95fe7e99 100644 --- a/apps/theming/tests/Settings/AdminTest.php +++ b/apps/theming/tests/Settings/AdminTest.php @@ -18,14 +18,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming\Tests\Settings; use OCA\Theming\ImageManager; diff --git a/apps/theming/tests/Settings/SectionTest.php b/apps/theming/tests/Settings/SectionTest.php index 81fb3f07409..496c24b3e52 100644 --- a/apps/theming/tests/Settings/SectionTest.php +++ b/apps/theming/tests/Settings/SectionTest.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming\Tests\Settings; use OCA\Theming\Settings\Section; diff --git a/apps/theming/tests/ThemingDefaultsTest.php b/apps/theming/tests/ThemingDefaultsTest.php index 4db5dad2c0d..c8ef147dc94 100644 --- a/apps/theming/tests/ThemingDefaultsTest.php +++ b/apps/theming/tests/ThemingDefaultsTest.php @@ -8,7 +8,7 @@ * @author Guillaume COMPAGNON * @author Jan-Christoph Borchardt * @author Joas Schilling - * @author John Molakvoæ (skjnldsv) + * @author John Molakvoæ * @author Julius Haertl * @author Julius Härtl * @author Lukas Reschke @@ -25,14 +25,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming\Tests; use OCA\Theming\ImageManager; diff --git a/apps/theming/tests/UtilTest.php b/apps/theming/tests/UtilTest.php index d6fe318cbca..f805d083e27 100644 --- a/apps/theming/tests/UtilTest.php +++ b/apps/theming/tests/UtilTest.php @@ -18,14 +18,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Theming\Tests; use OCA\Theming\Util; diff --git a/apps/twofactor_backupcodes/appinfo/routes.php b/apps/twofactor_backupcodes/appinfo/routes.php index 926c1d55d52..5339cc26e9a 100644 --- a/apps/twofactor_backupcodes/appinfo/routes.php +++ b/apps/twofactor_backupcodes/appinfo/routes.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version @@ -14,7 +16,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/twofactor_backupcodes/lib/Activity/Provider.php b/apps/twofactor_backupcodes/lib/Activity/Provider.php index 37122c33e1b..2d60c8fe3f1 100644 --- a/apps/twofactor_backupcodes/lib/Activity/Provider.php +++ b/apps/twofactor_backupcodes/lib/Activity/Provider.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2016 Christoph Wurst * * @author Christoph Wurst + * @author J0WI * @author Joas Schilling * * @license GNU AGPL version 3 or any later version @@ -17,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Activity; use InvalidArgumentException; diff --git a/apps/twofactor_backupcodes/lib/AppInfo/Application.php b/apps/twofactor_backupcodes/lib/AppInfo/Application.php index 5dce6d3a8ee..28b59ceb0bd 100644 --- a/apps/twofactor_backupcodes/lib/AppInfo/Application.php +++ b/apps/twofactor_backupcodes/lib/AppInfo/Application.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\AppInfo; use OCA\TwoFactorBackupCodes\Event\CodesGenerated; diff --git a/apps/twofactor_backupcodes/lib/BackgroundJob/CheckBackupCodes.php b/apps/twofactor_backupcodes/lib/BackgroundJob/CheckBackupCodes.php index 6ba76b318ab..b1be4927083 100644 --- a/apps/twofactor_backupcodes/lib/BackgroundJob/CheckBackupCodes.php +++ b/apps/twofactor_backupcodes/lib/BackgroundJob/CheckBackupCodes.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\BackgroundJob; use OC\Authentication\TwoFactorAuth\Manager; diff --git a/apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php b/apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php index ec45420299b..51428f9b996 100644 --- a/apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php +++ b/apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\BackgroundJob; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/twofactor_backupcodes/lib/Controller/SettingsController.php b/apps/twofactor_backupcodes/lib/Controller/SettingsController.php index c6a07f6ca5b..113a391aafd 100644 --- a/apps/twofactor_backupcodes/lib/Controller/SettingsController.php +++ b/apps/twofactor_backupcodes/lib/Controller/SettingsController.php @@ -3,7 +3,10 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst + * @author J0WI * @author Joas Schilling * * @license GNU AGPL version 3 or any later version @@ -15,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Controller; use OCA\TwoFactorBackupCodes\Service\BackupCodeStorage; diff --git a/apps/twofactor_backupcodes/lib/Db/BackupCode.php b/apps/twofactor_backupcodes/lib/Db/BackupCode.php index b56ea4fad1c..8fc713b8ef3 100644 --- a/apps/twofactor_backupcodes/lib/Db/BackupCode.php +++ b/apps/twofactor_backupcodes/lib/Db/BackupCode.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version @@ -14,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Db; use OCP\AppFramework\Db\Entity; diff --git a/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php b/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php index 4ef6c97bcd3..592f95da013 100644 --- a/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php +++ b/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php @@ -3,7 +3,10 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst + * @author J0WI * @author Joas Schilling * @author Roeland Jago Douma * @@ -16,14 +19,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Db; use OCP\AppFramework\Db\QBMapper; diff --git a/apps/twofactor_backupcodes/lib/Event/CodesGenerated.php b/apps/twofactor_backupcodes/lib/Event/CodesGenerated.php index c5d05433766..84164ca59d0 100644 --- a/apps/twofactor_backupcodes/lib/Event/CodesGenerated.php +++ b/apps/twofactor_backupcodes/lib/Event/CodesGenerated.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version @@ -14,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Event; use OCP\EventDispatcher\Event; diff --git a/apps/twofactor_backupcodes/lib/Listener/ActivityPublisher.php b/apps/twofactor_backupcodes/lib/Listener/ActivityPublisher.php index 0785b7de42d..764787b5400 100644 --- a/apps/twofactor_backupcodes/lib/Listener/ActivityPublisher.php +++ b/apps/twofactor_backupcodes/lib/Listener/ActivityPublisher.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version @@ -14,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Listener; use BadMethodCallException; diff --git a/apps/twofactor_backupcodes/lib/Listener/ClearNotifications.php b/apps/twofactor_backupcodes/lib/Listener/ClearNotifications.php index 84c94a7b0c8..960f435a4fd 100644 --- a/apps/twofactor_backupcodes/lib/Listener/ClearNotifications.php +++ b/apps/twofactor_backupcodes/lib/Listener/ClearNotifications.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Listener; use OCA\TwoFactorBackupCodes\Event\CodesGenerated; diff --git a/apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.php b/apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.php index f3242aa8c8a..2629cd92dd0 100644 --- a/apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.php +++ b/apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Listener; use OCA\TwoFactorBackupCodes\BackgroundJob\RememberBackupCodesJob; diff --git a/apps/twofactor_backupcodes/lib/Listener/ProviderEnabled.php b/apps/twofactor_backupcodes/lib/Listener/ProviderEnabled.php index d43af2e4590..581602d7262 100644 --- a/apps/twofactor_backupcodes/lib/Listener/ProviderEnabled.php +++ b/apps/twofactor_backupcodes/lib/Listener/ProviderEnabled.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Listener; use OCA\TwoFactorBackupCodes\BackgroundJob\RememberBackupCodesJob; diff --git a/apps/twofactor_backupcodes/lib/Listener/RegistryUpdater.php b/apps/twofactor_backupcodes/lib/Listener/RegistryUpdater.php index 899ed654b6a..d47430095c9 100644 --- a/apps/twofactor_backupcodes/lib/Listener/RegistryUpdater.php +++ b/apps/twofactor_backupcodes/lib/Listener/RegistryUpdater.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version @@ -14,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Listener; use OCA\TwoFactorBackupCodes\Event\CodesGenerated; diff --git a/apps/twofactor_backupcodes/lib/Listener/UserDeleted.php b/apps/twofactor_backupcodes/lib/Listener/UserDeleted.php index b1c9e9b3ea1..f488e48695a 100644 --- a/apps/twofactor_backupcodes/lib/Listener/UserDeleted.php +++ b/apps/twofactor_backupcodes/lib/Listener/UserDeleted.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Listener; use OCA\TwoFactorBackupCodes\Db\BackupCodeMapper; diff --git a/apps/twofactor_backupcodes/lib/Migration/CheckBackupCodes.php b/apps/twofactor_backupcodes/lib/Migration/CheckBackupCodes.php index e43a99b9e0a..0b393e0bc52 100644 --- a/apps/twofactor_backupcodes/lib/Migration/CheckBackupCodes.php +++ b/apps/twofactor_backupcodes/lib/Migration/CheckBackupCodes.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Migration; use OCP\BackgroundJob\IJobList; diff --git a/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170607104347.php b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170607104347.php index ffbb8023007..96c53f8e22f 100644 --- a/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170607104347.php +++ b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170607104347.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Migration; use Doctrine\DBAL\Types\Types; diff --git a/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170607113030.php b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170607113030.php index cfd76fefd00..9c4e2d0e565 100644 --- a/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170607113030.php +++ b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170607113030.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Migration; use OCP\DB\ISchemaWrapper; diff --git a/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170919123342.php b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170919123342.php index 97863583ad2..be6edb000da 100644 --- a/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170919123342.php +++ b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170919123342.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Migration; use Doctrine\DBAL\Types\Type; diff --git a/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170926101419.php b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170926101419.php index 797cde70435..b2abe317ccb 100644 --- a/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170926101419.php +++ b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20170926101419.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Joas Schilling + * * @author Christoph Wurst * @author Joas Schilling * @@ -15,7 +17,7 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License diff --git a/apps/twofactor_backupcodes/lib/Migration/Version1002Date20180821043638.php b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20180821043638.php index 087ba9eb1e1..f38cfc06a97 100644 --- a/apps/twofactor_backupcodes/lib/Migration/Version1002Date20180821043638.php +++ b/apps/twofactor_backupcodes/lib/Migration/Version1002Date20180821043638.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * @author Roeland Jago Douma * @@ -15,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Migration; use Closure; diff --git a/apps/twofactor_backupcodes/lib/Notifications/Notifier.php b/apps/twofactor_backupcodes/lib/Notifications/Notifier.php index bc5f69a1f98..7fc0e668265 100644 --- a/apps/twofactor_backupcodes/lib/Notifications/Notifier.php +++ b/apps/twofactor_backupcodes/lib/Notifications/Notifier.php @@ -18,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Notifications; use OCP\IURLGenerator; diff --git a/apps/twofactor_backupcodes/lib/Provider/BackupCodesProvider.php b/apps/twofactor_backupcodes/lib/Provider/BackupCodesProvider.php index 99fadd04a01..c34497393e8 100644 --- a/apps/twofactor_backupcodes/lib/Provider/BackupCodesProvider.php +++ b/apps/twofactor_backupcodes/lib/Provider/BackupCodesProvider.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * @author Morris Jobke * @author Roeland Jago Douma @@ -16,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Provider; use OC\App\AppManager; diff --git a/apps/twofactor_backupcodes/lib/Service/BackupCodeStorage.php b/apps/twofactor_backupcodes/lib/Service/BackupCodeStorage.php index a1291e52e72..869833dbd46 100644 --- a/apps/twofactor_backupcodes/lib/Service/BackupCodeStorage.php +++ b/apps/twofactor_backupcodes/lib/Service/BackupCodeStorage.php @@ -3,7 +3,10 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst + * @author J0WI * @author Morris Jobke * @author Roeland Jago Douma * @@ -16,14 +19,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Service; use OCA\TwoFactorBackupCodes\Db\BackupCode; diff --git a/apps/twofactor_backupcodes/lib/Settings/Personal.php b/apps/twofactor_backupcodes/lib/Settings/Personal.php index 85c2bdcdf54..3470160a8c8 100644 --- a/apps/twofactor_backupcodes/lib/Settings/Personal.php +++ b/apps/twofactor_backupcodes/lib/Settings/Personal.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Arthur Schiwon + * * @author Arthur Schiwon * @author Christoph Wurst * @author Roeland Jago Douma @@ -16,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Settings; use OCP\Authentication\TwoFactorAuth\IPersonalProviderSettings; diff --git a/apps/twofactor_backupcodes/tests/Db/BackupCodeMapperTest.php b/apps/twofactor_backupcodes/tests/Db/BackupCodeMapperTest.php index d66818742eb..75d2d071c26 100644 --- a/apps/twofactor_backupcodes/tests/Db/BackupCodeMapperTest.php +++ b/apps/twofactor_backupcodes/tests/Db/BackupCodeMapperTest.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * @author Joas Schilling * @author Morris Jobke @@ -17,14 +19,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Db; use OCA\TwoFactorBackupCodes\Db\BackupCode; diff --git a/apps/twofactor_backupcodes/tests/Service/BackupCodeStorageTest.php b/apps/twofactor_backupcodes/tests/Service/BackupCodeStorageTest.php index 70bf5be4f22..6c474ffd9a3 100644 --- a/apps/twofactor_backupcodes/tests/Service/BackupCodeStorageTest.php +++ b/apps/twofactor_backupcodes/tests/Service/BackupCodeStorageTest.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * @author Joas Schilling * @author Morris Jobke @@ -17,14 +19,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Service; use OCA\TwoFactorBackupCodes\Service\BackupCodeStorage; diff --git a/apps/twofactor_backupcodes/tests/Unit/Activity/ProviderTest.php b/apps/twofactor_backupcodes/tests/Unit/Activity/ProviderTest.php index 85923bfe0df..0ff833280db 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Activity/ProviderTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Activity/ProviderTest.php @@ -19,14 +19,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Test\Unit\Activity; use InvalidArgumentException; diff --git a/apps/twofactor_backupcodes/tests/Unit/BackgroundJob/CheckBackupCodeTest.php b/apps/twofactor_backupcodes/tests/Unit/BackgroundJob/CheckBackupCodeTest.php index 43873e6cc89..a14712e2684 100644 --- a/apps/twofactor_backupcodes/tests/Unit/BackgroundJob/CheckBackupCodeTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/BackgroundJob/CheckBackupCodeTest.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\BackgroundJob; use OC\Authentication\TwoFactorAuth\Manager; diff --git a/apps/twofactor_backupcodes/tests/Unit/BackgroundJob/RememberBackupCodesJobTest.php b/apps/twofactor_backupcodes/tests/Unit/BackgroundJob/RememberBackupCodesJobTest.php index 3e5307a2b0f..d8f9e2836a1 100644 --- a/apps/twofactor_backupcodes/tests/Unit/BackgroundJob/RememberBackupCodesJobTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/BackgroundJob/RememberBackupCodesJobTest.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\BackgroundJob; use OCA\TwoFactorBackupCodes\BackgroundJob\RememberBackupCodesJob; diff --git a/apps/twofactor_backupcodes/tests/Unit/Controller/SettingsControllerTest.php b/apps/twofactor_backupcodes/tests/Unit/Controller/SettingsControllerTest.php index e74f08043f7..15b25f3915c 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Controller/SettingsControllerTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Controller/SettingsControllerTest.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * @author Joas Schilling * @author Morris Jobke @@ -17,14 +19,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\Controller; use OCA\TwoFactorBackupCodes\Controller\SettingsController; diff --git a/apps/twofactor_backupcodes/tests/Unit/Event/CodesGeneratedTest.php b/apps/twofactor_backupcodes/tests/Unit/Event/CodesGeneratedTest.php index d4c07e56cd3..c75a2c034c5 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Event/CodesGeneratedTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Event/CodesGeneratedTest.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version @@ -14,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\Event; use OCA\TwoFactorBackupCodes\Event\CodesGenerated; diff --git a/apps/twofactor_backupcodes/tests/Unit/Listener/ActivityPublisherTest.php b/apps/twofactor_backupcodes/tests/Unit/Listener/ActivityPublisherTest.php index 4d93110514a..a001a9694de 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Listener/ActivityPublisherTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Listener/ActivityPublisherTest.php @@ -3,7 +3,10 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst + * @author Joas Schilling * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -15,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\Listener; use OCA\TwoFactorBackupCodes\Event\CodesGenerated; diff --git a/apps/twofactor_backupcodes/tests/Unit/Listener/ClearNotificationsTest.php b/apps/twofactor_backupcodes/tests/Unit/Listener/ClearNotificationsTest.php index 99d11504710..cf9f9a6c123 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Listener/ClearNotificationsTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Listener/ClearNotificationsTest.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\Listener; use OCA\TwoFactorBackupCodes\Event\CodesGenerated; diff --git a/apps/twofactor_backupcodes/tests/Unit/Listener/ProviderDisabledTest.php b/apps/twofactor_backupcodes/tests/Unit/Listener/ProviderDisabledTest.php index 0206cbb09d3..659b16676b0 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Listener/ProviderDisabledTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Listener/ProviderDisabledTest.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\Listener; use OCA\TwoFactorBackupCodes\BackgroundJob\RememberBackupCodesJob; diff --git a/apps/twofactor_backupcodes/tests/Unit/Listener/ProviderEnabledTest.php b/apps/twofactor_backupcodes/tests/Unit/Listener/ProviderEnabledTest.php index 41bb3c55a29..d74fa6e259d 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Listener/ProviderEnabledTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Listener/ProviderEnabledTest.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\Listener; use OCA\TwoFactorBackupCodes\BackgroundJob\RememberBackupCodesJob; diff --git a/apps/twofactor_backupcodes/tests/Unit/Listener/RegistryUpdaterTest.php b/apps/twofactor_backupcodes/tests/Unit/Listener/RegistryUpdaterTest.php index 912a1977d19..da330a971b5 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Listener/RegistryUpdaterTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Listener/RegistryUpdaterTest.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * @author Roeland Jago Douma * @@ -15,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\Listener; use OCA\TwoFactorBackupCodes\Event\CodesGenerated; diff --git a/apps/twofactor_backupcodes/tests/Unit/Migration/CheckBackupCodeTest.php b/apps/twofactor_backupcodes/tests/Unit/Migration/CheckBackupCodeTest.php index 7df80609bf9..cad9719aed2 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Migration/CheckBackupCodeTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Migration/CheckBackupCodeTest.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Roeland Jago Douma + * * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version @@ -14,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\Migration; use OCA\TwoFactorBackupCodes\Migration\CheckBackupCodes; diff --git a/apps/twofactor_backupcodes/tests/Unit/Notification/NotifierTest.php b/apps/twofactor_backupcodes/tests/Unit/Notification/NotifierTest.php index a4338c07a46..d70252b5fbc 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Notification/NotifierTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Notification/NotifierTest.php @@ -20,14 +20,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\Notification; use OCA\TwoFactorBackupCodes\Notifications\Notifier; diff --git a/apps/twofactor_backupcodes/tests/Unit/Provider/BackupCodesProviderTest.php b/apps/twofactor_backupcodes/tests/Unit/Provider/BackupCodesProviderTest.php index 17bb86ff2ef..da768321d57 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Provider/BackupCodesProviderTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Provider/BackupCodesProviderTest.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * @author Morris Jobke * @author Roeland Jago Douma @@ -16,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\Provider; use OC\App\AppManager; diff --git a/apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php b/apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php index 7b57273b53e..1465c351bfd 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php @@ -3,6 +3,8 @@ declare(strict_types=1); /** + * @copyright Copyright (c) 2016 Christoph Wurst + * * @author Christoph Wurst * @author Morris Jobke * @author Roeland Jago Douma @@ -16,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\TwoFactorBackupCodes\Tests\Unit\Service; use OCA\TwoFactorBackupCodes\Db\BackupCode; diff --git a/apps/updatenotification/appinfo/routes.php b/apps/updatenotification/appinfo/routes.php index c7debdb71e0..6bc0562b4eb 100644 --- a/apps/updatenotification/appinfo/routes.php +++ b/apps/updatenotification/appinfo/routes.php @@ -23,7 +23,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - return [ 'routes' => [ ['name' => 'Admin#createCredentials', 'url' => '/credentials', 'verb' => 'GET'], diff --git a/apps/updatenotification/lib/AppInfo/Application.php b/apps/updatenotification/lib/AppInfo/Application.php index 42c725caf8c..3290b88dcf9 100644 --- a/apps/updatenotification/lib/AppInfo/Application.php +++ b/apps/updatenotification/lib/AppInfo/Application.php @@ -9,6 +9,7 @@ declare(strict_types=1); * @author Joas Schilling * @author Lukas Reschke * @author Morris Jobke + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -19,14 +20,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\UpdateNotification\AppInfo; use OCA\UpdateNotification\Notification\Notifier; diff --git a/apps/updatenotification/lib/Command/Check.php b/apps/updatenotification/lib/Command/Check.php index 900481383f3..7126a6b50b0 100644 --- a/apps/updatenotification/lib/Command/Check.php +++ b/apps/updatenotification/lib/Command/Check.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2018, Tobia De Koninck (tobia@ledfan.be) * * @author Christoph Wurst + * @author J0WI * @author Joas Schilling * @author Tobia De Koninck * @@ -18,14 +19,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\UpdateNotification\Command; use OC\App\AppManager; diff --git a/apps/updatenotification/lib/Controller/APIController.php b/apps/updatenotification/lib/Controller/APIController.php index e2c720cdc09..b4c304a6120 100644 --- a/apps/updatenotification/lib/Controller/APIController.php +++ b/apps/updatenotification/lib/Controller/APIController.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\UpdateNotification\Controller; use OC\App\AppStore\Fetcher\AppFetcher; diff --git a/apps/updatenotification/lib/Controller/AdminController.php b/apps/updatenotification/lib/Controller/AdminController.php index 502f0fa5eb5..b13ba66efd5 100644 --- a/apps/updatenotification/lib/Controller/AdminController.php +++ b/apps/updatenotification/lib/Controller/AdminController.php @@ -8,6 +8,7 @@ declare(strict_types=1); * @author Joas Schilling * @author Lukas Reschke * @author Morris Jobke + * @author Vincent Petry * * @license AGPL-3.0 * @@ -24,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification\Controller; use OCA\UpdateNotification\ResetTokenBackgroundJob; diff --git a/apps/updatenotification/lib/Notification/BackgroundJob.php b/apps/updatenotification/lib/Notification/BackgroundJob.php index a8473acf8ea..be02c9fa686 100644 --- a/apps/updatenotification/lib/Notification/BackgroundJob.php +++ b/apps/updatenotification/lib/Notification/BackgroundJob.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification\Notification; use OC\BackgroundJob\TimedJob; diff --git a/apps/updatenotification/lib/Notification/Notifier.php b/apps/updatenotification/lib/Notification/Notifier.php index c7963a04ea6..787a43b2db8 100644 --- a/apps/updatenotification/lib/Notification/Notifier.php +++ b/apps/updatenotification/lib/Notification/Notifier.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification\Notification; use OCP\IConfig; diff --git a/apps/updatenotification/lib/ResetTokenBackgroundJob.php b/apps/updatenotification/lib/ResetTokenBackgroundJob.php index 2d83e7f64d5..96a50c5ff7f 100644 --- a/apps/updatenotification/lib/ResetTokenBackgroundJob.php +++ b/apps/updatenotification/lib/ResetTokenBackgroundJob.php @@ -24,7 +24,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification; use OC\BackgroundJob\TimedJob; diff --git a/apps/updatenotification/lib/Settings/Admin.php b/apps/updatenotification/lib/Settings/Admin.php index 737484fcb6b..880b43906eb 100644 --- a/apps/updatenotification/lib/Settings/Admin.php +++ b/apps/updatenotification/lib/Settings/Admin.php @@ -10,6 +10,7 @@ declare(strict_types=1); * @author Joas Schilling * @author Julius Härtl * @author Morris Jobke + * @author Vincent Petry * * @license AGPL-3.0 * @@ -26,7 +27,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification\Settings; use OCA\UpdateNotification\UpdateChecker; diff --git a/apps/updatenotification/lib/UpdateChecker.php b/apps/updatenotification/lib/UpdateChecker.php index 8caefd180ce..40bf784e605 100644 --- a/apps/updatenotification/lib/UpdateChecker.php +++ b/apps/updatenotification/lib/UpdateChecker.php @@ -26,7 +26,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification; use OC\Updater\ChangesCheck; diff --git a/apps/updatenotification/tests/Controller/AdminControllerTest.php b/apps/updatenotification/tests/Controller/AdminControllerTest.php index 0176301db46..836dc25f4aa 100644 --- a/apps/updatenotification/tests/Controller/AdminControllerTest.php +++ b/apps/updatenotification/tests/Controller/AdminControllerTest.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification\Tests\Controller; use OCA\UpdateNotification\Controller\AdminController; diff --git a/apps/updatenotification/tests/Notification/BackgroundJobTest.php b/apps/updatenotification/tests/Notification/BackgroundJobTest.php index 1d94fba29ed..43b22728d28 100644 --- a/apps/updatenotification/tests/Notification/BackgroundJobTest.php +++ b/apps/updatenotification/tests/Notification/BackgroundJobTest.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification\Tests\Notification; use OC\Installer; diff --git a/apps/updatenotification/tests/Notification/NotifierTest.php b/apps/updatenotification/tests/Notification/NotifierTest.php index 19500438f3b..f5d98e88e23 100644 --- a/apps/updatenotification/tests/Notification/NotifierTest.php +++ b/apps/updatenotification/tests/Notification/NotifierTest.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification\Tests\Notification; use OCA\UpdateNotification\Notification\Notifier; diff --git a/apps/updatenotification/tests/ResetTokenBackgroundJobTest.php b/apps/updatenotification/tests/ResetTokenBackgroundJobTest.php index f9d09e0ad3f..129ba370980 100644 --- a/apps/updatenotification/tests/ResetTokenBackgroundJobTest.php +++ b/apps/updatenotification/tests/ResetTokenBackgroundJobTest.php @@ -25,7 +25,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification\Tests; use OCA\UpdateNotification\ResetTokenBackgroundJob; diff --git a/apps/updatenotification/tests/Settings/AdminTest.php b/apps/updatenotification/tests/Settings/AdminTest.php index e8e82391f96..186c5a09070 100644 --- a/apps/updatenotification/tests/Settings/AdminTest.php +++ b/apps/updatenotification/tests/Settings/AdminTest.php @@ -10,6 +10,7 @@ declare(strict_types=1); * @author Julius Härtl * @author Morris Jobke * @author Roeland Jago Douma + * @author Vincent Petry * * @license AGPL-3.0 * @@ -26,7 +27,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification\Tests\Settings; use OCA\UpdateNotification\Settings\Admin; diff --git a/apps/updatenotification/tests/UpdateCheckerTest.php b/apps/updatenotification/tests/UpdateCheckerTest.php index c0237673d7e..778b747e1fc 100644 --- a/apps/updatenotification/tests/UpdateCheckerTest.php +++ b/apps/updatenotification/tests/UpdateCheckerTest.php @@ -27,7 +27,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - namespace OCA\UpdateNotification\Tests; use OC\Updater\ChangesCheck; diff --git a/apps/user_ldap/ajax/clearMappings.php b/apps/user_ldap/ajax/clearMappings.php index b485d62dead..39462f334c9 100644 --- a/apps/user_ldap/ajax/clearMappings.php +++ b/apps/user_ldap/ajax/clearMappings.php @@ -6,7 +6,6 @@ * @author Christopher Schäpers * @author Christoph Wurst * @author Lukas Reschke - * @author Morris Jobke * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - use OCA\User_LDAP\Mapping\UserMapping; use OCA\User_LDAP\Mapping\GroupMapping; diff --git a/apps/user_ldap/ajax/deleteConfiguration.php b/apps/user_ldap/ajax/deleteConfiguration.php index 0f3e28a33f3..82bfb6de82a 100644 --- a/apps/user_ldap/ajax/deleteConfiguration.php +++ b/apps/user_ldap/ajax/deleteConfiguration.php @@ -7,7 +7,6 @@ * @author Christoph Wurst * @author Joas Schilling * @author Lukas Reschke - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @@ -26,7 +25,6 @@ * along with this program. If not, see * */ - // Check user and app status \OC_JSON::checkAdminUser(); \OC_JSON::checkAppEnabled('user_ldap'); diff --git a/apps/user_ldap/ajax/getConfiguration.php b/apps/user_ldap/ajax/getConfiguration.php index e3181d9c7f5..b541dbfbea5 100644 --- a/apps/user_ldap/ajax/getConfiguration.php +++ b/apps/user_ldap/ajax/getConfiguration.php @@ -7,7 +7,6 @@ * @author Joas Schilling * @author Juan Pablo Villafáñez * @author Lukas Reschke - * @author Morris Jobke * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -25,7 +24,6 @@ * along with this program. If not, see * */ - // Check user and app status \OC_JSON::checkAdminUser(); \OC_JSON::checkAppEnabled('user_ldap'); diff --git a/apps/user_ldap/ajax/getNewServerConfigPrefix.php b/apps/user_ldap/ajax/getNewServerConfigPrefix.php index ec38fbb8ff0..d2194d5ceb7 100644 --- a/apps/user_ldap/ajax/getNewServerConfigPrefix.php +++ b/apps/user_ldap/ajax/getNewServerConfigPrefix.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - // Check user and app status \OC_JSON::checkAdminUser(); \OC_JSON::checkAppEnabled('user_ldap'); diff --git a/apps/user_ldap/ajax/setConfiguration.php b/apps/user_ldap/ajax/setConfiguration.php index 08d3680187b..93717b7d114 100644 --- a/apps/user_ldap/ajax/setConfiguration.php +++ b/apps/user_ldap/ajax/setConfiguration.php @@ -6,7 +6,6 @@ * @author Christoph Wurst * @author Joas Schilling * @author Lukas Reschke - * @author Morris Jobke * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - // Check user and app status \OC_JSON::checkAdminUser(); \OC_JSON::checkAppEnabled('user_ldap'); diff --git a/apps/user_ldap/ajax/testConfiguration.php b/apps/user_ldap/ajax/testConfiguration.php index 22cdea388c1..a5f41e93a92 100644 --- a/apps/user_ldap/ajax/testConfiguration.php +++ b/apps/user_ldap/ajax/testConfiguration.php @@ -6,7 +6,6 @@ * @author Christoph Wurst * @author Joas Schilling * @author Juan Pablo Villafáñez - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @author Thomas Müller @@ -26,7 +25,6 @@ * along with this program. If not, see * */ - // Check user and app status \OC_JSON::checkAdminUser(); \OC_JSON::checkAppEnabled('user_ldap'); diff --git a/apps/user_ldap/ajax/wizard.php b/apps/user_ldap/ajax/wizard.php index 103ba3cd384..c65ae23cd3b 100644 --- a/apps/user_ldap/ajax/wizard.php +++ b/apps/user_ldap/ajax/wizard.php @@ -7,7 +7,6 @@ * @author Joas Schilling * @author Juan Pablo Villafáñez * @author Lukas Reschke - * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @author Roger Szabo @@ -27,7 +26,6 @@ * along with this program. If not, see * */ - // Check user and app status \OC_JSON::checkAdminUser(); \OC_JSON::checkAppEnabled('user_ldap'); diff --git a/apps/user_ldap/appinfo/routes.php b/apps/user_ldap/appinfo/routes.php index 510180edfdc..486be2b4389 100644 --- a/apps/user_ldap/appinfo/routes.php +++ b/apps/user_ldap/appinfo/routes.php @@ -9,7 +9,6 @@ declare(strict_types=1); * @author Christoph Wurst * @author Joas Schilling * @author Lukas Reschke - * @author Morris Jobke * @author Roger Szabo * * @license AGPL-3.0 @@ -27,8 +26,6 @@ declare(strict_types=1); * along with this program. If not, see * */ - -/** @var $this \OCP\Route\IRouter */ $this->create('user_ldap_ajax_clearMappings', 'apps/user_ldap/ajax/clearMappings.php') ->actionInclude('user_ldap/ajax/clearMappings.php'); $this->create('user_ldap_ajax_deleteConfiguration', 'apps/user_ldap/ajax/deleteConfiguration.php') diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php index b7c9b486668..47cecd1bf7d 100644 --- a/apps/user_ldap/lib/Access.php +++ b/apps/user_ldap/lib/Access.php @@ -44,7 +44,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; use DomainException; diff --git a/apps/user_ldap/lib/AccessFactory.php b/apps/user_ldap/lib/AccessFactory.php index 96f2655f046..42869ebb24c 100644 --- a/apps/user_ldap/lib/AccessFactory.php +++ b/apps/user_ldap/lib/AccessFactory.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP; use OCA\User_LDAP\User\Manager; diff --git a/apps/user_ldap/lib/AppInfo/Application.php b/apps/user_ldap/lib/AppInfo/Application.php index 22bde27b728..8c48682eddb 100644 --- a/apps/user_ldap/lib/AppInfo/Application.php +++ b/apps/user_ldap/lib/AppInfo/Application.php @@ -5,6 +5,7 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Morris Jobke + * @author Roeland Jago Douma * @author Roger Szabo * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\AppInfo; use Closure; diff --git a/apps/user_ldap/lib/BackendUtility.php b/apps/user_ldap/lib/BackendUtility.php index a4eb739ab66..4afcb6799d8 100644 --- a/apps/user_ldap/lib/BackendUtility.php +++ b/apps/user_ldap/lib/BackendUtility.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; abstract class BackendUtility { diff --git a/apps/user_ldap/lib/Command/CheckUser.php b/apps/user_ldap/lib/Command/CheckUser.php index 5314cac365a..022662d35c0 100644 --- a/apps/user_ldap/lib/Command/CheckUser.php +++ b/apps/user_ldap/lib/Command/CheckUser.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Command; use OCA\User_LDAP\Helper; diff --git a/apps/user_ldap/lib/Command/CreateEmptyConfig.php b/apps/user_ldap/lib/Command/CreateEmptyConfig.php index 4d88bf80c5e..8b1736e3a53 100644 --- a/apps/user_ldap/lib/Command/CreateEmptyConfig.php +++ b/apps/user_ldap/lib/Command/CreateEmptyConfig.php @@ -6,7 +6,6 @@ * @author Christoph Wurst * @author Joas Schilling * @author Martin Konrad - * @author Morris Jobke * * @license AGPL-3.0 * @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Command; use OCA\User_LDAP\Configuration; diff --git a/apps/user_ldap/lib/Command/DeleteConfig.php b/apps/user_ldap/lib/Command/DeleteConfig.php index c76ba6f296b..707fd455611 100644 --- a/apps/user_ldap/lib/Command/DeleteConfig.php +++ b/apps/user_ldap/lib/Command/DeleteConfig.php @@ -6,7 +6,6 @@ * @author Christoph Wurst * @author Joas Schilling * @author Martin Konrad - * @author Morris Jobke * * @license AGPL-3.0 * @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Command; use OCA\User_LDAP\Helper; diff --git a/apps/user_ldap/lib/Command/ResetUser.php b/apps/user_ldap/lib/Command/ResetUser.php index 2daccdb6dcc..854481fc0d1 100644 --- a/apps/user_ldap/lib/Command/ResetUser.php +++ b/apps/user_ldap/lib/Command/ResetUser.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Command; use OCA\User_LDAP\User\DeletedUsersIndex; diff --git a/apps/user_ldap/lib/Command/Search.php b/apps/user_ldap/lib/Command/Search.php index b8f2d885299..bba37e4a6ca 100644 --- a/apps/user_ldap/lib/Command/Search.php +++ b/apps/user_ldap/lib/Command/Search.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Command; use OCA\User_LDAP\Group_Proxy; diff --git a/apps/user_ldap/lib/Command/SetConfig.php b/apps/user_ldap/lib/Command/SetConfig.php index 4b20ad65e9f..2b487787c8a 100644 --- a/apps/user_ldap/lib/Command/SetConfig.php +++ b/apps/user_ldap/lib/Command/SetConfig.php @@ -5,7 +5,6 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling - * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller * @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Command; use OCA\User_LDAP\Configuration; diff --git a/apps/user_ldap/lib/Command/ShowConfig.php b/apps/user_ldap/lib/Command/ShowConfig.php index 6b285eb8afc..4997d9737a5 100644 --- a/apps/user_ldap/lib/Command/ShowConfig.php +++ b/apps/user_ldap/lib/Command/ShowConfig.php @@ -4,10 +4,9 @@ * * @author Arthur Schiwon * @author Christoph Wurst - * @author Daniel Kesselberg * @author Joas Schilling + * @author Johannes Leuker * @author Laurens Post - * @author Morris Jobke * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -25,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Command; use OC\Core\Command\Base; diff --git a/apps/user_ldap/lib/Command/ShowRemnants.php b/apps/user_ldap/lib/Command/ShowRemnants.php index 2d14ff5b06e..55d930dead4 100644 --- a/apps/user_ldap/lib/Command/ShowRemnants.php +++ b/apps/user_ldap/lib/Command/ShowRemnants.php @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Command; use OCA\User_LDAP\User\DeletedUsersIndex; diff --git a/apps/user_ldap/lib/Command/TestConfig.php b/apps/user_ldap/lib/Command/TestConfig.php index e83befe6f30..fa3d5e83fbb 100644 --- a/apps/user_ldap/lib/Command/TestConfig.php +++ b/apps/user_ldap/lib/Command/TestConfig.php @@ -5,7 +5,6 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling - * @author Morris Jobke * @author Roeland Jago Douma * @author Thomas Müller * @@ -24,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Command; use OCA\User_LDAP\Connection; diff --git a/apps/user_ldap/lib/Configuration.php b/apps/user_ldap/lib/Configuration.php index 134f8551f7d..ab5aa23f98d 100644 --- a/apps/user_ldap/lib/Configuration.php +++ b/apps/user_ldap/lib/Configuration.php @@ -32,7 +32,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; /** diff --git a/apps/user_ldap/lib/Connection.php b/apps/user_ldap/lib/Connection.php index 6ba21c6de2c..3c4cf7001a2 100644 --- a/apps/user_ldap/lib/Connection.php +++ b/apps/user_ldap/lib/Connection.php @@ -34,7 +34,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; use OC\ServerNotAvailableException; diff --git a/apps/user_ldap/lib/ConnectionFactory.php b/apps/user_ldap/lib/ConnectionFactory.php index 48275ff8c3c..cf2bacebc85 100644 --- a/apps/user_ldap/lib/ConnectionFactory.php +++ b/apps/user_ldap/lib/ConnectionFactory.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP; class ConnectionFactory { diff --git a/apps/user_ldap/lib/Controller/ConfigAPIController.php b/apps/user_ldap/lib/Controller/ConfigAPIController.php index b96aee291d5..cf09c6acd06 100644 --- a/apps/user_ldap/lib/Controller/ConfigAPIController.php +++ b/apps/user_ldap/lib/Controller/ConfigAPIController.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Controller; use OC\CapabilitiesManager; diff --git a/apps/user_ldap/lib/Controller/RenewPasswordController.php b/apps/user_ldap/lib/Controller/RenewPasswordController.php index 94d180df6c8..eb8b19192c3 100644 --- a/apps/user_ldap/lib/Controller/RenewPasswordController.php +++ b/apps/user_ldap/lib/Controller/RenewPasswordController.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Controller; use OC\HintException; diff --git a/apps/user_ldap/lib/Events/GroupBackendRegistered.php b/apps/user_ldap/lib/Events/GroupBackendRegistered.php index 6f620cb4e57..e0302b87b1f 100644 --- a/apps/user_ldap/lib/Events/GroupBackendRegistered.php +++ b/apps/user_ldap/lib/Events/GroupBackendRegistered.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Events; use OCA\User_LDAP\GroupPluginManager; diff --git a/apps/user_ldap/lib/Events/UserBackendRegistered.php b/apps/user_ldap/lib/Events/UserBackendRegistered.php index 07b6060cb2b..91743089ccf 100644 --- a/apps/user_ldap/lib/Events/UserBackendRegistered.php +++ b/apps/user_ldap/lib/Events/UserBackendRegistered.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Events; use OCA\User_LDAP\IUserLDAP; diff --git a/apps/user_ldap/lib/Exceptions/AttributeNotSet.php b/apps/user_ldap/lib/Exceptions/AttributeNotSet.php index faa617efd13..63e255b85d6 100644 --- a/apps/user_ldap/lib/Exceptions/AttributeNotSet.php +++ b/apps/user_ldap/lib/Exceptions/AttributeNotSet.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Exceptions; class AttributeNotSet extends \RuntimeException { diff --git a/apps/user_ldap/lib/Exceptions/ConstraintViolationException.php b/apps/user_ldap/lib/Exceptions/ConstraintViolationException.php index 46cae91e2c7..912d6039a60 100644 --- a/apps/user_ldap/lib/Exceptions/ConstraintViolationException.php +++ b/apps/user_ldap/lib/Exceptions/ConstraintViolationException.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Exceptions; class ConstraintViolationException extends \Exception { diff --git a/apps/user_ldap/lib/Exceptions/NoMoreResults.php b/apps/user_ldap/lib/Exceptions/NoMoreResults.php index cf04a155bd9..26dc4a58992 100644 --- a/apps/user_ldap/lib/Exceptions/NoMoreResults.php +++ b/apps/user_ldap/lib/Exceptions/NoMoreResults.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Exceptions; class NoMoreResults extends \Exception { diff --git a/apps/user_ldap/lib/Exceptions/NotOnLDAP.php b/apps/user_ldap/lib/Exceptions/NotOnLDAP.php index bd59d4956c2..30a82106655 100644 --- a/apps/user_ldap/lib/Exceptions/NotOnLDAP.php +++ b/apps/user_ldap/lib/Exceptions/NotOnLDAP.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Exceptions; class NotOnLDAP extends \Exception { diff --git a/apps/user_ldap/lib/FilesystemHelper.php b/apps/user_ldap/lib/FilesystemHelper.php index 6a52afcdec1..0596b109deb 100644 --- a/apps/user_ldap/lib/FilesystemHelper.php +++ b/apps/user_ldap/lib/FilesystemHelper.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; /** diff --git a/apps/user_ldap/lib/GroupPluginManager.php b/apps/user_ldap/lib/GroupPluginManager.php index 56c4aab9f3b..d23e9d4d443 100644 --- a/apps/user_ldap/lib/GroupPluginManager.php +++ b/apps/user_ldap/lib/GroupPluginManager.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP; use OCP\GroupInterface; diff --git a/apps/user_ldap/lib/Group_LDAP.php b/apps/user_ldap/lib/Group_LDAP.php index f816279fec3..ac77dcc930e 100644 --- a/apps/user_ldap/lib/Group_LDAP.php +++ b/apps/user_ldap/lib/Group_LDAP.php @@ -40,7 +40,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; use Closure; diff --git a/apps/user_ldap/lib/Group_Proxy.php b/apps/user_ldap/lib/Group_Proxy.php index 0078f0803c0..3f9bb9013eb 100644 --- a/apps/user_ldap/lib/Group_Proxy.php +++ b/apps/user_ldap/lib/Group_Proxy.php @@ -6,6 +6,7 @@ * @author Christopher Schäpers * @author Christoph Wurst * @author Joas Schilling + * @author Johannes Leuker * @author Morris Jobke * @author Robin McCorkell * @author Vinicius Cubas Brand @@ -25,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; use OCP\Group\Backend\INamedBackend; diff --git a/apps/user_ldap/lib/Handler/ExtStorageConfigHandler.php b/apps/user_ldap/lib/Handler/ExtStorageConfigHandler.php index 483dade8566..0d3c5b8f3f3 100644 --- a/apps/user_ldap/lib/Handler/ExtStorageConfigHandler.php +++ b/apps/user_ldap/lib/Handler/ExtStorageConfigHandler.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Handler; use OCA\Files_External\Config\IConfigHandler; diff --git a/apps/user_ldap/lib/Helper.php b/apps/user_ldap/lib/Helper.php index f079345d23e..650755842b6 100644 --- a/apps/user_ldap/lib/Helper.php +++ b/apps/user_ldap/lib/Helper.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; use OC\Cache\CappedMemoryCache; diff --git a/apps/user_ldap/lib/IGroupLDAP.php b/apps/user_ldap/lib/IGroupLDAP.php index c84b899f5c0..33636dd8f55 100644 --- a/apps/user_ldap/lib/IGroupLDAP.php +++ b/apps/user_ldap/lib/IGroupLDAP.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP; interface IGroupLDAP { diff --git a/apps/user_ldap/lib/ILDAPGroupPlugin.php b/apps/user_ldap/lib/ILDAPGroupPlugin.php index 3c9baeab65c..20cff50e801 100644 --- a/apps/user_ldap/lib/ILDAPGroupPlugin.php +++ b/apps/user_ldap/lib/ILDAPGroupPlugin.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP; interface ILDAPGroupPlugin { diff --git a/apps/user_ldap/lib/ILDAPUserPlugin.php b/apps/user_ldap/lib/ILDAPUserPlugin.php index e4858d0688f..28754a7eaaf 100644 --- a/apps/user_ldap/lib/ILDAPUserPlugin.php +++ b/apps/user_ldap/lib/ILDAPUserPlugin.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP; interface ILDAPUserPlugin { diff --git a/apps/user_ldap/lib/ILDAPWrapper.php b/apps/user_ldap/lib/ILDAPWrapper.php index fd63193116a..c82df09d234 100644 --- a/apps/user_ldap/lib/ILDAPWrapper.php +++ b/apps/user_ldap/lib/ILDAPWrapper.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; interface ILDAPWrapper { diff --git a/apps/user_ldap/lib/IUserLDAP.php b/apps/user_ldap/lib/IUserLDAP.php index 73ab720cf98..201bbfd75a2 100644 --- a/apps/user_ldap/lib/IUserLDAP.php +++ b/apps/user_ldap/lib/IUserLDAP.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP; interface IUserLDAP { diff --git a/apps/user_ldap/lib/Jobs/CleanUp.php b/apps/user_ldap/lib/Jobs/CleanUp.php index 19973119eaf..ee6879d452f 100644 --- a/apps/user_ldap/lib/Jobs/CleanUp.php +++ b/apps/user_ldap/lib/Jobs/CleanUp.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Jobs; use OC\BackgroundJob\TimedJob; diff --git a/apps/user_ldap/lib/Jobs/Sync.php b/apps/user_ldap/lib/Jobs/Sync.php index fed8910b2e5..ea5abbf080c 100644 --- a/apps/user_ldap/lib/Jobs/Sync.php +++ b/apps/user_ldap/lib/Jobs/Sync.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Jobs; use OC\BackgroundJob\TimedJob; diff --git a/apps/user_ldap/lib/Jobs/UpdateGroups.php b/apps/user_ldap/lib/Jobs/UpdateGroups.php index 6a57540e7b7..c2b43a3cf52 100644 --- a/apps/user_ldap/lib/Jobs/UpdateGroups.php +++ b/apps/user_ldap/lib/Jobs/UpdateGroups.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Jobs; use OC\BackgroundJob\TimedJob; diff --git a/apps/user_ldap/lib/LDAP.php b/apps/user_ldap/lib/LDAP.php index 6586484d7ce..7210977e0e4 100644 --- a/apps/user_ldap/lib/LDAP.php +++ b/apps/user_ldap/lib/LDAP.php @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; use OC\ServerNotAvailableException; diff --git a/apps/user_ldap/lib/LDAPProvider.php b/apps/user_ldap/lib/LDAPProvider.php index c63bca9724a..1d2354026d6 100644 --- a/apps/user_ldap/lib/LDAPProvider.php +++ b/apps/user_ldap/lib/LDAPProvider.php @@ -4,6 +4,7 @@ * * @author Arthur Schiwon * @author Christoph Wurst + * @author Robin Appelman * @author Roeland Jago Douma * @author Roger Szabo * @author root @@ -18,14 +19,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP; use OCA\User_LDAP\User\DeletedUsersIndex; diff --git a/apps/user_ldap/lib/LDAPProviderFactory.php b/apps/user_ldap/lib/LDAPProviderFactory.php index d70e45c6a96..13887921603 100644 --- a/apps/user_ldap/lib/LDAPProviderFactory.php +++ b/apps/user_ldap/lib/LDAPProviderFactory.php @@ -3,8 +3,8 @@ * @copyright Copyright (c) 2016, Roger Szabo (roger.szabo@web.de) * * @author Arthur Schiwon + * @author Robin Appelman * @author Roeland Jago Douma - * @author Roger Szabo * @author root * * @license GNU AGPL version 3 or any later version @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP; use OCP\IServerContainer; diff --git a/apps/user_ldap/lib/LDAPUtility.php b/apps/user_ldap/lib/LDAPUtility.php index 7fea8320739..0b16f74333b 100644 --- a/apps/user_ldap/lib/LDAPUtility.php +++ b/apps/user_ldap/lib/LDAPUtility.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; abstract class LDAPUtility { diff --git a/apps/user_ldap/lib/LogWrapper.php b/apps/user_ldap/lib/LogWrapper.php index 6543fc34c7e..e03378802d3 100644 --- a/apps/user_ldap/lib/LogWrapper.php +++ b/apps/user_ldap/lib/LogWrapper.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; /** diff --git a/apps/user_ldap/lib/Mapping/AbstractMapping.php b/apps/user_ldap/lib/Mapping/AbstractMapping.php index dcff88de008..ae881f9dc17 100644 --- a/apps/user_ldap/lib/Mapping/AbstractMapping.php +++ b/apps/user_ldap/lib/Mapping/AbstractMapping.php @@ -7,7 +7,7 @@ * @author blizzz * @author Christoph Wurst * @author Joas Schilling - * @author Morris Jobke + * @author Roeland Jago Douma * * @license AGPL-3.0 * @@ -24,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Mapping; use Doctrine\DBAL\Exception; diff --git a/apps/user_ldap/lib/Mapping/GroupMapping.php b/apps/user_ldap/lib/Mapping/GroupMapping.php index 8bd872b905e..e8518e5e9fc 100644 --- a/apps/user_ldap/lib/Mapping/GroupMapping.php +++ b/apps/user_ldap/lib/Mapping/GroupMapping.php @@ -4,7 +4,6 @@ * * @author Arthur Schiwon * @author Christoph Wurst - * @author Morris Jobke * * @license AGPL-3.0 * @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Mapping; /** diff --git a/apps/user_ldap/lib/Mapping/UserMapping.php b/apps/user_ldap/lib/Mapping/UserMapping.php index 8220215b461..899cc015c9f 100644 --- a/apps/user_ldap/lib/Mapping/UserMapping.php +++ b/apps/user_ldap/lib/Mapping/UserMapping.php @@ -4,7 +4,6 @@ * * @author Arthur Schiwon * @author Christoph Wurst - * @author Morris Jobke * * @license AGPL-3.0 * @@ -21,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Mapping; /** diff --git a/apps/user_ldap/lib/Migration/RemoveRefreshTime.php b/apps/user_ldap/lib/Migration/RemoveRefreshTime.php index 8c8fec2253b..501076ed0e8 100644 --- a/apps/user_ldap/lib/Migration/RemoveRefreshTime.php +++ b/apps/user_ldap/lib/Migration/RemoveRefreshTime.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Migration; use OCP\IConfig; diff --git a/apps/user_ldap/lib/Migration/SetDefaultProvider.php b/apps/user_ldap/lib/Migration/SetDefaultProvider.php index e07f25a54d3..15dba57e5f3 100644 --- a/apps/user_ldap/lib/Migration/SetDefaultProvider.php +++ b/apps/user_ldap/lib/Migration/SetDefaultProvider.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Migration; use OCA\User_LDAP\Helper; diff --git a/apps/user_ldap/lib/Migration/UUIDFix.php b/apps/user_ldap/lib/Migration/UUIDFix.php index ba2264c3c63..74ab65d347c 100644 --- a/apps/user_ldap/lib/Migration/UUIDFix.php +++ b/apps/user_ldap/lib/Migration/UUIDFix.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Migration; use OC\BackgroundJob\QueuedJob; diff --git a/apps/user_ldap/lib/Migration/UUIDFixGroup.php b/apps/user_ldap/lib/Migration/UUIDFixGroup.php index 2e9eeac7ca7..a90dcb5a938 100644 --- a/apps/user_ldap/lib/Migration/UUIDFixGroup.php +++ b/apps/user_ldap/lib/Migration/UUIDFixGroup.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Migration; use OCA\User_LDAP\Group_Proxy; diff --git a/apps/user_ldap/lib/Migration/UUIDFixInsert.php b/apps/user_ldap/lib/Migration/UUIDFixInsert.php index 3a8e78ef6a4..a8e9d2829d7 100644 --- a/apps/user_ldap/lib/Migration/UUIDFixInsert.php +++ b/apps/user_ldap/lib/Migration/UUIDFixInsert.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Migration; use OCA\User_LDAP\Mapping\GroupMapping; diff --git a/apps/user_ldap/lib/Migration/UUIDFixUser.php b/apps/user_ldap/lib/Migration/UUIDFixUser.php index a98f9fbeb6b..2cb7ac8bdfb 100644 --- a/apps/user_ldap/lib/Migration/UUIDFixUser.php +++ b/apps/user_ldap/lib/Migration/UUIDFixUser.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Migration; use OCA\User_LDAP\User_Proxy; diff --git a/apps/user_ldap/lib/Migration/Version1010Date20200630192842.php b/apps/user_ldap/lib/Migration/Version1010Date20200630192842.php index 754200405c8..7b285aa2d1a 100644 --- a/apps/user_ldap/lib/Migration/Version1010Date20200630192842.php +++ b/apps/user_ldap/lib/Migration/Version1010Date20200630192842.php @@ -5,6 +5,7 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020 Joas Schilling * + * @author Christoph Wurst * @author Joas Schilling * * @license GNU AGPL version 3 or any later version @@ -16,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Migration; use Closure; diff --git a/apps/user_ldap/lib/Notification/Notifier.php b/apps/user_ldap/lib/Notification/Notifier.php index e65bba2012d..04c03febb0e 100644 --- a/apps/user_ldap/lib/Notification/Notifier.php +++ b/apps/user_ldap/lib/Notification/Notifier.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Notification; use OCP\L10N\IFactory; diff --git a/apps/user_ldap/lib/PagedResults/IAdapter.php b/apps/user_ldap/lib/PagedResults/IAdapter.php index 0136aa0694b..2dd9ffe80a1 100644 --- a/apps/user_ldap/lib/PagedResults/IAdapter.php +++ b/apps/user_ldap/lib/PagedResults/IAdapter.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\PagedResults; interface IAdapter { diff --git a/apps/user_ldap/lib/PagedResults/Php73.php b/apps/user_ldap/lib/PagedResults/Php73.php index 7e182e2eabc..1fc1fcdbab8 100644 --- a/apps/user_ldap/lib/PagedResults/Php73.php +++ b/apps/user_ldap/lib/PagedResults/Php73.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\PagedResults; /** diff --git a/apps/user_ldap/lib/PagedResults/TLinkId.php b/apps/user_ldap/lib/PagedResults/TLinkId.php index 551fb0af333..6f320705e67 100644 --- a/apps/user_ldap/lib/PagedResults/TLinkId.php +++ b/apps/user_ldap/lib/PagedResults/TLinkId.php @@ -17,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\PagedResults; trait TLinkId { diff --git a/apps/user_ldap/lib/Proxy.php b/apps/user_ldap/lib/Proxy.php index e723c4e3abf..da069a4b6b4 100644 --- a/apps/user_ldap/lib/Proxy.php +++ b/apps/user_ldap/lib/Proxy.php @@ -30,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; use OCA\User_LDAP\Mapping\GroupMapping; diff --git a/apps/user_ldap/lib/Settings/Admin.php b/apps/user_ldap/lib/Settings/Admin.php index 7bcd1758a0a..21ad82b96ed 100644 --- a/apps/user_ldap/lib/Settings/Admin.php +++ b/apps/user_ldap/lib/Settings/Admin.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Settings; use OCA\User_LDAP\Configuration; diff --git a/apps/user_ldap/lib/Settings/Section.php b/apps/user_ldap/lib/Settings/Section.php index b854b0303d9..7c4bc5bf44d 100644 --- a/apps/user_ldap/lib/Settings/Section.php +++ b/apps/user_ldap/lib/Settings/Section.php @@ -5,6 +5,7 @@ * @author Arthur Schiwon * @author Joas Schilling * @author Morris Jobke + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * * @license GNU AGPL version 3 or any later version * @@ -15,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Settings; use OCP\IL10N; diff --git a/apps/user_ldap/lib/User/DeletedUsersIndex.php b/apps/user_ldap/lib/User/DeletedUsersIndex.php index 2591f371fa1..1e057987eef 100644 --- a/apps/user_ldap/lib/User/DeletedUsersIndex.php +++ b/apps/user_ldap/lib/User/DeletedUsersIndex.php @@ -5,7 +5,6 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling - * @author Morris Jobke * * @license AGPL-3.0 * @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\User; use OCA\User_LDAP\Mapping\UserMapping; diff --git a/apps/user_ldap/lib/User/Manager.php b/apps/user_ldap/lib/User/Manager.php index a18c62364db..87f75f093db 100644 --- a/apps/user_ldap/lib/User/Manager.php +++ b/apps/user_ldap/lib/User/Manager.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\User; use OC\Cache\CappedMemoryCache; diff --git a/apps/user_ldap/lib/User/OfflineUser.php b/apps/user_ldap/lib/User/OfflineUser.php index 309eeec52c7..0c9e6e73ff3 100644 --- a/apps/user_ldap/lib/User/OfflineUser.php +++ b/apps/user_ldap/lib/User/OfflineUser.php @@ -6,6 +6,7 @@ * @author Christoph Wurst * @author Joas Schilling * @author Morris Jobke + * @author Roeland Jago Douma * * @license AGPL-3.0 * @@ -22,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\User; use OCA\User_LDAP\Mapping\UserMapping; diff --git a/apps/user_ldap/lib/User/User.php b/apps/user_ldap/lib/User/User.php index 8ddec803370..7d57fcbb275 100644 --- a/apps/user_ldap/lib/User/User.php +++ b/apps/user_ldap/lib/User/User.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\User; use OCA\User_LDAP\Access; diff --git a/apps/user_ldap/lib/UserPluginManager.php b/apps/user_ldap/lib/UserPluginManager.php index fdc08d3d38b..035b7952dce 100644 --- a/apps/user_ldap/lib/UserPluginManager.php +++ b/apps/user_ldap/lib/UserPluginManager.php @@ -2,6 +2,7 @@ /** * @copyright Copyright (c) 2017 EITA Cooperative (eita.org.br) * + * @author Arthur Schiwon * @author Christoph Wurst * @author Filis Futsarov * @author Vinicius Cubas Brand @@ -15,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP; use OC\User\Backend; diff --git a/apps/user_ldap/lib/User_LDAP.php b/apps/user_ldap/lib/User_LDAP.php index 12d93ce5c8a..99d8e68b815 100644 --- a/apps/user_ldap/lib/User_LDAP.php +++ b/apps/user_ldap/lib/User_LDAP.php @@ -36,7 +36,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; use OC\ServerNotAvailableException; diff --git a/apps/user_ldap/lib/User_Proxy.php b/apps/user_ldap/lib/User_Proxy.php index 532d8ff4cb6..1fdd3cf44b3 100644 --- a/apps/user_ldap/lib/User_Proxy.php +++ b/apps/user_ldap/lib/User_Proxy.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; use OCA\User_LDAP\User\User; diff --git a/apps/user_ldap/lib/Wizard.php b/apps/user_ldap/lib/Wizard.php index 0dde8199a02..9d69ef294c9 100644 --- a/apps/user_ldap/lib/Wizard.php +++ b/apps/user_ldap/lib/Wizard.php @@ -35,7 +35,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; use OC\ServerNotAvailableException; diff --git a/apps/user_ldap/lib/WizardResult.php b/apps/user_ldap/lib/WizardResult.php index 3c8f638736e..0f8d9f46fdd 100644 --- a/apps/user_ldap/lib/WizardResult.php +++ b/apps/user_ldap/lib/WizardResult.php @@ -7,7 +7,6 @@ * @author Christoph Wurst * @author Joas Schilling * @author Lukas Reschke - * @author Morris Jobke * @author Robin McCorkell * @author Roeland Jago Douma * @@ -26,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP; class WizardResult { diff --git a/apps/user_ldap/tests/AccessTest.php b/apps/user_ldap/tests/AccessTest.php index ac7cbbe3733..ae07ea509ef 100644 --- a/apps/user_ldap/tests/AccessTest.php +++ b/apps/user_ldap/tests/AccessTest.php @@ -12,7 +12,6 @@ * @author Morris Jobke * @author Roeland Jago Douma * @author Roger Szabo - * @author root * @author Thomas Müller * @author Victor Dubiniuk * @@ -31,7 +30,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\Access; diff --git a/apps/user_ldap/tests/ConfigurationTest.php b/apps/user_ldap/tests/ConfigurationTest.php index 6239bab68b0..6be09c474a2 100644 --- a/apps/user_ldap/tests/ConfigurationTest.php +++ b/apps/user_ldap/tests/ConfigurationTest.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\Configuration; diff --git a/apps/user_ldap/tests/ConnectionTest.php b/apps/user_ldap/tests/ConnectionTest.php index 1269a5d7e43..3b771c6d04f 100644 --- a/apps/user_ldap/tests/ConnectionTest.php +++ b/apps/user_ldap/tests/ConnectionTest.php @@ -27,7 +27,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\Connection; diff --git a/apps/user_ldap/tests/GroupLDAPPluginTest.php b/apps/user_ldap/tests/GroupLDAPPluginTest.php index baabdfb53c4..b55f57990a0 100644 --- a/apps/user_ldap/tests/GroupLDAPPluginTest.php +++ b/apps/user_ldap/tests/GroupLDAPPluginTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\GroupPluginManager; diff --git a/apps/user_ldap/tests/Group_LDAPTest.php b/apps/user_ldap/tests/Group_LDAPTest.php index 4011d964a40..acb6ad3d710 100644 --- a/apps/user_ldap/tests/Group_LDAPTest.php +++ b/apps/user_ldap/tests/Group_LDAPTest.php @@ -28,7 +28,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\Access; diff --git a/apps/user_ldap/tests/HelperTest.php b/apps/user_ldap/tests/HelperTest.php index 347e2c63820..e8ccf0dfbcb 100644 --- a/apps/user_ldap/tests/HelperTest.php +++ b/apps/user_ldap/tests/HelperTest.php @@ -1,6 +1,6 @@ * * @author Christoph Wurst * @author Joas Schilling @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\Helper; diff --git a/apps/user_ldap/tests/Integration/AbstractIntegrationTest.php b/apps/user_ldap/tests/Integration/AbstractIntegrationTest.php index d0f2e8d4a95..c9d7d41d2b9 100644 --- a/apps/user_ldap/tests/Integration/AbstractIntegrationTest.php +++ b/apps/user_ldap/tests/Integration/AbstractIntegrationTest.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Integration; use OCA\User_LDAP\Access; diff --git a/apps/user_ldap/tests/Integration/Bootstrap.php b/apps/user_ldap/tests/Integration/Bootstrap.php index afa92dac958..62537989171 100644 --- a/apps/user_ldap/tests/Integration/Bootstrap.php +++ b/apps/user_ldap/tests/Integration/Bootstrap.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - define('CLI_TEST_RUN', true); require_once __DIR__ . '/../../../../lib/base.php'; require_once __DIR__ . '/setup-scripts/config.php'; diff --git a/apps/user_ldap/tests/Integration/ExceptionOnLostConnection.php b/apps/user_ldap/tests/Integration/ExceptionOnLostConnection.php index e78208e579c..c171fa06b55 100644 --- a/apps/user_ldap/tests/Integration/ExceptionOnLostConnection.php +++ b/apps/user_ldap/tests/Integration/ExceptionOnLostConnection.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Integration; use OC\ServerNotAvailableException; diff --git a/apps/user_ldap/tests/Integration/Lib/IntegrationTestAttributeDetection.php b/apps/user_ldap/tests/Integration/Lib/IntegrationTestAttributeDetection.php index 5669e2164b7..eb70c774e25 100644 --- a/apps/user_ldap/tests/Integration/Lib/IntegrationTestAttributeDetection.php +++ b/apps/user_ldap/tests/Integration/Lib/IntegrationTestAttributeDetection.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\user_ldap\tests\Integration\Lib; use OCA\User_LDAP\Group_LDAP; diff --git a/apps/user_ldap/tests/Integration/Lib/IntegrationTestCountUsersByLoginName.php b/apps/user_ldap/tests/Integration/Lib/IntegrationTestCountUsersByLoginName.php index dc483ebec6d..c02ac5ccdae 100644 --- a/apps/user_ldap/tests/Integration/Lib/IntegrationTestCountUsersByLoginName.php +++ b/apps/user_ldap/tests/Integration/Lib/IntegrationTestCountUsersByLoginName.php @@ -20,7 +20,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Integration\Lib; use OCA\User_LDAP\Tests\Integration\AbstractIntegrationTest; diff --git a/apps/user_ldap/tests/Integration/Lib/IntegrationTestFetchUsersByLoginName.php b/apps/user_ldap/tests/Integration/Lib/IntegrationTestFetchUsersByLoginName.php index 7fc10996640..36c8ab4c0d3 100644 --- a/apps/user_ldap/tests/Integration/Lib/IntegrationTestFetchUsersByLoginName.php +++ b/apps/user_ldap/tests/Integration/Lib/IntegrationTestFetchUsersByLoginName.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Integration\Lib; use OCA\User_LDAP\Mapping\UserMapping; diff --git a/apps/user_ldap/tests/Integration/Lib/IntegrationTestPaging.php b/apps/user_ldap/tests/Integration/Lib/IntegrationTestPaging.php index 066c91a149b..b941fa6fc66 100644 --- a/apps/user_ldap/tests/Integration/Lib/IntegrationTestPaging.php +++ b/apps/user_ldap/tests/Integration/Lib/IntegrationTestPaging.php @@ -23,7 +23,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Integration\Lib; use OCA\User_LDAP\Mapping\UserMapping; diff --git a/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserAvatar.php b/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserAvatar.php index 70ba46dba0c..90334cef08d 100644 --- a/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserAvatar.php +++ b/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserAvatar.php @@ -25,7 +25,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Integration\Lib\User; use OCA\User_LDAP\FilesystemHelper; diff --git a/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserCleanUp.php b/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserCleanUp.php index cefebe9f94e..5da672d8a55 100644 --- a/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserCleanUp.php +++ b/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserCleanUp.php @@ -21,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Integration\Lib\User; use OCA\User_LDAP\Jobs\CleanUp; diff --git a/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserDisplayName.php b/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserDisplayName.php index ace04e6234f..7353c5bef30 100644 --- a/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserDisplayName.php +++ b/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserDisplayName.php @@ -22,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Integration\Lib\User; use OCA\User_LDAP\Mapping\UserMapping; diff --git a/apps/user_ldap/tests/Jobs/CleanUpTest.php b/apps/user_ldap/tests/Jobs/CleanUpTest.php index 2e66d114755..f70d65a6ea2 100644 --- a/apps/user_ldap/tests/Jobs/CleanUpTest.php +++ b/apps/user_ldap/tests/Jobs/CleanUpTest.php @@ -5,7 +5,6 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling - * @author Morris Jobke * @author Roeland Jago Douma * * @license AGPL-3.0 @@ -23,7 +22,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Jobs; use Exception; diff --git a/apps/user_ldap/tests/Jobs/SyncTest.php b/apps/user_ldap/tests/Jobs/SyncTest.php index 6ee186d0da4..5592a2531bc 100644 --- a/apps/user_ldap/tests/Jobs/SyncTest.php +++ b/apps/user_ldap/tests/Jobs/SyncTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Tests\Jobs; use OCA\User_LDAP\Access; diff --git a/apps/user_ldap/tests/Jobs/UpdateGroupsTest.php b/apps/user_ldap/tests/Jobs/UpdateGroupsTest.php index 63f60184a53..9c9c62b0d0e 100644 --- a/apps/user_ldap/tests/Jobs/UpdateGroupsTest.php +++ b/apps/user_ldap/tests/Jobs/UpdateGroupsTest.php @@ -6,6 +6,7 @@ declare(strict_types=1); * @copyright Copyright (c) 2020 Arthur Schiwon * * @author Arthur Schiwon + * @author Joas Schilling * * @license GNU AGPL version 3 or any later version * @@ -16,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\user_ldap\tests\Jobs; use OCA\User_LDAP\Group_Proxy; diff --git a/apps/user_ldap/tests/LDAPGroupPluginDummy.php b/apps/user_ldap/tests/LDAPGroupPluginDummy.php index 7ff5cd8ac69..25350bfc16a 100644 --- a/apps/user_ldap/tests/LDAPGroupPluginDummy.php +++ b/apps/user_ldap/tests/LDAPGroupPluginDummy.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\ILDAPGroupPlugin; diff --git a/apps/user_ldap/tests/LDAPProviderTest.php b/apps/user_ldap/tests/LDAPProviderTest.php index 0f1480d6930..607cf8f4293 100644 --- a/apps/user_ldap/tests/LDAPProviderTest.php +++ b/apps/user_ldap/tests/LDAPProviderTest.php @@ -19,14 +19,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Tests; use OC\User\Manager; diff --git a/apps/user_ldap/tests/LDAPTest.php b/apps/user_ldap/tests/LDAPTest.php index 443bafe505b..876ea9b1f68 100644 --- a/apps/user_ldap/tests/LDAPTest.php +++ b/apps/user_ldap/tests/LDAPTest.php @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\LDAP; diff --git a/apps/user_ldap/tests/LDAPUserPluginDummy.php b/apps/user_ldap/tests/LDAPUserPluginDummy.php index a3bcc252fbe..def10820784 100644 --- a/apps/user_ldap/tests/LDAPUserPluginDummy.php +++ b/apps/user_ldap/tests/LDAPUserPluginDummy.php @@ -13,14 +13,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\ILDAPUserPlugin; diff --git a/apps/user_ldap/tests/Mapping/AbstractMappingTest.php b/apps/user_ldap/tests/Mapping/AbstractMappingTest.php index 05059a50a4b..cc2b36fb7df 100644 --- a/apps/user_ldap/tests/Mapping/AbstractMappingTest.php +++ b/apps/user_ldap/tests/Mapping/AbstractMappingTest.php @@ -6,7 +6,6 @@ * @author Arthur Schiwon * @author Christoph Wurst * @author Joas Schilling - * @author Morris Jobke * @author Roeland Jago Douma * @author Stefan Weil * @@ -25,7 +24,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Mapping; use OCA\User_LDAP\Mapping\AbstractMapping; diff --git a/apps/user_ldap/tests/Mapping/GroupMappingTest.php b/apps/user_ldap/tests/Mapping/GroupMappingTest.php index 6549ae66671..2bb9445d1ee 100644 --- a/apps/user_ldap/tests/Mapping/GroupMappingTest.php +++ b/apps/user_ldap/tests/Mapping/GroupMappingTest.php @@ -4,7 +4,6 @@ * * @author Arthur Schiwon * @author Joas Schilling - * @author Morris Jobke * @author Thomas Müller * * @license AGPL-3.0 @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Mapping; use OCA\User_LDAP\Mapping\GroupMapping; diff --git a/apps/user_ldap/tests/Mapping/UserMappingTest.php b/apps/user_ldap/tests/Mapping/UserMappingTest.php index 2417eda0b8c..081266cf3f1 100644 --- a/apps/user_ldap/tests/Mapping/UserMappingTest.php +++ b/apps/user_ldap/tests/Mapping/UserMappingTest.php @@ -4,7 +4,6 @@ * * @author Arthur Schiwon * @author Joas Schilling - * @author Morris Jobke * @author Thomas Müller * * @license AGPL-3.0 @@ -22,7 +21,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\Mapping; use OCA\User_LDAP\Mapping\UserMapping; diff --git a/apps/user_ldap/tests/Migration/AbstractUUIDFixTest.php b/apps/user_ldap/tests/Migration/AbstractUUIDFixTest.php index 82483a54327..7cb666b2514 100644 --- a/apps/user_ldap/tests/Migration/AbstractUUIDFixTest.php +++ b/apps/user_ldap/tests/Migration/AbstractUUIDFixTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Tests\Migration; use OCA\User_LDAP\Access; diff --git a/apps/user_ldap/tests/Migration/UUIDFixGroupTest.php b/apps/user_ldap/tests/Migration/UUIDFixGroupTest.php index fb9d2e2331c..0144a259318 100644 --- a/apps/user_ldap/tests/Migration/UUIDFixGroupTest.php +++ b/apps/user_ldap/tests/Migration/UUIDFixGroupTest.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\Group_LDAP\Tests\Migration; use OCA\User_LDAP\Group_Proxy; diff --git a/apps/user_ldap/tests/Migration/UUIDFixInsertTest.php b/apps/user_ldap/tests/Migration/UUIDFixInsertTest.php index 492f0c657ac..b13efa14e5c 100644 --- a/apps/user_ldap/tests/Migration/UUIDFixInsertTest.php +++ b/apps/user_ldap/tests/Migration/UUIDFixInsertTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Tests\Migration; use OCA\User_LDAP\Mapping\GroupMapping; diff --git a/apps/user_ldap/tests/Migration/UUIDFixUserTest.php b/apps/user_ldap/tests/Migration/UUIDFixUserTest.php index cf80bf36230..477bc66f1a9 100644 --- a/apps/user_ldap/tests/Migration/UUIDFixUserTest.php +++ b/apps/user_ldap/tests/Migration/UUIDFixUserTest.php @@ -14,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Tests\Migration; use OCA\User_LDAP\Mapping\UserMapping; diff --git a/apps/user_ldap/tests/Settings/AdminTest.php b/apps/user_ldap/tests/Settings/AdminTest.php index 2599a966f06..44f253ad598 100644 --- a/apps/user_ldap/tests/Settings/AdminTest.php +++ b/apps/user_ldap/tests/Settings/AdminTest.php @@ -17,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Tests\Settings; use OCA\User_LDAP\Configuration; diff --git a/apps/user_ldap/tests/Settings/SectionTest.php b/apps/user_ldap/tests/Settings/SectionTest.php index e9b7b00e5cf..21de15118c8 100644 --- a/apps/user_ldap/tests/Settings/SectionTest.php +++ b/apps/user_ldap/tests/Settings/SectionTest.php @@ -6,6 +6,7 @@ * @author Lukas Reschke * @author Morris Jobke * @author Roeland Jago Douma + * @author Valdnet <47037905+Valdnet@users.noreply.github.com> * * @license GNU AGPL version 3 or any later version * @@ -16,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Tests\Settings; use OCA\User_LDAP\Settings\Section; diff --git a/apps/user_ldap/tests/User/DeletedUsersIndexTest.php b/apps/user_ldap/tests/User/DeletedUsersIndexTest.php index 8435078051c..7d0b49b21c8 100644 --- a/apps/user_ldap/tests/User/DeletedUsersIndexTest.php +++ b/apps/user_ldap/tests/User/DeletedUsersIndexTest.php @@ -16,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Tests\User; use OCA\User_LDAP\Mapping\UserMapping; diff --git a/apps/user_ldap/tests/User/ManagerTest.php b/apps/user_ldap/tests/User/ManagerTest.php index 9f6d43a9a24..01ed5a6ba12 100644 --- a/apps/user_ldap/tests/User/ManagerTest.php +++ b/apps/user_ldap/tests/User/ManagerTest.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\User; use OCA\User_LDAP\Access; diff --git a/apps/user_ldap/tests/User/OfflineUserTest.php b/apps/user_ldap/tests/User/OfflineUserTest.php index 65f66840173..e1fda3f16ca 100644 --- a/apps/user_ldap/tests/User/OfflineUserTest.php +++ b/apps/user_ldap/tests/User/OfflineUserTest.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Tests\User; use OCA\User_LDAP\Mapping\UserMapping; diff --git a/apps/user_ldap/tests/User/UserTest.php b/apps/user_ldap/tests/User/UserTest.php index 3186a74ea89..b1b2d9ac391 100644 --- a/apps/user_ldap/tests/User/UserTest.php +++ b/apps/user_ldap/tests/User/UserTest.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests\User; use OCA\User_LDAP\Access; diff --git a/apps/user_ldap/tests/UserLDAPPluginTest.php b/apps/user_ldap/tests/UserLDAPPluginTest.php index e1b3cd92159..98d9c409027 100644 --- a/apps/user_ldap/tests/UserLDAPPluginTest.php +++ b/apps/user_ldap/tests/UserLDAPPluginTest.php @@ -15,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Tests; use OC\User\Backend; diff --git a/apps/user_ldap/tests/User_LDAPTest.php b/apps/user_ldap/tests/User_LDAPTest.php index 6840a4c6dac..78767ff6760 100644 --- a/apps/user_ldap/tests/User_LDAPTest.php +++ b/apps/user_ldap/tests/User_LDAPTest.php @@ -29,7 +29,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests; use OC\HintException; diff --git a/apps/user_ldap/tests/User_ProxyTest.php b/apps/user_ldap/tests/User_ProxyTest.php index 0bbea00ed44..ed95344f115 100644 --- a/apps/user_ldap/tests/User_ProxyTest.php +++ b/apps/user_ldap/tests/User_ProxyTest.php @@ -19,14 +19,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\Helper; diff --git a/apps/user_ldap/tests/WizardTest.php b/apps/user_ldap/tests/WizardTest.php index 25aa5d66c8f..ae25aad44ab 100644 --- a/apps/user_ldap/tests/WizardTest.php +++ b/apps/user_ldap/tests/WizardTest.php @@ -26,7 +26,6 @@ * along with this program. If not, see * */ - namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\Access; diff --git a/apps/user_status/appinfo/routes.php b/apps/user_status/appinfo/routes.php index d9b8d17fe4e..d360dc1ebd5 100644 --- a/apps/user_status/appinfo/routes.php +++ b/apps/user_status/appinfo/routes.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - return [ 'ocs' => [ // Routes for querying statuses diff --git a/apps/user_status/lib/AppInfo/Application.php b/apps/user_status/lib/AppInfo/Application.php index 2e511500ea6..8ccf0f497c3 100644 --- a/apps/user_status/lib/AppInfo/Application.php +++ b/apps/user_status/lib/AppInfo/Application.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\AppInfo; use OCA\UserStatus\Capabilities; diff --git a/apps/user_status/lib/BackgroundJob/ClearOldStatusesBackgroundJob.php b/apps/user_status/lib/BackgroundJob/ClearOldStatusesBackgroundJob.php index 3077fbec099..0d8f5ac431b 100644 --- a/apps/user_status/lib/BackgroundJob/ClearOldStatusesBackgroundJob.php +++ b/apps/user_status/lib/BackgroundJob/ClearOldStatusesBackgroundJob.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\BackgroundJob; use OCA\UserStatus\Db\UserStatusMapper; diff --git a/apps/user_status/lib/Capabilities.php b/apps/user_status/lib/Capabilities.php index ada65402a30..f5b35896a56 100644 --- a/apps/user_status/lib/Capabilities.php +++ b/apps/user_status/lib/Capabilities.php @@ -7,19 +7,20 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ namespace OCA\UserStatus; diff --git a/apps/user_status/lib/Connector/UserStatus.php b/apps/user_status/lib/Connector/UserStatus.php index d6b075dcd8e..26dc2be7e93 100644 --- a/apps/user_status/lib/Connector/UserStatus.php +++ b/apps/user_status/lib/Connector/UserStatus.php @@ -7,19 +7,20 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ namespace OCA\UserStatus\Connector; diff --git a/apps/user_status/lib/Connector/UserStatusProvider.php b/apps/user_status/lib/Connector/UserStatusProvider.php index 1197d19c3ab..783588b8c8c 100644 --- a/apps/user_status/lib/Connector/UserStatusProvider.php +++ b/apps/user_status/lib/Connector/UserStatusProvider.php @@ -7,19 +7,20 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ namespace OCA\UserStatus\Connector; diff --git a/apps/user_status/lib/Controller/HeartbeatController.php b/apps/user_status/lib/Controller/HeartbeatController.php index 02a0fd082cf..c0fc515518c 100644 --- a/apps/user_status/lib/Controller/HeartbeatController.php +++ b/apps/user_status/lib/Controller/HeartbeatController.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Controller; use OCP\AppFramework\Controller; diff --git a/apps/user_status/lib/Controller/PredefinedStatusController.php b/apps/user_status/lib/Controller/PredefinedStatusController.php index 4c3530624f3..50148650ad8 100644 --- a/apps/user_status/lib/Controller/PredefinedStatusController.php +++ b/apps/user_status/lib/Controller/PredefinedStatusController.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Controller; use OCA\UserStatus\Service\PredefinedStatusService; diff --git a/apps/user_status/lib/Controller/StatusesController.php b/apps/user_status/lib/Controller/StatusesController.php index 71ee75e5b74..56dbeb4f7a5 100644 --- a/apps/user_status/lib/Controller/StatusesController.php +++ b/apps/user_status/lib/Controller/StatusesController.php @@ -5,24 +5,25 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020, Georg Ehrke * + * @author Christoph Wurst * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Controller; use OCA\UserStatus\Db\UserStatus; diff --git a/apps/user_status/lib/Controller/UserStatusController.php b/apps/user_status/lib/Controller/UserStatusController.php index 0ca82e84cbd..a231103e91e 100644 --- a/apps/user_status/lib/Controller/UserStatusController.php +++ b/apps/user_status/lib/Controller/UserStatusController.php @@ -6,20 +6,23 @@ declare(strict_types=1); * @copyright Copyright (c) 2020, Georg Ehrke * * @author Georg Ehrke + * @author Joas Schilling + * @author Simon Spannagel * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ namespace OCA\UserStatus\Controller; diff --git a/apps/user_status/lib/Dashboard/UserStatusWidget.php b/apps/user_status/lib/Dashboard/UserStatusWidget.php index 6ccea95acdc..10411dc7f9d 100644 --- a/apps/user_status/lib/Dashboard/UserStatusWidget.php +++ b/apps/user_status/lib/Dashboard/UserStatusWidget.php @@ -7,19 +7,20 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ namespace OCA\UserStatus\Dashboard; diff --git a/apps/user_status/lib/Db/UserStatus.php b/apps/user_status/lib/Db/UserStatus.php index 6faea6e0ecd..3f8abbfbe87 100644 --- a/apps/user_status/lib/Db/UserStatus.php +++ b/apps/user_status/lib/Db/UserStatus.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Db; use OCP\AppFramework\Db\Entity; diff --git a/apps/user_status/lib/Db/UserStatusMapper.php b/apps/user_status/lib/Db/UserStatusMapper.php index dc54789d343..fecfc38bd91 100644 --- a/apps/user_status/lib/Db/UserStatusMapper.php +++ b/apps/user_status/lib/Db/UserStatusMapper.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Db; use OCP\AppFramework\Db\QBMapper; diff --git a/apps/user_status/lib/Exception/InvalidClearAtException.php b/apps/user_status/lib/Exception/InvalidClearAtException.php index da49a8ee672..a0ca08ade76 100644 --- a/apps/user_status/lib/Exception/InvalidClearAtException.php +++ b/apps/user_status/lib/Exception/InvalidClearAtException.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Exception; class InvalidClearAtException extends \Exception { diff --git a/apps/user_status/lib/Exception/InvalidMessageIdException.php b/apps/user_status/lib/Exception/InvalidMessageIdException.php index e08045aa8d2..dbf8d83d970 100644 --- a/apps/user_status/lib/Exception/InvalidMessageIdException.php +++ b/apps/user_status/lib/Exception/InvalidMessageIdException.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Exception; class InvalidMessageIdException extends \Exception { diff --git a/apps/user_status/lib/Exception/InvalidStatusIconException.php b/apps/user_status/lib/Exception/InvalidStatusIconException.php index e8dc089327f..7a7c7947d5b 100644 --- a/apps/user_status/lib/Exception/InvalidStatusIconException.php +++ b/apps/user_status/lib/Exception/InvalidStatusIconException.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Exception; class InvalidStatusIconException extends \Exception { diff --git a/apps/user_status/lib/Exception/InvalidStatusTypeException.php b/apps/user_status/lib/Exception/InvalidStatusTypeException.php index f11b899e7bd..12115054b2c 100644 --- a/apps/user_status/lib/Exception/InvalidStatusTypeException.php +++ b/apps/user_status/lib/Exception/InvalidStatusTypeException.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Exception; class InvalidStatusTypeException extends \Exception { diff --git a/apps/user_status/lib/Exception/StatusMessageTooLongException.php b/apps/user_status/lib/Exception/StatusMessageTooLongException.php index 675d7417b06..c52f6079874 100644 --- a/apps/user_status/lib/Exception/StatusMessageTooLongException.php +++ b/apps/user_status/lib/Exception/StatusMessageTooLongException.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Exception; class StatusMessageTooLongException extends \Exception { diff --git a/apps/user_status/lib/Listener/BeforeTemplateRenderedListener.php b/apps/user_status/lib/Listener/BeforeTemplateRenderedListener.php index 0daaaa9fcf2..86e151affdf 100644 --- a/apps/user_status/lib/Listener/BeforeTemplateRenderedListener.php +++ b/apps/user_status/lib/Listener/BeforeTemplateRenderedListener.php @@ -6,23 +6,24 @@ declare(strict_types=1); * @copyright Copyright (c) 2020, Georg Ehrke * * @author Georg Ehrke + * @author Julius Härtl * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Listener; use OCA\UserStatus\AppInfo\Application; diff --git a/apps/user_status/lib/Listener/UserDeletedListener.php b/apps/user_status/lib/Listener/UserDeletedListener.php index b376be00949..0cacc89971a 100644 --- a/apps/user_status/lib/Listener/UserDeletedListener.php +++ b/apps/user_status/lib/Listener/UserDeletedListener.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Listener; use OCA\UserStatus\Service\StatusService; diff --git a/apps/user_status/lib/Listener/UserLiveStatusListener.php b/apps/user_status/lib/Listener/UserLiveStatusListener.php index 967810367eb..60b5fb7f3a4 100644 --- a/apps/user_status/lib/Listener/UserLiveStatusListener.php +++ b/apps/user_status/lib/Listener/UserLiveStatusListener.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Listener; use OCA\UserStatus\Db\UserStatus; diff --git a/apps/user_status/lib/Migration/Version0001Date20200602134824.php b/apps/user_status/lib/Migration/Version0001Date20200602134824.php index 262c0e5f705..64490cc4207 100644 --- a/apps/user_status/lib/Migration/Version0001Date20200602134824.php +++ b/apps/user_status/lib/Migration/Version0001Date20200602134824.php @@ -5,24 +5,26 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020, Georg Ehrke * + * @author Christoph Wurst * @author Georg Ehrke + * @author Joas Schilling * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Migration; use OCP\DB\Types; diff --git a/apps/user_status/lib/Migration/Version0002Date20200902144824.php b/apps/user_status/lib/Migration/Version0002Date20200902144824.php index abec418058f..0c222eff8cd 100644 --- a/apps/user_status/lib/Migration/Version0002Date20200902144824.php +++ b/apps/user_status/lib/Migration/Version0002Date20200902144824.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Migration; use OCP\DB\ISchemaWrapper; diff --git a/apps/user_status/lib/Migration/Version1000Date20201111130204.php b/apps/user_status/lib/Migration/Version1000Date20201111130204.php index 53b35f2b3a6..8b20ed8306f 100644 --- a/apps/user_status/lib/Migration/Version1000Date20201111130204.php +++ b/apps/user_status/lib/Migration/Version1000Date20201111130204.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\UserStatus\Migration; use Closure; diff --git a/apps/user_status/lib/Service/EmojiService.php b/apps/user_status/lib/Service/EmojiService.php index b55be89f290..0f197933872 100644 --- a/apps/user_status/lib/Service/EmojiService.php +++ b/apps/user_status/lib/Service/EmojiService.php @@ -6,23 +6,24 @@ declare(strict_types=1); * @copyright Copyright (c) 2020, Georg Ehrke * * @author Georg Ehrke + * @author Joas Schilling * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Service; use OCP\IDBConnection; diff --git a/apps/user_status/lib/Service/JSDataService.php b/apps/user_status/lib/Service/JSDataService.php index ca78943fafe..6d83591ab2f 100644 --- a/apps/user_status/lib/Service/JSDataService.php +++ b/apps/user_status/lib/Service/JSDataService.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Service; use OCP\AppFramework\Db\DoesNotExistException; diff --git a/apps/user_status/lib/Service/PredefinedStatusService.php b/apps/user_status/lib/Service/PredefinedStatusService.php index e8a82014b7b..f1ce9d0cdfd 100644 --- a/apps/user_status/lib/Service/PredefinedStatusService.php +++ b/apps/user_status/lib/Service/PredefinedStatusService.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Service; use OCP\IL10N; diff --git a/apps/user_status/lib/Service/StatusService.php b/apps/user_status/lib/Service/StatusService.php index 39edad35850..7f77070a87d 100644 --- a/apps/user_status/lib/Service/StatusService.php +++ b/apps/user_status/lib/Service/StatusService.php @@ -6,23 +6,24 @@ declare(strict_types=1); * @copyright Copyright (c) 2020, Georg Ehrke * * @author Georg Ehrke + * @author Joas Schilling * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Service; use OCA\UserStatus\Db\UserStatus; diff --git a/apps/user_status/tests/Unit/BackgroundJob/ClearOldStatusesBackgroundJobTest.php b/apps/user_status/tests/Unit/BackgroundJob/ClearOldStatusesBackgroundJobTest.php index 682151a3f5d..2cf9b7d1bd4 100644 --- a/apps/user_status/tests/Unit/BackgroundJob/ClearOldStatusesBackgroundJobTest.php +++ b/apps/user_status/tests/Unit/BackgroundJob/ClearOldStatusesBackgroundJobTest.php @@ -6,23 +6,24 @@ declare(strict_types=1); * @copyright Copyright (c) 2020, Georg Ehrke * * @author Georg Ehrke + * @author Joas Schilling * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\BackgroundJob; use OCA\UserStatus\BackgroundJob\ClearOldStatusesBackgroundJob; diff --git a/apps/user_status/tests/Unit/CapabilitiesTest.php b/apps/user_status/tests/Unit/CapabilitiesTest.php index 80f6765a694..af36900d3bc 100644 --- a/apps/user_status/tests/Unit/CapabilitiesTest.php +++ b/apps/user_status/tests/Unit/CapabilitiesTest.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests; use OCA\UserStatus\Capabilities; diff --git a/apps/user_status/tests/Unit/Connector/UserStatusProviderTest.php b/apps/user_status/tests/Unit/Connector/UserStatusProviderTest.php index bc485a5537c..2b126a7a5ea 100644 --- a/apps/user_status/tests/Unit/Connector/UserStatusProviderTest.php +++ b/apps/user_status/tests/Unit/Connector/UserStatusProviderTest.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Connector; use OCA\UserStatus\Connector\UserStatusProvider; diff --git a/apps/user_status/tests/Unit/Connector/UserStatusTest.php b/apps/user_status/tests/Unit/Connector/UserStatusTest.php index 35f79f9958a..61b5d326287 100644 --- a/apps/user_status/tests/Unit/Connector/UserStatusTest.php +++ b/apps/user_status/tests/Unit/Connector/UserStatusTest.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Connector; use OCA\UserStatus\Connector\UserStatus; diff --git a/apps/user_status/tests/Unit/Controller/PredefinedStatusControllerTest.php b/apps/user_status/tests/Unit/Controller/PredefinedStatusControllerTest.php index 44e3af5c0d2..81ad3b8e390 100644 --- a/apps/user_status/tests/Unit/Controller/PredefinedStatusControllerTest.php +++ b/apps/user_status/tests/Unit/Controller/PredefinedStatusControllerTest.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Controller; use OCA\UserStatus\Controller\PredefinedStatusController; diff --git a/apps/user_status/tests/Unit/Controller/StatusesControllerTest.php b/apps/user_status/tests/Unit/Controller/StatusesControllerTest.php index 1dd6c0c4ae1..19c4bee076e 100644 --- a/apps/user_status/tests/Unit/Controller/StatusesControllerTest.php +++ b/apps/user_status/tests/Unit/Controller/StatusesControllerTest.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Controller; use OCA\UserStatus\Controller\StatusesController; diff --git a/apps/user_status/tests/Unit/Controller/UserStatusControllerTest.php b/apps/user_status/tests/Unit/Controller/UserStatusControllerTest.php index fbf86ba92c4..916f5447ea4 100644 --- a/apps/user_status/tests/Unit/Controller/UserStatusControllerTest.php +++ b/apps/user_status/tests/Unit/Controller/UserStatusControllerTest.php @@ -6,23 +6,24 @@ declare(strict_types=1); * @copyright Copyright (c) 2020, Georg Ehrke * * @author Georg Ehrke + * @author Joas Schilling * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Controller; use OCA\UserStatus\Controller\UserStatusController; diff --git a/apps/user_status/tests/Unit/Dashboard/UserStatusWidgetTest.php b/apps/user_status/tests/Unit/Dashboard/UserStatusWidgetTest.php index b6f3b410186..d23b2bc02ff 100644 --- a/apps/user_status/tests/Unit/Dashboard/UserStatusWidgetTest.php +++ b/apps/user_status/tests/Unit/Dashboard/UserStatusWidgetTest.php @@ -5,24 +5,25 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020, Georg Ehrke * + * @author Christoph Wurst * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Dashboard; use OCA\UserStatus\Dashboard\UserStatusWidget; diff --git a/apps/user_status/tests/Unit/Db/UserStatusMapperTest.php b/apps/user_status/tests/Unit/Db/UserStatusMapperTest.php index 8cdaa5fd829..3959d1f91ef 100644 --- a/apps/user_status/tests/Unit/Db/UserStatusMapperTest.php +++ b/apps/user_status/tests/Unit/Db/UserStatusMapperTest.php @@ -5,24 +5,25 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020, Georg Ehrke * + * @author Christoph Wurst * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Db; use OCA\UserStatus\Db\UserStatus; diff --git a/apps/user_status/tests/Unit/Listener/UserDeletedListenerTest.php b/apps/user_status/tests/Unit/Listener/UserDeletedListenerTest.php index 6267bf1d185..883a06059f7 100644 --- a/apps/user_status/tests/Unit/Listener/UserDeletedListenerTest.php +++ b/apps/user_status/tests/Unit/Listener/UserDeletedListenerTest.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Listener; use OCA\UserStatus\Listener\UserDeletedListener; diff --git a/apps/user_status/tests/Unit/Listener/UserLiveStatusListenerTest.php b/apps/user_status/tests/Unit/Listener/UserLiveStatusListenerTest.php index ff12628ba70..2e815073b5a 100644 --- a/apps/user_status/tests/Unit/Listener/UserLiveStatusListenerTest.php +++ b/apps/user_status/tests/Unit/Listener/UserLiveStatusListenerTest.php @@ -5,24 +5,25 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020, Georg Ehrke * + * @author Daniel Kesselberg * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Listener; use OCA\UserStatus\Db\UserStatus; diff --git a/apps/user_status/tests/Unit/Service/EmojiServiceTest.php b/apps/user_status/tests/Unit/Service/EmojiServiceTest.php index e622a7eabcd..454f1d75a0d 100644 --- a/apps/user_status/tests/Unit/Service/EmojiServiceTest.php +++ b/apps/user_status/tests/Unit/Service/EmojiServiceTest.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Service; use OCA\UserStatus\Service\EmojiService; diff --git a/apps/user_status/tests/Unit/Service/PredefinedStatusServiceTest.php b/apps/user_status/tests/Unit/Service/PredefinedStatusServiceTest.php index f0634c7fbe8..1ca9d11c0fd 100644 --- a/apps/user_status/tests/Unit/Service/PredefinedStatusServiceTest.php +++ b/apps/user_status/tests/Unit/Service/PredefinedStatusServiceTest.php @@ -5,24 +5,25 @@ declare(strict_types=1); /** * @copyright Copyright (c) 2020, Georg Ehrke * + * @author Daniel Kesselberg * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Service; use OCA\UserStatus\Service\PredefinedStatusService; diff --git a/apps/user_status/tests/Unit/Service/StatusServiceTest.php b/apps/user_status/tests/Unit/Service/StatusServiceTest.php index 1e61f5b09ca..44f885a207a 100644 --- a/apps/user_status/tests/Unit/Service/StatusServiceTest.php +++ b/apps/user_status/tests/Unit/Service/StatusServiceTest.php @@ -6,23 +6,24 @@ declare(strict_types=1); * @copyright Copyright (c) 2020, Georg Ehrke * * @author Georg Ehrke + * @author Joas Schilling * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\UserStatus\Tests\Service; use OCA\UserStatus\Db\UserStatus; diff --git a/apps/user_status/tests/bootstrap.php b/apps/user_status/tests/bootstrap.php index 5ef5008fed2..b6d8fc06417 100644 --- a/apps/user_status/tests/bootstrap.php +++ b/apps/user_status/tests/bootstrap.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Georg Ehrke * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - if (!defined('PHPUNIT_RUN')) { define('PHPUNIT_RUN', 1); } diff --git a/apps/weather_status/appinfo/routes.php b/apps/weather_status/appinfo/routes.php index 8737bfd2dc6..7f0f019d3e5 100644 --- a/apps/weather_status/appinfo/routes.php +++ b/apps/weather_status/appinfo/routes.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Julien Veyssier * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - return [ 'ocs' => [ ['name' => 'WeatherStatus#setMode', 'url' => '/api/v1/mode', 'verb' => 'PUT'], diff --git a/apps/weather_status/lib/AppInfo/Application.php b/apps/weather_status/lib/AppInfo/Application.php index 6a8ed762e1b..e6f40321b3c 100644 --- a/apps/weather_status/lib/AppInfo/Application.php +++ b/apps/weather_status/lib/AppInfo/Application.php @@ -7,22 +7,22 @@ declare(strict_types=1); * * @author Julien Veyssier * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\WeatherStatus\AppInfo; use OCA\WeatherStatus\Capabilities; diff --git a/apps/weather_status/lib/Capabilities.php b/apps/weather_status/lib/Capabilities.php index 07c53a20149..c9de0039a39 100644 --- a/apps/weather_status/lib/Capabilities.php +++ b/apps/weather_status/lib/Capabilities.php @@ -7,19 +7,20 @@ declare(strict_types=1); * * @author Julien Veyssier * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ namespace OCA\WeatherStatus; diff --git a/apps/weather_status/lib/Controller/WeatherStatusController.php b/apps/weather_status/lib/Controller/WeatherStatusController.php index 7ec6c71493e..01bdf78f410 100644 --- a/apps/weather_status/lib/Controller/WeatherStatusController.php +++ b/apps/weather_status/lib/Controller/WeatherStatusController.php @@ -7,19 +7,20 @@ declare(strict_types=1); * * @author Julien Veyssier * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ namespace OCA\WeatherStatus\Controller; diff --git a/apps/weather_status/lib/Service/WeatherStatusService.php b/apps/weather_status/lib/Service/WeatherStatusService.php index 86b77a4358f..fa3177b20f6 100644 --- a/apps/weather_status/lib/Service/WeatherStatusService.php +++ b/apps/weather_status/lib/Service/WeatherStatusService.php @@ -6,23 +6,24 @@ declare(strict_types=1); * @copyright Copyright (c) 2020, Julien Veyssier * * @author Julien Veyssier + * @author Roeland Jago Douma * - * @license AGPL-3.0 + * @license GNU AGPL version 3 or any later version * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ - namespace OCA\WeatherStatus\Service; use OCP\IConfig; diff --git a/apps/workflowengine/appinfo/routes.php b/apps/workflowengine/appinfo/routes.php index ea44fb6cda1..b5436e86daa 100644 --- a/apps/workflowengine/appinfo/routes.php +++ b/apps/workflowengine/appinfo/routes.php @@ -2,6 +2,11 @@ /** * @copyright Copyright (c) 2016 Morris Jobke * + * @author Arthur Schiwon + * @author Joas Schilling + * @author Julius Härtl + * @author Morris Jobke + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - return [ 'routes' => [ ['name' => 'requestTime#getTimezones', 'url' => '/timezones', 'verb' => 'GET'], diff --git a/apps/workflowengine/lib/AppInfo/Application.php b/apps/workflowengine/lib/AppInfo/Application.php index 3b253acbce1..fb5514fecef 100644 --- a/apps/workflowengine/lib/AppInfo/Application.php +++ b/apps/workflowengine/lib/AppInfo/Application.php @@ -2,6 +2,12 @@ /** * @copyright Copyright (c) 2016 Morris Jobke * + * @author Arthur Schiwon + * @author Christoph Wurst + * @author Julius Härtl + * @author Morris Jobke + * @author Roeland Jago Douma + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\AppInfo; use Closure; diff --git a/apps/workflowengine/lib/BackgroundJobs/Rotate.php b/apps/workflowengine/lib/BackgroundJobs/Rotate.php index b1b747b3725..e96af4fd9e1 100644 --- a/apps/workflowengine/lib/BackgroundJobs/Rotate.php +++ b/apps/workflowengine/lib/BackgroundJobs/Rotate.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2018 Arthur Schiwon * * @author Arthur Schiwon + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -13,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\BackgroundJobs; use OC\BackgroundJob\TimedJob; diff --git a/apps/workflowengine/lib/Check/AbstractStringCheck.php b/apps/workflowengine/lib/Check/AbstractStringCheck.php index f42da048f21..26047f90d50 100644 --- a/apps/workflowengine/lib/Check/AbstractStringCheck.php +++ b/apps/workflowengine/lib/Check/AbstractStringCheck.php @@ -2,6 +2,10 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Arthur Schiwon + * @author Christoph Wurst + * @author Joas Schilling + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Check; use OCP\IL10N; diff --git a/apps/workflowengine/lib/Check/FileMimeType.php b/apps/workflowengine/lib/Check/FileMimeType.php index 8d9e2468ebd..2fa0361f3b4 100644 --- a/apps/workflowengine/lib/Check/FileMimeType.php +++ b/apps/workflowengine/lib/Check/FileMimeType.php @@ -2,6 +2,12 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Arthur Schiwon + * @author Joas Schilling + * @author Julius Härtl + * @author Morris Jobke + * @author Roeland Jago Douma + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Check; use OCA\WorkflowEngine\Entity\File; diff --git a/apps/workflowengine/lib/Check/FileName.php b/apps/workflowengine/lib/Check/FileName.php index b2442410af4..32df51ebfac 100644 --- a/apps/workflowengine/lib/Check/FileName.php +++ b/apps/workflowengine/lib/Check/FileName.php @@ -1,9 +1,14 @@ * + * @author Arthur Schiwon + * @author Daniel Kesselberg + * @author szaimen + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -13,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Check; use OC\Files\Storage\Local; diff --git a/apps/workflowengine/lib/Check/FileSize.php b/apps/workflowengine/lib/Check/FileSize.php index 741426082dc..7271147e834 100644 --- a/apps/workflowengine/lib/Check/FileSize.php +++ b/apps/workflowengine/lib/Check/FileSize.php @@ -2,6 +2,10 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Arthur Schiwon + * @author Joas Schilling + * @author Morris Jobke + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Check; use OCA\WorkflowEngine\Entity\File; diff --git a/apps/workflowengine/lib/Check/FileSystemTags.php b/apps/workflowengine/lib/Check/FileSystemTags.php index 530509608a1..b69f7492e02 100644 --- a/apps/workflowengine/lib/Check/FileSystemTags.php +++ b/apps/workflowengine/lib/Check/FileSystemTags.php @@ -2,6 +2,11 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Arthur Schiwon + * @author Christoph Wurst + * @author Joas Schilling + * @author Julius Härtl + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Check; use OCA\Files_Sharing\SharedStorage; diff --git a/apps/workflowengine/lib/Check/RequestRemoteAddress.php b/apps/workflowengine/lib/Check/RequestRemoteAddress.php index abc13bf9e38..474599a8642 100644 --- a/apps/workflowengine/lib/Check/RequestRemoteAddress.php +++ b/apps/workflowengine/lib/Check/RequestRemoteAddress.php @@ -2,6 +2,12 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Christoph Wurst + * @author J0WI + * @author Joas Schilling + * @author Julius Härtl + * @author Morris Jobke + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Check; use OCP\IL10N; diff --git a/apps/workflowengine/lib/Check/RequestTime.php b/apps/workflowengine/lib/Check/RequestTime.php index c23b22a0319..b7a2f725451 100644 --- a/apps/workflowengine/lib/Check/RequestTime.php +++ b/apps/workflowengine/lib/Check/RequestTime.php @@ -2,6 +2,11 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Arthur Schiwon + * @author Christoph Wurst + * @author Joas Schilling + * @author Julius Härtl + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Check; use OCP\AppFramework\Utility\ITimeFactory; diff --git a/apps/workflowengine/lib/Check/RequestURL.php b/apps/workflowengine/lib/Check/RequestURL.php index 30424a1ee47..03bb4889e0b 100644 --- a/apps/workflowengine/lib/Check/RequestURL.php +++ b/apps/workflowengine/lib/Check/RequestURL.php @@ -2,6 +2,9 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Christoph Wurst + * @author Joas Schilling + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Check; use OCP\IL10N; diff --git a/apps/workflowengine/lib/Check/RequestUserAgent.php b/apps/workflowengine/lib/Check/RequestUserAgent.php index d5ca80e9d3e..e8ca3ddfbc9 100644 --- a/apps/workflowengine/lib/Check/RequestUserAgent.php +++ b/apps/workflowengine/lib/Check/RequestUserAgent.php @@ -2,6 +2,10 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Arthur Schiwon + * @author Joas Schilling + * @author Morris Jobke + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Check; use OCP\IL10N; diff --git a/apps/workflowengine/lib/Check/TFileCheck.php b/apps/workflowengine/lib/Check/TFileCheck.php index 90eb7dc616c..561cf012ff7 100644 --- a/apps/workflowengine/lib/Check/TFileCheck.php +++ b/apps/workflowengine/lib/Check/TFileCheck.php @@ -1,10 +1,12 @@ * * @author Arthur Schiwon + * @author Joas Schilling * * @license GNU AGPL version 3 or any later version * @@ -15,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Check; use OCA\WorkflowEngine\AppInfo\Application; diff --git a/apps/workflowengine/lib/Check/UserGroupMembership.php b/apps/workflowengine/lib/Check/UserGroupMembership.php index 27b2ce1879c..4ca073b8e5b 100644 --- a/apps/workflowengine/lib/Check/UserGroupMembership.php +++ b/apps/workflowengine/lib/Check/UserGroupMembership.php @@ -2,6 +2,10 @@ /** * @copyright Copyright (c) 2016 Morris Jobke * + * @author Joas Schilling + * @author Julius Härtl + * @author Morris Jobke + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Check; use OCP\IGroupManager; diff --git a/apps/workflowengine/lib/Command/Index.php b/apps/workflowengine/lib/Command/Index.php index fdc83b1d3c2..4f418b4ffc7 100644 --- a/apps/workflowengine/lib/Command/Index.php +++ b/apps/workflowengine/lib/Command/Index.php @@ -1,10 +1,12 @@ * * @author Arthur Schiwon + * @author Joas Schilling * * @license GNU AGPL version 3 or any later version * @@ -15,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Command; use OCA\WorkflowEngine\Helper\ScopeContext; diff --git a/apps/workflowengine/lib/Controller/AWorkflowController.php b/apps/workflowengine/lib/Controller/AWorkflowController.php index 8b0d35ef62e..39549d3d6e0 100644 --- a/apps/workflowengine/lib/Controller/AWorkflowController.php +++ b/apps/workflowengine/lib/Controller/AWorkflowController.php @@ -1,10 +1,13 @@ * * @author Arthur Schiwon + * @author blizzz + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -15,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Controller; use Doctrine\DBAL\Exception; diff --git a/apps/workflowengine/lib/Controller/GlobalWorkflowsController.php b/apps/workflowengine/lib/Controller/GlobalWorkflowsController.php index 6641155f032..8778f85365f 100644 --- a/apps/workflowengine/lib/Controller/GlobalWorkflowsController.php +++ b/apps/workflowengine/lib/Controller/GlobalWorkflowsController.php @@ -1,10 +1,12 @@ * * @author Arthur Schiwon + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -15,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Controller; use OCA\WorkflowEngine\Helper\ScopeContext; diff --git a/apps/workflowengine/lib/Controller/RequestTime.php b/apps/workflowengine/lib/Controller/RequestTime.php index 1a07ca20a4d..a1d9ff4a630 100644 --- a/apps/workflowengine/lib/Controller/RequestTime.php +++ b/apps/workflowengine/lib/Controller/RequestTime.php @@ -2,6 +2,9 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Joas Schilling + * @author Morris Jobke + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +14,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Controller; use OCP\AppFramework\Controller; diff --git a/apps/workflowengine/lib/Controller/UserWorkflowsController.php b/apps/workflowengine/lib/Controller/UserWorkflowsController.php index c3884b61979..dfb17c17f9b 100644 --- a/apps/workflowengine/lib/Controller/UserWorkflowsController.php +++ b/apps/workflowengine/lib/Controller/UserWorkflowsController.php @@ -1,10 +1,13 @@ * * @author Arthur Schiwon + * @author Christoph Wurst + * @author Julius Härtl * * @license GNU AGPL version 3 or any later version * @@ -15,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Controller; use OCA\WorkflowEngine\Helper\ScopeContext; diff --git a/apps/workflowengine/lib/Entity/File.php b/apps/workflowengine/lib/Entity/File.php index 9131caf888a..2c8701f0378 100644 --- a/apps/workflowengine/lib/Entity/File.php +++ b/apps/workflowengine/lib/Entity/File.php @@ -1,10 +1,12 @@ * * @author Arthur Schiwon + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -15,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Entity; use OCP\EventDispatcher\Event; diff --git a/apps/workflowengine/lib/Helper/LogContext.php b/apps/workflowengine/lib/Helper/LogContext.php index 405d8ceb4ee..2ad619f1686 100644 --- a/apps/workflowengine/lib/Helper/LogContext.php +++ b/apps/workflowengine/lib/Helper/LogContext.php @@ -1,10 +1,13 @@ * * @author Arthur Schiwon + * @author Christoph Wurst + * @author Julius Härtl * * @license GNU AGPL version 3 or any later version * @@ -15,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Helper; use OCP\WorkflowEngine\IEntity; diff --git a/apps/workflowengine/lib/Helper/ScopeContext.php b/apps/workflowengine/lib/Helper/ScopeContext.php index 2ddea398f6b..1927aac6b40 100644 --- a/apps/workflowengine/lib/Helper/ScopeContext.php +++ b/apps/workflowengine/lib/Helper/ScopeContext.php @@ -1,10 +1,12 @@ * * @author Arthur Schiwon + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -15,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Helper; use OCP\WorkflowEngine\IManager; diff --git a/apps/workflowengine/lib/Listener/LoadAdditionalSettingsScriptsListener.php b/apps/workflowengine/lib/Listener/LoadAdditionalSettingsScriptsListener.php index b01afbdadee..dd1b345a69b 100644 --- a/apps/workflowengine/lib/Listener/LoadAdditionalSettingsScriptsListener.php +++ b/apps/workflowengine/lib/Listener/LoadAdditionalSettingsScriptsListener.php @@ -5,7 +5,8 @@ declare(strict_types=1); /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst + * @author François Freitag * * @license GNU AGPL version 3 or any later version * @@ -16,13 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * */ - namespace OCA\WorkflowEngine\Listener; use OCA\WorkflowEngine\AppInfo\Application; diff --git a/apps/workflowengine/lib/Manager.php b/apps/workflowengine/lib/Manager.php index 8c37e4d9885..d0eee80ca37 100644 --- a/apps/workflowengine/lib/Manager.php +++ b/apps/workflowengine/lib/Manager.php @@ -2,6 +2,15 @@ /** * @copyright Copyright (c) 2016 Morris Jobke * + * @author Arthur Schiwon + * @author blizzz + * @author Christoph Wurst + * @author Daniel Kesselberg + * @author Joas Schilling + * @author Julius Härtl + * @author Morris Jobke + * @author Roeland Jago Douma + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +20,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine; use Doctrine\DBAL\Exception; diff --git a/apps/workflowengine/lib/Migration/PopulateNewlyIntroducedDatabaseFields.php b/apps/workflowengine/lib/Migration/PopulateNewlyIntroducedDatabaseFields.php index 290dae4c67a..019d3ae6bcc 100644 --- a/apps/workflowengine/lib/Migration/PopulateNewlyIntroducedDatabaseFields.php +++ b/apps/workflowengine/lib/Migration/PopulateNewlyIntroducedDatabaseFields.php @@ -1,10 +1,12 @@ * * @author Arthur Schiwon + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -15,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Migration; use OCP\DB\IResult; diff --git a/apps/workflowengine/lib/Migration/Version2000Date20190808074233.php b/apps/workflowengine/lib/Migration/Version2000Date20190808074233.php index e8ce704f9bd..bfb22665287 100644 --- a/apps/workflowengine/lib/Migration/Version2000Date20190808074233.php +++ b/apps/workflowengine/lib/Migration/Version2000Date20190808074233.php @@ -2,6 +2,31 @@ declare(strict_types=1); +/** + * @copyright Copyright (c) 2016 Arthur Schiwon + * + * @author Arthur Schiwon + * @author Christoph Wurst + * @author Daniel Kesselberg + * @author Joas Schilling + * @author Roeland Jago Douma + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ namespace OCA\WorkflowEngine\Migration; use Closure; diff --git a/apps/workflowengine/lib/Service/Logger.php b/apps/workflowengine/lib/Service/Logger.php index bfdb8b9ad41..6ad7f8c4847 100644 --- a/apps/workflowengine/lib/Service/Logger.php +++ b/apps/workflowengine/lib/Service/Logger.php @@ -1,10 +1,13 @@ * * @author Arthur Schiwon + * @author Christoph Wurst + * @author Julius Härtl * * @license GNU AGPL version 3 or any later version * @@ -15,14 +18,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Service; use OCA\WorkflowEngine\AppInfo\Application; diff --git a/apps/workflowengine/lib/Service/RuleMatcher.php b/apps/workflowengine/lib/Service/RuleMatcher.php index 9400d7bdecd..13cba8a6aa5 100644 --- a/apps/workflowengine/lib/Service/RuleMatcher.php +++ b/apps/workflowengine/lib/Service/RuleMatcher.php @@ -1,10 +1,15 @@ * * @author Arthur Schiwon + * @author Christoph Wurst + * @author Daniel Calviño Sánchez + * @author Daniel Kesselberg + * @author Joas Schilling * * @license GNU AGPL version 3 or any later version * @@ -15,14 +20,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Service; use OCA\WorkflowEngine\Helper\LogContext; diff --git a/apps/workflowengine/lib/Settings/ASettings.php b/apps/workflowengine/lib/Settings/ASettings.php index 0bd3951c40e..d35524727a8 100644 --- a/apps/workflowengine/lib/Settings/ASettings.php +++ b/apps/workflowengine/lib/Settings/ASettings.php @@ -1,10 +1,16 @@ * * @author Arthur Schiwon + * @author Christoph Wurst + * @author Daniel Kesselberg + * @author Julius Härtl + * @author Morris Jobke + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -15,14 +21,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Settings; use OCA\WorkflowEngine\AppInfo\Application; diff --git a/apps/workflowengine/lib/Settings/Admin.php b/apps/workflowengine/lib/Settings/Admin.php index cc6269c168b..25915ba08a4 100644 --- a/apps/workflowengine/lib/Settings/Admin.php +++ b/apps/workflowengine/lib/Settings/Admin.php @@ -1,10 +1,12 @@ * * @author Arthur Schiwon + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -15,14 +17,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Settings; use OCP\WorkflowEngine\IManager; diff --git a/apps/workflowengine/lib/Settings/Personal.php b/apps/workflowengine/lib/Settings/Personal.php index 20eb13ae48e..8b575e00219 100644 --- a/apps/workflowengine/lib/Settings/Personal.php +++ b/apps/workflowengine/lib/Settings/Personal.php @@ -1,10 +1,15 @@ * * @author Arthur Schiwon + * @author Christoph Wurst + * @author Julius Härtl + * @author Morris Jobke + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -15,14 +20,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Settings; use OCP\WorkflowEngine\IManager; diff --git a/apps/workflowengine/lib/Settings/Section.php b/apps/workflowengine/lib/Settings/Section.php index 00bedf8d980..c3fee45f5df 100644 --- a/apps/workflowengine/lib/Settings/Section.php +++ b/apps/workflowengine/lib/Settings/Section.php @@ -2,7 +2,10 @@ /** * @copyright Copyright (c) 2016 Lukas Reschke * - * @author Lukas Reschke + * @author Arthur Schiwon + * @author Jan-Christoph Borchardt + * @author Joas Schilling + * @author Julius Härtl * * @license GNU AGPL version 3 or any later version * @@ -13,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Settings; use OCA\WorkflowEngine\AppInfo\Application; diff --git a/apps/workflowengine/tests/Check/AbstractStringCheckTest.php b/apps/workflowengine/tests/Check/AbstractStringCheckTest.php index 083876268f1..0c0518ca5ec 100644 --- a/apps/workflowengine/tests/Check/AbstractStringCheckTest.php +++ b/apps/workflowengine/tests/Check/AbstractStringCheckTest.php @@ -2,6 +2,10 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Christoph Wurst + * @author Joas Schilling + * @author Morris Jobke + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Tests\Check; use OCP\IL10N; diff --git a/apps/workflowengine/tests/Check/RequestRemoteAddressTest.php b/apps/workflowengine/tests/Check/RequestRemoteAddressTest.php index 92513996ae1..e0ea2269e35 100644 --- a/apps/workflowengine/tests/Check/RequestRemoteAddressTest.php +++ b/apps/workflowengine/tests/Check/RequestRemoteAddressTest.php @@ -2,6 +2,10 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Joas Schilling + * @author Morris Jobke + * @author Roeland Jago Douma + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Tests\Check; use OCP\IL10N; diff --git a/apps/workflowengine/tests/Check/RequestTimeTest.php b/apps/workflowengine/tests/Check/RequestTimeTest.php index 7c29006b33d..a0a6334da5f 100644 --- a/apps/workflowengine/tests/Check/RequestTimeTest.php +++ b/apps/workflowengine/tests/Check/RequestTimeTest.php @@ -2,6 +2,10 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Joas Schilling + * @author Morris Jobke + * @author Roeland Jago Douma + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +15,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Tests\Check; use OCP\IL10N; diff --git a/apps/workflowengine/tests/Check/RequestUserAgentTest.php b/apps/workflowengine/tests/Check/RequestUserAgentTest.php index 12987d4064b..3111b4ffc8e 100644 --- a/apps/workflowengine/tests/Check/RequestUserAgentTest.php +++ b/apps/workflowengine/tests/Check/RequestUserAgentTest.php @@ -2,6 +2,11 @@ /** * @copyright Copyright (c) 2018 Joas Schilling * + * @author Christoph Wurst + * @author Joas Schilling + * @author Morris Jobke + * @author Roeland Jago Douma + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +16,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Tests\Check; use OCA\WorkflowEngine\Check\RequestUserAgent; diff --git a/apps/workflowengine/tests/ManagerTest.php b/apps/workflowengine/tests/ManagerTest.php index 1aaa3b1a3c5..612495a5b6d 100644 --- a/apps/workflowengine/tests/ManagerTest.php +++ b/apps/workflowengine/tests/ManagerTest.php @@ -2,6 +2,12 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Arthur Schiwon + * @author Christoph Wurst + * @author Joas Schilling + * @author Julius Härtl + * @author Roeland Jago Douma + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -11,14 +17,13 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . * */ - namespace OCA\WorkflowEngine\Tests; use OC\L10N\L10N; -- cgit v1.2.3