Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Core: Continue component review #362

Merged
merged 5 commits into from
Feb 7, 2025
Merged

Core: Continue component review #362

merged 5 commits into from
Feb 7, 2025

Conversation

lkrms
Copy link
Collaborator

@lkrms lkrms commented Feb 6, 2025

No description provided.

lkrms added 5 commits February 6, 2025 09:36
- Rename `HasBuilder` to `BuildableTrait`
- `HasChainableMethods` -> `ChainableTrait`
- `HasFacade` -> `FacadeAwareInstanceTrait`
- `HasMutator` -> `ImmutableTrait`
- `HasNormaliser` -> `NormalisableTrait`
- `HasReadableProperties` -> `ReadableTrait`
- `HasWritableProperties` -> `WritableTrait`
- `ReadsProtectedProperties` -> `ReadableProtectedPropertiesTrait`
- `UnloadsFacades` -> `FacadeAwareTrait`
- Move `HasUnderlyingService` to internal namespace
- Remove `WritesProtectedProperties`
- Remove `final` from trait methods
- Improve uninitialised property handling in `TreeableTrait`
- Narrow `Hierarchical` return types to `$this` as needed
- Extend `DateParserInterface` from `DateFormatterInterface`
- In `DateParserInterface::parse()`, specify that `$timezone` is ignored
  if `$value` has a timezone and update implementations accordingly
- Finalise contract review
- Utility: Fix `Date::maybeSetTimezone()` issue where `+00:00`, the
  timezone applied when timestamps are parsed, is not handled correctly
Copy link

codecov bot commented Feb 6, 2025

Codecov Report

Attention: Patch coverage is 54.78261% with 52 lines in your changes missing coverage. Please review.

Project coverage is 71.99%. Comparing base (fe73d96) to head (6734857).
Report is 6 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/Toolkit/Core/Concern/TreeableTrait.php 0.00% 40 Missing ⚠️
src/Toolkit/Core/Concern/ProvidableTrait.php 54.54% 5 Missing ⚠️
src/Toolkit/Core/DateFormatter.php 61.53% 5 Missing ⚠️
src/Toolkit/Core/Concern/ExtensibleTrait.php 60.00% 2 Missing ⚠️
Additional details and impacted files
Components Coverage Δ
Cache 100.00% <ø> (ø)
Cli 77.66% <ø> (ø)
Collections 86.19% <ø> (ø)
Console 65.63% <ø> (ø)
Container 64.97% <ø> (ø)
Contracts ∅ <ø> (∅)
Core 80.72% <53.15%> (+0.38%) ⬆️
Curler 64.37% <ø> (ø)
Db 0.00% <ø> (ø)
Http 79.20% <ø> (ø)
Iterators 83.12% <ø> (ø)
PHPDoc 91.54% <ø> (ø)
PHPStan 100.00% <100.00%> (ø)
Polyfills 100.00% <ø> (ø)
Sli 40.50% <ø> (ø)
Sync 65.99% <ø> (ø)
Testing 77.16% <ø> (ø)
Utils 93.66% <100.00%> (+<0.01%) ⬆️

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

@lkrms lkrms merged commit 5a1ccd6 into main Feb 7, 2025
14 of 15 checks passed
@lkrms lkrms deleted the review-core branch February 7, 2025 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant