Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP7.4 - Add "str_split" => "mb_str_split" mapping. #4380

Merged
merged 1 commit into from Apr 17, 2019
Merged

PHP7.4 - Add "str_split" => "mb_str_split" mapping. #4380

merged 1 commit into from Apr 17, 2019

Conversation

SpacePossum
Copy link
Contributor

@SpacePossum SpacePossum added the RTM Ready To Merge label Apr 16, 2019
@SpacePossum SpacePossum added this to the 2.12.9 milestone Apr 17, 2019
@SpacePossum SpacePossum removed the RTM Ready To Merge label Apr 17, 2019
@SpacePossum SpacePossum merged commit 7ef0040 into PHP-CS-Fixer:2.12 Apr 17, 2019
SpacePossum added a commit that referenced this pull request Apr 17, 2019
…ePossum)

This PR was merged into the 2.12 branch.

Discussion
----------

PHP7.4 - Add "str_split" => "mb_str_split" mapping.

@ see https://wiki.php.net/rfc/mb_str_split

Commits
-------

7ef0040 PHP7.4 - Add "str_split" => "mb_str_split" mapping.
@SpacePossum SpacePossum deleted the 2_12_74_mb_str_func branch April 17, 2019 10:05
@keradus keradus restored the 2_12_74_mb_str_func branch August 31, 2019 09:55
@keradus keradus deleted the 2_12_74_mb_str_func branch August 31, 2019 09:55
@keradus keradus restored the 2_12_74_mb_str_func branch August 31, 2019 09:56
$functions = array_filter(
self::$functionsMap,
static function ($mapping) {
return \function_exists($mapping['alternativeName']);
Copy link
Member

Choose a reason for hiding this comment

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

this was causing the issue. when we execute this, it's always truth, as we have the mb polyfill on execution time...

Copy link
Member

Choose a reason for hiding this comment

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

ref #4529

Copy link
Member

Choose a reason for hiding this comment

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

keradus added a commit that referenced this pull request Aug 31, 2019
…keradus)

This PR was squashed before being merged into the 2.12 branch (closes #4533).

Discussion
----------

Revert PHP7.4 - Add "str_split" => "mb_str_split" mapping

Reverts #4380
Closes #4529

Commits
-------

d35c431 Revert PHP7.4 - Add \"str_split\" => \"mb_str_split\" mapping
SpacePossum added a commit that referenced this pull request Oct 9, 2019
…keradus, Slamdunk)

This PR was merged into the 2.15 branch.

Discussion
----------

Redo PHP7.4 - Add "str_split" => "mb_str_split" mapping

This reverts commit d35c431.

Reapply #4380 by reverting #4533

Commits
-------

083d062 mb_*: rely on ReflectionFunction::isInternal to detect correct list of functions to fix
3fea39f Revert "Revert PHP7.4 - Add \"str_split\" => \"mb_str_split\" mapping"
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.

None yet

3 participants