-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 intersection type annotations #3459
base: master
Are you sure you want to change the base?
Conversation
9b54895
to
5aca79e
Compare
@@ -103,7 +103,6 @@ public function getErrorList() | |||
792 => 1, | |||
794 => 1, | |||
797 => 1, | |||
801 => 1, |
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.
This reported
Type hint "bar" missing for (Squiz.Commenting.FunctionComment.TypeHintMissing)
for
/**
* Function comment.
*
* @param $bar
* Comment here.
* @param ...
* Additional arguments here.
*
* @return
* Return value
*
*/
function foo($bar) {
}
seems like a bug in test so I removed it
2bc3637
to
23c0d92
Compare
23c0d92
to
5aa4ee6
Compare
14ed8cf
to
10e6e2e
Compare
@gsherwood Hi, just rebased and resolved conflicts for the second time. Should I pursue this? |
10e6e2e
to
6567e47
Compare
6567e47
to
1f001c6
Compare
Thanks a lot, copied your regex to the FunctionCommentSniff we use in Drupal's Coder https://www.drupal.org/project/coder/issues/3303625 |
#2919 got stale so I rebased it and fixed