Skip to content

(feat): add commentdata#57

Open
ictbeheer wants to merge 3 commits intomainfrom
feat/comment
Open

(feat): add commentdata#57
ictbeheer wants to merge 3 commits intomainfrom
feat/comment

Conversation

@ictbeheer
Copy link
Contributor

@ictbeheer ictbeheer commented Aug 7, 2025

Introduce the CommentData class to encapsulate comment details and enhance the post functionality by adding methods for comment count and retrieving comments.

@github-actions
Copy link

github-actions bot commented Aug 7, 2025

Coverage report for commit: 8fbc983
File: coverage.xml

Cover ┌─────────────────────────┐ Freq.
   0% │ ███████████████████████ │ 75.0%
  10% │ ██░░░░░░░░░░░░░░░░░░░░░ │  6.3%
  20% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  30% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  40% │ ██░░░░░░░░░░░░░░░░░░░░░ │  6.3%
  50% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  60% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  70% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  80% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  90% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
 100% │ ████░░░░░░░░░░░░░░░░░░░ │ 12.5%
      └─────────────────────────┘
 *Legend:* █ = Current Distribution 
Summary - Lines: 10.27% | Methods: 7.27%
FilesLinesMethodsBranches
src/Attributes
   Meta.php--100.00%
   MetaPrefix.php--100.00%
   TaxonomyPrefix.php--100.00%
   Terms.php--100.00%
src
   CommentData.php--100.00%
   ImageData.php--100.00%
   PostData.php8.87%7.14%100.00%
   TermData.php--100.00%
   UserData.php--100.00%
src/Contracts
   PostDataInterface.php100.00%100.00%100.00%
src/Enums
   PostStatus.php--100.00%
src/Mappers
   PostPrefixMapper.php--100.00%
   UserPrefixMapper.php--100.00%
src/Normalizers
   WPPostNormalizer.php--100.00%
src/Providers
   DataServiceProvider.php100.00%100.00%100.00%
src/Traits
   HasMeta.php36.00%-100.00%

🤖 comment via lucassabreu/comment-coverage-clover

@ictbeheer ictbeheer force-pushed the feat/comment branch 2 times, most recently from d1e8b5a to 7da491d Compare September 1, 2025 13:12
@ictbeheer ictbeheer marked this pull request as ready for review February 3, 2026 14:55
@ictbeheer ictbeheer requested a review from a team as a code owner February 3, 2026 14:55
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.

1 participant