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

Added documentation for UnwrapStrToUpper mutator #77

Merged

Conversation

zf2timo
Copy link
Contributor

@zf2timo zf2timo commented Oct 31, 2018

This PR

[x] adds documentation for the newly added UnwrapStrToUpper mutator

See infection/infection#535.

…pstrtoupper-mutator

# Conflicts:
#	src/guide/mutators.md
#	src/guide/profiles.md
@@ -33,6 +33,7 @@ The Unwrap* mutator family will unwrap function parameters.
| UnwrapArrayReverse | `$a = array_reverse(['A', 'B', 'C']);` | `$a = ['A', 'B', 'C'];` |
| UnwrapStrRepeat | `$a = str_repeat('A', 3);` | `$a = 'A';` |
| UnwrapStrToLower | `$a = strtolower('Hello!');` | `$a = 'Hello!';` |
| UnwrapStrToUpper | `$a = strtoupper(['A', 'B', 'C']);` | `$a = ['A', 'B', 'C'];` |
Copy link
Member

Choose a reason for hiding this comment

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

could you please use string as a parameter?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@borNfreee I updated the documentation

@maks-rafalko
Copy link
Member

Thank you @zf2timo

@maks-rafalko maks-rafalko merged commit 5459f72 into infection:master Nov 9, 2018
@zf2timo zf2timo deleted the feature/unwrapstrtoupper-mutator branch November 9, 2018 06:42
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.

None yet

2 participants