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

Review Cache, AbstractFacade, update component descriptions and documentation #360

Merged
merged 3 commits into from
Jan 30, 2025

Conversation

lkrms
Copy link
Collaborator

@lkrms lkrms commented Jan 30, 2025

No description provided.

lkrms added 2 commits January 30, 2025 18:16
- Replace "store" with "cache" in `CacheInterface` documentation
- In `set()`, treat `DateInterval` TTLs like integers, i.e. delete the
  item if it represents <= 0 seconds
- Remove unnecessary complexity from `HasUnderlyingService`
- Simplify `AbstractFacade::getService()` return type
- In `AbstractFacade`, check `Container` is defined before calling its
  static methods
Copy link

codecov bot commented Jan 30, 2025

Codecov Report

Attention: Patch coverage is 96.59091% with 3 lines in your changes missing coverage. Please review.

Project coverage is 71.38%. Comparing base (78f33f4) to head (946b49a).
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/HasUnderlyingService.php 75.00% 2 Missing ⚠️
...rc/Toolkit/Sli/Command/Generate/GenerateFacade.php 0.00% 1 Missing ⚠️
Additional details and impacted files
Components Coverage Δ
Cache 100.00% <100.00%> (ø)
Cli 77.66% <ø> (ø)
Collections 86.19% <ø> (ø)
Console 65.63% <ø> (ø)
Container 65.13% <ø> (ø)
Contracts ∅ <ø> (∅)
Core 78.26% <97.29%> (-0.40%) ⬇️
Curler 64.37% <ø> (ø)
Db 0.00% <ø> (ø)
Http 79.20% <ø> (ø)
Iterators 83.12% <ø> (ø)
PHPDoc 91.54% <ø> (ø)
PHPStan 100.00% <ø> (ø)
Polyfills 100.00% <ø> (ø)
Sli 39.53% <0.00%> (ø)
Sync 66.59% <ø> (ø)
Testing 77.16% <ø> (ø)
Utils 93.64% <ø> (+0.02%) ⬆️

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

@lkrms lkrms merged commit abecf54 into main Jan 30, 2025
15 checks passed
@lkrms lkrms deleted the review-cache branch January 30, 2025 13:12
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