Skip to content

Use ReturnTypeExtension for mb_str_split#379

Merged
ondrejmirtes merged 1 commit intophpstan:masterfrom
VincentLanglet:patch-1
Nov 26, 2020
Merged

Use ReturnTypeExtension for mb_str_split#379
ondrejmirtes merged 1 commit intophpstan:masterfrom
VincentLanglet:patch-1

Conversation

@VincentLanglet
Copy link
Contributor

@VincentLanglet VincentLanglet commented Nov 23, 2020

Shouldn't mb_str_split work as str_split ? @ondrejmirtes

I can add tests if you think it's right.

Copy link
Member

@ondrejmirtes ondrejmirtes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And a test. See where str_split is already tested.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use in_array please.

@VincentLanglet VincentLanglet force-pushed the patch-1 branch 5 times, most recently from 95660e6 to da9c97e Compare November 25, 2020 22:09
@VincentLanglet
Copy link
Contributor Author

@ondrejmirtes The PR seems fine to me now. But all the test are failing weirdly.

@ondrejmirtes ondrejmirtes merged commit 60d744f into phpstan:master Nov 26, 2020
@ondrejmirtes
Copy link
Member

Thank you!

@ondrejmirtes
Copy link
Member

I fixed the CI with: ef6ca4a

Something weird is going on with latest version of nette/di...

@VincentLanglet VincentLanglet deleted the patch-1 branch November 26, 2020 13:20
@VincentLanglet
Copy link
Contributor Author

Thank you!

Thanks you too.
I look forward the next release to fix all the false-positive I got when I change str_plit into mb_str_split.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants