Skip to content

[String] allow passing null to string functions #38269

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

Merged
merged 1 commit into from
Sep 24, 2020
Merged

[String] allow passing null to string functions #38269

merged 1 commit into from
Sep 24, 2020

Conversation

kbond
Copy link
Member

@kbond kbond commented Sep 22, 2020

Q A
Branch? 5.1
Bug fix? no
New feature? yes
Deprecations? no
Tickets Fix #38260
License MIT
Doc PR n/a

I also added a default value for s to match the other functions.

Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

Would be ok for 5.1 to me.

@kbond kbond changed the base branch from master to 5.1 September 23, 2020 09:26
@kbond kbond changed the base branch from 5.1 to master September 23, 2020 09:26
@kbond
Copy link
Member Author

kbond commented Sep 23, 2020

Oops, sorry, tried to switch to 5.1 via the UI and it blew up.

@derrabus
Copy link
Member

Oops, sorry, tried to switch to 5.1 via the UI and it blew up.

You'll have to rebase onto 5.1 as well. 🤓

@kbond kbond changed the base branch from master to 5.1 September 23, 2020 11:57
@kbond
Copy link
Member Author

kbond commented Sep 23, 2020

Rebased and switched to 5.1 now

Copy link
Member

@fabpot fabpot left a comment

Choose a reason for hiding this comment

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

For master as this is a new feature.

@fabpot fabpot changed the base branch from 5.1 to master September 24, 2020 09:57
@fabpot
Copy link
Member

fabpot commented Sep 24, 2020

Thank you @kbond.

@fabpot fabpot merged commit aa5d0ea into symfony:master Sep 24, 2020
@kbond kbond deleted the string-null-functions branch September 27, 2020 13:20
@fabpot fabpot mentioned this pull request Oct 5, 2020
@nicolas-grekas nicolas-grekas added this to the 5.2 milestone Mar 9, 2021
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.

[String] allow string to be constructed with null
5 participants