Skip to content

Conversation

@emmadesilva
Copy link
Member

@emmadesilva emmadesilva commented Jul 6, 2024

Abstract

Tie in with #1782 to smooth over the upgrade to v2

Changes

Update post author name to fall back to username at construct time

Cherry picks commit 0dfb841 from #1782

Deprecate the PostAuthor::getName() method

Cherry picks commit 2f54b9f from #1782

Remove nullable modifier from author name as it is now never null

Since the author name is now always set at construct time, we can remove the nullable modifier from the property.

@emmadesilva emmadesilva force-pushed the prepare-post-author-changes branch from e43c6be to 6c887e1 Compare July 6, 2024 18:33
@codecov
Copy link

codecov bot commented Jul 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (b65f5c3) to head (d74d84a).
Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##              master     #1794   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity      1764      1764           
===========================================
  Files            182       182           
  Lines           4711      4711           
===========================================
  Hits            4711      4711           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@emmadesilva emmadesilva force-pushed the prepare-post-author-changes branch from f16f38f to b3c4cbb Compare July 6, 2024 18:40
@emmadesilva emmadesilva marked this pull request as ready for review July 6, 2024 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants