Skip to content

[12.x] Add missing "nil" option to union type for Str::isUuid() $version parameter #56557

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

Conversation

shaedrich
Copy link
Contributor

No description provided.

@shaedrich
Copy link
Contributor Author

I don't think, this test failure is caused by my change:

Run vendor/bin/phpstan --configuration="phpstan.types.neon.dist" --no-progress
Error: Unreachable statement - code above always terminates.
Error: Unreachable statement - code above always terminates.
 ------ ------------------------------------------------------- 
  Line   Support/Helpers.php                                    
 ------ ------------------------------------------------------- 
  47     Unreachable statement - code above always terminates.  
         🪪  deadCode.unreachable                               
  66     Unreachable statement - code above always terminates.  
         🪪  deadCode.unreachable                               
 ------ ------------------------------------------------------- 


Error:  [ERROR] Found 2 errors                                                         

Error: Process completed with exit code 1.

https://github.com/laravel/framework/actions/runs/16763448557/job/47463785995?pr=56557

@taylorotwell taylorotwell merged commit c6eeca0 into laravel:12.x Aug 6, 2025
60 of 62 checks passed
@shaedrich shaedrich deleted the fix-str-is-uuid-phpdoc-block-version-param-union-type branch August 6, 2025 15:55
@AhmedAlaa4611
Copy link
Contributor

I will leave that here: https://datatracker.ietf.org/doc/html/rfc4122#section-4.1.7

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.

3 participants