-
Notifications
You must be signed in to change notification settings - Fork 511
fromStrictString method #533
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
base: 4.x
Are you sure you want to change the base?
Conversation
Hi @ramsey, looks like there is a python issue on the docs build step. Could you review it? thanks! |
* | ||
* @psalm-pure | ||
*/ | ||
public function fromStrictString(string $uuid): UuidInterface; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interface changes will require a major version bump.
@rogervila Thanks for the PR. Unfortunately, I'm unemployed without any income, and I'm spending every waking minute on job searching, so I'll be unable to give this much attention until I've sorted out my financial situation. Thank you for your understanding. 🙂 |
Co-authored-by: Ben Ramsey <[email protected]>
Don't worry, first things first 🙂 |
Can you provide some more details on when a user might use Another problem is the introduction of a new interface method. This breaks BC and would need to wait until a later major version of this library. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## 4.x #533 +/- ##
============================================
+ Coverage 95.11% 95.13% +0.02%
- Complexity 574 578 +4
============================================
Files 70 70
Lines 1637 1645 +8
============================================
+ Hits 1557 1565 +8
Misses 80 80
|
@rogervila Can you take a look at my comment from April last year and let me know your thoughts? I'm still not sure this is needed. Plus, it has a major BC break because of the interface change. |
Description
Provide a new fromStrictString method that validates the string against the isValid method.
Motivation and context
Fix #531
How has this been tested?
The new method is covered by Unit tests.
Types of changes
PR checklist