Skip to content

FunctionDeclarations/RemovedImplicitlyNullableParam: bug fix x 2 (uppercase null/mixed & FQN null)#1897

Merged
wimg merged 2 commits intodevelopfrom
feature/removedimplicitlynullable-allow-fqn-and-uppercase-null-mixed
Sep 5, 2025
Merged

FunctionDeclarations/RemovedImplicitlyNullableParam: bug fix x 2 (uppercase null/mixed & FQN null)#1897
wimg merged 2 commits intodevelopfrom
feature/removedimplicitlynullable-allow-fqn-and-uppercase-null-mixed

Conversation

@jrfnl
Copy link
Copy Markdown
Member

@jrfnl jrfnl commented Sep 1, 2025

FunctionDeclarations/RemovedImplicitlyNullableParam: bug fix - allow for uppercase null/mixed in type declaration

Includes tests via updating some pre-existing tests.

FunctionDeclarations/RemovedImplicitlyNullableParam: bug fix - allow for FQN null in default value

Not commonly used, but it is valid PHP.

Note: FQN null in a type declaration is not allowed and therefor not accounted for.

Includes tests.

…for uppercase `null`/`mixed` in type declaration

Includes tests via updating some pre-existing tests.
…for FQN `null` in default value

Not commonly used, but it is valid PHP.

Note: FQN `null` in a type declaration is not allowed and therefor not accounted for.

Includes tests.
@jrfnl jrfnl added this to the 10.0.0 milestone Sep 1, 2025
@jrfnl jrfnl requested a review from wimg September 1, 2025 19:50
@jrfnl jrfnl added Type: bug PR: quick merge PR only contains relatively simple changes PR: ready for review labels Sep 1, 2025
@wimg wimg merged commit 1bc54ec into develop Sep 5, 2025
56 checks passed
@wimg wimg deleted the feature/removedimplicitlynullable-allow-fqn-and-uppercase-null-mixed branch September 5, 2025 14:13
@github-actions github-actions bot removed PR: ready for review PR: quick merge PR only contains relatively simple changes labels Sep 5, 2025
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.

2 participants