Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Aug 23, 2025

FunctionDeclarations/RemovedOptionalBeforeRequiredParam: bug fix - allow for uppercase mixed in type

Uppercase null was already handled correctly, but uppercase mixed was not.

Fixed now.

Includes tests for both.

FunctionDeclarations/RemovedOptionalBeforeRequiredParam: 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.

…low for uppercase mixed in type

Uppercase `null` was already handled correctly, but uppercase `mixed` was not.

Fixed now.

Includes tests for both.
@jrfnl jrfnl added this to the 10.0.0 milestone Aug 23, 2025
@jrfnl jrfnl requested a review from wimg August 23, 2025 00:20
@jrfnl jrfnl added Type: bug PR: quick merge PR only contains relatively simple changes PR: ready for review labels Aug 23, 2025
…low 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 force-pushed the feature/removedoptionalbeforerequiredparam-bug-fix-x-2 branch from 02947f4 to e7b6498 Compare August 23, 2025 00:35
@wimg wimg merged commit 1dfd13f into develop Sep 1, 2025
49 checks passed
@wimg wimg deleted the feature/removedoptionalbeforerequiredparam-bug-fix-x-2 branch September 1, 2025 15:43
@github-actions github-actions bot removed PR: quick merge PR only contains relatively simple changes PR: ready for review labels Sep 1, 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.

3 participants