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

Fix substracted union type describe #3360

Open
wants to merge 6 commits into
base: 1.12.x
Choose a base branch
from

Conversation

mvorisek
Copy link
Contributor

@mvorisek mvorisek commented Aug 27, 2024

fix phpstan/phpstan#10227

(a~b)|c === a~b|c !== a~(b|c)

@mvorisek mvorisek force-pushed the fix_10227_substracted_type_describe branch from f865a8f to bf800a0 Compare August 27, 2024 06:38
@mvorisek mvorisek marked this pull request as ready for review August 27, 2024 06:46
@mvorisek mvorisek changed the title Fix substracted type describe Fix substracted union type describe Aug 27, 2024
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

@mvorisek mvorisek force-pushed the fix_10227_substracted_type_describe branch from bf800a0 to 3ded95b Compare September 19, 2024 07:30
@mvorisek
Copy link
Contributor Author

@ondrejmirtes can I have your review here

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.

Substracted type must be rendered in parenthesis if not simple
2 participants