Skip to content

Conversation

wiewiurdp
Copy link
Contributor

🎫 Issue IBX-10507

Description:

Allowed nullable type declarations for method parameters across the codebase

@wiewiurdp wiewiurdp changed the base branch from main to 4.6 September 17, 2025 05:58
@wiewiurdp wiewiurdp marked this pull request as ready for review September 17, 2025 06:02
@wiewiurdp wiewiurdp requested a review from a team September 17, 2025 06:03
@ezrobot ezrobot requested review from adamwojs, mikadamczyk, Steveb-p, alongosz, ciastektk, ViniTou, barw4, konradoboza and tbialcz and removed request for a team September 17, 2025 06:03
-
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\.$#'
Copy link
Contributor

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.

-
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\.$#'
Copy link
Contributor

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.

@wiewiurdp wiewiurdp force-pushed the IBX-10507-fixing-implicitly-nullable-parameters branch from 7d4beb3 to 7a07225 Compare September 23, 2025 12:24
Copy link

@wiewiurdp wiewiurdp requested a review from ViniTou September 23, 2025 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants