-
Notifications
You must be signed in to change notification settings - Fork 11k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[12.x] Validate UUID's version optionally (#53341)
* Validate UUID's version optionally * StyleCI fixes * Reorder imports * Check type before length * Fix wrong variable * Symfony/uid doesn't implement version 2 * fix: 🐛 Cast extracted value for identity check of match * test: ✅ Add tests for both Str::isUuid() and the uuid validation rule * style: 🎨 Fix StyleCI error Suggested-by: Vano Devium <[email protected]> cc: Vano Devium <[email protected]> thanks-to: Vano Devium <[email protected]> original-patch-by: Vano Devium <[email protected]> based-on-a-patch-by: Vano Devium <[email protected]> based-on-patch-by: Vano Devium <[email protected]> credit-to: Vano Devium <[email protected]> inspired-by-patch-by: Vano Devium <[email protected]> initial-work-by: Vano Devium <[email protected]> inspired-by: #21672 * test: ✅ Add non-existent UUID version cases to data provider Suggested-by: Vano Devium <[email protected]> cc: Vano Devium <[email protected]> thanks-to: Vano Devium <[email protected]> original-patch-by: Vano Devium <[email protected]> based-on-a-patch-by: Vano Devium <[email protected]> based-on-patch-by: Vano Devium <[email protected]> credit-to: Vano Devium <[email protected]> inspired-by-patch-by: Vano Devium <[email protected]> initial-work-by: Vano Devium <[email protected]> inspired-by: #21672
- Loading branch information
Showing
4 changed files
with
79 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters