Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Enhancement: Implement BuildMetaData #9

Merged
merged 1 commit into from
Dec 25, 2023
Merged

Conversation

localheinz
Copy link
Member

This pull request

  • implements BuildMetaData as a value object

Copy link

codecov bot commented Dec 25, 2023

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (eca4e26) 100.00% compared to head (e2bf29d) 96.63%.

❗ Current head e2bf29d differs from pull request most recent head 8d189ae. Consider uploading reports for the commit 8d189ae to get more accurate results

Files Patch % Lines
src/BuildMetaData.php 83.33% 2 Missing ⚠️
src/Version.php 71.42% 2 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##                main       #9      +/-   ##
=============================================
- Coverage     100.00%   96.63%   -3.37%     
- Complexity        37       47      +10     
=============================================
  Files             10       12       +2     
  Lines             95      119      +24     
=============================================
+ Hits              95      115      +20     
- Misses             0        4       +4     

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

@localheinz localheinz force-pushed the feature/build-meta-data branch from e2bf29d to 8d189ae Compare December 25, 2023 14:59
@@ -48,12 +49,22 @@ public static function fromString(string $value): self
$preRelease = PreRelease::fromString($matches['prerelease']);
}

$buildMetaData = BuildMetaData::empty();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To avoid using

  • null
  • nullable fields
  • nullable return types

@localheinz localheinz merged commit 2f8d58c into main Dec 25, 2023
@localheinz localheinz deleted the feature/build-meta-data branch December 25, 2023 15:00
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants