summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-04-15 13:34:01 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-04-15 13:35:51 +0200
commit9e20993c4d8b00d3b8eb19a804f543f17335b47b (patch)
tree94b574a5f9fbb0e0917185c637c6e34b024fb266
parentbe80ca5d0fc9bd77f4c7c8fd7c986d378b79cc13 (diff)
Php cs:fix
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
-rw-r--r--.github/workflows/lint-info-xml.yml31
-rw-r--r--.github/workflows/lint-php-cs.yml36
-rw-r--r--.github/workflows/lint-php.yml48
-rw-r--r--.gitignore2
-rw-r--r--.php-cs-fixer.dist.php17
-rw-r--r--appinfo/routes.php7
-rw-r--r--composer.json16
-rw-r--r--composer.lock4009
-rw-r--r--lib/AP.php10
-rw-r--r--lib/AppInfo/Application.php6
-rw-r--r--lib/Command/AccountCreate.php4
-rw-r--r--lib/Command/AccountFollowing.php5
-rw-r--r--lib/Command/CacheRefresh.php7
-rw-r--r--lib/Command/CheckInstall.php45
-rw-r--r--lib/Command/ExtendedBase.php13
-rw-r--r--lib/Command/Fediverse.php70
-rw-r--r--lib/Command/MigrateAlpha3.php122
-rw-r--r--lib/Command/NoteBoost.php6
-rw-r--r--lib/Command/NoteCreate.php8
-rw-r--r--lib/Command/NoteLike.php7
-rw-r--r--lib/Command/QueueProcess.php7
-rw-r--r--lib/Command/QueueStatus.php8
-rw-r--r--lib/Command/Reset.php8
-rw-r--r--lib/Command/StreamDetails.php11
-rw-r--r--lib/Command/Timeline.php6
-rw-r--r--lib/Controller/ActivityPubController.php37
-rw-r--r--lib/Controller/ApiController.php41
-rw-r--r--lib/Controller/ConfigController.php25
-rw-r--r--lib/Controller/LocalController.php213
-rw-r--r--lib/Controller/NavigationController.php17
-rw-r--r--lib/Controller/OAuthController.php106
-rw-r--r--lib/Controller/OStatusController.php42
-rw-r--r--lib/Controller/QueueController.php20
-rw-r--r--lib/Controller/SocialPubController.php64
-rw-r--r--lib/Cron/Cache.php30
-rw-r--r--lib/Cron/Chunk.php21
-rw-r--r--lib/Cron/Queue.php30
-rw-r--r--lib/Db/ActionsRequest.php12
-rw-r--r--lib/Db/ActionsRequestBuilder.php6
-rw-r--r--lib/Db/ActorsRequest.php53
-rw-r--r--lib/Db/ActorsRequestBuilder.php6
-rw-r--r--lib/Db/CacheActorsRequest.php9
-rw-r--r--lib/Db/CacheActorsRequestBuilder.php6
-rw-r--r--lib/Db/CacheDocumentsRequest.php9
-rw-r--r--lib/Db/CacheDocumentsRequestBuilder.php6
-rw-r--r--lib/Db/ClientRequest.php7
-rw-r--r--lib/Db/ClientRequestBuilder.php7
-rw-r--r--lib/Db/CoreRequestBuilder.php39
-rw-r--r--lib/Db/FollowsRequest.php8
-rw-r--r--lib/Db/FollowsRequestBuilder.php7
-rw-r--r--lib/Db/HashtagsRequest.php8
-rw-r--r--lib/Db/HashtagsRequestBuilder.php9
-rw-r--r--lib/Db/InstancesRequest.php7
-rw-r--r--lib/Db/InstancesRequestBuilder.php6
-rw-r--r--lib/Db/RequestQueueRequest.php5
-rw-r--r--lib/Db/RequestQueueRequestBuilder.php6
-rw-r--r--lib/Db/SocialCoreQueryBuilder.php4
-rw-r--r--lib/Db/SocialCrossQueryBuilder.php5
-rw-r--r--lib/Db/SocialFiltersQueryBuilder.php7
-rw-r--r--lib/Db/SocialLimitsQueryBuilder.php5
-rw-r--r--lib/Db/SocialQueryBuilder.php7
-rw-r--r--lib/Db/StreamActionsRequest.php5
-rw-r--r--lib/Db/StreamActionsRequestBuilder.php7
-rw-r--r--lib/Db/StreamDestRequest.php5
-rw-r--r--lib/Db/StreamDestRequestBuilder.php8
-rw-r--r--lib/Db/StreamQueueRequest.php5
-rw-r--r--lib/Db/StreamQueueRequestBuilder.php6
-rw-r--r--lib/Db/StreamRequest.php6
-rw-r--r--lib/Db/StreamRequestBuilder.php7
-rw-r--r--lib/Db/StreamTagsRequest.php8
-rw-r--r--lib/Db/StreamTagsRequestBuilder.php7
-rw-r--r--lib/Exceptions/AccountAlreadyExistsException.php4
-rw-r--r--lib/Exceptions/AccountDoesNotExistException.php3
-rw-r--r--lib/Exceptions/ActionDoesNotExistException.php4
-rw-r--r--lib/Exceptions/ActivityCantBeVerifiedException.php4
-rw-r--r--lib/Exceptions/ActivityPubFormatException.php4
-rw-r--r--lib/Exceptions/ActorDoesNotExistException.php4
-rw-r--r--lib/Exceptions/CacheActorDoesNotExistException.php4
-rw-r--r--lib/Exceptions/CacheContentException.php4
-rw-r--r--lib/Exceptions/CacheContentMimeTypeException.php4
-rw-r--r--lib/Exceptions/CacheDocumentDoesNotExistException.php4
-rw-r--r--lib/Exceptions/ClientException.php4
-rw-r--r--lib/Exceptions/ClientNotFoundException.php4
-rw-r--r--lib/Exceptions/EmptyQueueException.php4
-rw-r--r--lib/Exceptions/FollowNotFoundException.php4
-rw-r--r--lib/Exceptions/FollowSameAccountException.php4
-rw-r--r--lib/Exceptions/HashtagDoesNotExistException.php4
-rw-r--r--lib/Exceptions/HostMetaException.php4
-rw-r--r--lib/Exceptions/InstanceDoesNotExistException.php4
-rw-r--r--lib/Exceptions/InvalidOriginException.php4
-rw-r--r--lib/Exceptions/InvalidResourceEntryException.php4
-rw-r--r--lib/Exceptions/InvalidResourceException.php4
-rw-r--r--lib/Exceptions/ItemAlreadyExistsException.php4
-rw-r--r--lib/Exceptions/ItemNotFoundException.php4
-rw-r--r--lib/Exceptions/ItemUnknownException.php4
-rw-r--r--lib/Exceptions/LinkedDataSignatureMissingException.php4
-rw-r--r--lib/Exceptions/NoHighPriorityRequestException.php4
-rw-r--r--lib/Exceptions/QueueStatusException.php4
-rw-r--r--lib/Exceptions/RealTokenException.php4
-rw-r--r--lib/Exceptions/RedundancyLimitException.php4
-rw-r--r--lib/Exceptions/RetrieveAccountFormatException.php4
-rw-r--r--lib/Exceptions/SignatureException.php4
-rw-r--r--lib/Exceptions/SignatureIsGoneException.php4
-rw-r--r--lib/Exceptions/SocialAppConfigException.php4
-rw-r--r--lib/Exceptions/StreamActionDoesNotExistException.php4
-rw-r--r--lib/Exceptions/StreamNotFoundException.php4
-rw-r--r--lib/Exceptions/UnauthorizedFediverseException.php4
-rw-r--r--lib/Exceptions/UrlCloudException.php4
-rw-r--r--lib/Interfaces/Activity/AcceptInterface.php8
-rw-r--r--lib/Interfaces/Activity/AddInterface.php6
-rw-r--r--lib/Interfaces/Activity/BlockInterface.php6
-rw-r--r--lib/Interfaces/Activity/CreateInterface.php6
-rw-r--r--lib/Interfaces/Activity/DeleteInterface.php7
-rw-r--r--lib/Interfaces/Activity/RejectInterface.php6
-rw-r--r--lib/Interfaces/Activity/RemoveInterface.php6
-rw-r--r--lib/Interfaces/Activity/UndoInterface.php7
-rw-r--r--lib/Interfaces/Activity/UpdateInterface.php6
-rw-r--r--lib/Interfaces/Actor/ApplicationInterface.php6
-rw-r--r--lib/Interfaces/Actor/GroupInterface.php6
-rw-r--r--lib/Interfaces/Actor/OrganizationInterface.php6
-rw-r--r--lib/Interfaces/Actor/PersonInterface.php7
-rw-r--r--lib/Interfaces/Actor/ServiceInterface.php6
-rw-r--r--lib/Interfaces/IActivityPubInterface.php5