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

Continue review of Utility classes #354

Merged
merged 4 commits into from
Jan 24, 2025
Merged

Continue review of Utility classes #354

merged 4 commits into from
Jan 24, 2025

Conversation

lkrms
Copy link
Collaborator

@lkrms lkrms commented Jan 24, 2025

No description provided.

lkrms added 4 commits January 24, 2025 09:31
- Improve `Regex` pattern consistency and readability, incl. adding
  non-capturing groups as needed for atomicity and to limit case
  sensitivity change scope
- Don't match leading and trailing whitespace in `Regex` patterns
  `BOOLEAN_STRING` and `INTEGER_STRING`
- Remove unused `Regex` patterns `PHP_UNION_TYPE`,
  `PHP_INTERSECTION_TYPE`, `PHP_DNF_SEGMENT`, `PHP_DNF_TYPE` and
  `PHP_FULL_TYPE`
- Add `Regex::quote()` for completeness
- Remove unnecessary properties and methods from `PcreErrorException` in
  favour of verbose detail when cast to string
Copy link

codecov bot commented Jan 24, 2025

Codecov Report

Attention: Patch coverage is 91.42857% with 6 lines in your changes missing coverage. Please review.

Project coverage is 71.32%. Comparing base (04b0796) to head (f0c162d).
Report is 8 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/Toolkit/Utility/File.php 63.63% 4 Missing ⚠️
src/Toolkit/Utility/Format.php 75.00% 2 Missing ⚠️
Additional details and impacted files
Components Coverage Δ
Cache 100.00% <ø> (ø)
Cli 77.63% <ø> (ø)
Collections 86.19% <ø> (ø)
Console 65.63% <ø> (ø)
Container 65.13% <ø> (ø)
Contracts ∅ <ø> (∅)
Core 78.66% <100.00%> (ø)
Curler 64.37% <ø> (ø)
Db 0.00% <ø> (ø)
Http 79.20% <ø> (ø)
Iterators 83.12% <ø> (ø)
PHPDoc 91.54% <ø> (ø)
PHPStan 96.85% <ø> (ø)
Polyfills 97.22% <ø> (ø)
Sli 39.48% <100.00%> (ø)
Sync 66.59% <ø> (ø)
Testing 77.16% <ø> (ø)
Utils 93.38% <91.17%> (-0.19%) ⬇️

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

@lkrms lkrms merged commit 6d57948 into main Jan 24, 2025
15 checks passed
@lkrms lkrms deleted the review branch January 24, 2025 05:05
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