]> git.mxchange.org Git - friendica.git/commit
Rewrite:
authorRoland Häder <roland@mxchange.org>
Mon, 12 Sep 2022 21:12:11 +0000 (23:12 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 14 Oct 2022 22:44:06 +0000 (00:44 +0200)
commitda66730e4f142c3557cdf7343bc420f7b80c883e
tree940295811908b9b05ffd514a2934bcd37acc50e6
parente5ae5c7e67c00a03398ccbac9964b9c381ec68a3
Rewrite:
- moved constants GRAVITY_* from boot.php to Friendica\Model\Item
- also rewrote some array initialization:

From:
````
<?php
$arr = [];
$arr['foo'] = "FOO";
````

To:
````
<?php
$arr['foo'] = "FOO";
````
- added a few type-hints
77 files changed:
boot.php
mod/display.php
mod/item.php
mod/message.php
mod/notes.php
mod/oexchange.php
mod/ostatus_subscribe.php
mod/photos.php
mod/tagger.php
src/Content/Conversation.php
src/Content/Item.php
src/Core/Protocol.php
src/Core/Renderer.php
src/Database/PostUpdate.php
src/Factory/Api/Friendica/Activities.php
src/Factory/Api/Friendica/Photo.php
src/Factory/Api/Mastodon/ScheduledStatus.php
src/Factory/Api/Mastodon/Status.php
src/Factory/Api/Twitter/Status.php
src/Factory/Api/Twitter/User.php
src/Model/APContact.php
src/Model/Contact.php
src/Model/FContact.php
src/Model/Item.php
src/Model/Nodeinfo.php
src/Model/Post.php
src/Model/Post/UserNotification.php
src/Module/ActivityPub/Objects.php
src/Module/Api/GNUSocial/Statusnet/Conversation.php
src/Module/Api/Mastodon/Accounts/Statuses.php
src/Module/Api/Mastodon/Favourited.php
src/Module/Api/Mastodon/Statuses.php
src/Module/Api/Mastodon/Statuses/Bookmark.php
src/Module/Api/Mastodon/Statuses/Context.php
src/Module/Api/Mastodon/Statuses/FavouritedBy.php
src/Module/Api/Mastodon/Statuses/Mute.php
src/Module/Api/Mastodon/Statuses/RebloggedBy.php
src/Module/Api/Mastodon/Statuses/Unbookmark.php
src/Module/Api/Mastodon/Statuses/Unmute.php
src/Module/Api/Mastodon/Timelines/Home.php
src/Module/Api/Mastodon/Timelines/ListTimeline.php
src/Module/Api/Mastodon/Timelines/PublicTimeline.php
src/Module/Api/Mastodon/Timelines/Tag.php
src/Module/Api/Twitter/Favorites.php
src/Module/Api/Twitter/Lists/Statuses.php
src/Module/Api/Twitter/Search/Tweets.php
src/Module/Api/Twitter/Statuses/HomeTimeline.php
src/Module/Api/Twitter/Statuses/Mentions.php
src/Module/Api/Twitter/Statuses/NetworkPublicTimeline.php
src/Module/Api/Twitter/Statuses/PublicTimeline.php
src/Module/Api/Twitter/Statuses/Show.php
src/Module/Api/Twitter/Statuses/Update.php
src/Module/Api/Twitter/Statuses/UserTimeline.php
src/Module/BaseApi.php
src/Module/Conversation/Network.php
src/Module/Diaspora/Fetch.php
src/Module/Item/Ignore.php
src/Module/Profile/Status.php
src/Module/Update/Network.php
src/Module/Update/Profile.php
src/Navigation/Notifications/Factory/FormattedNotify.php
src/Object/Api/Mastodon/Status.php
src/Object/Api/Twitter/Status.php
src/Object/Post.php
src/Protocol/ActivityPub/Processor.php
src/Protocol/ActivityPub/Receiver.php
src/Protocol/ActivityPub/Transmitter.php
src/Protocol/DFRN.php
src/Protocol/Diaspora.php
src/Protocol/Feed.php
src/Protocol/OStatus.php
src/Worker/Delivery.php
src/Worker/ExpirePosts.php
src/Worker/Notifier.php
tests/datasets/api.fixture.php
update.php
view/theme/frio/theme.php