From 23c64b9a119c5df9f985ad4c62ef6fb79d68bee3 Mon Sep 17 00:00:00 2001 From: nupplaPhil Date: Sun, 9 Feb 2020 15:45:36 +0100 Subject: [PATCH 1/4] Add license info at Friendica classes --- src/BaseCollection.php | 19 +++++++ src/BaseEntity.php | 19 +++++++ src/BaseFactory.php | 19 +++++++ src/BaseModel.php | 19 +++++++ src/BaseModule.php | 19 +++++++ src/BaseRepository.php | 19 +++++++ src/Collection/Api/Mastodon/Emojis.php | 19 +++++++ src/Collection/Api/Mastodon/Fields.php | 19 +++++++ src/Collection/Api/Notifications.php | 19 +++++++ src/Collection/FSuggests.php | 19 +++++++ src/Collection/Introductions.php | 19 +++++++ src/Collection/Notifies.php | 19 +++++++ src/Collection/PermissionSets.php | 19 +++++++ src/Collection/ProfileFields.php | 19 +++++++ src/Console/ArchiveContact.php | 19 +++++++ src/Console/AutomaticInstallation.php | 19 +++++++ src/Console/Cache.php | 21 +++++++- src/Console/Config.php | 22 ++++++-- src/Console/CreateDoxygen.php | 21 +++++++- src/Console/DatabaseStructure.php | 21 +++++++- src/Console/DocBloxErrorChecker.php | 22 ++++++-- src/Console/Extract.php | 21 +++++++- src/Console/GlobalCommunityBlock.php | 24 +++++++-- src/Console/GlobalCommunitySilence.php | 24 +++++++-- src/Console/Lock.php | 21 +++++++- src/Console/Maintenance.php | 21 +++++++- src/Console/NewPassword.php | 23 ++++++-- src/Console/PhpToPo.php | 21 +++++++- src/Console/PoToPhp.php | 21 +++++++- src/Console/PostUpdate.php | 24 +++++++-- src/Console/ServerBlock.php | 19 +++++++ src/Console/Storage.php | 20 ++++++- src/Console/Typo.php | 21 +++++++- src/Content/ContactSelector.php | 19 ++++++- src/Content/Feature.php | 20 ++++++- src/Content/ForumManager.php | 20 ++++++- src/Content/Item.php | 21 +++++++- src/Content/Nav.php | 19 ++++++- src/Content/OEmbed.php | 22 ++++++-- src/Content/Pager.php | 21 +++++++- src/Content/Smilies.php | 25 +++++---- src/Content/Text/BBCode.php | 18 ++++++- src/Content/Text/BBCode/Video.php | 21 +++++++- src/Content/Text/HTML.php | 18 ++++++- src/Content/Text/Markdown.php | 21 ++++++-- src/Content/Text/MarkdownParser.php | 54 +++++++++++++------ src/Content/Text/Plaintext.php | 19 ++++++- src/Content/Widget.php | 19 ++++++- src/Content/Widget/SavedSearches.php | 19 +++++++ src/Content/Widget/TrendingTags.php | 19 +++++++ src/Core/ACL.php | 21 ++++++-- src/Core/Addon.php | 18 ++++++- src/Core/BaseCache.php | 19 +++++++ src/Core/BaseConfig.php | 19 +++++++ src/Core/BaseLock.php | 19 +++++++ src/Core/BasePConfig.php | 19 +++++++ src/Core/Cache/APCuCache.php | 21 +++++++- src/Core/Cache/ArrayCache.php | 23 ++++++-- src/Core/Cache/DatabaseCache.php | 21 +++++++- src/Core/Cache/Duration.php | 19 +++++++ src/Core/Cache/ICache.php | 21 +++++++- src/Core/Cache/IMemoryCache.php | 23 ++++++-- src/Core/Cache/MemcacheCache.php | 21 +++++++- src/Core/Cache/MemcachedCache.php | 21 +++++++- src/Core/Cache/ProfilerCache.php | 19 +++++++ src/Core/Cache/RedisCache.php | 22 ++++++-- src/Core/Cache/TraitCompareDelete.php | 21 +++++++- src/Core/Cache/TraitCompareSet.php | 21 +++++++- src/Core/Cache/TraitMemcacheCommand.php | 19 +++++++ src/Core/Cache/Type.php | 19 +++++++ src/Core/Config/Cache.php | 19 +++++++ src/Core/Config/IConfig.php | 19 +++++++ src/Core/Config/JitConfig.php | 19 +++++++ src/Core/Config/PreloadConfig.php | 19 +++++++ src/Core/Console.php | 21 +++++++- src/Core/Hook.php | 19 ++++++- src/Core/Installer.php | 19 ++++++- src/Core/L10n.php | 19 +++++++ src/Core/Lock/CacheLock.php | 19 +++++++ src/Core/Lock/DatabaseLock.php | 19 +++++++ src/Core/Lock/ILock.php | 21 +++++++- src/Core/Lock/SemaphoreLock.php | 19 +++++++ src/Core/Lock/Type.php | 19 +++++++ src/Core/Logger.php | 19 ++++++- src/Core/PConfig/Cache.php | 19 +++++++ src/Core/PConfig/IPConfig.php | 19 +++++++ src/Core/PConfig/JitPConfig.php | 19 +++++++ src/Core/PConfig/PreloadPConfig.php | 19 +++++++ src/Core/Process.php | 21 +++++++- src/Core/Protocol.php | 23 ++++++-- src/Core/Renderer.php | 18 ++++++- src/Core/Search.php | 19 +++++++ src/Core/Session.php | 22 ++++++-- src/Core/Session/AbstractSession.php | 20 ++++++- src/Core/Session/Handler/Cache.php | 23 ++++++-- src/Core/Session/Handler/Database.php | 23 ++++++-- src/Core/Session/ISession.php | 19 +++++++ src/Core/Session/Memory.php | 21 +++++++- src/Core/Session/Native.php | 21 +++++++- src/Core/StorageManager.php | 19 +++++++ src/Core/System.php | 26 ++++++--- src/Core/Theme.php | 19 ++++++- src/Core/Update.php | 19 +++++++ src/Core/UserImport.php | 19 ++++++- src/Core/Worker.php | 25 ++++++--- src/DI.php | 19 +++++++ src/Database/DBA.php | 21 +++++++- src/Database/DBStructure.php | 18 ++++++- src/Database/Database.php | 21 +++++++- src/Database/PostUpdate.php | 19 ++++++- src/Factory/Api/Mastodon/Account.php | 19 +++++++ src/Factory/Api/Mastodon/Emoji.php | 19 +++++++ src/Factory/Api/Mastodon/Field.php | 19 +++++++ src/Factory/Api/Mastodon/FollowRequest.php | 19 +++++++ src/Factory/Api/Mastodon/Relationship.php | 19 +++++++ src/Factory/CacheFactory.php | 19 +++++++ src/Factory/ConfigFactory.php | 19 +++++++ src/Factory/LockFactory.php | 19 +++++++ src/Factory/LoggerFactory.php | 19 +++++++ src/Factory/Notification/Introduction.php | 19 +++++++ src/Factory/Notification/Notification.php | 19 +++++++ src/Factory/SessionFactory.php | 19 +++++++ src/LegacyModule.php | 19 +++++++ src/Model/APContact.php | 19 ++++++- src/Model/Attach.php | 21 ++++++-- src/Model/Config/Config.php | 19 +++++++ src/Model/Config/DbaConfig.php | 19 +++++++ src/Model/Config/PConfig.php | 19 +++++++ src/Model/Contact.php | 19 ++++++- src/Model/Conversation.php | 18 ++++++- src/Model/Event.php | 18 ++++++- src/Model/FSuggest.php | 19 +++++++ src/Model/FileTag.php | 18 ++++++- src/Model/GContact.php | 20 ++++++- src/Model/GServer.php | 21 ++++++-- src/Model/Group.php | 18 ++++++- src/Model/Introduction.php | 19 +++++++ src/Model/Item.php | 19 ++++++- src/Model/ItemContent.php | 19 ++++++- src/Model/ItemDeliveryData.php | 19 ++++++- src/Model/ItemURI.php | 19 ++++++- src/Model/Mail.php | 20 ++++++- src/Model/Nodeinfo.php | 19 +++++++ src/Model/Notify.php | 19 +++++++ src/Model/Notify/ObjectType.php | 19 +++++++ src/Model/Notify/Type.php | 19 +++++++ src/Model/OpenWebAuthToken.php | 20 ++++++- src/Model/PermissionSet.php | 18 ++++++- src/Model/Photo.php | 21 ++++++-- src/Model/Process.php | 19 ++++++- src/Model/Profile.php | 19 ++++++- src/Model/ProfileField.php | 19 +++++++ src/Model/PushSubscriber.php | 19 ++++++- src/Model/Register.php | 21 ++++++-- src/Model/Search.php | 19 +++++++ src/Model/Storage/AbstractStorage.php | 19 +++++++ src/Model/Storage/Database.php | 19 ++++++- src/Model/Storage/Filesystem.php | 19 ++++++- src/Model/Storage/IStorage.php | 19 ++++++- src/Model/Storage/StorageException.php | 19 ++++++- src/Model/Storage/SystemResource.php | 19 ++++++- src/Model/Term.php | 21 ++++++-- src/Model/TwoFactor/AppSpecificPassword.php | 21 +++++++- src/Model/TwoFactor/RecoveryCode.php | 21 +++++++- src/Model/User.php | 20 +++++-- src/Model/User/Cookie.php | 19 +++++++ src/Model/UserItem.php | 19 ++++++- .../AccountManagementControlDocument.php | 19 +++++++ src/Module/Acctlink.php | 19 +++++++ src/Module/Admin/Addons/Details.php | 19 +++++++ src/Module/Admin/Addons/Index.php | 19 +++++++ src/Module/Admin/Blocklist/Contact.php | 19 +++++++ src/Module/Admin/Blocklist/Server.php | 19 +++++++ src/Module/Admin/DBSync.php | 19 +++++++ src/Module/Admin/Features.php | 19 +++++++ src/Module/Admin/Federation.php | 19 +++++++ src/Module/Admin/Item/Delete.php | 19 +++++++ src/Module/Admin/Item/Source.php | 22 ++++++-- src/Module/Admin/Logs/Settings.php | 19 +++++++ src/Module/Admin/Logs/View.php | 19 +++++++ src/Module/Admin/PhpInfo.php | 19 +++++++ src/Module/Admin/Queue.php | 19 +++++++ src/Module/Admin/Site.php | 19 +++++++ src/Module/Admin/Summary.php | 19 +++++++ src/Module/Admin/Themes/Details.php | 19 +++++++ src/Module/Admin/Themes/Embed.php | 19 +++++++ src/Module/Admin/Themes/Index.php | 19 +++++++ src/Module/Admin/Tos.php | 19 +++++++ src/Module/Admin/Users.php | 19 +++++++ src/Module/AllFriends.php | 19 +++++++ src/Module/Api/Friendica/Profile/Show.php | 19 +++++++ src/Module/Api/Mastodon/CustomEmojis.php | 19 +++++++ src/Module/Api/Mastodon/FollowRequests.php | 19 +++++++ src/Module/Api/Mastodon/Instance.php | 19 +++++++ src/Module/Api/Mastodon/Instance/Peers.php | 19 +++++++ src/Module/Apps.php | 19 +++++++ src/Module/BaseAdmin.php | 19 +++++++ src/Module/BaseApi.php | 19 +++++++ src/Module/BaseNotifications.php | 19 +++++++ src/Module/BaseProfile.php | 19 +++++++ src/Module/BaseSearch.php | 19 +++++++ src/Module/BaseSettings.php | 19 +++++++ src/Module/Bookmarklet.php | 19 +++++++ src/Module/Contact.php | 19 +++++++ src/Module/Contact/Advanced.php | 19 +++++++ src/Module/Contact/Hovercard.php | 19 +++++++ src/Module/Credits.php | 19 +++++++ src/Module/Debug/Babel.php | 19 +++++++ src/Module/Debug/Feed.php | 19 +++++++ src/Module/Debug/ItemBody.php | 19 +++++++ src/Module/Debug/Localtime.php | 19 +++++++ src/Module/Debug/Probe.php | 19 +++++++ src/Module/Debug/WebFinger.php | 19 +++++++ src/Module/Delegation.php | 19 +++++++ src/Module/Diaspora/Fetch.php | 19 +++++++ src/Module/Diaspora/Receive.php | 19 +++++++ src/Module/Directory.php | 19 +++++++ src/Module/Feed.php | 19 +++++++ src/Module/Filer/RemoveTag.php | 19 +++++++ src/Module/Filer/SaveTag.php | 19 +++++++ src/Module/FriendSuggest.php | 19 +++++++ src/Module/Friendica.php | 19 +++++++ src/Module/HTTPException/MethodNotAllowed.php | 19 +++++++ src/Module/HTTPException/PageNotFound.php | 19 +++++++ src/Module/Help.php | 19 +++++++ src/Module/Home.php | 19 +++++++ src/Module/HoverCard.php | 19 +++++++ src/Module/Install.php | 19 +++++++ src/Module/Invite.php | 19 +++++++ src/Module/Item/Compose.php | 19 +++++++ src/Module/Item/Ignore.php | 19 +++++++ src/Module/Like.php | 19 +++++++ src/Module/Maintenance.php | 19 +++++++ src/Module/Manifest.php | 19 +++++++ src/Module/NoScrape.php | 19 +++++++ src/Module/NodeInfo.php | 19 +++++++ src/Module/Notifications/Introductions.php | 19 +++++++ src/Module/Notifications/Notification.php | 19 +++++++ src/Module/Notifications/Notifications.php | 19 +++++++ src/Module/Oembed.php | 19 +++++++ src/Module/OpenSearch.php | 19 +++++++ src/Module/Pinned.php | 19 +++++++ src/Module/Profile/Contacts.php | 19 +++++++ src/Module/Profile/Index.php | 19 +++++++ src/Module/Profile/Profile.php | 19 +++++++ src/Module/Profile/Status.php | 19 +++++++ src/Module/PublicRSAKey.php | 19 +++++++ src/Module/RandomProfile.php | 19 +++++++ src/Module/ReallySimpleDiscovery.php | 19 +++++++ src/Module/Register.php | 19 +++++++ src/Module/RobotsTxt.php | 19 +++++++ src/Module/Search/Acl.php | 19 +++++++ src/Module/Search/Directory.php | 19 +++++++ src/Module/Search/Index.php | 19 +++++++ src/Module/Search/Saved.php | 19 +++++++ src/Module/Security/OpenID.php | 19 +++++++ src/Module/Security/TwoFactor/Recovery.php | 19 +++++++ src/Module/Security/TwoFactor/Verify.php | 19 +++++++ src/Module/Settings/Delegation.php | 19 +++++++ src/Module/Settings/Profile/Index.php | 19 +++++++ src/Module/Settings/Profile/Photo/Crop.php | 19 +++++++ src/Module/Settings/Profile/Photo/Index.php | 19 +++++++ src/Module/Settings/TwoFactor/AppSpecific.php | 19 +++++++ src/Module/Settings/TwoFactor/Index.php | 19 +++++++ src/Module/Settings/TwoFactor/Recovery.php | 19 +++++++ src/Module/Settings/TwoFactor/Verify.php | 19 +++++++ src/Module/Smilies.php | 19 +++++++ src/Module/Special/HTTPException.php | 19 +++++++ src/Module/Starred.php | 19 +++++++ src/Module/Statistics.php | 19 +++++++ src/Module/Theme.php | 19 +++++++ src/Module/ThemeDetails.php | 19 +++++++ src/Module/ToggleMobile.php | 19 +++++++ src/Module/Update/Profile.php | 19 +++++++ src/Module/Welcome.php | 19 +++++++ src/Module/WellKnown/HostMeta.php | 19 +++++++ src/Module/WellKnown/NodeInfo.php | 19 +++++++ src/Module/WellKnown/XSocialRelay.php | 19 +++++++ src/Module/Worker.php | 19 +++++++ src/Module/Xrd.php | 19 +++++++ src/Network/CurlResult.php | 22 ++++++-- .../HTTPException/AcceptedException.php | 19 +++++++ .../HTTPException/BadGatewayException.php | 19 +++++++ .../HTTPException/BadRequestException.php | 19 +++++++ .../HTTPException/ConflictException.php | 19 +++++++ .../ExpectationFailedException.php | 19 +++++++ .../HTTPException/ForbiddenException.php | 19 +++++++ .../HTTPException/GatewayTimeoutException.php | 19 +++++++ src/Network/HTTPException/GoneException.php | 19 +++++++ .../HTTPException/ImATeapotException.php | 19 +++++++ .../InternalServerErrorException.php | 19 +++++++ .../HTTPException/LenghtRequiredException.php | 19 +++++++ .../MethodNotAllowedException.php | 19 +++++++ .../HTTPException/NoContentException.php | 19 +++++++ .../HTTPException/NonAcceptableException.php | 19 +++++++ .../HTTPException/NotFoundException.php | 19 +++++++ .../HTTPException/NotImplementedException.php | 19 +++++++ src/Network/HTTPException/OKException.php | 19 +++++++ .../PreconditionFailedException.php | 19 +++++++ .../ServiceUnavailableException.php | 19 +++++++ .../TooManyRequestsException.php | 19 +++++++ .../HTTPException/UnauthorizedException.php | 19 +++++++ .../UnprocessableEntityException.php | 19 +++++++ .../UnsupportedMediaTypeException.php | 19 +++++++ src/Object/Api/Friendica/Notification.php | 19 +++++++ src/Object/Api/Mastodon/Account.php | 19 +++++++ src/Object/Api/Mastodon/Emoji.php | 19 +++++++ src/Object/Api/Mastodon/Field.php | 19 +++++++ src/Object/Api/Mastodon/FollowRequest.php | 19 +++++++ src/Object/Api/Mastodon/Instance.php | 19 +++++++ src/Object/Api/Mastodon/Relationship.php | 19 +++++++ src/Object/Api/Mastodon/Stats.php | 19 +++++++ src/Object/EMail/IEmail.php | 19 +++++++ src/Object/EMail/ItemCCEMail.php | 19 +++++++ src/Object/Email.php | 19 +++++++ src/Object/Notification/Introduction.php | 19 +++++++ src/Object/Notification/Notification.php | 19 +++++++ src/Object/OEmbed.php | 19 +++++++ src/Object/Search/ContactResult.php | 19 +++++++ src/Object/Search/IResult.php | 19 +++++++ src/Object/Search/ResultList.php | 19 +++++++ src/Protocol/Activity.php | 19 +++++++ src/Protocol/Activity/ObjectType.php | 19 +++++++ src/Protocol/ActivityNamespace.php | 19 +++++++ src/Repository/FSuggest.php | 19 +++++++ src/Repository/Introduction.php | 19 +++++++ src/Repository/Notify.php | 19 +++++++ src/Repository/PermissionSet.php | 19 +++++++ src/Repository/ProfileField.php | 19 +++++++ src/Util/ACLFormatter.php | 19 +++++++ src/Util/BasePath.php | 19 +++++++ src/Util/ConfigFileLoader.php | 19 +++++++ src/Util/EMailer/MailBuilder.php | 19 +++++++ src/Util/EMailer/NotifyMailBuilder.php | 19 +++++++ src/Util/EMailer/SystemMailBuilder.php | 19 +++++++ src/Util/FileSystem.php | 19 +++++++ src/Util/Images.php | 19 +++++++ src/Util/Introspection.php | 19 +++++++ src/Util/LDSignature.php | 19 +++++++ src/Util/Logger/AbstractLogger.php | 19 +++++++ src/Util/Logger/Monolog/DevelopHandler.php | 19 +++++++ .../Logger/Monolog/IntrospectionProcessor.php | 19 +++++++ src/Util/Logger/ProfilerLogger.php | 19 +++++++ src/Util/Logger/StreamLogger.php | 19 +++++++ src/Util/Logger/SyslogLogger.php | 19 +++++++ src/Util/Logger/VoidLogger.php | 19 +++++++ src/Util/Logger/WorkerLogger.php | 19 +++++++ src/Util/Profiler.php | 19 +++++++ src/Util/Proxy.php | 19 +++++++ src/Worker/TagUpdate.php | 19 +++++++ tests/MockedTest.php | 19 +++++++ tests/Util/AppMockTrait.php | 19 +++++++ tests/Util/DBAMockTrait.php | 19 +++++++ tests/Util/DBStructureMockTrait.php | 19 +++++++ tests/Util/Database/ExtendedPDO.php | 19 +++++++ tests/Util/Database/StaticDatabase.php | 19 +++++++ tests/Util/DateTimeFormatMockTrait.php | 19 +++++++ tests/Util/DbaCacheMockTrait.php | 19 +++++++ tests/Util/DbaLockMockTrait.php | 19 +++++++ tests/Util/Intercept.php | 19 +++++++ tests/Util/RendererMockTrait.php | 19 +++++++ tests/Util/SampleMailBuilder.php | 19 +++++++ tests/Util/SampleStorageBackend.php | 19 +++++++ tests/Util/StaticCookie.php | 19 +++++++ tests/Util/VFSTrait.php | 19 +++++++ tests/functional/DependencyCheckTest.php | 19 +++++++ tests/src/App/ArgumentsTest.php | 19 +++++++ tests/src/App/ModeTest.php | 19 +++++++ tests/src/App/ModuleTest.php | 19 +++++++ tests/src/App/RouterTest.php | 19 +++++++ .../AutomaticInstallationConsoleTest.php | 19 +++++++ tests/src/Console/ConfigConsoleTest.php | 19 +++++++ tests/src/Console/ConsoleTest.php | 19 +++++++ tests/src/Console/LockConsoleTest.php | 19 +++++++ tests/src/Console/ServerBlockConsoleTest.php | 19 +++++++ tests/src/Content/ItemTest.php | 19 +++++++ tests/src/Content/Text/BBCode/VideoTest.php | 19 +++++++ tests/src/Content/Text/BBCodeTest.php | 19 +++++++ tests/src/Content/Text/HTMLTest.php | 19 +++++++ tests/src/Content/Text/MarkdownTest.php | 19 +++++++ tests/src/Core/Cache/APCuCacheTest.php | 19 +++++++ tests/src/Core/Cache/ArrayCacheTest.php | 19 +++++++ tests/src/Core/Cache/CacheTest.php | 19 +++++++ tests/src/Core/Cache/DatabaseCacheTest.php | 19 +++++++ tests/src/Core/Cache/MemcacheCacheTest.php | 19 +++++++ tests/src/Core/Cache/MemcachedCacheTest.php | 20 ++++++- tests/src/Core/Cache/MemoryCacheTest.php | 19 +++++++ tests/src/Core/Cache/RedisCacheTest.php | 20 ++++++- tests/src/Core/Config/CacheTest.php | 19 +++++++ tests/src/Core/Config/ConfigTest.php | 19 +++++++ tests/src/Core/Config/JitConfigTest.php | 19 +++++++ tests/src/Core/Config/PreloadConfigTest.php | 19 +++++++ tests/src/Core/L10nTest.php | 19 +++++++ tests/src/Core/Lock/APCuCacheLockTest.php | 19 +++++++ tests/src/Core/Lock/ArrayCacheLockTest.php | 19 +++++++ tests/src/Core/Lock/DatabaseLockTest.php | 19 +++++++ tests/src/Core/Lock/LockTest.php | 19 +++++++ tests/src/Core/Lock/MemcacheCacheLockTest.php | 20 ++++++- .../src/Core/Lock/MemcachedCacheLockTest.php | 20 ++++++- tests/src/Core/Lock/RedisCacheLockTest.php | 20 ++++++- tests/src/Core/Lock/SemaphoreLockTest.php | 19 +++++++ tests/src/Core/PConfig/CacheTest.php | 19 +++++++ tests/src/Core/PConfig/JitPConfigTest.php | 19 +++++++ tests/src/Core/PConfig/PConfigTest.php | 19 +++++++ tests/src/Core/PConfig/PreloadPConfigTest.php | 19 +++++++ tests/src/Core/StorageManagerTest.php | 19 +++++++ tests/src/Core/SystemTest.php | 19 +++++++ tests/src/Database/DBStructureTest.php | 19 +++++++ tests/src/Model/FileTagTest.php | 19 +++++++ .../src/Model/Storage/DatabaseStorageTest.php | 19 +++++++ .../Model/Storage/FilesystemStorageTest.php | 19 +++++++ tests/src/Model/Storage/StorageTest.php | 19 +++++++ tests/src/Model/User/CookieTest.php | 19 +++++++ tests/src/Model/UserTest.php | 19 +++++++ tests/src/Network/CurlResultTest.php | 19 +++++++ tests/src/Protocol/ActivityTest.php | 19 +++++++ tests/src/Util/ACLFormaterTest.php | 19 +++++++ .../src/Util/Config/ConfigFileLoaderTest.php | 19 +++++++ tests/src/Util/DateTimeFormatTest.php | 19 +++++++ tests/src/Util/Emailer/MailBuilderTest.php | 19 +++++++ .../Util/Emailer/SystemMailBuilderTest.php | 19 +++++++ tests/src/Util/Logger/AbstractLoggerTest.php | 19 +++++++ tests/src/Util/Logger/LoggerDataTrait.php | 19 +++++++ tests/src/Util/Logger/ProfilerLoggerTest.php | 19 +++++++ tests/src/Util/Logger/StreamLoggerTest.php | 19 +++++++ tests/src/Util/Logger/SyslogLoggerTest.php | 19 +++++++ tests/src/Util/Logger/SyslogLoggerWrapper.php | 19 +++++++ tests/src/Util/Logger/VoidLoggerTest.php | 19 +++++++ tests/src/Util/Logger/WorkerLoggerTest.php | 19 +++++++ tests/src/Util/ProfilerTest.php | 19 +++++++ 430 files changed, 8114 insertions(+), 243 deletions(-) diff --git a/src/BaseCollection.php b/src/BaseCollection.php index 9a9efdb068..5b35653fdd 100644 --- a/src/BaseCollection.php +++ b/src/BaseCollection.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica; diff --git a/src/BaseEntity.php b/src/BaseEntity.php index 14f95c197e..1ea3f8a16b 100644 --- a/src/BaseEntity.php +++ b/src/BaseEntity.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica; diff --git a/src/BaseFactory.php b/src/BaseFactory.php index cfd6f9e717..6868dfeef5 100644 --- a/src/BaseFactory.php +++ b/src/BaseFactory.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica; diff --git a/src/BaseModel.php b/src/BaseModel.php index 2c952888b2..8f9370bb09 100644 --- a/src/BaseModel.php +++ b/src/BaseModel.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica; diff --git a/src/BaseModule.php b/src/BaseModule.php index 96ec2e9f1f..1dbf3f38d5 100644 --- a/src/BaseModule.php +++ b/src/BaseModule.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica; diff --git a/src/BaseRepository.php b/src/BaseRepository.php index cce1c50c17..64a0d1c510 100644 --- a/src/BaseRepository.php +++ b/src/BaseRepository.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica; diff --git a/src/Collection/Api/Mastodon/Emojis.php b/src/Collection/Api/Mastodon/Emojis.php index 235b3dfbbf..589760851f 100644 --- a/src/Collection/Api/Mastodon/Emojis.php +++ b/src/Collection/Api/Mastodon/Emojis.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Collection\Api\Mastodon; diff --git a/src/Collection/Api/Mastodon/Fields.php b/src/Collection/Api/Mastodon/Fields.php index 2bc549dd7f..6a2deac2f1 100644 --- a/src/Collection/Api/Mastodon/Fields.php +++ b/src/Collection/Api/Mastodon/Fields.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Collection\Api\Mastodon; diff --git a/src/Collection/Api/Notifications.php b/src/Collection/Api/Notifications.php index 5bd8983ce6..6aec6ef978 100644 --- a/src/Collection/Api/Notifications.php +++ b/src/Collection/Api/Notifications.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Collection\Api; diff --git a/src/Collection/FSuggests.php b/src/Collection/FSuggests.php index 4ab51b6486..546e07ab1f 100644 --- a/src/Collection/FSuggests.php +++ b/src/Collection/FSuggests.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Collection; diff --git a/src/Collection/Introductions.php b/src/Collection/Introductions.php index b0d31d4f1d..eff6da043b 100644 --- a/src/Collection/Introductions.php +++ b/src/Collection/Introductions.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Collection; diff --git a/src/Collection/Notifies.php b/src/Collection/Notifies.php index 0d64ee7e61..d4ce5d9f35 100644 --- a/src/Collection/Notifies.php +++ b/src/Collection/Notifies.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Collection; diff --git a/src/Collection/PermissionSets.php b/src/Collection/PermissionSets.php index 7511d046fd..bfcce6ad51 100644 --- a/src/Collection/PermissionSets.php +++ b/src/Collection/PermissionSets.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Collection; diff --git a/src/Collection/ProfileFields.php b/src/Collection/ProfileFields.php index 16c267621b..57e0375dcb 100644 --- a/src/Collection/ProfileFields.php +++ b/src/Collection/ProfileFields.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Collection; diff --git a/src/Console/ArchiveContact.php b/src/Console/ArchiveContact.php index 78064a1ba8..c6fcd7c1a7 100644 --- a/src/Console/ArchiveContact.php +++ b/src/Console/ArchiveContact.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Console; diff --git a/src/Console/AutomaticInstallation.php b/src/Console/AutomaticInstallation.php index a8e32b498b..37ba2dc137 100644 --- a/src/Console/AutomaticInstallation.php +++ b/src/Console/AutomaticInstallation.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Console; diff --git a/src/Console/Cache.php b/src/Console/Cache.php index 3a40941c1b..c087aae6d6 100644 --- a/src/Console/Cache.php +++ b/src/Console/Cache.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Console; @@ -14,8 +33,6 @@ use RuntimeException; * With this script you can access the cache of your node from the CLI. * You can read current values stored in the cache and set new values * in cache keys. - * - * @author Hypolite Petovan */ class Cache extends \Asika\SimpleConsole\Console { diff --git a/src/Console/Config.php b/src/Console/Config.php index 5103123225..831ea9e9c5 100644 --- a/src/Console/Config.php +++ b/src/Console/Config.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Console; @@ -27,9 +46,6 @@ use RuntimeException; * If you specify three parameters, the named configuration setting will be * set to the value of the last parameter. (e.g. "system loglevel 0" will * disable logging) - * - * @author Tobias Diekershoff - * @author Hypolite Petovan */ class Config extends \Asika\SimpleConsole\Console { diff --git a/src/Console/CreateDoxygen.php b/src/Console/CreateDoxygen.php index ec8805f5f8..a4c565e327 100644 --- a/src/Console/CreateDoxygen.php +++ b/src/Console/CreateDoxygen.php @@ -1,11 +1,28 @@ . + * + */ namespace Friendica\Console; /** * Description of CreateDoxygen - * - * @author Hypolite Petovan */ class CreateDoxygen extends \Asika\SimpleConsole\Console { diff --git a/src/Console/DatabaseStructure.php b/src/Console/DatabaseStructure.php index d7de1f3d0c..62c8136406 100644 --- a/src/Console/DatabaseStructure.php +++ b/src/Console/DatabaseStructure.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Console; @@ -10,8 +29,6 @@ use RuntimeException; /** * Performs database updates from the command line - * - * @author Hypolite Petovan */ class DatabaseStructure extends \Asika\SimpleConsole\Console { diff --git a/src/Console/DocBloxErrorChecker.php b/src/Console/DocBloxErrorChecker.php index 88c08666ca..c2fe5059ed 100644 --- a/src/Console/DocBloxErrorChecker.php +++ b/src/Console/DocBloxErrorChecker.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Console; @@ -22,9 +41,6 @@ use Friendica\App; * After that, the script tries to remove a file from the list. It tests if the list breaks and if so, it * assumes that the file it removed belongs to the set of erroneous files. * This is done for all files, so, in the end removing one file leads to a working doc build. - * - * @author Alexander Kampmann - * @author Hypolite Petovan */ class DocBloxErrorChecker extends \Asika\SimpleConsole\Console { diff --git a/src/Console/Extract.php b/src/Console/Extract.php index 628d2596e7..daa14d00eb 100644 --- a/src/Console/Extract.php +++ b/src/Console/Extract.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Console; @@ -7,8 +26,6 @@ namespace Friendica\Console; * to Transifex for translation. * * Outputs a PHP file with language strings used by Friendica - * - * @author Hypolite Petovan */ class Extract extends \Asika\SimpleConsole\Console { diff --git a/src/Console/GlobalCommunityBlock.php b/src/Console/GlobalCommunityBlock.php index 42fa165dcc..385503faab 100644 --- a/src/Console/GlobalCommunityBlock.php +++ b/src/Console/GlobalCommunityBlock.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Console; @@ -11,11 +30,6 @@ use Friendica\Model\Contact; * * With this tool, you can block an account in such a way, that no postings * or comments this account writes are accepted to the node. - * - * License: AGPLv3 or later, same as Friendica - * - * @author Tobias Diekershoff - * @author Hypolite Petovan */ class GlobalCommunityBlock extends \Asika\SimpleConsole\Console { diff --git a/src/Console/GlobalCommunitySilence.php b/src/Console/GlobalCommunitySilence.php index f944fcbe27..bb381d99ae 100644 --- a/src/Console/GlobalCommunitySilence.php +++ b/src/Console/GlobalCommunitySilence.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Console; @@ -14,11 +33,6 @@ use RuntimeException; * Postings from silenced accounts will not be displayed on the community * page. This silencing does only affect the display on the community page, * accounts following the silenced accounts will still get their postings. - * - * License: AGPLv3 or later, same as Friendica - * - * @author Tobias Diekershoff - * @author Hypolite Petovan */ class GlobalCommunitySilence extends \Asika\SimpleConsole\Console { diff --git a/src/Console/Lock.php b/src/Console/Lock.php index 2ab383c1e3..d645800379 100644 --- a/src/Console/Lock.php +++ b/src/Console/Lock.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Console; @@ -12,8 +31,6 @@ use RuntimeException; * * With this script you can access the locks of your node from the CLI. * You can read current locks and set/remove locks. - * - * @author Philipp Holzer , Hypolite Petovan */ class Lock extends \Asika\SimpleConsole\Console { diff --git a/src/Console/Maintenance.php b/src/Console/Maintenance.php index dd20a727ed..494104496f 100644 --- a/src/Console/Maintenance.php +++ b/src/Console/Maintenance.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Console; @@ -7,8 +26,6 @@ use Friendica\Core\Config\IConfig; /** * Sets maintenance mode for this node - * - * @author Hypolite Petovan */ class Maintenance extends \Asika\SimpleConsole\Console { diff --git a/src/Console/NewPassword.php b/src/Console/NewPassword.php index bf5a1b7e17..118428866c 100644 --- a/src/Console/NewPassword.php +++ b/src/Console/NewPassword.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Console; @@ -12,10 +31,6 @@ use RuntimeException; * tool to set a new password for a user * * With this tool, you can set a new password for a user - * - * License: AGPLv3 or later, same as Friendica - * - * @author Michael Vogel */ class NewPassword extends \Asika\SimpleConsole\Console { diff --git a/src/Console/PhpToPo.php b/src/Console/PhpToPo.php index b88ef023ea..5e286d4704 100644 --- a/src/Console/PhpToPo.php +++ b/src/Console/PhpToPo.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Console; @@ -6,8 +25,6 @@ use Friendica\App; /** * Read a strings.php file and create messages.po in the same directory - * - * @author Hypolite Petovan */ class PhpToPo extends \Asika\SimpleConsole\Console { diff --git a/src/Console/PoToPhp.php b/src/Console/PoToPhp.php index c4ba42ccc4..85dc28cf4d 100644 --- a/src/Console/PoToPhp.php +++ b/src/Console/PoToPhp.php @@ -1,11 +1,28 @@ . + * + */ namespace Friendica\Console; /** * Read a messages.po file and create strings.php in the same directory - * - * @author Hypolite Petovan */ class PoToPhp extends \Asika\SimpleConsole\Console { diff --git a/src/Console/PostUpdate.php b/src/Console/PostUpdate.php index 71c5001d74..5cff05a698 100644 --- a/src/Console/PostUpdate.php +++ b/src/Console/PostUpdate.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Console; @@ -9,11 +28,6 @@ use Friendica\Core\Update; /** * Performs database post updates - * - * License: AGPLv3 or later, same as Friendica - * - * @author Tobias Diekershoff - * @author Hypolite Petovan */ class PostUpdate extends \Asika\SimpleConsole\Console { diff --git a/src/Console/ServerBlock.php b/src/Console/ServerBlock.php index 517b506a1c..ada4f22132 100644 --- a/src/Console/ServerBlock.php +++ b/src/Console/ServerBlock.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Console; diff --git a/src/Console/Storage.php b/src/Console/Storage.php index 30a7fc713a..09e062049f 100644 --- a/src/Console/Storage.php +++ b/src/Console/Storage.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Console; @@ -7,7 +26,6 @@ use Friendica\Core\StorageManager; /** * tool to manage storage backend and stored data from CLI - * */ class Storage extends \Asika\SimpleConsole\Console { diff --git a/src/Console/Typo.php b/src/Console/Typo.php index eed0a31816..8935a86c17 100644 --- a/src/Console/Typo.php +++ b/src/Console/Typo.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Console; @@ -7,8 +26,6 @@ use Friendica\Core\Config\IConfig; /** * Tired of chasing typos and finding them after a commit. * Run this and quickly see if we've got any parse errors in our application files. - * - * @author Hypolite Petovan */ class Typo extends \Asika\SimpleConsole\Console { diff --git a/src/Content/ContactSelector.php b/src/Content/ContactSelector.php index 38227bc6e2..c834f8c514 100644 --- a/src/Content/ContactSelector.php +++ b/src/Content/ContactSelector.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Content; use Friendica\Core\Hook; diff --git a/src/Content/Feature.php b/src/Content/Feature.php index 59eea16377..880a6706bc 100644 --- a/src/Content/Feature.php +++ b/src/Content/Feature.php @@ -1,8 +1,24 @@ . + * */ + namespace Friendica\Content; use Friendica\Core\Hook; diff --git a/src/Content/ForumManager.php b/src/Content/ForumManager.php index ce945aa1d6..7d3cb89a71 100644 --- a/src/Content/ForumManager.php +++ b/src/Content/ForumManager.php @@ -1,8 +1,24 @@ . + * */ + namespace Friendica\Content; use Friendica\Content\Text\HTML; diff --git a/src/Content/Item.php b/src/Content/Item.php index 6769a1293c..51a14435ef 100644 --- a/src/Content/Item.php +++ b/src/Content/Item.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Content; @@ -7,7 +26,7 @@ use Friendica\Model\FileTag; /** * A content helper class for displaying items */ -final class Item +class Item { /** * Return array with details for categories and folders for an item diff --git a/src/Content/Nav.php b/src/Content/Nav.php index cbca1314ac..37bf081752 100644 --- a/src/Content/Nav.php +++ b/src/Content/Nav.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Content; use Friendica\App; diff --git a/src/Content/OEmbed.php b/src/Content/OEmbed.php index 14253b490c..db467a2630 100644 --- a/src/Content/OEmbed.php +++ b/src/Content/OEmbed.php @@ -1,8 +1,24 @@ . + * */ + namespace Friendica\Content; use DOMDocument; @@ -28,8 +44,6 @@ use Friendica\Util\Strings; * third party sites * * @see https://oembed.com - * - * @author Hypolite Petovan */ class OEmbed { diff --git a/src/Content/Pager.php b/src/Content/Pager.php index 800aa760e6..badc8af4ec 100644 --- a/src/Content/Pager.php +++ b/src/Content/Pager.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Content; @@ -8,8 +27,6 @@ use Friendica\Util\Strings; /** * The Pager has two very different output, Minimal and Full, see renderMinimal() and renderFull() for more details. - * - * @author Hypolite Petovan */ class Pager { diff --git a/src/Content/Smilies.php b/src/Content/Smilies.php index 7a42f9ba47..5ce4b5f537 100644 --- a/src/Content/Smilies.php +++ b/src/Content/Smilies.php @@ -1,17 +1,24 @@ . * - * Have also a look here: - * https://www.webpagefx.com/tools/emoji-cheat-sheet/ */ + namespace Friendica\Content; use Friendica\Core\Hook; diff --git a/src/Content/Text/BBCode.php b/src/Content/Text/BBCode.php index f8b9fb2985..1c1a1b2667 100644 --- a/src/Content/Text/BBCode.php +++ b/src/Content/Text/BBCode.php @@ -1,6 +1,22 @@ . + * */ namespace Friendica\Content\Text; diff --git a/src/Content/Text/BBCode/Video.php b/src/Content/Text/BBCode/Video.php index b73ddce0b3..82d4e60c1d 100644 --- a/src/Content/Text/BBCode/Video.php +++ b/src/Content/Text/BBCode/Video.php @@ -1,11 +1,30 @@ . + * + */ namespace Friendica\Content\Text\BBCode; /** * Video specific BBCode util class */ -final class Video +class Video { /** * Transforms video BBCode tagged links to youtube/vimeo tagged links diff --git a/src/Content/Text/HTML.php b/src/Content/Text/HTML.php index bae0cb854c..089c5d3681 100644 --- a/src/Content/Text/HTML.php +++ b/src/Content/Text/HTML.php @@ -1,6 +1,22 @@ . + * */ namespace Friendica\Content\Text; diff --git a/src/Content/Text/Markdown.php b/src/Content/Text/Markdown.php index 16a2ce3075..bcbf5191a2 100644 --- a/src/Content/Text/Markdown.php +++ b/src/Content/Text/Markdown.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Content\Text; @@ -12,8 +27,6 @@ use Friendica\Model\Contact; /** * Friendica-specific usage of Markdown - * - * @author Hypolite Petovan */ class Markdown { diff --git a/src/Content/Text/MarkdownParser.php b/src/Content/Text/MarkdownParser.php index fa1d166ec3..43870cd362 100644 --- a/src/Content/Text/MarkdownParser.php +++ b/src/Content/Text/MarkdownParser.php @@ -1,18 +1,38 @@ -. + * + */ + +namespace Friendica\Content\Text; + +use Friendica\Util\Strings; +use Michelf\MarkdownExtra; + +class MarkdownParser extends MarkdownExtra +{ + protected function doAutoLinks($text) + { + $text = parent::doAutoLinks($text); + + $text = preg_replace_callback(Strings::autoLinkRegEx(), + array($this, '_doAutoLinks_url_callback'), $text); + + return $text; + } } \ No newline at end of file diff --git a/src/Content/Text/Plaintext.php b/src/Content/Text/Plaintext.php index 2ec76ba13b..d5c5ea9ce7 100644 --- a/src/Content/Text/Plaintext.php +++ b/src/Content/Text/Plaintext.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Content\Text; class Plaintext diff --git a/src/Content/Widget.php b/src/Content/Widget.php index c3ec88fc91..8c72f68f4c 100644 --- a/src/Content/Widget.php +++ b/src/Content/Widget.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Content; use Friendica\Core\Addon; diff --git a/src/Content/Widget/SavedSearches.php b/src/Content/Widget/SavedSearches.php index ebfc78ca7e..355f41f730 100644 --- a/src/Content/Widget/SavedSearches.php +++ b/src/Content/Widget/SavedSearches.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Content\Widget; diff --git a/src/Content/Widget/TrendingTags.php b/src/Content/Widget/TrendingTags.php index 102a4f14c1..9f935e6de6 100644 --- a/src/Content/Widget/TrendingTags.php +++ b/src/Content/Widget/TrendingTags.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Content\Widget; diff --git a/src/Core/ACL.php b/src/Core/ACL.php index b604218774..1c32759cfd 100644 --- a/src/Core/ACL.php +++ b/src/Core/ACL.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Core; @@ -14,8 +29,6 @@ use Friendica\Model\Group; /** * Handle ACL management and display - * - * @author Hypolite Petovan */ class ACL { diff --git a/src/Core/Addon.php b/src/Core/Addon.php index 5f1865b554..be4e94152f 100644 --- a/src/Core/Addon.php +++ b/src/Core/Addon.php @@ -1,6 +1,22 @@ . + * */ namespace Friendica\Core; diff --git a/src/Core/BaseCache.php b/src/Core/BaseCache.php index 76f0c783bf..4c97d768dc 100644 --- a/src/Core/BaseCache.php +++ b/src/Core/BaseCache.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core; diff --git a/src/Core/BaseConfig.php b/src/Core/BaseConfig.php index 744e5cc498..2c64f525ab 100644 --- a/src/Core/BaseConfig.php +++ b/src/Core/BaseConfig.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core; diff --git a/src/Core/BaseLock.php b/src/Core/BaseLock.php index 2fcf7cad70..065dee4b29 100644 --- a/src/Core/BaseLock.php +++ b/src/Core/BaseLock.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core; diff --git a/src/Core/BasePConfig.php b/src/Core/BasePConfig.php index 97eca70f7b..858dae4a14 100644 --- a/src/Core/BasePConfig.php +++ b/src/Core/BasePConfig.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core; diff --git a/src/Core/Cache/APCuCache.php b/src/Core/Cache/APCuCache.php index a85afbb25b..fd198ca308 100644 --- a/src/Core/Cache/APCuCache.php +++ b/src/Core/Cache/APCuCache.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Cache; @@ -7,8 +26,6 @@ use Friendica\Core\BaseCache; /** * APCu Cache. - * - * @author Philipp Holzer */ class APCuCache extends BaseCache implements IMemoryCache { diff --git a/src/Core/Cache/ArrayCache.php b/src/Core/Cache/ArrayCache.php index 25b96595f6..01157f7f8d 100644 --- a/src/Core/Cache/ArrayCache.php +++ b/src/Core/Cache/ArrayCache.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Cache; @@ -6,10 +25,6 @@ use Friendica\Core\BaseCache; /** * Implementation of the IMemoryCache mainly for testing purpose - * - * Class ArrayCache - * - * @package Friendica\Core\Cache */ class ArrayCache extends BaseCache implements IMemoryCache { diff --git a/src/Core/Cache/DatabaseCache.php b/src/Core/Cache/DatabaseCache.php index d06b74c16c..c2909b4ea2 100644 --- a/src/Core/Cache/DatabaseCache.php +++ b/src/Core/Cache/DatabaseCache.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Cache; @@ -8,8 +27,6 @@ use Friendica\Core\BaseCache; /** * Database Cache - * - * @author Hypolite Petovan */ class DatabaseCache extends BaseCache implements ICache { diff --git a/src/Core/Cache/Duration.php b/src/Core/Cache/Duration.php index c5276f3737..b83b55b943 100644 --- a/src/Core/Cache/Duration.php +++ b/src/Core/Cache/Duration.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Cache; diff --git a/src/Core/Cache/ICache.php b/src/Core/Cache/ICache.php index f83669a96b..5984409bcc 100644 --- a/src/Core/Cache/ICache.php +++ b/src/Core/Cache/ICache.php @@ -1,11 +1,28 @@ . + * + */ namespace Friendica\Core\Cache; /** * Cache Interface - * - * @author Hypolite Petovan */ interface ICache { diff --git a/src/Core/Cache/IMemoryCache.php b/src/Core/Cache/IMemoryCache.php index 3e78a23c2d..8348dffbc4 100644 --- a/src/Core/Cache/IMemoryCache.php +++ b/src/Core/Cache/IMemoryCache.php @@ -1,13 +1,28 @@ . + * + */ namespace Friendica\Core\Cache; /** * This interface defines methods for Memory-Caches only - * - * Interface IMemoryCache - * - * @package Friendica\Core\Cache */ interface IMemoryCache extends ICache { diff --git a/src/Core/Cache/MemcacheCache.php b/src/Core/Cache/MemcacheCache.php index e3232a564b..b6d93bf804 100644 --- a/src/Core/Cache/MemcacheCache.php +++ b/src/Core/Cache/MemcacheCache.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Cache; @@ -9,8 +28,6 @@ use Memcache; /** * Memcache Cache - * - * @author Hypolite Petovan */ class MemcacheCache extends BaseCache implements IMemoryCache { diff --git a/src/Core/Cache/MemcachedCache.php b/src/Core/Cache/MemcachedCache.php index 26dd593814..d8fcbc770d 100644 --- a/src/Core/Cache/MemcachedCache.php +++ b/src/Core/Cache/MemcachedCache.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Cache; @@ -10,8 +29,6 @@ use Psr\Log\LoggerInterface; /** * Memcached Cache - * - * @author Hypolite Petovan */ class MemcachedCache extends BaseCache implements IMemoryCache { diff --git a/src/Core/Cache/ProfilerCache.php b/src/Core/Cache/ProfilerCache.php index 1976d111fe..1f77db67ac 100644 --- a/src/Core/Cache/ProfilerCache.php +++ b/src/Core/Cache/ProfilerCache.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Cache; diff --git a/src/Core/Cache/RedisCache.php b/src/Core/Cache/RedisCache.php index cd4821598d..9a982fe040 100644 --- a/src/Core/Cache/RedisCache.php +++ b/src/Core/Cache/RedisCache.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Cache; @@ -9,9 +28,6 @@ use Redis; /** * Redis Cache. This driver is based on Memcache driver - * - * @author Hypolite Petovan - * @author Roland Haeder */ class RedisCache extends BaseCache implements IMemoryCache { diff --git a/src/Core/Cache/TraitCompareDelete.php b/src/Core/Cache/TraitCompareDelete.php index 13dcaec8d5..508a2c866f 100644 --- a/src/Core/Cache/TraitCompareDelete.php +++ b/src/Core/Cache/TraitCompareDelete.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Cache; @@ -6,8 +25,6 @@ namespace Friendica\Core\Cache; * Trait TraitCompareSetDelete * * This Trait is to compensate non native "exclusive" sets/deletes in caches - * - * @package Friendica\Core\Cache */ trait TraitCompareDelete { diff --git a/src/Core/Cache/TraitCompareSet.php b/src/Core/Cache/TraitCompareSet.php index 0d18226504..ec192a8919 100644 --- a/src/Core/Cache/TraitCompareSet.php +++ b/src/Core/Cache/TraitCompareSet.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Cache; @@ -6,8 +25,6 @@ namespace Friendica\Core\Cache; * Trait TraitCompareSetDelete * * This Trait is to compensate non native "exclusive" sets/deletes in caches - * - * @package Friendica\Core\Cache */ trait TraitCompareSet { diff --git a/src/Core/Cache/TraitMemcacheCommand.php b/src/Core/Cache/TraitMemcacheCommand.php index 0bbab79b25..bec27e3381 100644 --- a/src/Core/Cache/TraitMemcacheCommand.php +++ b/src/Core/Cache/TraitMemcacheCommand.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Cache; diff --git a/src/Core/Cache/Type.php b/src/Core/Cache/Type.php index 213479686b..73177f8c32 100644 --- a/src/Core/Cache/Type.php +++ b/src/Core/Cache/Type.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Cache; diff --git a/src/Core/Config/Cache.php b/src/Core/Config/Cache.php index a6cb8d9fb1..b3fe9d4e00 100644 --- a/src/Core/Config/Cache.php +++ b/src/Core/Config/Cache.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Config; diff --git a/src/Core/Config/IConfig.php b/src/Core/Config/IConfig.php index 75318c40c8..0a8bbc43a2 100644 --- a/src/Core/Config/IConfig.php +++ b/src/Core/Config/IConfig.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Config; diff --git a/src/Core/Config/JitConfig.php b/src/Core/Config/JitConfig.php index 05b6a8a45f..4cf0d06f36 100644 --- a/src/Core/Config/JitConfig.php +++ b/src/Core/Config/JitConfig.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Config; diff --git a/src/Core/Config/PreloadConfig.php b/src/Core/Config/PreloadConfig.php index 5b8350cd75..c1181414ba 100644 --- a/src/Core/Config/PreloadConfig.php +++ b/src/Core/Config/PreloadConfig.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Config; diff --git a/src/Core/Console.php b/src/Core/Console.php index 16fc90c4eb..70835db9c4 100644 --- a/src/Core/Console.php +++ b/src/Core/Console.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core; @@ -7,8 +26,6 @@ use Friendica; /** * Description of Console - * - * @author Hypolite Petovan */ class Console extends \Asika\SimpleConsole\Console { diff --git a/src/Core/Hook.php b/src/Core/Hook.php index f282d02c75..8fdadd666a 100644 --- a/src/Core/Hook.php +++ b/src/Core/Hook.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Core; use Friendica\App; diff --git a/src/Core/Installer.php b/src/Core/Installer.php index b780776cc1..31cdb26b9d 100644 --- a/src/Core/Installer.php +++ b/src/Core/Installer.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Core; use DOMDocument; diff --git a/src/Core/L10n.php b/src/Core/L10n.php index 8354fc9dfe..cda83ac3f4 100644 --- a/src/Core/L10n.php +++ b/src/Core/L10n.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core; diff --git a/src/Core/Lock/CacheLock.php b/src/Core/Lock/CacheLock.php index fd04bda80f..81046b29c4 100644 --- a/src/Core/Lock/CacheLock.php +++ b/src/Core/Lock/CacheLock.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Lock; diff --git a/src/Core/Lock/DatabaseLock.php b/src/Core/Lock/DatabaseLock.php index df1b9295c9..4936b0680b 100644 --- a/src/Core/Lock/DatabaseLock.php +++ b/src/Core/Lock/DatabaseLock.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Lock; diff --git a/src/Core/Lock/ILock.php b/src/Core/Lock/ILock.php index a1a3f13e7f..4a54217a9d 100644 --- a/src/Core/Lock/ILock.php +++ b/src/Core/Lock/ILock.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Lock; @@ -6,8 +25,6 @@ use Friendica\Core\Cache\Duration; /** * Lock Interface - * - * @author Philipp Holzer */ interface ILock { diff --git a/src/Core/Lock/SemaphoreLock.php b/src/Core/Lock/SemaphoreLock.php index 86f106d56d..25bc9aa1d4 100644 --- a/src/Core/Lock/SemaphoreLock.php +++ b/src/Core/Lock/SemaphoreLock.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Lock; diff --git a/src/Core/Lock/Type.php b/src/Core/Lock/Type.php index fdee39cabe..1913de04ce 100644 --- a/src/Core/Lock/Type.php +++ b/src/Core/Lock/Type.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Lock; diff --git a/src/Core/Logger.php b/src/Core/Logger.php index 05895bb89b..8ff0983025 100644 --- a/src/Core/Logger.php +++ b/src/Core/Logger.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Core; use Friendica\DI; diff --git a/src/Core/PConfig/Cache.php b/src/Core/PConfig/Cache.php index 5dc399e3a0..30e7322cef 100644 --- a/src/Core/PConfig/Cache.php +++ b/src/Core/PConfig/Cache.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\PConfig; diff --git a/src/Core/PConfig/IPConfig.php b/src/Core/PConfig/IPConfig.php index 61ad5141aa..e73d1742f2 100644 --- a/src/Core/PConfig/IPConfig.php +++ b/src/Core/PConfig/IPConfig.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\PConfig; diff --git a/src/Core/PConfig/JitPConfig.php b/src/Core/PConfig/JitPConfig.php index 758183b83b..9d4cd6937a 100644 --- a/src/Core/PConfig/JitPConfig.php +++ b/src/Core/PConfig/JitPConfig.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\PConfig; diff --git a/src/Core/PConfig/PreloadPConfig.php b/src/Core/PConfig/PreloadPConfig.php index e53fd97419..096a1dfdde 100644 --- a/src/Core/PConfig/PreloadPConfig.php +++ b/src/Core/PConfig/PreloadPConfig.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\PConfig; diff --git a/src/Core/Process.php b/src/Core/Process.php index b0345b05bb..fd6b17fe14 100644 --- a/src/Core/Process.php +++ b/src/Core/Process.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core; @@ -15,7 +34,7 @@ use Psr\Log\LoggerInterface; * - Using an process-id per node * - Using memory locks for multi-node locking (redis, memcached, ..) */ -final class Process +class Process { /** * @var LoggerInterface diff --git a/src/Core/Protocol.php b/src/Core/Protocol.php index 4157127a4d..e510f1868c 100644 --- a/src/Core/Protocol.php +++ b/src/Core/Protocol.php @@ -1,15 +1,30 @@ . + * */ + namespace Friendica\Core; use Friendica\Util\Network; /** * Manage compatibility with federated networks - * - * @author Hypolite Petovan */ class Protocol { diff --git a/src/Core/Renderer.php b/src/Core/Renderer.php index eca22bdcd3..98915e70fa 100644 --- a/src/Core/Renderer.php +++ b/src/Core/Renderer.php @@ -1,6 +1,22 @@ . + * */ namespace Friendica\Core; diff --git a/src/Core/Search.php b/src/Core/Search.php index 01c12fa921..8415723742 100644 --- a/src/Core/Search.php +++ b/src/Core/Search.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core; diff --git a/src/Core/Session.php b/src/Core/Session.php index 0af4d344b1..f08c68ed08 100644 --- a/src/Core/Session.php +++ b/src/Core/Session.php @@ -1,8 +1,24 @@ . + * */ + namespace Friendica\Core; use Friendica\Database\DBA; @@ -12,8 +28,6 @@ use Friendica\Util\Strings; /** * High-level Session service class - * - * @author Hypolite Petovan */ class Session { diff --git a/src/Core/Session/AbstractSession.php b/src/Core/Session/AbstractSession.php index 930e1b9ffc..de7e98c0e9 100644 --- a/src/Core/Session/AbstractSession.php +++ b/src/Core/Session/AbstractSession.php @@ -1,5 +1,23 @@ . + * + */ namespace Friendica\Core\Session; diff --git a/src/Core/Session/Handler/Cache.php b/src/Core/Session/Handler/Cache.php index 094f360d47..5aec68e634 100644 --- a/src/Core/Session/Handler/Cache.php +++ b/src/Core/Session/Handler/Cache.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Session\Handler; @@ -9,10 +28,8 @@ use SessionHandlerInterface; /** * SessionHandler using Friendica Cache - * - * @author Hypolite Petovan */ -final class Cache implements SessionHandlerInterface +class Cache implements SessionHandlerInterface { /** @var ICache */ private $cache; diff --git a/src/Core/Session/Handler/Database.php b/src/Core/Session/Handler/Database.php index e633c500ec..3c2f9027a5 100644 --- a/src/Core/Session/Handler/Database.php +++ b/src/Core/Session/Handler/Database.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Session\Handler; @@ -9,10 +28,8 @@ use SessionHandlerInterface; /** * SessionHandler using database - * - * @author Hypolite Petovan */ -final class Database implements SessionHandlerInterface +class Database implements SessionHandlerInterface { /** @var DBA */ private $dba; diff --git a/src/Core/Session/ISession.php b/src/Core/Session/ISession.php index dbc7fd85b4..4fcc146e83 100644 --- a/src/Core/Session/ISession.php +++ b/src/Core/Session/ISession.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Session; diff --git a/src/Core/Session/Memory.php b/src/Core/Session/Memory.php index cc4ffd18a5..dbe4555ad5 100644 --- a/src/Core/Session/Memory.php +++ b/src/Core/Session/Memory.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Session; @@ -7,7 +26,7 @@ namespace Friendica\Core\Session; * * @todo after replacing the last direct $_SESSION call, use a internal array instead of the global variable */ -final class Memory extends AbstractSession implements ISession +class Memory extends AbstractSession implements ISession { public function __construct() { diff --git a/src/Core/Session/Native.php b/src/Core/Session/Native.php index 3f10747dd2..49550a27c0 100644 --- a/src/Core/Session/Native.php +++ b/src/Core/Session/Native.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core\Session; @@ -9,7 +28,7 @@ use SessionHandlerInterface; /** * The native Session class which uses the PHP internal Session functions */ -final class Native extends AbstractSession implements ISession +class Native extends AbstractSession implements ISession { public function __construct(App\BaseURL $baseURL, SessionHandlerInterface $handler = null) { diff --git a/src/Core/StorageManager.php b/src/Core/StorageManager.php index 8d5df2d613..c8385783e9 100644 --- a/src/Core/StorageManager.php +++ b/src/Core/StorageManager.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core; diff --git a/src/Core/System.php b/src/Core/System.php index b0cfe28bee..f092427e58 100644 --- a/src/Core/System.php +++ b/src/Core/System.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Core; use Friendica\DI; @@ -9,15 +26,8 @@ use Friendica\Network\HTTPException\InternalServerErrorException; use Friendica\Util\XML; /** - * @file include/Core/System.php - * * Contains the class with system relevant stuff */ - - -/** - * System methods - */ class System { /** diff --git a/src/Core/Theme.php b/src/Core/Theme.php index 76149b7589..ff3265c90a 100644 --- a/src/Core/Theme.php +++ b/src/Core/Theme.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Core; diff --git a/src/Core/Update.php b/src/Core/Update.php index 4db32ecfbb..7a03b37695 100644 --- a/src/Core/Update.php +++ b/src/Core/Update.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Core; diff --git a/src/Core/UserImport.php b/src/Core/UserImport.php index f09db98686..06ba6398a8 100644 --- a/src/Core/UserImport.php +++ b/src/Core/UserImport.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Core; use Friendica\App; diff --git a/src/Core/Worker.php b/src/Core/Worker.php index 562a17c0a2..f41636beda 100644 --- a/src/Core/Worker.php +++ b/src/Core/Worker.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Core; use Friendica\Core; @@ -12,14 +29,8 @@ use Friendica\Util\DateTimeFormat; use Friendica\Util\Network; /** - * @file src/Core/Worker.php - * * Contains the class for the worker background job processing */ - -/** - * Worker methods - */ class Worker { const STATE_STARTUP = 1; // Worker is in startup. This takes most time. diff --git a/src/DI.php b/src/DI.php index 430db84770..39efe2a97b 100644 --- a/src/DI.php +++ b/src/DI.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica; diff --git a/src/Database/DBA.php b/src/Database/DBA.php index f4d4bb11dd..9c3c3a52e5 100644 --- a/src/Database/DBA.php +++ b/src/Database/DBA.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Database; @@ -10,8 +29,6 @@ use PDO; use PDOStatement; /** - * @class MySQL database class - * * This class is for the low level database stuff that does driver specific things. */ class DBA diff --git a/src/Database/DBStructure.php b/src/Database/DBStructure.php index 686f0582c9..06b6524944 100644 --- a/src/Database/DBStructure.php +++ b/src/Database/DBStructure.php @@ -1,6 +1,22 @@ . + * */ namespace Friendica\Database; diff --git a/src/Database/Database.php b/src/Database/Database.php index 14e186a72f..ff25e8b199 100644 --- a/src/Database/Database.php +++ b/src/Database/Database.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Database; @@ -16,8 +35,6 @@ use PDOStatement; use Psr\Log\LoggerInterface; /** - * @class MySQL database class - * * This class is for the low level database stuff that does driver specific things. */ class Database diff --git a/src/Database/PostUpdate.php b/src/Database/PostUpdate.php index 7fd28419ea..cd7e8b9462 100644 --- a/src/Database/PostUpdate.php +++ b/src/Database/PostUpdate.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Database; use Friendica\Core\Logger; diff --git a/src/Factory/Api/Mastodon/Account.php b/src/Factory/Api/Mastodon/Account.php index a58f8941ef..b0c31c09b4 100644 --- a/src/Factory/Api/Mastodon/Account.php +++ b/src/Factory/Api/Mastodon/Account.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Factory\Api\Mastodon; diff --git a/src/Factory/Api/Mastodon/Emoji.php b/src/Factory/Api/Mastodon/Emoji.php index 42c500d424..a9b4bba549 100644 --- a/src/Factory/Api/Mastodon/Emoji.php +++ b/src/Factory/Api/Mastodon/Emoji.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Factory\Api\Mastodon; diff --git a/src/Factory/Api/Mastodon/Field.php b/src/Factory/Api/Mastodon/Field.php index 10bb2690fe..6570ab8845 100644 --- a/src/Factory/Api/Mastodon/Field.php +++ b/src/Factory/Api/Mastodon/Field.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Factory\Api\Mastodon; diff --git a/src/Factory/Api/Mastodon/FollowRequest.php b/src/Factory/Api/Mastodon/FollowRequest.php index e0125613a9..5cd8c322cc 100644 --- a/src/Factory/Api/Mastodon/FollowRequest.php +++ b/src/Factory/Api/Mastodon/FollowRequest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Factory\Api\Mastodon; diff --git a/src/Factory/Api/Mastodon/Relationship.php b/src/Factory/Api/Mastodon/Relationship.php index 121d57e2a7..83bff09ac2 100644 --- a/src/Factory/Api/Mastodon/Relationship.php +++ b/src/Factory/Api/Mastodon/Relationship.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Factory\Api\Mastodon; diff --git a/src/Factory/CacheFactory.php b/src/Factory/CacheFactory.php index 4dfda5f2c5..3aeb5a53ad 100644 --- a/src/Factory/CacheFactory.php +++ b/src/Factory/CacheFactory.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Factory; diff --git a/src/Factory/ConfigFactory.php b/src/Factory/ConfigFactory.php index 578f3191cd..954f893959 100644 --- a/src/Factory/ConfigFactory.php +++ b/src/Factory/ConfigFactory.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Factory; diff --git a/src/Factory/LockFactory.php b/src/Factory/LockFactory.php index 6d739ea41a..afdf5213c6 100644 --- a/src/Factory/LockFactory.php +++ b/src/Factory/LockFactory.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Factory; diff --git a/src/Factory/LoggerFactory.php b/src/Factory/LoggerFactory.php index b2450a9662..d5e3d10c4d 100644 --- a/src/Factory/LoggerFactory.php +++ b/src/Factory/LoggerFactory.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Factory; diff --git a/src/Factory/Notification/Introduction.php b/src/Factory/Notification/Introduction.php index 7546792d5f..bde73a7b0f 100644 --- a/src/Factory/Notification/Introduction.php +++ b/src/Factory/Notification/Introduction.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Factory\Notification; diff --git a/src/Factory/Notification/Notification.php b/src/Factory/Notification/Notification.php index 399e6b0e7a..990d274a01 100644 --- a/src/Factory/Notification/Notification.php +++ b/src/Factory/Notification/Notification.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Factory\Notification; diff --git a/src/Factory/SessionFactory.php b/src/Factory/SessionFactory.php index d4ad1e7ca1..f513eef35f 100644 --- a/src/Factory/SessionFactory.php +++ b/src/Factory/SessionFactory.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Factory; diff --git a/src/LegacyModule.php b/src/LegacyModule.php index ecb21ebc5b..a1c80b0203 100644 --- a/src/LegacyModule.php +++ b/src/LegacyModule.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica; diff --git a/src/Model/APContact.php b/src/Model/APContact.php index dd27daf10d..7ce47bb227 100644 --- a/src/Model/APContact.php +++ b/src/Model/APContact.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Model; diff --git a/src/Model/Attach.php b/src/Model/Attach.php index b5dd64e0ca..8d91f90e95 100644 --- a/src/Model/Attach.php +++ b/src/Model/Attach.php @@ -1,9 +1,24 @@ . + * */ + namespace Friendica\Model; use Friendica\Core\System; diff --git a/src/Model/Config/Config.php b/src/Model/Config/Config.php index aa81f1cae9..e059a42e98 100644 --- a/src/Model/Config/Config.php +++ b/src/Model/Config/Config.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Model\Config; diff --git a/src/Model/Config/DbaConfig.php b/src/Model/Config/DbaConfig.php index cd6b6da8c0..87bc600412 100644 --- a/src/Model/Config/DbaConfig.php +++ b/src/Model/Config/DbaConfig.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Model\Config; diff --git a/src/Model/Config/PConfig.php b/src/Model/Config/PConfig.php index 2d496af75f..99a554680c 100644 --- a/src/Model/Config/PConfig.php +++ b/src/Model/Config/PConfig.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Model\Config; diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 051f94d3ef..3d34389558 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Model; use Friendica\App\BaseURL; diff --git a/src/Model/Conversation.php b/src/Model/Conversation.php index 78faaddf68..661cfcd6af 100644 --- a/src/Model/Conversation.php +++ b/src/Model/Conversation.php @@ -1,6 +1,22 @@ . + * */ namespace Friendica\Model; diff --git a/src/Model/Event.php b/src/Model/Event.php index 1f20482d53..b8d578bbad 100644 --- a/src/Model/Event.php +++ b/src/Model/Event.php @@ -1,6 +1,22 @@ . + * */ namespace Friendica\Model; diff --git a/src/Model/FSuggest.php b/src/Model/FSuggest.php index a910eb30c2..37d88d191e 100644 --- a/src/Model/FSuggest.php +++ b/src/Model/FSuggest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Model; diff --git a/src/Model/FileTag.php b/src/Model/FileTag.php index 9908c8a333..02eee8aeda 100644 --- a/src/Model/FileTag.php +++ b/src/Model/FileTag.php @@ -1,6 +1,22 @@ . + * */ namespace Friendica\Model; diff --git a/src/Model/GContact.php b/src/Model/GContact.php index 05f20ec5b8..9a8472128b 100644 --- a/src/Model/GContact.php +++ b/src/Model/GContact.php @@ -1,8 +1,24 @@ . + * */ + namespace Friendica\Model; use DOMDocument; diff --git a/src/Model/GServer.php b/src/Model/GServer.php index d113f0ace4..0f5f55ab67 100644 --- a/src/Model/GServer.php +++ b/src/Model/GServer.php @@ -1,9 +1,24 @@ . + * */ + namespace Friendica\Model; use DOMDocument; diff --git a/src/Model/Group.php b/src/Model/Group.php index 199ff1ebd7..b4dbb87d82 100644 --- a/src/Model/Group.php +++ b/src/Model/Group.php @@ -1,6 +1,22 @@ . + * */ namespace Friendica\Model; diff --git a/src/Model/Introduction.php b/src/Model/Introduction.php index 4233ad6541..8b939aa2a5 100644 --- a/src/Model/Introduction.php +++ b/src/Model/Introduction.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Model; diff --git a/src/Model/Item.php b/src/Model/Item.php index badf9281bb..b960ba38f3 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Model; diff --git a/src/Model/ItemContent.php b/src/Model/ItemContent.php index 8805f5b255..c6d3e82944 100644 --- a/src/Model/ItemContent.php +++ b/src/Model/ItemContent.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Model; diff --git a/src/Model/ItemDeliveryData.php b/src/Model/ItemDeliveryData.php index 3e2a75598a..a26c80b1cb 100644 --- a/src/Model/ItemDeliveryData.php +++ b/src/Model/ItemDeliveryData.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Model; diff --git a/src/Model/ItemURI.php b/src/Model/ItemURI.php index a5054a803d..265585be7b 100644 --- a/src/Model/ItemURI.php +++ b/src/Model/ItemURI.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Model; diff --git a/src/Model/Mail.php b/src/Model/Mail.php index 9735a795a2..c0efe4f233 100644 --- a/src/Model/Mail.php +++ b/src/Model/Mail.php @@ -1,8 +1,24 @@ . + * */ + namespace Friendica\Model; use Friendica\Core\Logger; diff --git a/src/Model/Nodeinfo.php b/src/Model/Nodeinfo.php index 7cde259538..d396415531 100644 --- a/src/Model/Nodeinfo.php +++ b/src/Model/Nodeinfo.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Model; diff --git a/src/Model/Notify.php b/src/Model/Notify.php index 336b82537b..fe1497316f 100644 --- a/src/Model/Notify.php +++ b/src/Model/Notify.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Model; diff --git a/src/Model/Notify/ObjectType.php b/src/Model/Notify/ObjectType.php index 9fb279adc7..a6fba696d4 100644 --- a/src/Model/Notify/ObjectType.php +++ b/src/Model/Notify/ObjectType.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Model\Notify; diff --git a/src/Model/Notify/Type.php b/src/Model/Notify/Type.php index aae5fedc05..5c244a6cb9 100644 --- a/src/Model/Notify/Type.php +++ b/src/Model/Notify/Type.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Model\Notify; diff --git a/src/Model/OpenWebAuthToken.php b/src/Model/OpenWebAuthToken.php index 7b30d2eb05..cd80c3f62e 100644 --- a/src/Model/OpenWebAuthToken.php +++ b/src/Model/OpenWebAuthToken.php @@ -1,8 +1,24 @@ . + * */ + namespace Friendica\Model; use Friendica\Database\DBA; diff --git a/src/Model/PermissionSet.php b/src/Model/PermissionSet.php index 09ffc22bb2..cc9650210f 100644 --- a/src/Model/PermissionSet.php +++ b/src/Model/PermissionSet.php @@ -1,6 +1,22 @@ . + * */ namespace Friendica\Model; diff --git a/src/Model/Photo.php b/src/Model/Photo.php index 804ae328ef..ccb0f2add4 100644 --- a/src/Model/Photo.php +++ b/src/Model/Photo.php @@ -1,9 +1,24 @@ . + * */ + namespace Friendica\Model; use Friendica\Core\Cache\Duration; diff --git a/src/Model/Process.php b/src/Model/Process.php index 9f72eeec91..2652929681 100644 --- a/src/Model/Process.php +++ b/src/Model/Process.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Model; use Friendica\Database\DBA; diff --git a/src/Model/Profile.php b/src/Model/Profile.php index 28491fb5f0..2cf260c2f0 100644 --- a/src/Model/Profile.php +++ b/src/Model/Profile.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Model; use Friendica\App; diff --git a/src/Model/ProfileField.php b/src/Model/ProfileField.php index e4192a9809..180aae21c4 100644 --- a/src/Model/ProfileField.php +++ b/src/Model/ProfileField.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Model; diff --git a/src/Model/PushSubscriber.php b/src/Model/PushSubscriber.php index 3707bbea66..2a7be3c35a 100644 --- a/src/Model/PushSubscriber.php +++ b/src/Model/PushSubscriber.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Model; use Friendica\Core\Logger; diff --git a/src/Model/Register.php b/src/Model/Register.php index 9f6d369744..fa8fb7bdbb 100644 --- a/src/Model/Register.php +++ b/src/Model/Register.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Model; @@ -12,8 +27,6 @@ use Friendica\Util\Strings; /** * Class interacting with the register database table - * - * @author Hypolite Petovan */ class Register { diff --git a/src/Model/Search.php b/src/Model/Search.php index 2c8349364c..9e00bbe308 100644 --- a/src/Model/Search.php +++ b/src/Model/Search.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Model; diff --git a/src/Model/Storage/AbstractStorage.php b/src/Model/Storage/AbstractStorage.php index bcd8ee06ae..b53bf29421 100644 --- a/src/Model/Storage/AbstractStorage.php +++ b/src/Model/Storage/AbstractStorage.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Model\Storage; diff --git a/src/Model/Storage/Database.php b/src/Model/Storage/Database.php index 77a075b989..c7eb3628cf 100644 --- a/src/Model/Storage/Database.php +++ b/src/Model/Storage/Database.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Model\Storage; diff --git a/src/Model/Storage/Filesystem.php b/src/Model/Storage/Filesystem.php index 3bb6809b28..ad9a4adf87 100644 --- a/src/Model/Storage/Filesystem.php +++ b/src/Model/Storage/Filesystem.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Model\Storage; diff --git a/src/Model/Storage/IStorage.php b/src/Model/Storage/IStorage.php index 4c38e22075..3baae5beb1 100644 --- a/src/Model/Storage/IStorage.php +++ b/src/Model/Storage/IStorage.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Model\Storage; diff --git a/src/Model/Storage/StorageException.php b/src/Model/Storage/StorageException.php index f32843141b..b63bee02e5 100644 --- a/src/Model/Storage/StorageException.php +++ b/src/Model/Storage/StorageException.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Model\Storage; diff --git a/src/Model/Storage/SystemResource.php b/src/Model/Storage/SystemResource.php index d9a6a5da72..56628ac594 100644 --- a/src/Model/Storage/SystemResource.php +++ b/src/Model/Storage/SystemResource.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Model\Storage; diff --git a/src/Model/Term.php b/src/Model/Term.php index f4c7b9eee6..6e92c9ce18 100644 --- a/src/Model/Term.php +++ b/src/Model/Term.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Model; use Friendica\Core\Cache\Duration; @@ -16,8 +33,6 @@ use Friendica\Util\Strings; * This Model class handles term table interactions. * This tables stores relevant terms related to posts, photos and searches, like hashtags, mentions and * user-applied categories. - * - * @package Friendica\Model */ class Term { diff --git a/src/Model/TwoFactor/AppSpecificPassword.php b/src/Model/TwoFactor/AppSpecificPassword.php index f1ea9af916..1e8d56f759 100644 --- a/src/Model/TwoFactor/AppSpecificPassword.php +++ b/src/Model/TwoFactor/AppSpecificPassword.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Model\TwoFactor; @@ -10,8 +29,6 @@ use PragmaRX\Random\Random; /** * Manages users' two-factor recovery hashed_passwords in the 2fa_app_specific_passwords table - * - * @package Friendica\Model */ class AppSpecificPassword { diff --git a/src/Model/TwoFactor/RecoveryCode.php b/src/Model/TwoFactor/RecoveryCode.php index 1690e04f9b..2c3b71ad41 100644 --- a/src/Model/TwoFactor/RecoveryCode.php +++ b/src/Model/TwoFactor/RecoveryCode.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Model\TwoFactor; @@ -9,8 +28,6 @@ use PragmaRX\Recovery\Recovery; /** * Manages users' two-factor recovery codes in the 2fa_recovery_codes table - * - * @package Friendica\Model */ class RecoveryCode { diff --git a/src/Model/User.php b/src/Model/User.php index 7e2d37c408..4203a0ebc2 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -1,8 +1,22 @@ . + * */ namespace Friendica\Model; diff --git a/src/Model/User/Cookie.php b/src/Model/User/Cookie.php index ba6253c5cd..cda814e694 100644 --- a/src/Model/User/Cookie.php +++ b/src/Model/User/Cookie.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Model\User; diff --git a/src/Model/UserItem.php b/src/Model/UserItem.php index 43b0430aca..0b0a4d2033 100644 --- a/src/Model/UserItem.php +++ b/src/Model/UserItem.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Model; diff --git a/src/Module/AccountManagementControlDocument.php b/src/Module/AccountManagementControlDocument.php index 8e7ee0243a..e6035977f0 100644 --- a/src/Module/AccountManagementControlDocument.php +++ b/src/Module/AccountManagementControlDocument.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Acctlink.php b/src/Module/Acctlink.php index a3577da320..bcd5e19f84 100644 --- a/src/Module/Acctlink.php +++ b/src/Module/Acctlink.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Admin/Addons/Details.php b/src/Module/Admin/Addons/Details.php index 94d31b65a6..dba2f061ce 100644 --- a/src/Module/Admin/Addons/Details.php +++ b/src/Module/Admin/Addons/Details.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Admin\Addons; diff --git a/src/Module/Admin/Addons/Index.php b/src/Module/Admin/Addons/Index.php index 74bd61b5fd..3049cdc6a7 100644 --- a/src/Module/Admin/Addons/Index.php +++ b/src/Module/Admin/Addons/Index.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Admin\Addons; diff --git a/src/Module/Admin/Blocklist/Contact.php b/src/Module/Admin/Blocklist/Contact.php index 871a7ea747..5d87139df5 100644 --- a/src/Module/Admin/Blocklist/Contact.php +++ b/src/Module/Admin/Blocklist/Contact.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Admin\Blocklist; diff --git a/src/Module/Admin/Blocklist/Server.php b/src/Module/Admin/Blocklist/Server.php index 971b890474..d0c632b0bf 100644 --- a/src/Module/Admin/Blocklist/Server.php +++ b/src/Module/Admin/Blocklist/Server.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Admin\Blocklist; diff --git a/src/Module/Admin/DBSync.php b/src/Module/Admin/DBSync.php index eb7c84c9ba..8892c29691 100644 --- a/src/Module/Admin/DBSync.php +++ b/src/Module/Admin/DBSync.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Admin; diff --git a/src/Module/Admin/Features.php b/src/Module/Admin/Features.php index 5e1c3df20e..62136f4235 100644 --- a/src/Module/Admin/Features.php +++ b/src/Module/Admin/Features.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Admin; diff --git a/src/Module/Admin/Federation.php b/src/Module/Admin/Federation.php index f5e38f0d2d..928a286b14 100644 --- a/src/Module/Admin/Federation.php +++ b/src/Module/Admin/Federation.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Admin; diff --git a/src/Module/Admin/Item/Delete.php b/src/Module/Admin/Item/Delete.php index 424fef2b52..c98248e86c 100644 --- a/src/Module/Admin/Item/Delete.php +++ b/src/Module/Admin/Item/Delete.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Admin\Item; diff --git a/src/Module/Admin/Item/Source.php b/src/Module/Admin/Item/Source.php index a3f6dd0c55..b8aaff99b8 100644 --- a/src/Module/Admin/Item/Source.php +++ b/src/Module/Admin/Item/Source.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Admin\Item; @@ -7,9 +26,6 @@ use Friendica\DI; use Friendica\Model; use Friendica\Module\BaseAdmin; -/** - * @author Hypolite Petovan - */ class Source extends BaseAdmin { diff --git a/src/Module/Admin/Logs/Settings.php b/src/Module/Admin/Logs/Settings.php index b8e588cd7d..5158108e46 100644 --- a/src/Module/Admin/Logs/Settings.php +++ b/src/Module/Admin/Logs/Settings.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Admin\Logs; diff --git a/src/Module/Admin/Logs/View.php b/src/Module/Admin/Logs/View.php index dc2274ce7a..3a60ed99ed 100644 --- a/src/Module/Admin/Logs/View.php +++ b/src/Module/Admin/Logs/View.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Admin\Logs; diff --git a/src/Module/Admin/PhpInfo.php b/src/Module/Admin/PhpInfo.php index 465962eb71..f282e10089 100644 --- a/src/Module/Admin/PhpInfo.php +++ b/src/Module/Admin/PhpInfo.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Admin; diff --git a/src/Module/Admin/Queue.php b/src/Module/Admin/Queue.php index 59912fc6c9..b6e7d122fb 100644 --- a/src/Module/Admin/Queue.php +++ b/src/Module/Admin/Queue.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Admin; diff --git a/src/Module/Admin/Site.php b/src/Module/Admin/Site.php index df6c53aee4..ec6f01afa0 100644 --- a/src/Module/Admin/Site.php +++ b/src/Module/Admin/Site.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Admin; diff --git a/src/Module/Admin/Summary.php b/src/Module/Admin/Summary.php index 4c424a059c..7e3505e7ad 100644 --- a/src/Module/Admin/Summary.php +++ b/src/Module/Admin/Summary.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Admin; diff --git a/src/Module/Admin/Themes/Details.php b/src/Module/Admin/Themes/Details.php index a1617954f1..c8d0578382 100644 --- a/src/Module/Admin/Themes/Details.php +++ b/src/Module/Admin/Themes/Details.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Admin\Themes; diff --git a/src/Module/Admin/Themes/Embed.php b/src/Module/Admin/Themes/Embed.php index 50ecff9322..675e33c846 100644 --- a/src/Module/Admin/Themes/Embed.php +++ b/src/Module/Admin/Themes/Embed.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Admin\Themes; diff --git a/src/Module/Admin/Themes/Index.php b/src/Module/Admin/Themes/Index.php index 4c73a36de8..955ddadc70 100644 --- a/src/Module/Admin/Themes/Index.php +++ b/src/Module/Admin/Themes/Index.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Admin\Themes; diff --git a/src/Module/Admin/Tos.php b/src/Module/Admin/Tos.php index b89887dae8..c9dd3d8792 100644 --- a/src/Module/Admin/Tos.php +++ b/src/Module/Admin/Tos.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Admin; diff --git a/src/Module/Admin/Users.php b/src/Module/Admin/Users.php index f52d7b36f8..fbaab1ded2 100644 --- a/src/Module/Admin/Users.php +++ b/src/Module/Admin/Users.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Admin; diff --git a/src/Module/AllFriends.php b/src/Module/AllFriends.php index ffb57ccf6f..f916c16710 100644 --- a/src/Module/AllFriends.php +++ b/src/Module/AllFriends.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Api/Friendica/Profile/Show.php b/src/Module/Api/Friendica/Profile/Show.php index 2c50c53d50..57646f9737 100644 --- a/src/Module/Api/Friendica/Profile/Show.php +++ b/src/Module/Api/Friendica/Profile/Show.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Api\Friendica\Profile; diff --git a/src/Module/Api/Mastodon/CustomEmojis.php b/src/Module/Api/Mastodon/CustomEmojis.php index 58b0c96ee8..81798ee0e0 100644 --- a/src/Module/Api/Mastodon/CustomEmojis.php +++ b/src/Module/Api/Mastodon/CustomEmojis.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Api\Mastodon; diff --git a/src/Module/Api/Mastodon/FollowRequests.php b/src/Module/Api/Mastodon/FollowRequests.php index 169250f11c..3e3ffec58e 100644 --- a/src/Module/Api/Mastodon/FollowRequests.php +++ b/src/Module/Api/Mastodon/FollowRequests.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Api\Mastodon; diff --git a/src/Module/Api/Mastodon/Instance.php b/src/Module/Api/Mastodon/Instance.php index 9276428875..57dcfdc39d 100644 --- a/src/Module/Api/Mastodon/Instance.php +++ b/src/Module/Api/Mastodon/Instance.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Api\Mastodon; diff --git a/src/Module/Api/Mastodon/Instance/Peers.php b/src/Module/Api/Mastodon/Instance/Peers.php index 99c878fcbb..82f08cbad0 100644 --- a/src/Module/Api/Mastodon/Instance/Peers.php +++ b/src/Module/Api/Mastodon/Instance/Peers.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Api\Mastodon\Instance; diff --git a/src/Module/Apps.php b/src/Module/Apps.php index 445db070b9..04c7d7b6ac 100644 --- a/src/Module/Apps.php +++ b/src/Module/Apps.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/BaseAdmin.php b/src/Module/BaseAdmin.php index b776c8b301..300aeb45b4 100644 --- a/src/Module/BaseAdmin.php +++ b/src/Module/BaseAdmin.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/BaseApi.php b/src/Module/BaseApi.php index 543293872d..5a5326756d 100644 --- a/src/Module/BaseApi.php +++ b/src/Module/BaseApi.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/BaseNotifications.php b/src/Module/BaseNotifications.php index 4deb2a24cc..9e7b1cd979 100644 --- a/src/Module/BaseNotifications.php +++ b/src/Module/BaseNotifications.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/BaseProfile.php b/src/Module/BaseProfile.php index b5461d3d97..be38a95837 100644 --- a/src/Module/BaseProfile.php +++ b/src/Module/BaseProfile.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/BaseSearch.php b/src/Module/BaseSearch.php index 26b3ea6060..ca940ae4ea 100644 --- a/src/Module/BaseSearch.php +++ b/src/Module/BaseSearch.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/BaseSettings.php b/src/Module/BaseSettings.php index d4652cc9f1..8621427f76 100644 --- a/src/Module/BaseSettings.php +++ b/src/Module/BaseSettings.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Bookmarklet.php b/src/Module/Bookmarklet.php index 1c1763e888..9ecce8ade1 100644 --- a/src/Module/Bookmarklet.php +++ b/src/Module/Bookmarklet.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Contact.php b/src/Module/Contact.php index 04e6cf00ff..be6f16a530 100644 --- a/src/Module/Contact.php +++ b/src/Module/Contact.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Contact/Advanced.php b/src/Module/Contact/Advanced.php index dc45177e37..cc9fdcf3d2 100644 --- a/src/Module/Contact/Advanced.php +++ b/src/Module/Contact/Advanced.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Contact; diff --git a/src/Module/Contact/Hovercard.php b/src/Module/Contact/Hovercard.php index 199c47ac6e..93495fd5a4 100644 --- a/src/Module/Contact/Hovercard.php +++ b/src/Module/Contact/Hovercard.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Contact; diff --git a/src/Module/Credits.php b/src/Module/Credits.php index bafe6311f3..016fead6ce 100644 --- a/src/Module/Credits.php +++ b/src/Module/Credits.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Debug/Babel.php b/src/Module/Debug/Babel.php index 4b3b47f649..35037f45e4 100644 --- a/src/Module/Debug/Babel.php +++ b/src/Module/Debug/Babel.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Debug; diff --git a/src/Module/Debug/Feed.php b/src/Module/Debug/Feed.php index 6393a6b753..4f17b70e68 100644 --- a/src/Module/Debug/Feed.php +++ b/src/Module/Debug/Feed.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Debug; diff --git a/src/Module/Debug/ItemBody.php b/src/Module/Debug/ItemBody.php index 929cabdaf9..c6530b927a 100644 --- a/src/Module/Debug/ItemBody.php +++ b/src/Module/Debug/ItemBody.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Debug; diff --git a/src/Module/Debug/Localtime.php b/src/Module/Debug/Localtime.php index 7e05caa6f6..751fb82399 100644 --- a/src/Module/Debug/Localtime.php +++ b/src/Module/Debug/Localtime.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Debug; diff --git a/src/Module/Debug/Probe.php b/src/Module/Debug/Probe.php index 8a777ec5fe..0d1c3282b2 100644 --- a/src/Module/Debug/Probe.php +++ b/src/Module/Debug/Probe.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Debug; diff --git a/src/Module/Debug/WebFinger.php b/src/Module/Debug/WebFinger.php index a66e2b318f..ca26fd866e 100644 --- a/src/Module/Debug/WebFinger.php +++ b/src/Module/Debug/WebFinger.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Debug; diff --git a/src/Module/Delegation.php b/src/Module/Delegation.php index b5e4c1a909..b6451c85af 100644 --- a/src/Module/Delegation.php +++ b/src/Module/Delegation.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Diaspora/Fetch.php b/src/Module/Diaspora/Fetch.php index c19857fde3..70f982f70d 100644 --- a/src/Module/Diaspora/Fetch.php +++ b/src/Module/Diaspora/Fetch.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Diaspora; diff --git a/src/Module/Diaspora/Receive.php b/src/Module/Diaspora/Receive.php index dbfb7f549f..01c04dfb6c 100644 --- a/src/Module/Diaspora/Receive.php +++ b/src/Module/Diaspora/Receive.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Diaspora; diff --git a/src/Module/Directory.php b/src/Module/Directory.php index 8335fb0cd4..ed1b702523 100644 --- a/src/Module/Directory.php +++ b/src/Module/Directory.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Feed.php b/src/Module/Feed.php index cf3a0f7154..ff0abdb2ab 100644 --- a/src/Module/Feed.php +++ b/src/Module/Feed.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Filer/RemoveTag.php b/src/Module/Filer/RemoveTag.php index dfe548d817..7866656e33 100644 --- a/src/Module/Filer/RemoveTag.php +++ b/src/Module/Filer/RemoveTag.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Filer; diff --git a/src/Module/Filer/SaveTag.php b/src/Module/Filer/SaveTag.php index 7c5c764cdf..12226107ba 100644 --- a/src/Module/Filer/SaveTag.php +++ b/src/Module/Filer/SaveTag.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Filer; diff --git a/src/Module/FriendSuggest.php b/src/Module/FriendSuggest.php index dcb93ee7eb..6bbfd71166 100644 --- a/src/Module/FriendSuggest.php +++ b/src/Module/FriendSuggest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Friendica.php b/src/Module/Friendica.php index 42b1be57dd..3325b1ae82 100644 --- a/src/Module/Friendica.php +++ b/src/Module/Friendica.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/HTTPException/MethodNotAllowed.php b/src/Module/HTTPException/MethodNotAllowed.php index 11f2ed91e0..9c3ba3d1b8 100644 --- a/src/Module/HTTPException/MethodNotAllowed.php +++ b/src/Module/HTTPException/MethodNotAllowed.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\HTTPException; diff --git a/src/Module/HTTPException/PageNotFound.php b/src/Module/HTTPException/PageNotFound.php index 2457a167dc..7a3cbc5cd3 100644 --- a/src/Module/HTTPException/PageNotFound.php +++ b/src/Module/HTTPException/PageNotFound.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\HTTPException; diff --git a/src/Module/Help.php b/src/Module/Help.php index f5e1edd747..a65bff6eae 100644 --- a/src/Module/Help.php +++ b/src/Module/Help.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Home.php b/src/Module/Home.php index f89920e54b..43e783f18c 100644 --- a/src/Module/Home.php +++ b/src/Module/Home.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/HoverCard.php b/src/Module/HoverCard.php index c2b1d6b46d..e5882046be 100644 --- a/src/Module/HoverCard.php +++ b/src/Module/HoverCard.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Install.php b/src/Module/Install.php index 392adaab1b..21510d206e 100644 --- a/src/Module/Install.php +++ b/src/Module/Install.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Invite.php b/src/Module/Invite.php index fc8b4abf90..98668bf71d 100644 --- a/src/Module/Invite.php +++ b/src/Module/Invite.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Item/Compose.php b/src/Module/Item/Compose.php index 17185d1438..6dc879f768 100644 --- a/src/Module/Item/Compose.php +++ b/src/Module/Item/Compose.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Item; diff --git a/src/Module/Item/Ignore.php b/src/Module/Item/Ignore.php index a9e79cdd61..65617f90f0 100644 --- a/src/Module/Item/Ignore.php +++ b/src/Module/Item/Ignore.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Item; diff --git a/src/Module/Like.php b/src/Module/Like.php index 2c5f02b1f6..a85044714f 100644 --- a/src/Module/Like.php +++ b/src/Module/Like.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Maintenance.php b/src/Module/Maintenance.php index d426ff4131..ece9cea133 100644 --- a/src/Module/Maintenance.php +++ b/src/Module/Maintenance.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Manifest.php b/src/Module/Manifest.php index a7ef344e4d..c0af708fa8 100644 --- a/src/Module/Manifest.php +++ b/src/Module/Manifest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/NoScrape.php b/src/Module/NoScrape.php index 53b3fc4e3e..373c9e0f6d 100644 --- a/src/Module/NoScrape.php +++ b/src/Module/NoScrape.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/NodeInfo.php b/src/Module/NodeInfo.php index 99ae26b381..87321489f3 100644 --- a/src/Module/NodeInfo.php +++ b/src/Module/NodeInfo.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Notifications/Introductions.php b/src/Module/Notifications/Introductions.php index 862473332b..45b7c266c6 100644 --- a/src/Module/Notifications/Introductions.php +++ b/src/Module/Notifications/Introductions.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Notifications; diff --git a/src/Module/Notifications/Notification.php b/src/Module/Notifications/Notification.php index 34ab3d5ace..2f5cfa8695 100644 --- a/src/Module/Notifications/Notification.php +++ b/src/Module/Notifications/Notification.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Notifications; diff --git a/src/Module/Notifications/Notifications.php b/src/Module/Notifications/Notifications.php index 37b2346663..faa25a8b1a 100644 --- a/src/Module/Notifications/Notifications.php +++ b/src/Module/Notifications/Notifications.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Notifications; diff --git a/src/Module/Oembed.php b/src/Module/Oembed.php index 38e209e84d..b0c4d092a1 100644 --- a/src/Module/Oembed.php +++ b/src/Module/Oembed.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/OpenSearch.php b/src/Module/OpenSearch.php index 044c2b1278..24e039ca83 100644 --- a/src/Module/OpenSearch.php +++ b/src/Module/OpenSearch.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Pinned.php b/src/Module/Pinned.php index b28777516e..97364ceffb 100644 --- a/src/Module/Pinned.php +++ b/src/Module/Pinned.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Profile/Contacts.php b/src/Module/Profile/Contacts.php index 122681c170..5ea3e0684c 100644 --- a/src/Module/Profile/Contacts.php +++ b/src/Module/Profile/Contacts.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Profile; diff --git a/src/Module/Profile/Index.php b/src/Module/Profile/Index.php index bf34b0204d..ff731d9b55 100644 --- a/src/Module/Profile/Index.php +++ b/src/Module/Profile/Index.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Profile; diff --git a/src/Module/Profile/Profile.php b/src/Module/Profile/Profile.php index 690f4ee979..5ed341a8a8 100644 --- a/src/Module/Profile/Profile.php +++ b/src/Module/Profile/Profile.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Profile; diff --git a/src/Module/Profile/Status.php b/src/Module/Profile/Status.php index 2ccfb7fdb7..4cd14c021a 100644 --- a/src/Module/Profile/Status.php +++ b/src/Module/Profile/Status.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Profile; diff --git a/src/Module/PublicRSAKey.php b/src/Module/PublicRSAKey.php index 5e90d90725..3d0423688f 100644 --- a/src/Module/PublicRSAKey.php +++ b/src/Module/PublicRSAKey.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/RandomProfile.php b/src/Module/RandomProfile.php index c14e9f6cac..111d92dc40 100644 --- a/src/Module/RandomProfile.php +++ b/src/Module/RandomProfile.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/ReallySimpleDiscovery.php b/src/Module/ReallySimpleDiscovery.php index 382fe12d4f..9882dfb730 100644 --- a/src/Module/ReallySimpleDiscovery.php +++ b/src/Module/ReallySimpleDiscovery.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Register.php b/src/Module/Register.php index 8401a215a8..dd603ad206 100644 --- a/src/Module/Register.php +++ b/src/Module/Register.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/RobotsTxt.php b/src/Module/RobotsTxt.php index db83777e8e..934a7a46e0 100644 --- a/src/Module/RobotsTxt.php +++ b/src/Module/RobotsTxt.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Search/Acl.php b/src/Module/Search/Acl.php index a5a73fb18d..82880f83c3 100644 --- a/src/Module/Search/Acl.php +++ b/src/Module/Search/Acl.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Search; diff --git a/src/Module/Search/Directory.php b/src/Module/Search/Directory.php index 0540914f59..1a86703d4e 100644 --- a/src/Module/Search/Directory.php +++ b/src/Module/Search/Directory.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Search; diff --git a/src/Module/Search/Index.php b/src/Module/Search/Index.php index 1f8bfe4bc2..a68086eccc 100644 --- a/src/Module/Search/Index.php +++ b/src/Module/Search/Index.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Search; diff --git a/src/Module/Search/Saved.php b/src/Module/Search/Saved.php index 141a3732d3..7b8c8d012f 100644 --- a/src/Module/Search/Saved.php +++ b/src/Module/Search/Saved.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Search; diff --git a/src/Module/Security/OpenID.php b/src/Module/Security/OpenID.php index 331c709b2c..bd0df0a4e7 100644 --- a/src/Module/Security/OpenID.php +++ b/src/Module/Security/OpenID.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Security; diff --git a/src/Module/Security/TwoFactor/Recovery.php b/src/Module/Security/TwoFactor/Recovery.php index b8fd515d2c..5168f3b67d 100644 --- a/src/Module/Security/TwoFactor/Recovery.php +++ b/src/Module/Security/TwoFactor/Recovery.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Security\TwoFactor; diff --git a/src/Module/Security/TwoFactor/Verify.php b/src/Module/Security/TwoFactor/Verify.php index 3fdb28a6f9..7d42456be3 100644 --- a/src/Module/Security/TwoFactor/Verify.php +++ b/src/Module/Security/TwoFactor/Verify.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Security\TwoFactor; diff --git a/src/Module/Settings/Delegation.php b/src/Module/Settings/Delegation.php index c6d587d908..e70dee8908 100644 --- a/src/Module/Settings/Delegation.php +++ b/src/Module/Settings/Delegation.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Settings; diff --git a/src/Module/Settings/Profile/Index.php b/src/Module/Settings/Profile/Index.php index 51c428de7c..56ac9a447e 100644 --- a/src/Module/Settings/Profile/Index.php +++ b/src/Module/Settings/Profile/Index.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Settings\Profile; diff --git a/src/Module/Settings/Profile/Photo/Crop.php b/src/Module/Settings/Profile/Photo/Crop.php index 1ae828d2a2..00657b9a30 100644 --- a/src/Module/Settings/Profile/Photo/Crop.php +++ b/src/Module/Settings/Profile/Photo/Crop.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Settings\Profile\Photo; diff --git a/src/Module/Settings/Profile/Photo/Index.php b/src/Module/Settings/Profile/Photo/Index.php index 97171f7aa9..40b4ab1539 100644 --- a/src/Module/Settings/Profile/Photo/Index.php +++ b/src/Module/Settings/Profile/Photo/Index.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Settings\Profile\Photo; diff --git a/src/Module/Settings/TwoFactor/AppSpecific.php b/src/Module/Settings/TwoFactor/AppSpecific.php index c2e24e8b48..a654fe3573 100644 --- a/src/Module/Settings/TwoFactor/AppSpecific.php +++ b/src/Module/Settings/TwoFactor/AppSpecific.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Settings\TwoFactor; diff --git a/src/Module/Settings/TwoFactor/Index.php b/src/Module/Settings/TwoFactor/Index.php index 0c021d4211..60cfb516e1 100644 --- a/src/Module/Settings/TwoFactor/Index.php +++ b/src/Module/Settings/TwoFactor/Index.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Settings\TwoFactor; diff --git a/src/Module/Settings/TwoFactor/Recovery.php b/src/Module/Settings/TwoFactor/Recovery.php index 089283d332..b5420be892 100644 --- a/src/Module/Settings/TwoFactor/Recovery.php +++ b/src/Module/Settings/TwoFactor/Recovery.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Settings\TwoFactor; diff --git a/src/Module/Settings/TwoFactor/Verify.php b/src/Module/Settings/TwoFactor/Verify.php index d832dd622b..65d9d7372c 100644 --- a/src/Module/Settings/TwoFactor/Verify.php +++ b/src/Module/Settings/TwoFactor/Verify.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Settings\TwoFactor; diff --git a/src/Module/Smilies.php b/src/Module/Smilies.php index 963cc8c344..87d3d361da 100644 --- a/src/Module/Smilies.php +++ b/src/Module/Smilies.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Special/HTTPException.php b/src/Module/Special/HTTPException.php index 55357d09c6..ed962a4238 100644 --- a/src/Module/Special/HTTPException.php +++ b/src/Module/Special/HTTPException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Special; diff --git a/src/Module/Starred.php b/src/Module/Starred.php index 0f111b21e0..86f6880d50 100644 --- a/src/Module/Starred.php +++ b/src/Module/Starred.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Statistics.php b/src/Module/Statistics.php index ce15426b8a..bcb6ad86b4 100644 --- a/src/Module/Statistics.php +++ b/src/Module/Statistics.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Theme.php b/src/Module/Theme.php index cc8f914528..c904f1defd 100644 --- a/src/Module/Theme.php +++ b/src/Module/Theme.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/ThemeDetails.php b/src/Module/ThemeDetails.php index 40bfb7a871..e7563a5925 100644 --- a/src/Module/ThemeDetails.php +++ b/src/Module/ThemeDetails.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/ToggleMobile.php b/src/Module/ToggleMobile.php index 71b2de7b65..016f5affa4 100644 --- a/src/Module/ToggleMobile.php +++ b/src/Module/ToggleMobile.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Update/Profile.php b/src/Module/Update/Profile.php index 0f959a3602..d23f766b57 100644 --- a/src/Module/Update/Profile.php +++ b/src/Module/Update/Profile.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\Update; diff --git a/src/Module/Welcome.php b/src/Module/Welcome.php index 7f102c13d3..60b6454d2e 100644 --- a/src/Module/Welcome.php +++ b/src/Module/Welcome.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/WellKnown/HostMeta.php b/src/Module/WellKnown/HostMeta.php index 8781169635..8592dadbe7 100644 --- a/src/Module/WellKnown/HostMeta.php +++ b/src/Module/WellKnown/HostMeta.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\WellKnown; diff --git a/src/Module/WellKnown/NodeInfo.php b/src/Module/WellKnown/NodeInfo.php index d0d2ea7a02..b1aede6960 100644 --- a/src/Module/WellKnown/NodeInfo.php +++ b/src/Module/WellKnown/NodeInfo.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\WellKnown; diff --git a/src/Module/WellKnown/XSocialRelay.php b/src/Module/WellKnown/XSocialRelay.php index f9a806f03c..1876de8b8b 100644 --- a/src/Module/WellKnown/XSocialRelay.php +++ b/src/Module/WellKnown/XSocialRelay.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module\WellKnown; diff --git a/src/Module/Worker.php b/src/Module/Worker.php index 390e25980d..bd06c40296 100644 --- a/src/Module/Worker.php +++ b/src/Module/Worker.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Module/Xrd.php b/src/Module/Xrd.php index 0048350be8..1a7b0712f5 100644 --- a/src/Module/Xrd.php +++ b/src/Module/Xrd.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; diff --git a/src/Network/CurlResult.php b/src/Network/CurlResult.php index 5b77c3963c..e3cc9f98cd 100644 --- a/src/Network/CurlResult.php +++ b/src/Network/CurlResult.php @@ -1,6 +1,22 @@ -. + * + */ Friendica\Network; use Friendica\Core\Logger; use Friendica\Network\HTTPException\InternalServerErrorException; diff --git a/src/Network/HTTPException/AcceptedException.php b/src/Network/HTTPException/AcceptedException.php index b8c843ec54..185c3ed409 100644 --- a/src/Network/HTTPException/AcceptedException.php +++ b/src/Network/HTTPException/AcceptedException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Network/HTTPException/BadGatewayException.php b/src/Network/HTTPException/BadGatewayException.php index c23d7e5a34..0a369b1f6d 100644 --- a/src/Network/HTTPException/BadGatewayException.php +++ b/src/Network/HTTPException/BadGatewayException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Network/HTTPException/BadRequestException.php b/src/Network/HTTPException/BadRequestException.php index 9f25c61a8f..bec336b43d 100644 --- a/src/Network/HTTPException/BadRequestException.php +++ b/src/Network/HTTPException/BadRequestException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Network/HTTPException/ConflictException.php b/src/Network/HTTPException/ConflictException.php index 5d63922c9b..573ffe2b25 100644 --- a/src/Network/HTTPException/ConflictException.php +++ b/src/Network/HTTPException/ConflictException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Network/HTTPException/ExpectationFailedException.php b/src/Network/HTTPException/ExpectationFailedException.php index 7c928f34fa..6b0a6e6937 100644 --- a/src/Network/HTTPException/ExpectationFailedException.php +++ b/src/Network/HTTPException/ExpectationFailedException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Network/HTTPException/ForbiddenException.php b/src/Network/HTTPException/ForbiddenException.php index f83fe524ba..6c8260c683 100644 --- a/src/Network/HTTPException/ForbiddenException.php +++ b/src/Network/HTTPException/ForbiddenException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Network/HTTPException/GatewayTimeoutException.php b/src/Network/HTTPException/GatewayTimeoutException.php index 2e51648506..48bf4dcd20 100644 --- a/src/Network/HTTPException/GatewayTimeoutException.php +++ b/src/Network/HTTPException/GatewayTimeoutException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Network/HTTPException/GoneException.php b/src/Network/HTTPException/GoneException.php index 0f665206f9..e321773d88 100644 --- a/src/Network/HTTPException/GoneException.php +++ b/src/Network/HTTPException/GoneException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Network/HTTPException/ImATeapotException.php b/src/Network/HTTPException/ImATeapotException.php index 89a28bebd8..b0ff6ec1f5 100644 --- a/src/Network/HTTPException/ImATeapotException.php +++ b/src/Network/HTTPException/ImATeapotException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Network/HTTPException/InternalServerErrorException.php b/src/Network/HTTPException/InternalServerErrorException.php index dca1894fb4..79d70e91d0 100644 --- a/src/Network/HTTPException/InternalServerErrorException.php +++ b/src/Network/HTTPException/InternalServerErrorException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Network/HTTPException/LenghtRequiredException.php b/src/Network/HTTPException/LenghtRequiredException.php index 071cac73d0..00002a673e 100644 --- a/src/Network/HTTPException/LenghtRequiredException.php +++ b/src/Network/HTTPException/LenghtRequiredException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Network/HTTPException/MethodNotAllowedException.php b/src/Network/HTTPException/MethodNotAllowedException.php index 128b9dc062..7cd3079a34 100644 --- a/src/Network/HTTPException/MethodNotAllowedException.php +++ b/src/Network/HTTPException/MethodNotAllowedException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Network/HTTPException/NoContentException.php b/src/Network/HTTPException/NoContentException.php index 7bd60fbbc3..896261be7c 100644 --- a/src/Network/HTTPException/NoContentException.php +++ b/src/Network/HTTPException/NoContentException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Network/HTTPException/NonAcceptableException.php b/src/Network/HTTPException/NonAcceptableException.php index 9ef40d60b6..3344d578ed 100644 --- a/src/Network/HTTPException/NonAcceptableException.php +++ b/src/Network/HTTPException/NonAcceptableException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Network/HTTPException/NotFoundException.php b/src/Network/HTTPException/NotFoundException.php index f581794796..b2577b1180 100644 --- a/src/Network/HTTPException/NotFoundException.php +++ b/src/Network/HTTPException/NotFoundException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Network/HTTPException/NotImplementedException.php b/src/Network/HTTPException/NotImplementedException.php index 76cb5d4206..7d2f27538e 100644 --- a/src/Network/HTTPException/NotImplementedException.php +++ b/src/Network/HTTPException/NotImplementedException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Network/HTTPException/OKException.php b/src/Network/HTTPException/OKException.php index d506ddf32e..7c60c9a1bb 100644 --- a/src/Network/HTTPException/OKException.php +++ b/src/Network/HTTPException/OKException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Network/HTTPException/PreconditionFailedException.php b/src/Network/HTTPException/PreconditionFailedException.php index 325c88aa47..00c8fabb65 100644 --- a/src/Network/HTTPException/PreconditionFailedException.php +++ b/src/Network/HTTPException/PreconditionFailedException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Network/HTTPException/ServiceUnavailableException.php b/src/Network/HTTPException/ServiceUnavailableException.php index 257b8c8585..6de3ca9d23 100644 --- a/src/Network/HTTPException/ServiceUnavailableException.php +++ b/src/Network/HTTPException/ServiceUnavailableException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Network/HTTPException/TooManyRequestsException.php b/src/Network/HTTPException/TooManyRequestsException.php index e06d9d9cbf..d5096cb49e 100644 --- a/src/Network/HTTPException/TooManyRequestsException.php +++ b/src/Network/HTTPException/TooManyRequestsException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Network/HTTPException/UnauthorizedException.php b/src/Network/HTTPException/UnauthorizedException.php index eda1f071bc..389f1b7961 100644 --- a/src/Network/HTTPException/UnauthorizedException.php +++ b/src/Network/HTTPException/UnauthorizedException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Network/HTTPException/UnprocessableEntityException.php b/src/Network/HTTPException/UnprocessableEntityException.php index b33a75f793..b8e7dbe36a 100644 --- a/src/Network/HTTPException/UnprocessableEntityException.php +++ b/src/Network/HTTPException/UnprocessableEntityException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Network/HTTPException/UnsupportedMediaTypeException.php b/src/Network/HTTPException/UnsupportedMediaTypeException.php index 02962dfc29..f3bf9a5cb7 100644 --- a/src/Network/HTTPException/UnsupportedMediaTypeException.php +++ b/src/Network/HTTPException/UnsupportedMediaTypeException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; diff --git a/src/Object/Api/Friendica/Notification.php b/src/Object/Api/Friendica/Notification.php index 910d5ec682..9900d0a3fe 100644 --- a/src/Object/Api/Friendica/Notification.php +++ b/src/Object/Api/Friendica/Notification.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Object\Api\Friendica; diff --git a/src/Object/Api/Mastodon/Account.php b/src/Object/Api/Mastodon/Account.php index a5f401a0f3..99cee205ed 100644 --- a/src/Object/Api/Mastodon/Account.php +++ b/src/Object/Api/Mastodon/Account.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Object\Api\Mastodon; diff --git a/src/Object/Api/Mastodon/Emoji.php b/src/Object/Api/Mastodon/Emoji.php index 658ce282f9..1f6f121507 100644 --- a/src/Object/Api/Mastodon/Emoji.php +++ b/src/Object/Api/Mastodon/Emoji.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Object\Api\Mastodon; diff --git a/src/Object/Api/Mastodon/Field.php b/src/Object/Api/Mastodon/Field.php index a32eae04a2..95cbc89dfa 100644 --- a/src/Object/Api/Mastodon/Field.php +++ b/src/Object/Api/Mastodon/Field.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Object\Api\Mastodon; diff --git a/src/Object/Api/Mastodon/FollowRequest.php b/src/Object/Api/Mastodon/FollowRequest.php index 2e1257d3e4..83af880af5 100644 --- a/src/Object/Api/Mastodon/FollowRequest.php +++ b/src/Object/Api/Mastodon/FollowRequest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Object\Api\Mastodon; diff --git a/src/Object/Api/Mastodon/Instance.php b/src/Object/Api/Mastodon/Instance.php index 63c8b2824f..6105a8bee1 100644 --- a/src/Object/Api/Mastodon/Instance.php +++ b/src/Object/Api/Mastodon/Instance.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Object\Api\Mastodon; diff --git a/src/Object/Api/Mastodon/Relationship.php b/src/Object/Api/Mastodon/Relationship.php index 146ad212b4..bb3aa55416 100644 --- a/src/Object/Api/Mastodon/Relationship.php +++ b/src/Object/Api/Mastodon/Relationship.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Object\Api\Mastodon; diff --git a/src/Object/Api/Mastodon/Stats.php b/src/Object/Api/Mastodon/Stats.php index 24e263685f..8677cf0425 100644 --- a/src/Object/Api/Mastodon/Stats.php +++ b/src/Object/Api/Mastodon/Stats.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Object\Api\Mastodon; diff --git a/src/Object/EMail/IEmail.php b/src/Object/EMail/IEmail.php index ec8ae88158..77b5901f37 100644 --- a/src/Object/EMail/IEmail.php +++ b/src/Object/EMail/IEmail.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Object\EMail; diff --git a/src/Object/EMail/ItemCCEMail.php b/src/Object/EMail/ItemCCEMail.php index 049f861475..1cda5ed167 100644 --- a/src/Object/EMail/ItemCCEMail.php +++ b/src/Object/EMail/ItemCCEMail.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Object\EMail; diff --git a/src/Object/Email.php b/src/Object/Email.php index 32d1382831..96a7ad88cb 100644 --- a/src/Object/Email.php +++ b/src/Object/Email.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Object; diff --git a/src/Object/Notification/Introduction.php b/src/Object/Notification/Introduction.php index 4757282730..f2e6aecea5 100644 --- a/src/Object/Notification/Introduction.php +++ b/src/Object/Notification/Introduction.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Object\Notification; diff --git a/src/Object/Notification/Notification.php b/src/Object/Notification/Notification.php index bb29fd0afd..2f1e8cdd12 100644 --- a/src/Object/Notification/Notification.php +++ b/src/Object/Notification/Notification.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Object\Notification; diff --git a/src/Object/OEmbed.php b/src/Object/OEmbed.php index d787e2ee98..6b53812b98 100644 --- a/src/Object/OEmbed.php +++ b/src/Object/OEmbed.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Object; diff --git a/src/Object/Search/ContactResult.php b/src/Object/Search/ContactResult.php index ccfb5f4cfd..b9fbe49d84 100644 --- a/src/Object/Search/ContactResult.php +++ b/src/Object/Search/ContactResult.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Object\Search; diff --git a/src/Object/Search/IResult.php b/src/Object/Search/IResult.php index 64fb71c858..f1c3389755 100644 --- a/src/Object/Search/IResult.php +++ b/src/Object/Search/IResult.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Object\Search; diff --git a/src/Object/Search/ResultList.php b/src/Object/Search/ResultList.php index ec9c276871..065ca0557d 100644 --- a/src/Object/Search/ResultList.php +++ b/src/Object/Search/ResultList.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Object\Search; diff --git a/src/Protocol/Activity.php b/src/Protocol/Activity.php index bea2dedb09..bba7909fdf 100644 --- a/src/Protocol/Activity.php +++ b/src/Protocol/Activity.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Protocol; diff --git a/src/Protocol/Activity/ObjectType.php b/src/Protocol/Activity/ObjectType.php index 313378b3e9..e5fd2bfd82 100644 --- a/src/Protocol/Activity/ObjectType.php +++ b/src/Protocol/Activity/ObjectType.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Protocol\Activity; diff --git a/src/Protocol/ActivityNamespace.php b/src/Protocol/ActivityNamespace.php index c504f28339..2f860fed8a 100644 --- a/src/Protocol/ActivityNamespace.php +++ b/src/Protocol/ActivityNamespace.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Protocol; diff --git a/src/Repository/FSuggest.php b/src/Repository/FSuggest.php index 4567f0a5af..f7f6cef71b 100644 --- a/src/Repository/FSuggest.php +++ b/src/Repository/FSuggest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Repository; diff --git a/src/Repository/Introduction.php b/src/Repository/Introduction.php index 65c2e1ebc7..bde6edef6c 100644 --- a/src/Repository/Introduction.php +++ b/src/Repository/Introduction.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Repository; diff --git a/src/Repository/Notify.php b/src/Repository/Notify.php index b53bd84411..d8887affd5 100644 --- a/src/Repository/Notify.php +++ b/src/Repository/Notify.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Repository; diff --git a/src/Repository/PermissionSet.php b/src/Repository/PermissionSet.php index 86915701d9..ec0b91e0fe 100644 --- a/src/Repository/PermissionSet.php +++ b/src/Repository/PermissionSet.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Repository; diff --git a/src/Repository/ProfileField.php b/src/Repository/ProfileField.php index b1b16dcf1f..6be1a1d946 100644 --- a/src/Repository/ProfileField.php +++ b/src/Repository/ProfileField.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Repository; diff --git a/src/Util/ACLFormatter.php b/src/Util/ACLFormatter.php index d79a73298b..7719daf456 100644 --- a/src/Util/ACLFormatter.php +++ b/src/Util/ACLFormatter.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Util; diff --git a/src/Util/BasePath.php b/src/Util/BasePath.php index 39931a84e4..227050c464 100644 --- a/src/Util/BasePath.php +++ b/src/Util/BasePath.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Util; diff --git a/src/Util/ConfigFileLoader.php b/src/Util/ConfigFileLoader.php index 5acf4630d8..fc6685946c 100644 --- a/src/Util/ConfigFileLoader.php +++ b/src/Util/ConfigFileLoader.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Util; diff --git a/src/Util/EMailer/MailBuilder.php b/src/Util/EMailer/MailBuilder.php index cc774f4fb4..7bdb978c81 100644 --- a/src/Util/EMailer/MailBuilder.php +++ b/src/Util/EMailer/MailBuilder.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Util\EMailer; diff --git a/src/Util/EMailer/NotifyMailBuilder.php b/src/Util/EMailer/NotifyMailBuilder.php index 8a7eea4263..f084f3f0db 100644 --- a/src/Util/EMailer/NotifyMailBuilder.php +++ b/src/Util/EMailer/NotifyMailBuilder.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Util\EMailer; diff --git a/src/Util/EMailer/SystemMailBuilder.php b/src/Util/EMailer/SystemMailBuilder.php index 7f8a22b9d5..59ebb59b18 100644 --- a/src/Util/EMailer/SystemMailBuilder.php +++ b/src/Util/EMailer/SystemMailBuilder.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Util\EMailer; diff --git a/src/Util/FileSystem.php b/src/Util/FileSystem.php index b3a0ae74de..c082fb2d1e 100644 --- a/src/Util/FileSystem.php +++ b/src/Util/FileSystem.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Util; diff --git a/src/Util/Images.php b/src/Util/Images.php index e5a4da5b19..6471ed526b 100644 --- a/src/Util/Images.php +++ b/src/Util/Images.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Util; diff --git a/src/Util/Introspection.php b/src/Util/Introspection.php index 6eec70954d..75f1f87aaa 100644 --- a/src/Util/Introspection.php +++ b/src/Util/Introspection.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Util; diff --git a/src/Util/LDSignature.php b/src/Util/LDSignature.php index 48beeeb363..b2b6c90db2 100644 --- a/src/Util/LDSignature.php +++ b/src/Util/LDSignature.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Util; diff --git a/src/Util/Logger/AbstractLogger.php b/src/Util/Logger/AbstractLogger.php index 576f4bfb43..4d653ae9b6 100644 --- a/src/Util/Logger/AbstractLogger.php +++ b/src/Util/Logger/AbstractLogger.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Util\Logger; diff --git a/src/Util/Logger/Monolog/DevelopHandler.php b/src/Util/Logger/Monolog/DevelopHandler.php index 07a839345a..6d495b5224 100644 --- a/src/Util/Logger/Monolog/DevelopHandler.php +++ b/src/Util/Logger/Monolog/DevelopHandler.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Util\Logger\Monolog; diff --git a/src/Util/Logger/Monolog/IntrospectionProcessor.php b/src/Util/Logger/Monolog/IntrospectionProcessor.php index 18ea84680b..55c041e5bf 100644 --- a/src/Util/Logger/Monolog/IntrospectionProcessor.php +++ b/src/Util/Logger/Monolog/IntrospectionProcessor.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Util\Logger\Monolog; diff --git a/src/Util/Logger/ProfilerLogger.php b/src/Util/Logger/ProfilerLogger.php index fdb7c52b2a..2f19409528 100644 --- a/src/Util/Logger/ProfilerLogger.php +++ b/src/Util/Logger/ProfilerLogger.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Util\Logger; diff --git a/src/Util/Logger/StreamLogger.php b/src/Util/Logger/StreamLogger.php index 9b7aa0890b..035e7ecee4 100644 --- a/src/Util/Logger/StreamLogger.php +++ b/src/Util/Logger/StreamLogger.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Util\Logger; diff --git a/src/Util/Logger/SyslogLogger.php b/src/Util/Logger/SyslogLogger.php index 7ef4f6b27a..101baad38a 100644 --- a/src/Util/Logger/SyslogLogger.php +++ b/src/Util/Logger/SyslogLogger.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Util\Logger; diff --git a/src/Util/Logger/VoidLogger.php b/src/Util/Logger/VoidLogger.php index 16cd10da05..20311e24aa 100644 --- a/src/Util/Logger/VoidLogger.php +++ b/src/Util/Logger/VoidLogger.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Util\Logger; diff --git a/src/Util/Logger/WorkerLogger.php b/src/Util/Logger/WorkerLogger.php index 04edecc699..fb63ce1024 100644 --- a/src/Util/Logger/WorkerLogger.php +++ b/src/Util/Logger/WorkerLogger.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Util\Logger; diff --git a/src/Util/Profiler.php b/src/Util/Profiler.php index c3fddfac70..240273bde3 100644 --- a/src/Util/Profiler.php +++ b/src/Util/Profiler.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Util; diff --git a/src/Util/Proxy.php b/src/Util/Proxy.php index 6bc227591d..e104073f03 100644 --- a/src/Util/Proxy.php +++ b/src/Util/Proxy.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Util; diff --git a/src/Worker/TagUpdate.php b/src/Worker/TagUpdate.php index 213c26ac0a..d7ad4462c3 100644 --- a/src/Worker/TagUpdate.php +++ b/src/Worker/TagUpdate.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Worker; diff --git a/tests/MockedTest.php b/tests/MockedTest.php index 87f7757025..9137a1f511 100644 --- a/tests/MockedTest.php +++ b/tests/MockedTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test; diff --git a/tests/Util/AppMockTrait.php b/tests/Util/AppMockTrait.php index 6e929e5f21..1f6605390c 100644 --- a/tests/Util/AppMockTrait.php +++ b/tests/Util/AppMockTrait.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\Util; diff --git a/tests/Util/DBAMockTrait.php b/tests/Util/DBAMockTrait.php index ab5bc6059e..932cceea88 100644 --- a/tests/Util/DBAMockTrait.php +++ b/tests/Util/DBAMockTrait.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\Util; diff --git a/tests/Util/DBStructureMockTrait.php b/tests/Util/DBStructureMockTrait.php index 224e5d07af..2d47cc85ef 100644 --- a/tests/Util/DBStructureMockTrait.php +++ b/tests/Util/DBStructureMockTrait.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\Util; diff --git a/tests/Util/Database/ExtendedPDO.php b/tests/Util/Database/ExtendedPDO.php index 6bb0251c55..857589d2c5 100644 --- a/tests/Util/Database/ExtendedPDO.php +++ b/tests/Util/Database/ExtendedPDO.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\Util\Database; diff --git a/tests/Util/Database/StaticDatabase.php b/tests/Util/Database/StaticDatabase.php index dcc5d9db46..f2ed6c700e 100644 --- a/tests/Util/Database/StaticDatabase.php +++ b/tests/Util/Database/StaticDatabase.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\Util\Database; diff --git a/tests/Util/DateTimeFormatMockTrait.php b/tests/Util/DateTimeFormatMockTrait.php index 0230e16a43..a2c26c76ec 100644 --- a/tests/Util/DateTimeFormatMockTrait.php +++ b/tests/Util/DateTimeFormatMockTrait.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\Util; diff --git a/tests/Util/DbaCacheMockTrait.php b/tests/Util/DbaCacheMockTrait.php index 9d59690c07..77f1cd73c6 100644 --- a/tests/Util/DbaCacheMockTrait.php +++ b/tests/Util/DbaCacheMockTrait.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\Util; diff --git a/tests/Util/DbaLockMockTrait.php b/tests/Util/DbaLockMockTrait.php index 65698f1a10..e38770cb2e 100644 --- a/tests/Util/DbaLockMockTrait.php +++ b/tests/Util/DbaLockMockTrait.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\Util; diff --git a/tests/Util/Intercept.php b/tests/Util/Intercept.php index 9435a5950b..f22e98798b 100644 --- a/tests/Util/Intercept.php +++ b/tests/Util/Intercept.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\Util; diff --git a/tests/Util/RendererMockTrait.php b/tests/Util/RendererMockTrait.php index 57fd9dc445..04a65e3022 100644 --- a/tests/Util/RendererMockTrait.php +++ b/tests/Util/RendererMockTrait.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\Util; diff --git a/tests/Util/SampleMailBuilder.php b/tests/Util/SampleMailBuilder.php index 59638eea97..7cc34e6afd 100644 --- a/tests/Util/SampleMailBuilder.php +++ b/tests/Util/SampleMailBuilder.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\Util; diff --git a/tests/Util/SampleStorageBackend.php b/tests/Util/SampleStorageBackend.php index f16c3a6415..00dad8612c 100644 --- a/tests/Util/SampleStorageBackend.php +++ b/tests/Util/SampleStorageBackend.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\Util; diff --git a/tests/Util/StaticCookie.php b/tests/Util/StaticCookie.php index 01a8c49be4..9aeec0b334 100644 --- a/tests/Util/StaticCookie.php +++ b/tests/Util/StaticCookie.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\Util; diff --git a/tests/Util/VFSTrait.php b/tests/Util/VFSTrait.php index ecf0880d29..96f385b3ba 100644 --- a/tests/Util/VFSTrait.php +++ b/tests/Util/VFSTrait.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\Util; diff --git a/tests/functional/DependencyCheckTest.php b/tests/functional/DependencyCheckTest.php index 944b623905..a99e25cda1 100644 --- a/tests/functional/DependencyCheckTest.php +++ b/tests/functional/DependencyCheckTest.php @@ -1,4 +1,23 @@ . + * + */ namespace functional; diff --git a/tests/src/App/ArgumentsTest.php b/tests/src/App/ArgumentsTest.php index ee0419955d..a7ef451d98 100644 --- a/tests/src/App/ArgumentsTest.php +++ b/tests/src/App/ArgumentsTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\App; diff --git a/tests/src/App/ModeTest.php b/tests/src/App/ModeTest.php index 2fbb6863c0..6ea13f1fb4 100644 --- a/tests/src/App/ModeTest.php +++ b/tests/src/App/ModeTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\App; diff --git a/tests/src/App/ModuleTest.php b/tests/src/App/ModuleTest.php index 5b8bdcd3d6..a7c439d1fd 100644 --- a/tests/src/App/ModuleTest.php +++ b/tests/src/App/ModuleTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\App; diff --git a/tests/src/App/RouterTest.php b/tests/src/App/RouterTest.php index 6d4b8770d0..064e37a12a 100644 --- a/tests/src/App/RouterTest.php +++ b/tests/src/App/RouterTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\App; diff --git a/tests/src/Console/AutomaticInstallationConsoleTest.php b/tests/src/Console/AutomaticInstallationConsoleTest.php index ed31661673..8d1be751d6 100644 --- a/tests/src/Console/AutomaticInstallationConsoleTest.php +++ b/tests/src/Console/AutomaticInstallationConsoleTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Console; diff --git a/tests/src/Console/ConfigConsoleTest.php b/tests/src/Console/ConfigConsoleTest.php index 77ef45b74e..05ed3f3c1e 100644 --- a/tests/src/Console/ConfigConsoleTest.php +++ b/tests/src/Console/ConfigConsoleTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Console; diff --git a/tests/src/Console/ConsoleTest.php b/tests/src/Console/ConsoleTest.php index 64fab4baf6..724163d6ff 100644 --- a/tests/src/Console/ConsoleTest.php +++ b/tests/src/Console/ConsoleTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Console; diff --git a/tests/src/Console/LockConsoleTest.php b/tests/src/Console/LockConsoleTest.php index dddc9daff1..6ba0eb04dd 100644 --- a/tests/src/Console/LockConsoleTest.php +++ b/tests/src/Console/LockConsoleTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Console; diff --git a/tests/src/Console/ServerBlockConsoleTest.php b/tests/src/Console/ServerBlockConsoleTest.php index c7c936b941..027da035e7 100644 --- a/tests/src/Console/ServerBlockConsoleTest.php +++ b/tests/src/Console/ServerBlockConsoleTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Console; diff --git a/tests/src/Content/ItemTest.php b/tests/src/Content/ItemTest.php index 5cdfa978bd..102e594270 100644 --- a/tests/src/Content/ItemTest.php +++ b/tests/src/Content/ItemTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Content; diff --git a/tests/src/Content/Text/BBCode/VideoTest.php b/tests/src/Content/Text/BBCode/VideoTest.php index 4a176871a1..2a3cef75af 100644 --- a/tests/src/Content/Text/BBCode/VideoTest.php +++ b/tests/src/Content/Text/BBCode/VideoTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\Content\Text\BBCode; diff --git a/tests/src/Content/Text/BBCodeTest.php b/tests/src/Content/Text/BBCodeTest.php index 7db69eef39..f827eb5b10 100644 --- a/tests/src/Content/Text/BBCodeTest.php +++ b/tests/src/Content/Text/BBCodeTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Content\Text; diff --git a/tests/src/Content/Text/HTMLTest.php b/tests/src/Content/Text/HTMLTest.php index fe54399014..f640c4fb19 100644 --- a/tests/src/Content/Text/HTMLTest.php +++ b/tests/src/Content/Text/HTMLTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Content\Text; diff --git a/tests/src/Content/Text/MarkdownTest.php b/tests/src/Content/Text/MarkdownTest.php index 80421b5221..a22c2e25bb 100644 --- a/tests/src/Content/Text/MarkdownTest.php +++ b/tests/src/Content/Text/MarkdownTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Content\Text; diff --git a/tests/src/Core/Cache/APCuCacheTest.php b/tests/src/Core/Cache/APCuCacheTest.php index dfb81d9c6c..695c725d3f 100644 --- a/tests/src/Core/Cache/APCuCacheTest.php +++ b/tests/src/Core/Cache/APCuCacheTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\Cache; diff --git a/tests/src/Core/Cache/ArrayCacheTest.php b/tests/src/Core/Cache/ArrayCacheTest.php index 60ca2761e5..a0dd87b032 100644 --- a/tests/src/Core/Cache/ArrayCacheTest.php +++ b/tests/src/Core/Cache/ArrayCacheTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\Cache; diff --git a/tests/src/Core/Cache/CacheTest.php b/tests/src/Core/Cache/CacheTest.php index 9071a55c40..e9a26f2f46 100644 --- a/tests/src/Core/Cache/CacheTest.php +++ b/tests/src/Core/Cache/CacheTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\Cache; diff --git a/tests/src/Core/Cache/DatabaseCacheTest.php b/tests/src/Core/Cache/DatabaseCacheTest.php index dbc98bcf4f..f8919a6cfb 100644 --- a/tests/src/Core/Cache/DatabaseCacheTest.php +++ b/tests/src/Core/Cache/DatabaseCacheTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\Cache; diff --git a/tests/src/Core/Cache/MemcacheCacheTest.php b/tests/src/Core/Cache/MemcacheCacheTest.php index f6d1101c4e..ed69d887a9 100644 --- a/tests/src/Core/Cache/MemcacheCacheTest.php +++ b/tests/src/Core/Cache/MemcacheCacheTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\Cache; diff --git a/tests/src/Core/Cache/MemcachedCacheTest.php b/tests/src/Core/Cache/MemcachedCacheTest.php index add400678b..5fe96ddaee 100644 --- a/tests/src/Core/Cache/MemcachedCacheTest.php +++ b/tests/src/Core/Cache/MemcachedCacheTest.php @@ -1,5 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\Cache; diff --git a/tests/src/Core/Cache/MemoryCacheTest.php b/tests/src/Core/Cache/MemoryCacheTest.php index 19c102396b..8f73d76777 100644 --- a/tests/src/Core/Cache/MemoryCacheTest.php +++ b/tests/src/Core/Cache/MemoryCacheTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\Cache; diff --git a/tests/src/Core/Cache/RedisCacheTest.php b/tests/src/Core/Cache/RedisCacheTest.php index e7a3ffb310..821c3c5cf7 100644 --- a/tests/src/Core/Cache/RedisCacheTest.php +++ b/tests/src/Core/Cache/RedisCacheTest.php @@ -1,5 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\Cache; diff --git a/tests/src/Core/Config/CacheTest.php b/tests/src/Core/Config/CacheTest.php index 9a398f5d5d..c4e59e6914 100644 --- a/tests/src/Core/Config/CacheTest.php +++ b/tests/src/Core/Config/CacheTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\Config; diff --git a/tests/src/Core/Config/ConfigTest.php b/tests/src/Core/Config/ConfigTest.php index c67f930a4a..7dd61d4518 100644 --- a/tests/src/Core/Config/ConfigTest.php +++ b/tests/src/Core/Config/ConfigTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\Config; diff --git a/tests/src/Core/Config/JitConfigTest.php b/tests/src/Core/Config/JitConfigTest.php index 28aee30170..cdaf874b65 100644 --- a/tests/src/Core/Config/JitConfigTest.php +++ b/tests/src/Core/Config/JitConfigTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\Config; diff --git a/tests/src/Core/Config/PreloadConfigTest.php b/tests/src/Core/Config/PreloadConfigTest.php index 68db7c6f8a..4bcf842d80 100644 --- a/tests/src/Core/Config/PreloadConfigTest.php +++ b/tests/src/Core/Config/PreloadConfigTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\Config; diff --git a/tests/src/Core/L10nTest.php b/tests/src/Core/L10nTest.php index 7d30d31271..66a96892d0 100644 --- a/tests/src/Core/L10nTest.php +++ b/tests/src/Core/L10nTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\L10n; diff --git a/tests/src/Core/Lock/APCuCacheLockTest.php b/tests/src/Core/Lock/APCuCacheLockTest.php index c243717810..8448659565 100644 --- a/tests/src/Core/Lock/APCuCacheLockTest.php +++ b/tests/src/Core/Lock/APCuCacheLockTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\Lock; diff --git a/tests/src/Core/Lock/ArrayCacheLockTest.php b/tests/src/Core/Lock/ArrayCacheLockTest.php index cc35d7f5e6..ba80706755 100644 --- a/tests/src/Core/Lock/ArrayCacheLockTest.php +++ b/tests/src/Core/Lock/ArrayCacheLockTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\Lock; diff --git a/tests/src/Core/Lock/DatabaseLockTest.php b/tests/src/Core/Lock/DatabaseLockTest.php index 2b20b2c101..5f3ef13c12 100644 --- a/tests/src/Core/Lock/DatabaseLockTest.php +++ b/tests/src/Core/Lock/DatabaseLockTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\Lock; diff --git a/tests/src/Core/Lock/LockTest.php b/tests/src/Core/Lock/LockTest.php index 70d7819d73..c7a1664f11 100644 --- a/tests/src/Core/Lock/LockTest.php +++ b/tests/src/Core/Lock/LockTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\Lock; diff --git a/tests/src/Core/Lock/MemcacheCacheLockTest.php b/tests/src/Core/Lock/MemcacheCacheLockTest.php index b7ef5d376d..8008cb0eed 100644 --- a/tests/src/Core/Lock/MemcacheCacheLockTest.php +++ b/tests/src/Core/Lock/MemcacheCacheLockTest.php @@ -1,5 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\Lock; diff --git a/tests/src/Core/Lock/MemcachedCacheLockTest.php b/tests/src/Core/Lock/MemcachedCacheLockTest.php index 69272007a4..232f78714f 100644 --- a/tests/src/Core/Lock/MemcachedCacheLockTest.php +++ b/tests/src/Core/Lock/MemcachedCacheLockTest.php @@ -1,5 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\Lock; diff --git a/tests/src/Core/Lock/RedisCacheLockTest.php b/tests/src/Core/Lock/RedisCacheLockTest.php index 41a3c2318a..fb9bc80b7d 100644 --- a/tests/src/Core/Lock/RedisCacheLockTest.php +++ b/tests/src/Core/Lock/RedisCacheLockTest.php @@ -1,5 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\Lock; diff --git a/tests/src/Core/Lock/SemaphoreLockTest.php b/tests/src/Core/Lock/SemaphoreLockTest.php index aec4d0fd61..04aeb2b45d 100644 --- a/tests/src/Core/Lock/SemaphoreLockTest.php +++ b/tests/src/Core/Lock/SemaphoreLockTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\Lock; diff --git a/tests/src/Core/PConfig/CacheTest.php b/tests/src/Core/PConfig/CacheTest.php index 62f6d22dfa..927fab009c 100644 --- a/tests/src/Core/PConfig/CacheTest.php +++ b/tests/src/Core/PConfig/CacheTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\PConfig; diff --git a/tests/src/Core/PConfig/JitPConfigTest.php b/tests/src/Core/PConfig/JitPConfigTest.php index b19317144b..ab5dbafd91 100644 --- a/tests/src/Core/PConfig/JitPConfigTest.php +++ b/tests/src/Core/PConfig/JitPConfigTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\PConfig; diff --git a/tests/src/Core/PConfig/PConfigTest.php b/tests/src/Core/PConfig/PConfigTest.php index e6f0326cb1..090dab69f5 100644 --- a/tests/src/Core/PConfig/PConfigTest.php +++ b/tests/src/Core/PConfig/PConfigTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\PConfig; diff --git a/tests/src/Core/PConfig/PreloadPConfigTest.php b/tests/src/Core/PConfig/PreloadPConfigTest.php index 60d62938eb..984d2c0e26 100644 --- a/tests/src/Core/PConfig/PreloadPConfigTest.php +++ b/tests/src/Core/PConfig/PreloadPConfigTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core\PConfig; diff --git a/tests/src/Core/StorageManagerTest.php b/tests/src/Core/StorageManagerTest.php index b626978863..c6f4558b70 100644 --- a/tests/src/Core/StorageManagerTest.php +++ b/tests/src/Core/StorageManagerTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core; diff --git a/tests/src/Core/SystemTest.php b/tests/src/Core/SystemTest.php index 1b09eb46a8..3f06ab6d23 100644 --- a/tests/src/Core/SystemTest.php +++ b/tests/src/Core/SystemTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Core; diff --git a/tests/src/Database/DBStructureTest.php b/tests/src/Database/DBStructureTest.php index b3f9fb208f..2a254eb892 100644 --- a/tests/src/Database/DBStructureTest.php +++ b/tests/src/Database/DBStructureTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Database; diff --git a/tests/src/Model/FileTagTest.php b/tests/src/Model/FileTagTest.php index f74bec3639..b12261d700 100644 --- a/tests/src/Model/FileTagTest.php +++ b/tests/src/Model/FileTagTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Model; diff --git a/tests/src/Model/Storage/DatabaseStorageTest.php b/tests/src/Model/Storage/DatabaseStorageTest.php index 64d26aa119..cf29aedf95 100644 --- a/tests/src/Model/Storage/DatabaseStorageTest.php +++ b/tests/src/Model/Storage/DatabaseStorageTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Model\Storage; diff --git a/tests/src/Model/Storage/FilesystemStorageTest.php b/tests/src/Model/Storage/FilesystemStorageTest.php index eb1336c829..5e508ddb06 100644 --- a/tests/src/Model/Storage/FilesystemStorageTest.php +++ b/tests/src/Model/Storage/FilesystemStorageTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Model\Storage; diff --git a/tests/src/Model/Storage/StorageTest.php b/tests/src/Model/Storage/StorageTest.php index ae3f8f01fd..d8b3c6cb77 100644 --- a/tests/src/Model/Storage/StorageTest.php +++ b/tests/src/Model/Storage/StorageTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Model\Storage; diff --git a/tests/src/Model/User/CookieTest.php b/tests/src/Model/User/CookieTest.php index 2c791acf84..cac278076c 100644 --- a/tests/src/Model/User/CookieTest.php +++ b/tests/src/Model/User/CookieTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Testsrc\Model\User; diff --git a/tests/src/Model/UserTest.php b/tests/src/Model/UserTest.php index 583b1dbfd2..bc0db13f4a 100644 --- a/tests/src/Model/UserTest.php +++ b/tests/src/Model/UserTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Model; diff --git a/tests/src/Network/CurlResultTest.php b/tests/src/Network/CurlResultTest.php index 20287c9738..e066fb89b0 100644 --- a/tests/src/Network/CurlResultTest.php +++ b/tests/src/Network/CurlResultTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Network; diff --git a/tests/src/Protocol/ActivityTest.php b/tests/src/Protocol/ActivityTest.php index a3e9c11487..31ff8efc11 100644 --- a/tests/src/Protocol/ActivityTest.php +++ b/tests/src/Protocol/ActivityTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\Protocol; diff --git a/tests/src/Util/ACLFormaterTest.php b/tests/src/Util/ACLFormaterTest.php index 5d588274be..37535b5585 100644 --- a/tests/src/Util/ACLFormaterTest.php +++ b/tests/src/Util/ACLFormaterTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Util; diff --git a/tests/src/Util/Config/ConfigFileLoaderTest.php b/tests/src/Util/Config/ConfigFileLoaderTest.php index 59b2f39cb0..57bcc84467 100644 --- a/tests/src/Util/Config/ConfigFileLoaderTest.php +++ b/tests/src/Util/Config/ConfigFileLoaderTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Util\Config; diff --git a/tests/src/Util/DateTimeFormatTest.php b/tests/src/Util/DateTimeFormatTest.php index bdc902eab2..4e1a02a29b 100644 --- a/tests/src/Util/DateTimeFormatTest.php +++ b/tests/src/Util/DateTimeFormatTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Util; diff --git a/tests/src/Util/Emailer/MailBuilderTest.php b/tests/src/Util/Emailer/MailBuilderTest.php index 1e475c9f70..4bae9bfd8f 100644 --- a/tests/src/Util/Emailer/MailBuilderTest.php +++ b/tests/src/Util/Emailer/MailBuilderTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Util\Emailer; diff --git a/tests/src/Util/Emailer/SystemMailBuilderTest.php b/tests/src/Util/Emailer/SystemMailBuilderTest.php index e855602766..45466bb8ae 100644 --- a/tests/src/Util/Emailer/SystemMailBuilderTest.php +++ b/tests/src/Util/Emailer/SystemMailBuilderTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Util\Emailer; diff --git a/tests/src/Util/Logger/AbstractLoggerTest.php b/tests/src/Util/Logger/AbstractLoggerTest.php index e0c0335837..2cac6ce717 100644 --- a/tests/src/Util/Logger/AbstractLoggerTest.php +++ b/tests/src/Util/Logger/AbstractLoggerTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Util\Logger; diff --git a/tests/src/Util/Logger/LoggerDataTrait.php b/tests/src/Util/Logger/LoggerDataTrait.php index 1267098a88..f8738ed071 100644 --- a/tests/src/Util/Logger/LoggerDataTrait.php +++ b/tests/src/Util/Logger/LoggerDataTrait.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Util\Logger; diff --git a/tests/src/Util/Logger/ProfilerLoggerTest.php b/tests/src/Util/Logger/ProfilerLoggerTest.php index 848191a4d6..68db1448a1 100644 --- a/tests/src/Util/Logger/ProfilerLoggerTest.php +++ b/tests/src/Util/Logger/ProfilerLoggerTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Util\Logger; diff --git a/tests/src/Util/Logger/StreamLoggerTest.php b/tests/src/Util/Logger/StreamLoggerTest.php index 7dcb08ba6d..f507634f0e 100644 --- a/tests/src/Util/Logger/StreamLoggerTest.php +++ b/tests/src/Util/Logger/StreamLoggerTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Util\Logger; diff --git a/tests/src/Util/Logger/SyslogLoggerTest.php b/tests/src/Util/Logger/SyslogLoggerTest.php index aee94e7fdf..5bedaf5dc3 100644 --- a/tests/src/Util/Logger/SyslogLoggerTest.php +++ b/tests/src/Util/Logger/SyslogLoggerTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Util\Logger; diff --git a/tests/src/Util/Logger/SyslogLoggerWrapper.php b/tests/src/Util/Logger/SyslogLoggerWrapper.php index 779067e28e..8cc6a77f5f 100644 --- a/tests/src/Util/Logger/SyslogLoggerWrapper.php +++ b/tests/src/Util/Logger/SyslogLoggerWrapper.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Util\Logger; diff --git a/tests/src/Util/Logger/VoidLoggerTest.php b/tests/src/Util/Logger/VoidLoggerTest.php index 4c436d697a..1ff74f273f 100644 --- a/tests/src/Util/Logger/VoidLoggerTest.php +++ b/tests/src/Util/Logger/VoidLoggerTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Util\Logger; diff --git a/tests/src/Util/Logger/WorkerLoggerTest.php b/tests/src/Util/Logger/WorkerLoggerTest.php index 7676b01e5b..d63e5eda5c 100644 --- a/tests/src/Util/Logger/WorkerLoggerTest.php +++ b/tests/src/Util/Logger/WorkerLoggerTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Util\Logger; diff --git a/tests/src/Util/ProfilerTest.php b/tests/src/Util/ProfilerTest.php index cfd28af174..30e60b209b 100644 --- a/tests/src/Util/ProfilerTest.php +++ b/tests/src/Util/ProfilerTest.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\src\Util; From 85dc9bb96b30819fcf544c9aa1013a8f380d6981 Mon Sep 17 00:00:00 2001 From: nupplaPhil Date: Sun, 9 Feb 2020 16:18:46 +0100 Subject: [PATCH 2/4] Add license info at Friendica PHP files --- bin/daemon.php | 18 ++++++++++- bin/worker.php | 18 ++++++++++- boot.php | 22 ++++++++++---- include/conversation.php | 18 ++++++++++- include/enotify.php | 18 ++++++++++- include/items.php | 18 ++++++++++- index.php | 19 ++++++++++-- mod/api.php | 18 ++++++++++- mod/cal.php | 18 ++++++++++- mod/common.php | 18 ++++++++++- mod/community.php | 18 ++++++++++- mod/dfrn_confirm.php | 20 +++++++++++-- mod/dfrn_notify.php | 20 +++++++++++-- mod/dfrn_poll.php | 19 ++++++++++-- mod/dfrn_request.php | 22 ++++++++++---- mod/display.php | 18 ++++++++++- mod/editpost.php | 18 ++++++++++- mod/events.php | 18 ++++++++++- mod/follow.php | 19 +++++++++++- mod/item.php | 21 ++++++++++--- mod/lockview.php | 19 +++++++++++- mod/lostpass.php | 19 ++++++++++-- mod/match.php | 18 ++++++++++- mod/message.php | 18 ++++++++++- mod/network.php | 19 ++++++++++-- mod/notes.php | 18 ++++++++++- mod/oexchange.php | 19 +++++++++++- mod/ostatus_subscribe.php | 18 ++++++++++- mod/parse_url.php | 19 ++++++++++-- mod/photos.php | 18 ++++++++++- mod/ping.php | 18 ++++++++++- mod/regmod.php | 18 ++++++++++- mod/removeme.php | 18 ++++++++++- mod/repair_ostatus.php | 18 ++++++++++- mod/salmon.php | 18 ++++++++++- mod/settings.php | 18 ++++++++++- mod/subthread.php | 18 ++++++++++- mod/suggest.php | 18 ++++++++++- mod/tagger.php | 18 ++++++++++- mod/tagrm.php | 18 ++++++++++- mod/uimport.php | 18 ++++++++++- mod/unfollow.php | 18 ++++++++++- mod/update_display.php | 18 ++++++++++- mod/update_network.php | 18 ++++++++++- mod/videos.php | 18 ++++++++++- mod/wall_attach.php | 18 ++++++++++- mod/wall_upload.php | 19 +++++++++++- mod/wallmessage.php | 19 +++++++++++- src/App.php | 22 +++++++++++--- src/Module/Attach.php | 19 ++++++++++-- src/Module/Followers.php | 19 +++++++++++- src/Module/Following.php | 19 +++++++++++- src/Module/Group.php | 18 ++++++++++- src/Module/Hashtag.php | 19 +++++++++++- src/Module/Inbox.php | 18 ++++++++++- src/Module/Magic.php | 19 +++++++++++- src/Module/Objects.php | 19 +++++++++++- src/Module/Outbox.php | 19 +++++++++++- src/Module/Owa.php | 19 +++++++++++- src/Module/Photo.php | 18 ++++++++++- src/Module/Proxy.php | 20 +++++++++++-- src/Module/Security/Login.php | 21 ++++++++++--- src/Module/Security/Logout.php | 20 +++++++++++-- src/Module/Settings/UserExport.php | 18 ++++++++++- src/Module/Tos.php | 19 ++++++++++-- src/Network/FKOAuth1.php | 19 +++++++++++- src/Network/FKOAuthDataStore.php | 20 ++++++++++--- src/Network/Probe.php | 25 +++++++++++----- src/Object/Image.php | 20 +++++++++++-- src/Object/Post.php | 19 +++++++++++- src/Object/Thread.php | 19 +++++++++++- src/Protocol/ActivityPub.php | 19 +++++++++++- src/Protocol/ActivityPub/Processor.php | 19 +++++++++++- src/Protocol/ActivityPub/Receiver.php | 21 +++++++++++-- src/Protocol/ActivityPub/Transmitter.php | 21 +++++++++++-- src/Protocol/DFRN.php | 21 ++++++++++--- src/Protocol/Diaspora.php | 22 ++++++++++---- src/Protocol/Email.php | 19 +++++++++++- src/Protocol/Feed.php | 22 +++++++++++--- src/Protocol/OStatus.php | 19 +++++++++++- src/Protocol/PortableContact.php | 26 +++++++++++++--- src/Protocol/Salmon.php | 19 +++++++++++- src/Render/FriendicaSmarty.php | 21 +++++++++++-- src/Render/FriendicaSmartyEngine.php | 21 +++++++++++-- src/Render/ITemplateEngine.php | 18 ++++++++++- src/Util/Arrays.php | 20 +++++++++++-- src/Util/Crypto.php | 19 +++++++++++- src/Util/DateTimeFormat.php | 19 ++++++++++-- src/Util/Emailer.php | 19 +++++++++++- src/Util/HTTPHeaders.php | 19 +++++++++++- src/Util/HTTPSignature.php | 20 +++++++++++-- src/Util/JsonLD.php | 19 +++++++++++- src/Util/Map.php | 19 +++++++++++- src/Util/Mimetype.php | 19 +++++++++++- src/Util/Network.php | 19 +++++++++++- src/Util/ParseUrl.php | 22 ++++++++++++-- src/Util/Pidfile.php | 19 +++++++++++- src/Util/Security.php | 18 ++++++++++- src/Util/Strings.php | 19 ++++++++++-- src/Util/Temporal.php | 19 ++++++++++-- src/Util/XML.php | 19 +++++++++++- src/Worker/APDelivery.php | 19 +++++++++++- src/Worker/AddContact.php | 19 ++++++++++-- src/Worker/CheckVersion.php | 24 +++++++++++---- src/Worker/CreateShadowEntry.php | 24 +++++++++++++-- src/Worker/Cron.php | 19 +++++++++++- src/Worker/CronJobs.php | 19 +++++++++++- src/Worker/DBClean.php | 22 ++++++++++++-- src/Worker/DBUpdate.php | 23 ++++++++++++-- src/Worker/Delivery.php | 19 +++++++++++- src/Worker/Directory.php | 22 ++++++++++++-- src/Worker/Expire.php | 22 ++++++++++++-- src/Worker/FetchPoCo.php | 19 +++++++++++- src/Worker/ForkHook.php | 18 ++++++++++- src/Worker/MergeContact.php | 19 ++++++++++-- src/Worker/Notifier.php | 19 +++++++++++- src/Worker/OnePoll.php | 19 +++++++++++- src/Worker/ProfileUpdate.php | 22 ++++++++++++-- src/Worker/PubSubPublish.php | 18 ++++++++++- src/Worker/RemoveContact.php | 23 ++++++++++++-- src/Worker/RemoveUser.php | 23 ++++++++++++-- src/Worker/SearchDirectory.php | 19 +++++++++++- src/Worker/SpoolPost.php | 23 ++++++++++++-- src/Worker/UpdateContact.php | 19 ++++++++++-- src/Worker/UpdateGContact.php | 19 ++++++++++-- src/Worker/UpdateGContacts.php | 19 +++++++++++- src/Worker/UpdateGServer.php | 19 +++++++++++- src/Worker/UpdateGServers.php | 19 +++++++++++- src/Worker/UpdateServerDirectories.php | 19 +++++++++++- src/Worker/UpdateServerDirectory.php | 19 +++++++++++- src/Worker/UpdateSuggestions.php | 19 +++++++++++- tests/src/Util/ArraysTest.php | 20 +++++++++++-- tests/src/Util/StringsTest.php | 19 +++++++++++- tests/src/Util/XmlTest.php | 19 +++++++++++- view/php/none.php | 38 +++++++++++++++++------- view/theme/duepuntozero/style.php | 19 +++++++++++- view/theme/frio/php/Image.php | 18 ++++++++++- view/theme/frio/php/default.php | 19 +++++++++++- view/theme/frio/php/frio_boot.php | 18 +++++++++-- view/theme/frio/php/standard.php | 19 +++++++++++- view/theme/frio/style.php | 18 ++++++++++- view/theme/quattro/style.php | 19 +++++++++++- view/theme/vier/style.php | 19 +++++++++++- 143 files changed, 2542 insertions(+), 242 deletions(-) diff --git a/bin/daemon.php b/bin/daemon.php index 8ba85033ce..c2ce05c8e0 100755 --- a/bin/daemon.php +++ b/bin/daemon.php @@ -1,7 +1,23 @@ #!/usr/bin/env php . + * * Run the worker from a daemon. * * This script was taken from http://php.net/manual/en/function.pcntl-fork.php diff --git a/bin/worker.php b/bin/worker.php index 106c9b81f1..1b70a20955 100755 --- a/bin/worker.php +++ b/bin/worker.php @@ -1,7 +1,23 @@ #!/usr/bin/env php . + * * Starts the background processing */ diff --git a/boot.php b/boot.php index cd6e3bda85..eab34611e2 100644 --- a/boot.php +++ b/boot.php @@ -1,11 +1,21 @@ . * * Friendica is a communications platform for integrated social communications * utilising decentralised communications and linkage to several indie social diff --git a/include/conversation.php b/include/conversation.php index a588484766..3707962576 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/include/enotify.php b/include/enotify.php index 0777a72f4f..a9956441c1 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -1,6 +1,22 @@ . + * */ use Friendica\Content\Text\BBCode; diff --git a/include/items.php b/include/items.php index 2230c93c77..f4bab4b8fc 100644 --- a/include/items.php +++ b/include/items.php @@ -1,6 +1,22 @@ . + * */ use Friendica\Core\Hook; diff --git a/index.php b/index.php index 7a6e26b42e..4857b1f129 100644 --- a/index.php +++ b/index.php @@ -1,7 +1,22 @@ . + * */ use Dice\Dice; diff --git a/mod/api.php b/mod/api.php index 8114d27861..47a809497e 100644 --- a/mod/api.php +++ b/mod/api.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/cal.php b/mod/cal.php index 9e32b87d6f..ff8969888c 100644 --- a/mod/cal.php +++ b/mod/cal.php @@ -1,6 +1,22 @@ . + * * The calendar module * * This calendar is for profile visitors and contains only the events diff --git a/mod/common.php b/mod/common.php index 7e1dcc1859..436d8bb559 100644 --- a/mod/common.php +++ b/mod/common.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/community.php b/mod/community.php index 61922ef88a..7aa00240b7 100644 --- a/mod/community.php +++ b/mod/community.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index a8544ca7dc..c191d3e170 100644 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -1,9 +1,23 @@ . + * + * Friendship acceptance for DFRN contacts * * There are two possible entry points and three scenarios. * diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index a08fe1b48a..2e1f51a11c 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -1,8 +1,24 @@ . + * * The dfrn notify endpoint + * * @see PDF with dfrn specs: https://github.com/friendica/friendica/blob/master/spec/dfrn2.pdf */ diff --git a/mod/dfrn_poll.php b/mod/dfrn_poll.php index bc0100bfa4..14221c7e6e 100644 --- a/mod/dfrn_poll.php +++ b/mod/dfrn_poll.php @@ -1,7 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php index fd57dcf9c4..0be8403c2b 100644 --- a/mod/dfrn_request.php +++ b/mod/dfrn_request.php @@ -1,11 +1,23 @@ . + * + *Handles communication associated with the issuance of friend requests. * * @see PDF with dfrn specs: https://github.com/friendica/friendica/blob/master/spec/dfrn2.pdf * You also find a graphic which describes the confirmation process at diff --git a/mod/display.php b/mod/display.php index 6784a20c49..ea52a994b0 100644 --- a/mod/display.php +++ b/mod/display.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/editpost.php b/mod/editpost.php index ca5db3e081..aa8930e5d0 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/events.php b/mod/events.php index ffe67f67fe..6c5c274ea3 100644 --- a/mod/events.php +++ b/mod/events.php @@ -1,6 +1,22 @@ . + * * The events module */ diff --git a/mod/follow.php b/mod/follow.php index c62c037759..36eea57194 100644 --- a/mod/follow.php +++ b/mod/follow.php @@ -1,7 +1,24 @@ . + * */ + use Friendica\App; use Friendica\Core\Protocol; use Friendica\Core\Renderer; diff --git a/mod/item.php b/mod/item.php index 69b5f52cda..636bd8c319 100644 --- a/mod/item.php +++ b/mod/item.php @@ -1,9 +1,22 @@ . + * * This is the POST destination for most all locally posted * text stuff. This function handles status, wall-to-wall status, * local comments, and remote coments that are posted on this site diff --git a/mod/lockview.php b/mod/lockview.php index e3382bddb8..d3eceb4e07 100644 --- a/mod/lockview.php +++ b/mod/lockview.php @@ -1,7 +1,24 @@ . + * */ + use Friendica\App; use Friendica\Core\Hook; use Friendica\Database\DBA; diff --git a/mod/lostpass.php b/mod/lostpass.php index 51aee56df7..2ce396e366 100644 --- a/mod/lostpass.php +++ b/mod/lostpass.php @@ -1,7 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/match.php b/mod/match.php index b262bfd115..471d52ef6b 100644 --- a/mod/match.php +++ b/mod/match.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/message.php b/mod/message.php index bba530ca5d..e871e22e31 100644 --- a/mod/message.php +++ b/mod/message.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/network.php b/mod/network.php index 1bbddf2196..1f7afebf37 100644 --- a/mod/network.php +++ b/mod/network.php @@ -1,7 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/notes.php b/mod/notes.php index 38a72a741f..ccd30926c8 100644 --- a/mod/notes.php +++ b/mod/notes.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/oexchange.php b/mod/oexchange.php index 3eb13460d4..97367c3ea5 100644 --- a/mod/oexchange.php +++ b/mod/oexchange.php @@ -1,7 +1,24 @@ . + * */ + use Friendica\App; use Friendica\Core\Renderer; use Friendica\DI; diff --git a/mod/ostatus_subscribe.php b/mod/ostatus_subscribe.php index e5a3f1e9b4..bdf362e1ce 100644 --- a/mod/ostatus_subscribe.php +++ b/mod/ostatus_subscribe.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/parse_url.php b/mod/parse_url.php index 1329d4e017..b40ddf1d71 100644 --- a/mod/parse_url.php +++ b/mod/parse_url.php @@ -1,8 +1,21 @@ . * * This module does parse an url for embeddable content (audio, video, image files or link) * information and does format this information to BBCode diff --git a/mod/photos.php b/mod/photos.php index 0733bbc960..b7ba79c2f3 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/ping.php b/mod/ping.php index f91a1753ce..3057fb9e31 100644 --- a/mod/ping.php +++ b/mod/ping.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/regmod.php b/mod/regmod.php index ed030723d3..df1020b9f4 100644 --- a/mod/regmod.php +++ b/mod/regmod.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/removeme.php b/mod/removeme.php index e8615feb7c..ee0a4c275b 100644 --- a/mod/removeme.php +++ b/mod/removeme.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/repair_ostatus.php b/mod/repair_ostatus.php index b4c6a9cbd6..6ceba80553 100644 --- a/mod/repair_ostatus.php +++ b/mod/repair_ostatus.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/salmon.php b/mod/salmon.php index c7b25a6655..6eea57f6a7 100644 --- a/mod/salmon.php +++ b/mod/salmon.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/settings.php b/mod/settings.php index ddb3fb76cb..6fc8c8b1eb 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/subthread.php b/mod/subthread.php index f689eca9d8..96400b0dd6 100644 --- a/mod/subthread.php +++ b/mod/subthread.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/suggest.php b/mod/suggest.php index 77f75f8b8f..5fb9bdcff7 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/tagger.php b/mod/tagger.php index 568b5fd54d..a6f35cea12 100644 --- a/mod/tagger.php +++ b/mod/tagger.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/tagrm.php b/mod/tagrm.php index aae4f9ed33..2fa75133ca 100644 --- a/mod/tagrm.php +++ b/mod/tagrm.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/uimport.php b/mod/uimport.php index a727e13df4..eb99a366f2 100644 --- a/mod/uimport.php +++ b/mod/uimport.php @@ -1,6 +1,22 @@ . + * * View for user import */ diff --git a/mod/unfollow.php b/mod/unfollow.php index 0d13c73afc..e4d456d28e 100644 --- a/mod/unfollow.php +++ b/mod/unfollow.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/update_display.php b/mod/update_display.php index b8f3d8f498..73fd915e49 100644 --- a/mod/update_display.php +++ b/mod/update_display.php @@ -1,6 +1,22 @@ . + * * See update_profile.php for documentation */ diff --git a/mod/update_network.php b/mod/update_network.php index 9aa0443f1e..d6b77aedbb 100644 --- a/mod/update_network.php +++ b/mod/update_network.php @@ -1,6 +1,22 @@ . + * * See update_profile.php for documentation */ diff --git a/mod/videos.php b/mod/videos.php index 36ddef6814..0fd99bdf42 100644 --- a/mod/videos.php +++ b/mod/videos.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/wall_attach.php b/mod/wall_attach.php index bb5128137f..c02a06c375 100644 --- a/mod/wall_attach.php +++ b/mod/wall_attach.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; diff --git a/mod/wall_upload.php b/mod/wall_upload.php index b7504bede1..fd33cdd17a 100644 --- a/mod/wall_upload.php +++ b/mod/wall_upload.php @@ -1,11 +1,28 @@ . + * * Module for uploading a picture to the profile wall * * By default the picture will be stored in the photo album with the name Wall Photos. * You can specify a different album by adding an optional query string "album=" * to the url + * */ use Friendica\App; diff --git a/mod/wallmessage.php b/mod/wallmessage.php index 085201fc44..e5b482a65e 100644 --- a/mod/wallmessage.php +++ b/mod/wallmessage.php @@ -1,7 +1,24 @@ . + * */ + use Friendica\App; use Friendica\Core\Logger; use Friendica\Core\Renderer; diff --git a/src/App.php b/src/App.php index 892a4c7790..9b6f6a5a29 100644 --- a/src/App.php +++ b/src/App.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica; use Exception; @@ -25,9 +42,6 @@ use Friendica\Util\Strings; use Psr\Log\LoggerInterface; /** - * - * class: App - * * Our main application structure for the life of this page. * * Primarily deals with the URL that got us here diff --git a/src/Module/Attach.php b/src/Module/Attach.php index 7a625e600a..519de0cc9c 100644 --- a/src/Module/Attach.php +++ b/src/Module/Attach.php @@ -1,9 +1,24 @@ . + * */ - namespace Friendica\Module; use Friendica\BaseModule; diff --git a/src/Module/Followers.php b/src/Module/Followers.php index 0907f8ba5c..8e683e5623 100644 --- a/src/Module/Followers.php +++ b/src/Module/Followers.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Module; use Friendica\BaseModule; diff --git a/src/Module/Following.php b/src/Module/Following.php index 739971df99..30f47b5986 100644 --- a/src/Module/Following.php +++ b/src/Module/Following.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Module; use Friendica\BaseModule; diff --git a/src/Module/Group.php b/src/Module/Group.php index beeb6dfa0c..11e7f1a760 100644 --- a/src/Module/Group.php +++ b/src/Module/Group.php @@ -1,6 +1,22 @@ . + * */ namespace Friendica\Module; diff --git a/src/Module/Hashtag.php b/src/Module/Hashtag.php index a460ae1d98..50719774fb 100644 --- a/src/Module/Hashtag.php +++ b/src/Module/Hashtag.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Module; use Friendica\BaseModule; diff --git a/src/Module/Inbox.php b/src/Module/Inbox.php index 21f2698b7c..7d25c8b71d 100644 --- a/src/Module/Inbox.php +++ b/src/Module/Inbox.php @@ -1,6 +1,22 @@ . + * */ namespace Friendica\Module; diff --git a/src/Module/Magic.php b/src/Module/Magic.php index a95b7e6ba0..85da8eb485 100644 --- a/src/Module/Magic.php +++ b/src/Module/Magic.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Module; use Friendica\BaseModule; diff --git a/src/Module/Objects.php b/src/Module/Objects.php index 783e849bfe..9c57665ffa 100644 --- a/src/Module/Objects.php +++ b/src/Module/Objects.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Module; use Friendica\BaseModule; diff --git a/src/Module/Outbox.php b/src/Module/Outbox.php index ee667cc4da..265c130b18 100644 --- a/src/Module/Outbox.php +++ b/src/Module/Outbox.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Module; use Friendica\BaseModule; diff --git a/src/Module/Owa.php b/src/Module/Owa.php index c32b1806dc..9a8d8fbb65 100644 --- a/src/Module/Owa.php +++ b/src/Module/Owa.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Module; use Friendica\BaseModule; diff --git a/src/Module/Photo.php b/src/Module/Photo.php index 34ee4db833..2cb29af5f6 100644 --- a/src/Module/Photo.php +++ b/src/Module/Photo.php @@ -1,6 +1,22 @@ . + * */ namespace Friendica\Module; diff --git a/src/Module/Proxy.php b/src/Module/Proxy.php index e0d5716d69..e1231f0b13 100644 --- a/src/Module/Proxy.php +++ b/src/Module/Proxy.php @@ -1,8 +1,24 @@ + * @copyright Copyright (C) 2020, Friendica + * + * @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 Friendica\Module; use Friendica\BaseModule; diff --git a/src/Module/Security/Login.php b/src/Module/Security/Login.php index 431781758b..17845f6152 100644 --- a/src/Module/Security/Login.php +++ b/src/Module/Security/Login.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Module\Security; @@ -16,8 +31,6 @@ use Friendica\Util\Strings; /** * Login module - * - * @author Hypolite Petovan */ class Login extends BaseModule { diff --git a/src/Module/Security/Logout.php b/src/Module/Security/Logout.php index 19bf85ff38..c698dd00b0 100644 --- a/src/Module/Security/Logout.php +++ b/src/Module/Security/Logout.php @@ -1,6 +1,22 @@ . + * */ namespace Friendica\Module\Security; @@ -13,8 +29,6 @@ use Friendica\Model\Profile; /** * Logout module - * - * @author Hypolite Petovan */ class Logout extends BaseModule { diff --git a/src/Module/Settings/UserExport.php b/src/Module/Settings/UserExport.php index a1ea50353d..0eaa72ffe6 100644 --- a/src/Module/Settings/UserExport.php +++ b/src/Module/Settings/UserExport.php @@ -1,6 +1,22 @@ . + * */ namespace Friendica\Module\Settings; diff --git a/src/Module/Tos.php b/src/Module/Tos.php index b907b76966..2bc3393b23 100644 --- a/src/Module/Tos.php +++ b/src/Module/Tos.php @@ -1,9 +1,22 @@ . * - * This module displays the Terms of Service for a node, if the admin - * wants them to be displayed. */ namespace Friendica\Module; diff --git a/src/Network/FKOAuth1.php b/src/Network/FKOAuth1.php index ea184d4857..642fab111a 100644 --- a/src/Network/FKOAuth1.php +++ b/src/Network/FKOAuth1.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Network; use Friendica\Core\Logger; diff --git a/src/Network/FKOAuthDataStore.php b/src/Network/FKOAuthDataStore.php index cc41d4c6d5..ee9a709152 100644 --- a/src/Network/FKOAuthDataStore.php +++ b/src/Network/FKOAuthDataStore.php @@ -1,9 +1,21 @@ + * @copyright Copyright (C) 2020, Friendica + * + * @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 . * */ diff --git a/src/Network/Probe.php b/src/Network/Probe.php index 91d894d2ee..31548173b5 100644 --- a/src/Network/Probe.php +++ b/src/Network/Probe.php @@ -1,13 +1,25 @@ . + * */ -namespace Friendica\Network; -/** - * @file src/Network/Probe.php - * Functions for probing URL - */ +namespace Friendica\Network; use DOMDocument; use DomXPath; @@ -29,7 +41,6 @@ use Friendica\Util\XML; /** * This class contain functions for probing URL - * */ class Probe { diff --git a/src/Object/Image.php b/src/Object/Image.php index c3585d7cd2..535eae0b33 100644 --- a/src/Object/Image.php +++ b/src/Object/Image.php @@ -1,8 +1,24 @@ . + * */ + namespace Friendica\Object; use Exception; diff --git a/src/Object/Post.php b/src/Object/Post.php index 8ebc6e265b..f55dbde0d5 100644 --- a/src/Object/Post.php +++ b/src/Object/Post.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Object; use Friendica\Content\ContactSelector; diff --git a/src/Object/Thread.php b/src/Object/Thread.php index 0d0def0612..b574e300bc 100644 --- a/src/Object/Thread.php +++ b/src/Object/Thread.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Object; use Friendica\Core\Logger; diff --git a/src/Protocol/ActivityPub.php b/src/Protocol/ActivityPub.php index 7e2c591b3d..f1cd652f47 100644 --- a/src/Protocol/ActivityPub.php +++ b/src/Protocol/ActivityPub.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Protocol; use Friendica\Util\JsonLD; diff --git a/src/Protocol/ActivityPub/Processor.php b/src/Protocol/ActivityPub/Processor.php index 3bc7ff4a73..089d41729f 100644 --- a/src/Protocol/ActivityPub/Processor.php +++ b/src/Protocol/ActivityPub/Processor.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Protocol\ActivityPub; use Friendica\Content\Text\BBCode; diff --git a/src/Protocol/ActivityPub/Receiver.php b/src/Protocol/ActivityPub/Receiver.php index 0ef1791413..7d25d94f17 100644 --- a/src/Protocol/ActivityPub/Receiver.php +++ b/src/Protocol/ActivityPub/Receiver.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Protocol\ActivityPub; use Friendica\Database\DBA; @@ -26,7 +43,7 @@ use Friendica\Util\Strings; * ActivityPub Receiver Protocol class * * To-Do: - * - Undo Announce + * @todo Undo Announce * * Check what this is meant to do: * - Add diff --git a/src/Protocol/ActivityPub/Transmitter.php b/src/Protocol/ActivityPub/Transmitter.php index 1883fb1623..38f1022942 100644 --- a/src/Protocol/ActivityPub/Transmitter.php +++ b/src/Protocol/ActivityPub/Transmitter.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Protocol\ActivityPub; use Friendica\Content\Feature; @@ -39,7 +56,7 @@ require_once 'mod/share.php'; * ActivityPub Transmitter Protocol class * * To-Do: - * - Undo Announce + * @todo Undo Announce */ class Transmitter { diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index 9269fcc5e0..ff891701a3 100644 --- a/src/Protocol/DFRN.php +++ b/src/Protocol/DFRN.php @@ -1,11 +1,24 @@ . * - * @see https://github.com/friendica/friendica/wiki/Protocol and - * https://github.com/friendica/friendica/blob/master/spec/dfrn2.pdf */ + namespace Friendica\Protocol; use DOMDocument; diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index bff56d5af3..2dd3eba1e2 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -1,11 +1,22 @@ . * - * The new protocol is described here: http://diaspora.github.io/diaspora_federation/index.html - * This implementation here interprets the old and the new protocol and sends the new one. - * In the future we will remove most stuff from "validPosting" and interpret only the new protocol. */ namespace Friendica\Protocol; @@ -40,7 +51,6 @@ use SimpleXMLElement; /** * This class contain functions to create and send Diaspora XML files - * */ class Diaspora { diff --git a/src/Protocol/Email.php b/src/Protocol/Email.php index 75fd1ea225..06946d4830 100644 --- a/src/Protocol/Email.php +++ b/src/Protocol/Email.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Protocol; use Friendica\Core\Hook; diff --git a/src/Protocol/Feed.php b/src/Protocol/Feed.php index c235b31722..cbd50a0976 100644 --- a/src/Protocol/Feed.php +++ b/src/Protocol/Feed.php @@ -1,9 +1,24 @@ . * */ + namespace Friendica\Protocol; use DOMDocument; @@ -19,8 +34,7 @@ use Friendica\Util\ParseUrl; use Friendica\Util\XML; /** - * This class contain functions to import feeds - * + * This class contain functions to import feeds (RSS/RDF/Atom) */ class Feed { /** diff --git a/src/Protocol/OStatus.php b/src/Protocol/OStatus.php index dc30b596fc..b5167aa72d 100644 --- a/src/Protocol/OStatus.php +++ b/src/Protocol/OStatus.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Protocol; use DOMDocument; diff --git a/src/Protocol/PortableContact.php b/src/Protocol/PortableContact.php index 58b9d73874..4ff9ae98bf 100644 --- a/src/Protocol/PortableContact.php +++ b/src/Protocol/PortableContact.php @@ -1,10 +1,22 @@ . * - * @todo Move GNU Social URL schemata (http://server.tld/user/number) to http://server.tld/username - * @todo Fetch profile data from profile page for Redmatrix users - * @todo Detect if it is a forum */ namespace Friendica\Protocol; @@ -22,6 +34,12 @@ use Friendica\Util\DateTimeFormat; use Friendica\Util\Network; use Friendica\Util\Strings; +/** + * + * @todo Move GNU Social URL schemata (http://server.tld/user/number) to http://server.tld/username + * @todo Fetch profile data from profile page for Redmatrix users + * @todo Detect if it is a forum + */ class PortableContact { const DISABLED = 0; diff --git a/src/Protocol/Salmon.php b/src/Protocol/Salmon.php index 0274c51738..0d234b53f0 100644 --- a/src/Protocol/Salmon.php +++ b/src/Protocol/Salmon.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Protocol; use Friendica\Core\Logger; diff --git a/src/Render/FriendicaSmarty.php b/src/Render/FriendicaSmarty.php index 83b6322df2..2b06c88c91 100644 --- a/src/Render/FriendicaSmarty.php +++ b/src/Render/FriendicaSmarty.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Render; use Friendica\DI; @@ -10,8 +27,6 @@ use Friendica\Core\Renderer; /** * Friendica extension of the Smarty3 template engine - * - * @author Hypolite Petovan */ class FriendicaSmarty extends Smarty { diff --git a/src/Render/FriendicaSmartyEngine.php b/src/Render/FriendicaSmartyEngine.php index d36b8f1958..1e419bcf76 100644 --- a/src/Render/FriendicaSmartyEngine.php +++ b/src/Render/FriendicaSmartyEngine.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Render; use Friendica\Core\Hook; @@ -9,8 +26,6 @@ use Friendica\DI; /** * Smarty implementation of the Friendica template engine interface - * - * @author Hypolite Petovan */ class FriendicaSmartyEngine implements ITemplateEngine { diff --git a/src/Render/ITemplateEngine.php b/src/Render/ITemplateEngine.php index cf19e2065a..456bb268b9 100644 --- a/src/Render/ITemplateEngine.php +++ b/src/Render/ITemplateEngine.php @@ -1,6 +1,22 @@ . + * */ namespace Friendica\Render; diff --git a/src/Util/Arrays.php b/src/Util/Arrays.php index e2ba412ca6..1103580139 100644 --- a/src/Util/Arrays.php +++ b/src/Util/Arrays.php @@ -1,8 +1,24 @@ + * @copyright Copyright (C) 2020, Friendica + * + * @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 Friendica\Util; /** diff --git a/src/Util/Crypto.php b/src/Util/Crypto.php index 3ac1c3b231..1b84a92f64 100644 --- a/src/Util/Crypto.php +++ b/src/Util/Crypto.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Util; use ASN_BASE; diff --git a/src/Util/DateTimeFormat.php b/src/Util/DateTimeFormat.php index dc6cbb044c..07590bac0a 100644 --- a/src/Util/DateTimeFormat.php +++ b/src/Util/DateTimeFormat.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Util; diff --git a/src/Util/Emailer.php b/src/Util/Emailer.php index e5f1269ab5..1254c66188 100644 --- a/src/Util/Emailer.php +++ b/src/Util/Emailer.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Util; use Friendica\App; diff --git a/src/Util/HTTPHeaders.php b/src/Util/HTTPHeaders.php index 9b0c4529d8..d59d638e14 100644 --- a/src/Util/HTTPHeaders.php +++ b/src/Util/HTTPHeaders.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Util; /** diff --git a/src/Util/HTTPSignature.php b/src/Util/HTTPSignature.php index e3151eb4ae..e4d2e93ff0 100644 --- a/src/Util/HTTPSignature.php +++ b/src/Util/HTTPSignature.php @@ -1,8 +1,24 @@ . + * */ + namespace Friendica\Util; use Friendica\Database\DBA; diff --git a/src/Util/JsonLD.php b/src/Util/JsonLD.php index 3b033c0af3..1452318b52 100644 --- a/src/Util/JsonLD.php +++ b/src/Util/JsonLD.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Util; use Friendica\Core\Cache\Duration; diff --git a/src/Util/Map.php b/src/Util/Map.php index a35235bf5c..94974d08e6 100644 --- a/src/Util/Map.php +++ b/src/Util/Map.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Util; use Friendica\Core\Hook; diff --git a/src/Util/Mimetype.php b/src/Util/Mimetype.php index b2d0e2641e..bd87d30898 100644 --- a/src/Util/Mimetype.php +++ b/src/Util/Mimetype.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Util; class Mimetype diff --git a/src/Util/Network.php b/src/Util/Network.php index 17ddd048a5..6c7fd731cb 100644 --- a/src/Util/Network.php +++ b/src/Util/Network.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Util; use DOMDocument; diff --git a/src/Util/ParseUrl.php b/src/Util/ParseUrl.php index df7a48ddf7..06e320c40e 100644 --- a/src/Util/ParseUrl.php +++ b/src/Util/ParseUrl.php @@ -1,8 +1,24 @@ . + * */ + namespace Friendica\Util; use DOMDocument; @@ -13,6 +29,8 @@ use Friendica\Core\Logger; use Friendica\Database\DBA; /** + * Get information about a given URL + * * Class with methods for extracting certain content from an url */ class ParseUrl diff --git a/src/Util/Pidfile.php b/src/Util/Pidfile.php index ec7f6b3fa2..6d4c0c5108 100644 --- a/src/Util/Pidfile.php +++ b/src/Util/Pidfile.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Util; /** diff --git a/src/Util/Security.php b/src/Util/Security.php index a269ca88c1..929853c2f0 100644 --- a/src/Util/Security.php +++ b/src/Util/Security.php @@ -1,6 +1,22 @@ . + * */ namespace Friendica\Util; diff --git a/src/Util/Strings.php b/src/Util/Strings.php index 912057984c..c520b54b9b 100644 --- a/src/Util/Strings.php +++ b/src/Util/Strings.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Util; diff --git a/src/Util/Temporal.php b/src/Util/Temporal.php index ef27b54b2d..c4a04d586c 100644 --- a/src/Util/Temporal.php +++ b/src/Util/Temporal.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Util; diff --git a/src/Util/XML.php b/src/Util/XML.php index 51f424984f..9aba38910d 100644 --- a/src/Util/XML.php +++ b/src/Util/XML.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Util; use DOMXPath; diff --git a/src/Worker/APDelivery.php b/src/Worker/APDelivery.php index a30ccf0eec..60752896fc 100644 --- a/src/Worker/APDelivery.php +++ b/src/Worker/APDelivery.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Worker; use Friendica\Core\Logger; diff --git a/src/Worker/AddContact.php b/src/Worker/AddContact.php index 47d9d01375..700802ca8b 100644 --- a/src/Worker/AddContact.php +++ b/src/Worker/AddContact.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Worker; diff --git a/src/Worker/CheckVersion.php b/src/Worker/CheckVersion.php index bdd44a300e..ae23b40c02 100644 --- a/src/Worker/CheckVersion.php +++ b/src/Worker/CheckVersion.php @@ -1,10 +1,24 @@ . + * + */ + namespace Friendica\Worker; use Friendica\Core\Logger; @@ -13,7 +27,7 @@ use Friendica\DI; use Friendica\Util\Network; /** - * check the git repository VERSION file and save the version to the DB + * Check the git repository VERSION file and save the version to the DB * * Checking the upstream version is optional (opt-in) and can be done to either * the master or the develop branch in the repository. diff --git a/src/Worker/CreateShadowEntry.php b/src/Worker/CreateShadowEntry.php index 9ef0ff2df1..bd055f165e 100644 --- a/src/Worker/CreateShadowEntry.php +++ b/src/Worker/CreateShadowEntry.php @@ -1,15 +1,33 @@ . * - * This script is started from mod/item.php to save some time when doing a post. */ namespace Friendica\Worker; use Friendica\Model\Item; +/** + * This script creates posts with UID = 0 for a given public post. + * + * This script is started from mod/item.php to save some time when doing a post. + */ class CreateShadowEntry { public static function execute($message_id = 0) { if (empty($message_id)) { diff --git a/src/Worker/Cron.php b/src/Worker/Cron.php index 763aa98f34..e22051cfc6 100644 --- a/src/Worker/Cron.php +++ b/src/Worker/Cron.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Worker; use Friendica\Core\Addon; diff --git a/src/Worker/CronJobs.php b/src/Worker/CronJobs.php index 83c85fa440..b66358b0e8 100644 --- a/src/Worker/CronJobs.php +++ b/src/Worker/CronJobs.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Worker; use Friendica\App; diff --git a/src/Worker/DBClean.php b/src/Worker/DBClean.php index 04fe09faad..4144fc95e6 100644 --- a/src/Worker/DBClean.php +++ b/src/Worker/DBClean.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Worker; @@ -11,6 +26,9 @@ use Friendica\Core\Worker; use Friendica\Database\DBA; use Friendica\DI; +/** + * The script is called from time to time to clean the database entries and remove orphaned data. + */ class DBClean { public static function execute($stage = 0) { diff --git a/src/Worker/DBUpdate.php b/src/Worker/DBUpdate.php index e0ab07540c..000dccc8d5 100644 --- a/src/Worker/DBUpdate.php +++ b/src/Worker/DBUpdate.php @@ -1,13 +1,32 @@ . + * */ + namespace Friendica\Worker; use Friendica\Core\Update; use Friendica\DI; +/** + * This file is called when the database structure needs to be updated + */ class DBUpdate { public static function execute() diff --git a/src/Worker/Delivery.php b/src/Worker/Delivery.php index f864200a31..c69545bbd1 100644 --- a/src/Worker/Delivery.php +++ b/src/Worker/Delivery.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Worker; use Friendica\Core\Logger; diff --git a/src/Worker/Directory.php b/src/Worker/Directory.php index ac9aeae5b9..ff844ca392 100644 --- a/src/Worker/Directory.php +++ b/src/Worker/Directory.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Worker; @@ -13,6 +28,9 @@ use Friendica\Database\DBA; use Friendica\DI; use Friendica\Util\Network; +/** + * Sends updated profile data to the directory + */ class Directory { public static function execute($url = '') diff --git a/src/Worker/Expire.php b/src/Worker/Expire.php index 908eea3ac9..e1e671532b 100644 --- a/src/Worker/Expire.php +++ b/src/Worker/Expire.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Worker; @@ -13,6 +28,9 @@ use Friendica\Database\DBA; use Friendica\DI; use Friendica\Model\Item; +/** + * Expires old item entries + */ class Expire { public static function execute($param = '', $hook_function = '') diff --git a/src/Worker/FetchPoCo.php b/src/Worker/FetchPoCo.php index 67f2e548bd..477d001d29 100644 --- a/src/Worker/FetchPoCo.php +++ b/src/Worker/FetchPoCo.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Worker; use Friendica\Core\Logger; diff --git a/src/Worker/ForkHook.php b/src/Worker/ForkHook.php index 002cad9853..fd79f34bf7 100644 --- a/src/Worker/ForkHook.php +++ b/src/Worker/ForkHook.php @@ -1,6 +1,22 @@ . + * */ namespace Friendica\Worker; diff --git a/src/Worker/MergeContact.php b/src/Worker/MergeContact.php index a5e28e5254..85b27ef4ac 100644 --- a/src/Worker/MergeContact.php +++ b/src/Worker/MergeContact.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Worker; diff --git a/src/Worker/Notifier.php b/src/Worker/Notifier.php index 85098d1deb..b3741e546d 100644 --- a/src/Worker/Notifier.php +++ b/src/Worker/Notifier.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Worker; use Friendica\Core\Hook; diff --git a/src/Worker/OnePoll.php b/src/Worker/OnePoll.php index 3630102c77..c87bfcf25d 100644 --- a/src/Worker/OnePoll.php +++ b/src/Worker/OnePoll.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Worker; use Friendica\Core\Logger; diff --git a/src/Worker/ProfileUpdate.php b/src/Worker/ProfileUpdate.php index 899b42f455..f33811ef6b 100644 --- a/src/Worker/ProfileUpdate.php +++ b/src/Worker/ProfileUpdate.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Worker; @@ -12,6 +27,9 @@ use Friendica\DI; use Friendica\Protocol\Diaspora; use Friendica\Protocol\ActivityPub; +/** + * Send updated profile data to Diaspora and ActivityPub + */ class ProfileUpdate { public static function execute($uid = 0) { if (empty($uid)) { diff --git a/src/Worker/PubSubPublish.php b/src/Worker/PubSubPublish.php index 8e38ff8128..2eb94eeb72 100644 --- a/src/Worker/PubSubPublish.php +++ b/src/Worker/PubSubPublish.php @@ -1,6 +1,22 @@ . + * */ namespace Friendica\Worker; diff --git a/src/Worker/RemoveContact.php b/src/Worker/RemoveContact.php index 57dc496456..ba464f75f3 100644 --- a/src/Worker/RemoveContact.php +++ b/src/Worker/RemoveContact.php @@ -1,14 +1,33 @@ . + * */ + namespace Friendica\Worker; use Friendica\Database\DBA; use Friendica\Core\Protocol; use Friendica\Model\Item; +/** + * Removes orphaned data from deleted contacts + */ class RemoveContact { public static function execute($id) { diff --git a/src/Worker/RemoveUser.php b/src/Worker/RemoveUser.php index fb57b1d7c4..c2441adc90 100644 --- a/src/Worker/RemoveUser.php +++ b/src/Worker/RemoveUser.php @@ -1,13 +1,32 @@ . + * */ + namespace Friendica\Worker; use Friendica\Database\DBA; use Friendica\Model\Item; +/** + * Removes orphaned data from deleted users + */ class RemoveUser { public static function execute($uid) { diff --git a/src/Worker/SearchDirectory.php b/src/Worker/SearchDirectory.php index cf4ddc609e..c099a5e28a 100644 --- a/src/Worker/SearchDirectory.php +++ b/src/Worker/SearchDirectory.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Worker; use Friendica\Core\Cache\Duration; diff --git a/src/Worker/SpoolPost.php b/src/Worker/SpoolPost.php index be1f89e192..2026ff7f51 100644 --- a/src/Worker/SpoolPost.php +++ b/src/Worker/SpoolPost.php @@ -1,13 +1,32 @@ . + * */ + namespace Friendica\Worker; use Friendica\Core\Logger; use Friendica\Model\Item; +/** + * Posts items that where spooled because they couldn't be posted. + */ class SpoolPost { public static function execute() { $path = get_spoolpath(); diff --git a/src/Worker/UpdateContact.php b/src/Worker/UpdateContact.php index 0e5fd14128..342e99550d 100644 --- a/src/Worker/UpdateContact.php +++ b/src/Worker/UpdateContact.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Worker; diff --git a/src/Worker/UpdateGContact.php b/src/Worker/UpdateGContact.php index 1057d0a270..7bdaec464c 100644 --- a/src/Worker/UpdateGContact.php +++ b/src/Worker/UpdateGContact.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Worker; diff --git a/src/Worker/UpdateGContacts.php b/src/Worker/UpdateGContacts.php index 72136ec0a3..80c0ef524e 100644 --- a/src/Worker/UpdateGContacts.php +++ b/src/Worker/UpdateGContacts.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Worker; use Friendica\Core\Logger; diff --git a/src/Worker/UpdateGServer.php b/src/Worker/UpdateGServer.php index b94c5343a0..60b8c41708 100644 --- a/src/Worker/UpdateGServer.php +++ b/src/Worker/UpdateGServer.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Worker; use Friendica\Core\Logger; diff --git a/src/Worker/UpdateGServers.php b/src/Worker/UpdateGServers.php index d55d8df018..2200d02e92 100644 --- a/src/Worker/UpdateGServers.php +++ b/src/Worker/UpdateGServers.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Worker; use Friendica\Core\Logger; diff --git a/src/Worker/UpdateServerDirectories.php b/src/Worker/UpdateServerDirectories.php index d00a6f6c9c..74f75fcd76 100644 --- a/src/Worker/UpdateServerDirectories.php +++ b/src/Worker/UpdateServerDirectories.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Worker; use Friendica\DI; diff --git a/src/Worker/UpdateServerDirectory.php b/src/Worker/UpdateServerDirectory.php index fd5ee0534b..87bbee7e8c 100644 --- a/src/Worker/UpdateServerDirectory.php +++ b/src/Worker/UpdateServerDirectory.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Worker; use Friendica\Core\Logger; diff --git a/src/Worker/UpdateSuggestions.php b/src/Worker/UpdateSuggestions.php index 7d45434090..103a3cf4ca 100644 --- a/src/Worker/UpdateSuggestions.php +++ b/src/Worker/UpdateSuggestions.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Worker; use Friendica\Core\Logger; diff --git a/tests/src/Util/ArraysTest.php b/tests/src/Util/ArraysTest.php index 6eb62b1abe..1b82c0b8ff 100644 --- a/tests/src/Util/ArraysTest.php +++ b/tests/src/Util/ArraysTest.php @@ -1,8 +1,24 @@ + * @copyright Copyright (C) 2020, Friendica + * + * @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 Friendica\Test\src\Util; use Friendica\Util\Arrays; diff --git a/tests/src/Util/StringsTest.php b/tests/src/Util/StringsTest.php index c4037002b8..86280cc5f1 100644 --- a/tests/src/Util/StringsTest.php +++ b/tests/src/Util/StringsTest.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Test\src\Util; use Friendica\Util\Strings; diff --git a/tests/src/Util/XmlTest.php b/tests/src/Util/XmlTest.php index 85d91d2efe..16c27836d4 100644 --- a/tests/src/Util/XmlTest.php +++ b/tests/src/Util/XmlTest.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Test\src\Util; use Friendica\Util\XML; diff --git a/view/php/none.php b/view/php/none.php index 7c6435e6f0..ce7447b5d9 100644 --- a/view/php/none.php +++ b/view/php/none.php @@ -1,11 +1,27 @@ -. + * + * The site template for pure content (e.g. (modals) + * + * This themplate is used e.g for bs modals. So outputs + * only the pure content + */ + +if(!empty($page['content'])) echo $page['content']; + diff --git a/view/theme/duepuntozero/style.php b/view/theme/duepuntozero/style.php index 47944ec587..f507dcfdd6 100644 --- a/view/theme/duepuntozero/style.php +++ b/view/theme/duepuntozero/style.php @@ -1,7 +1,24 @@ . + * */ + use Friendica\DI; if (file_exists("$THEMEPATH/style.css")) { diff --git a/view/theme/frio/php/Image.php b/view/theme/frio/php/Image.php index c18c32d11a..567fc0241a 100644 --- a/view/theme/frio/php/Image.php +++ b/view/theme/frio/php/Image.php @@ -1,6 +1,22 @@ . + * * contain methods to deal with images */ diff --git a/view/theme/frio/php/default.php b/view/theme/frio/php/default.php index bdc6eeb49b..bd5ef7f3ff 100644 --- a/view/theme/frio/php/default.php +++ b/view/theme/frio/php/default.php @@ -1,8 +1,25 @@ . + * * The default site template */ + ?> . * * This file contains functions for page construction * diff --git a/view/theme/frio/php/standard.php b/view/theme/frio/php/standard.php index 9b6796f674..927b0461c9 100644 --- a/view/theme/frio/php/standard.php +++ b/view/theme/frio/php/standard.php @@ -1,8 +1,25 @@ . + * * The default site template */ + ?> diff --git a/view/theme/frio/style.php b/view/theme/frio/style.php index 09312897f6..3d9c7743ab 100644 --- a/view/theme/frio/style.php +++ b/view/theme/frio/style.php @@ -1,6 +1,22 @@ . + * */ use Friendica\DI; diff --git a/view/theme/quattro/style.php b/view/theme/quattro/style.php index 27718da6d2..d17d7b541a 100644 --- a/view/theme/quattro/style.php +++ b/view/theme/quattro/style.php @@ -1,7 +1,24 @@ . + * */ + use Friendica\DI; $uid = $_REQUEST['puid'] ?? 0; diff --git a/view/theme/vier/style.php b/view/theme/vier/style.php index de58042fac..ac5cd08efb 100644 --- a/view/theme/vier/style.php +++ b/view/theme/vier/style.php @@ -1,7 +1,24 @@ . + * */ + use Friendica\Core\Logger; use Friendica\DI; From 7d714319c8d528976eaf48f83d588b9cd12e21c6 Mon Sep 17 00:00:00 2001 From: nupplaPhil Date: Sun, 9 Feb 2020 16:34:23 +0100 Subject: [PATCH 3/4] Add license info at Friendica PHP files --- bin/auth_ejabberd.php | 19 +++++++- bin/console.php | 19 ++++++++ bin/testargs.php | 18 ++++++-- bin/wait-for-connection | 21 +++++++-- include/api.php | 17 +++++++ include/dba.php | 19 ++++++++ mod/msearch.php | 19 ++++++++ mod/poco.php | 24 ++++++++-- mod/pubsub.php | 19 ++++++++ mod/pubsubhubbub.php | 19 ++++++++ mod/redir.php | 19 ++++++++ mod/share.php | 19 ++++++++ mod/update_community.php | 22 ++++++++- mod/update_contact.php | 23 +++++++++- mod/update_notes.php | 21 +++++++-- mods/fpostit/fpostit.php | 19 ++++++++ src/Content/Widget/CalendarExport.php | 21 +++++++-- src/Content/Widget/ContactBlock.php | 21 +++++++-- src/Content/Widget/TagCloud.php | 21 +++++++-- src/Network/HTTPException.php | 28 +++++++++--- src/Util/ExAuth.php | 2 +- src/Util/FileSystem.php | 2 +- static/dbstructure.config.php | 21 ++++++++- static/defaults.config.php | 24 ++++++++-- static/dependencies.config.php | 49 ++++++++++++++------- static/routes.config.php | 36 +++++++++++---- static/settings.config.php | 24 ++++++++-- tests/DatabaseTest.php | 18 +++++++- tests/DatabaseTestTrait.php | 18 +++++++- tests/Util/SampleStorageBackendInstance.php | 22 ++++++++- tests/bootstrap.php | 17 +++++++ tests/datasets/api.fixture.php | 19 ++++++++ tests/datasets/storage/database.fixture.php | 19 ++++++++ tests/src/Core/InstallerTest.php | 19 ++++++++ tests/src/Util/CryptoTest.php | 22 ++++++++- update.php | 48 +++++++++++++------- view/theme/duepuntozero/theme.php | 19 ++++++++ view/theme/frio/config.php | 19 ++++++++ view/theme/frio/php/scheme.php | 18 +++++++- 39 files changed, 732 insertions(+), 92 deletions(-) diff --git a/bin/auth_ejabberd.php b/bin/auth_ejabberd.php index 13dc6eeba0..930fa853c7 100755 --- a/bin/auth_ejabberd.php +++ b/bin/auth_ejabberd.php @@ -1,6 +1,23 @@ #!/usr/bin/env php . + * * ejabberd extauth script for the integration with friendica * * Originally written for joomla by Dalibor Karlovic diff --git a/bin/console.php b/bin/console.php index a6513a2e8f..27522d8554 100755 --- a/bin/console.php +++ b/bin/console.php @@ -1,5 +1,24 @@ #!/usr/bin/env php . + * + */ use Dice\Dice; use Psr\Log\LoggerInterface; diff --git a/bin/testargs.php b/bin/testargs.php index a0ddea3452..b7d7125f7a 100644 --- a/bin/testargs.php +++ b/bin/testargs.php @@ -1,10 +1,22 @@ . * - * Purpose: * During installation we need to check if register_argc_argv is * enabled for the command line PHP processor, because otherwise * deliveries will fail. So we will do a shell exec of php and diff --git a/bin/wait-for-connection b/bin/wait-for-connection index e73a98b077..b6c03a6705 100755 --- a/bin/wait-for-connection +++ b/bin/wait-for-connection @@ -1,8 +1,23 @@ #!/usr/bin/php - . + * * This script tries to connect to a database for a given interval * Useful in case of installation e.g. to wait for the database to not generate unnecessary errors * diff --git a/include/api.php b/include/api.php index dda4631ce1..567e3cc439 100644 --- a/include/api.php +++ b/include/api.php @@ -1,5 +1,22 @@ . + * * Friendica implementation of statusnet/twitter API * * @file include/api.php diff --git a/include/dba.php b/include/dba.php index a90ec26fbb..5f633afaaa 100644 --- a/include/dba.php +++ b/include/dba.php @@ -1,4 +1,23 @@ . + * + */ use Friendica\Database\DBA; diff --git a/mod/msearch.php b/mod/msearch.php index 9584776002..48476da4f0 100644 --- a/mod/msearch.php +++ b/mod/msearch.php @@ -1,4 +1,23 @@ . + * + */ use Friendica\App; use Friendica\Database\DBA; diff --git a/mod/poco.php b/mod/poco.php index d8941e51ad..b306f2bf79 100644 --- a/mod/poco.php +++ b/mod/poco.php @@ -1,8 +1,24 @@ . + * + * @see https://web.archive.org/web/20160405005550/http://portablecontacts.net/draft-spec.html + */ use Friendica\App; use Friendica\Content\Text\BBCode; diff --git a/mod/pubsub.php b/mod/pubsub.php index 31c0634dcf..cae346493f 100644 --- a/mod/pubsub.php +++ b/mod/pubsub.php @@ -1,4 +1,23 @@ . + * + */ use Friendica\App; use Friendica\Core\Logger; diff --git a/mod/pubsubhubbub.php b/mod/pubsubhubbub.php index 2ffaaf729e..3d6b48fd4b 100644 --- a/mod/pubsubhubbub.php +++ b/mod/pubsubhubbub.php @@ -1,4 +1,23 @@ . + * + */ use Friendica\App; use Friendica\Core\Logger; diff --git a/mod/redir.php b/mod/redir.php index 1d36065e99..56cb13a06b 100644 --- a/mod/redir.php +++ b/mod/redir.php @@ -1,4 +1,23 @@ . + * + */ use Friendica\App; use Friendica\Core\Logger; diff --git a/mod/share.php b/mod/share.php index 6f368b1d14..998ebe5fde 100644 --- a/mod/share.php +++ b/mod/share.php @@ -1,4 +1,23 @@ . + * + */ use Friendica\App; use Friendica\Database\DBA; diff --git a/mod/update_community.php b/mod/update_community.php index c861b750ec..8a12142ebd 100644 --- a/mod/update_community.php +++ b/mod/update_community.php @@ -1,6 +1,24 @@ . + * + * See update_profile.php for documentation + */ use Friendica\App; use Friendica\DI; diff --git a/mod/update_contact.php b/mod/update_contact.php index bd9ced0e9a..768ff0c74f 100644 --- a/mod/update_contact.php +++ b/mod/update_contact.php @@ -1,6 +1,25 @@ . + * + * See update_profile.php for documentation + * + */ use Friendica\App; use Friendica\DI; diff --git a/mod/update_notes.php b/mod/update_notes.php index 4065b5d1f8..87822f513e 100644 --- a/mod/update_notes.php +++ b/mod/update_notes.php @@ -1,8 +1,23 @@ . + * + * AJAX synchronisation of notes page */ use Friendica\App; diff --git a/mods/fpostit/fpostit.php b/mods/fpostit/fpostit.php index 3a2f0d15f5..ad4a53c922 100644 --- a/mods/fpostit/fpostit.php +++ b/mods/fpostit/fpostit.php @@ -1,4 +1,23 @@ . + * + */ if (($_POST["friendica_acct_name"] != '') && ($_POST["friendica_password"] != '')) { setcookie("username", $_POST["friendica_acct_name"], time()+60*60*24*300); diff --git a/src/Content/Widget/CalendarExport.php b/src/Content/Widget/CalendarExport.php index 693be2d6f0..dda3513fec 100644 --- a/src/Content/Widget/CalendarExport.php +++ b/src/Content/Widget/CalendarExport.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Content\Widget; diff --git a/src/Content/Widget/ContactBlock.php b/src/Content/Widget/ContactBlock.php index bce4b617f9..47fac09a83 100644 --- a/src/Content/Widget/ContactBlock.php +++ b/src/Content/Widget/ContactBlock.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Content\Widget; diff --git a/src/Content/Widget/TagCloud.php b/src/Content/Widget/TagCloud.php index f57d5c3f27..006aef9161 100644 --- a/src/Content/Widget/TagCloud.php +++ b/src/Content/Widget/TagCloud.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Content\Widget; diff --git a/src/Network/HTTPException.php b/src/Network/HTTPException.php index 89c447b714..b6be886b35 100644 --- a/src/Network/HTTPException.php +++ b/src/Network/HTTPException.php @@ -1,4 +1,27 @@ . + * + */ + +namespace Friendica\Network; + +use Exception; /** * Throwable exceptions to return HTTP status code @@ -6,11 +29,6 @@ * This list of Exception has been extracted from * here http://racksburg.com/choosing-an-http-status-code/ */ - -namespace Friendica\Network; - -use Exception; - abstract class HTTPException extends Exception { public $httpdesc = ''; diff --git a/src/Util/ExAuth.php b/src/Util/ExAuth.php index e21020829a..de13ee82f5 100644 --- a/src/Util/ExAuth.php +++ b/src/Util/ExAuth.php @@ -1,6 +1,6 @@ diff --git a/src/Util/FileSystem.php b/src/Util/FileSystem.php index c082fb2d1e..5791fed234 100644 --- a/src/Util/FileSystem.php +++ b/src/Util/FileSystem.php @@ -24,7 +24,7 @@ namespace Friendica\Util; /** * Util class for filesystem manipulation */ -final class FileSystem +class FileSystem { /** * @var string a error message diff --git a/static/dbstructure.config.php b/static/dbstructure.config.php index 87cfdd11c6..da92391dde 100755 --- a/static/dbstructure.config.php +++ b/static/dbstructure.config.php @@ -1,6 +1,23 @@ . + * + * Main database structure configuration file. * * Here are described all the tables, fields and indexes Friendica needs to work. * diff --git a/static/defaults.config.php b/static/defaults.config.php index dfec158cfe..f9eda841f2 100644 --- a/static/defaults.config.php +++ b/static/defaults.config.php @@ -1,12 +1,28 @@ . + * + * This file declares the default values for the base config of Friendica. * * These configuration values aren't accessible from the admin settings page and custom values must be set in config/local.config.php * * Please don't edit this file directly as its content may change in the upcoming versions. + * */ return [ diff --git a/static/dependencies.config.php b/static/dependencies.config.php index 51fff62289..84344a60e2 100644 --- a/static/dependencies.config.php +++ b/static/dependencies.config.php @@ -1,4 +1,37 @@ . + * + * The configuration defines "complex" dependencies inside Friendica + * So this classes shouldn't be simple or their dependencies are already defined here. + * + * This kind of dependencies are NOT required to be defined here: + * - $a = new ClassA(new ClassB()); + * - $a = new ClassA(); + * - $a = new ClassA(Configuration $configuration); + * + * This kind of dependencies SHOULD be defined here: + * - $a = new ClassA(); + * $b = $a->create(); + * + * - $a = new ClassA($creationPassedVariable); + * + */ use Dice\Dice; use Friendica\App; @@ -16,22 +49,6 @@ use Friendica\Model\User\Cookie; use Friendica\Util; use Psr\Log\LoggerInterface; -/** - * The configuration defines "complex" dependencies inside Friendica - * So this classes shouldn't be simple or their dependencies are already defined here. - * - * This kind of dependencies are NOT required to be defined here: - * - $a = new ClassA(new ClassB()); - * - $a = new ClassA(); - * - $a = new ClassA(Configuration $configuration); - * - * This kind of dependencies SHOULD be defined here: - * - $a = new ClassA(); - * $b = $a->create(); - * - * - $a = new ClassA($creationPassedVariable); - * - */ return [ '*' => [ // marks all class result as shared for other creations, so there's just diff --git a/static/routes.config.php b/static/routes.config.php index dd757b518e..34f4b6d6f6 100644 --- a/static/routes.config.php +++ b/static/routes.config.php @@ -1,17 +1,35 @@ . + * + * Configuration for the default routes in Friendica + * + * The syntax is either + * - 'route' => [ Module::class , [ HTTPMethod(s) ] ] + * - 'group' => [ 'route' => [ Module::class, [ HTTPMethod(s) ] ] + * + * It's possible to create recursive groups + * + */ use Friendica\App\Router as R; use Friendica\Module; -/** -* Configuration for the default routes in Friendica -* -* The syntax is either -* - 'route' => [ Module::class , [ HTTPMethod(s) ] ] -* - 'group' => [ 'route' => [ Module::class, [ HTTPMethod(s) ] ] -* -* It's possible to create recursive groups -*/ return [ '/' => [Module\Home::class, [R::GET]], diff --git a/static/settings.config.php b/static/settings.config.php index a5c6c3aeab..abfb1024e0 100644 --- a/static/settings.config.php +++ b/static/settings.config.php @@ -1,12 +1,28 @@ . + * + * This file declares the default values for the admin settings of Friendica. * * These values will be overridden by the admin settings page. * * Please don't edit this file directly as its content may change in the upcoming versions. + * */ return [ diff --git a/tests/DatabaseTest.php b/tests/DatabaseTest.php index 7421f16a09..1e581725da 100644 --- a/tests/DatabaseTest.php +++ b/tests/DatabaseTest.php @@ -1,6 +1,22 @@ . + * */ namespace Friendica\Test; diff --git a/tests/DatabaseTestTrait.php b/tests/DatabaseTestTrait.php index 49dc999b69..5f753f3152 100644 --- a/tests/DatabaseTestTrait.php +++ b/tests/DatabaseTestTrait.php @@ -1,6 +1,22 @@ . + * */ namespace Friendica\Test; diff --git a/tests/Util/SampleStorageBackendInstance.php b/tests/Util/SampleStorageBackendInstance.php index ceb329cb38..02afc7d75e 100644 --- a/tests/Util/SampleStorageBackendInstance.php +++ b/tests/Util/SampleStorageBackendInstance.php @@ -1,6 +1,24 @@ . + * + * Contains a test-hook call for creating a storage instance + */ use Friendica\App; use Friendica\Core\L10n; diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 8b4b8ade1e..bf95252f10 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -1,5 +1,22 @@ . + * * This file is loaded by PHPUnit before any test. */ diff --git a/tests/datasets/api.fixture.php b/tests/datasets/api.fixture.php index 44501d0493..8bb701da1d 100644 --- a/tests/datasets/api.fixture.php +++ b/tests/datasets/api.fixture.php @@ -1,4 +1,23 @@ . + * + */ return [ // Empty these tables diff --git a/tests/datasets/storage/database.fixture.php b/tests/datasets/storage/database.fixture.php index 780bfa1402..442b40e732 100644 --- a/tests/datasets/storage/database.fixture.php +++ b/tests/datasets/storage/database.fixture.php @@ -1,4 +1,23 @@ . + * + */ return [ 'photo' => [ diff --git a/tests/src/Core/InstallerTest.php b/tests/src/Core/InstallerTest.php index 371932caf2..f512bf17b9 100644 --- a/tests/src/Core/InstallerTest.php +++ b/tests/src/Core/InstallerTest.php @@ -1,4 +1,23 @@ . + * + */ // this is in the same namespace as Install for mocking 'function_exists' namespace Friendica\Core; diff --git a/tests/src/Util/CryptoTest.php b/tests/src/Util/CryptoTest.php index 76e3076f0f..9f232210c9 100644 --- a/tests/src/Util/CryptoTest.php +++ b/tests/src/Util/CryptoTest.php @@ -1,6 +1,24 @@ . + * + * This is in the same namespace as Crypto for mocking 'rand' and 'random_init' + */ namespace Friendica\Util; use PHPUnit\Framework\TestCase; diff --git a/update.php b/update.php index f86fea8dfd..06287516fa 100644 --- a/update.php +++ b/update.php @@ -1,21 +1,23 @@ . + * + * Automatic post-databse structure change updates * * These functions are responsible for doing critical post update changes to the data (not the structure) in the database. * @@ -38,6 +40,20 @@ use Friendica\Worker\Delivery; * If you need to run a script before the database update, name the function "pre_update_4712()" */ +use Friendica\Core\Addon; +use Friendica\Core\Logger; +use Friendica\Core\Update; +use Friendica\Core\Worker; +use Friendica\Database\DBA; +use Friendica\DI; +use Friendica\Model\Contact; +use Friendica\Model\GContact; +use Friendica\Model\Item; +use Friendica\Model\User; +use Friendica\Model\Storage; +use Friendica\Util\DateTimeFormat; +use Friendica\Worker\Delivery; + function update_1178() { require_once 'mod/profiles.php'; diff --git a/view/theme/duepuntozero/theme.php b/view/theme/duepuntozero/theme.php index 8548899a7d..33ad00baff 100644 --- a/view/theme/duepuntozero/theme.php +++ b/view/theme/duepuntozero/theme.php @@ -1,4 +1,23 @@ . + * + */ use Friendica\App; use Friendica\Core\Renderer; diff --git a/view/theme/frio/config.php b/view/theme/frio/config.php index d0d1c8cb73..511008eaa9 100644 --- a/view/theme/frio/config.php +++ b/view/theme/frio/config.php @@ -1,4 +1,23 @@ . + * + */ use Friendica\App; use Friendica\Core\Renderer; diff --git a/view/theme/frio/php/scheme.php b/view/theme/frio/php/scheme.php index d2c209d64f..42fc21ab8b 100644 --- a/view/theme/frio/php/scheme.php +++ b/view/theme/frio/php/scheme.php @@ -1,6 +1,22 @@ . + * * Get info header of the scheme * * This function parses the header of the schemename.php file for informations like From 217d0991817e1950a2dbfe44f45fc448a6647c99 Mon Sep 17 00:00:00 2001 From: nupplaPhil Date: Sun, 9 Feb 2020 22:48:04 +0100 Subject: [PATCH 4/4] Fix CurlResult copy&pate error --- src/Network/CurlResult.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Network/CurlResult.php b/src/Network/CurlResult.php index e3cc9f98cd..44263716bc 100644 --- a/src/Network/CurlResult.php +++ b/src/Network/CurlResult.php @@ -1,3 +1,4 @@ +. * - */ Friendica\Network; + */ + +namespace Friendica\Network; use Friendica\Core\Logger; use Friendica\Network\HTTPException\InternalServerErrorException;