-
Notifications
You must be signed in to change notification settings - Fork 3
IBX-10507: Allowed nullable type declarations for method parameters across the codebase #199
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
base: 4.6
Are you sure you want to change the base?
Conversation
phpstan-baseline.neon
Outdated
- | ||
message: '#^Method Ibexa\\Rest\\Input\\Handler\\Xml\:\:convertDom\(\) should return array but returns null\.$#' | ||
identifier: return.type | ||
message: '#^Method Ibexa\\Rest\\Input\\Handler\\Xml\:\:convertDom\(\) return type has no value type specified in iterable type array\.$#' |
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.
it should be easy to fix those two, even with mixed.
phpstan-baseline.neon
Outdated
- | ||
message: '#^Method Ibexa\\Rest\\Input\\Handler\\Xml\:\:convert\(\) return type has no value type specified in iterable type array\.$#' | ||
identifier: missingType.iterableValue | ||
message: '#^Cannot assign new offset to array\|string\.$#' |
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 should be also easly fixed with is_array check.
7d4beb3
to
7a07225
Compare
|
Description:
Allowed nullable type declarations for method parameters across the codebase