Skip to content

FunctionDeclarations/RemovedReturnByReferenceFromVoid: bug fix - type keywords are case in-sensitive + more tests#1560

Merged
wimg merged 4 commits intodevelopfrom
feature/removedreturnbyreffromvoid-bugfix-and-tests
May 20, 2023
Merged

FunctionDeclarations/RemovedReturnByReferenceFromVoid: bug fix - type keywords are case in-sensitive + more tests#1560
wimg merged 4 commits intodevelopfrom
feature/removedreturnbyreffromvoid-bugfix-and-tests

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented May 20, 2023

FunctionDeclarations/RemovedReturnByReferenceFromVoid: rework a test to data provider

FunctionDeclarations/RemovedReturnByReferenceFromVoid: bug fix - type keywords are case in-sensitive

See: https://3v4l.org/DgnOC

Tested by adjusting some of the existing unit tests.

FunctionDeclarations/RemovedReturnByReferenceFromVoid: add tests with PHP 7.4+ arrow functions

The sniff already handles this correctly, no changes needed.

FunctionDeclarations/RemovedReturnByReferenceFromVoid: add tests with PHP 8.1+ enums

The sniff already handles this correctly, no changes needed.

jrfnl added 4 commits May 20, 2023 04:02
… keywords are case in-sensitive

See: https://3v4l.org/DgnOC

Tested by adjusting some of the existing unit tests.
… PHP 7.4+ arrow functions

The sniff already handles this correctly, no changes needed.
… PHP 8.1+ enums

The sniff already handles this correctly, no changes needed.
@jrfnl jrfnl added this to the 10.0.0 milestone May 20, 2023
@jrfnl jrfnl requested a review from wimg May 20, 2023 02:25
@wimg wimg merged commit bf03359 into develop May 20, 2023
@wimg wimg deleted the feature/removedreturnbyreffromvoid-bugfix-and-tests branch May 20, 2023 14:41
@github-actions github-actions bot removed PR: quick merge PR only contains relatively simple changes PR: ready for review labels May 20, 2023
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