Review follow-ups:
- verifyMastodon was the last hardcoded host left after the PR moved
LinkedIn/YouTube/Bluesky to config. Adds trypost.platforms.mastodon
.default_instance (env MASTODON_DEFAULT_INSTANCE) and reads from it.
- refreshToken() docblock now declares @throws PlatformUnavailableException
(the whole point of the PR was missing from its contract).
- Strip the new explanatory comments inside catch blocks and tests —
rationale lives in the commit / PR, not inline. The two comments
inside empty `catch (TokenExpiredException) {}` blocks stay because
there the comment is the only thing telling the reader why the
exception is swallowed.
|
||
|---|---|---|
| .. | ||
| Ai | ||
| PostHog | ||
| PublishPost.php | ||
| PublishToSocialPlatform.php | ||
| RefreshSocialToken.php | ||
| SendNotification.php | ||
| VerifyWorkspaceConnections.php | ||