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

NoAliasFunctionsFixer - add opt in option for ext-mbstring aliasses #3841

Merged
merged 1 commit into from Jul 2, 2018
Merged

NoAliasFunctionsFixer - add opt in option for ext-mbstring aliasses #3841

merged 1 commit into from Jul 2, 2018

Conversation

SpacePossum
Copy link
Contributor

closes #3840

@@ -878,6 +878,13 @@ Choose from the list of available rules:

*Risky rule: risky when any of the alias functions are overridden.*

Configuration options:

- ``sets`` (a subset of ``['@internal', '@IMAP', '@mbreg', '@all']``): list of
Copy link
Contributor

Choose a reason for hiding this comment

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

any reasons these options are prefixed with @? It makes sense for native_function_invocation as they can be mixed with actual function names, but in here only @-prefixed options are used

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I like the naming of configuration items to be consistent, so all names describing a set starting with @.

@keradus keradus added this to the 2.13.0 milestone Jun 29, 2018
@keradus keradus added the RTM Ready To Merge label Jun 29, 2018
@SpacePossum SpacePossum merged commit 5120a08 into PHP-CS-Fixer:master Jul 2, 2018
SpacePossum added a commit that referenced this pull request Jul 2, 2018
…ing aliasses (SpacePossum)

This PR was squashed before being merged into the 2.13-dev branch (closes #3841).

Discussion
----------

NoAliasFunctionsFixer - add opt in option for ext-mbstring aliasses

closes #3840

Commits
-------

5120a08 NoAliasFunctionsFixer - add opt in option for ext-mbstring aliasses
@SpacePossum SpacePossum deleted the master_NoAliasFunctionsFixer_mb branch July 2, 2018 05:46
@SpacePossum SpacePossum removed the RTM Ready To Merge label Jul 2, 2018
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