-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Update to doctrine/coding-standard 10 on 4.0.x #5632
Conversation
src/Cache/QueryCacheProfile.php
Outdated
private readonly ?string $cacheKey = null, | ||
private readonly ?CacheItemPoolInterface $resultCache = null | ||
private readonly string|null $cacheKey = null, | ||
private readonly CacheItemPoolInterface|null $resultCache = null, |
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.
I don't believe that union types should be enforced over the nullable ones. We discussed it recently in another thread.
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.
Can you please open an issue on the CS repo? I think that's were the issue needs to be discussed.
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.
Done: doctrine/coding-standard#288.
Psalm suddenly chokes on Psalm 5.0.0-beta1 doesn't have the issue but comes with other errors… |
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.
See #5632 (comment).
I'll revert the change about union types that way we don't have to wait for the resolution of doctrine/coding-standard#288 to merge this. |
One rule is excluded temporarily, pending a discussion on the standard repository.
They are not supported by Psalm yet.
To be followed by a
git merge origin/3.5.x --strategy ours