Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Console] Update questionhelper.rst#16870

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
javiereguiluz merged 1 commit intosymfony:4.4fromissamkhadiri1989:patch-12
Jun 28, 2022

Conversation

issamkhadiri1989
Copy link
Contributor

hello,

when running the example as it is, a deprecation message is shown (i'm on PHP 8.1.6). the deprecation message says thattrim(): Passing null to parameter #1 ($string) of type string is deprecated.
what if we add a normalizer that returns an empty string when the entered value isnull otherwise returns the user's intial input. with this suggestion, the example works great

@carsonbotcarsonbot added this to the6.0 milestoneJun 12, 2022
@carsonbotcarsonbot changed the titleUpdate questionhelper.rst[Console] Update questionhelper.rstJun 28, 2022
@javiereguiluzjaviereguiluz modified the milestones:6.0,4.4Jun 28, 2022
hello,when running the example as it is, a deprecation message is shown (i'm on PHP 8.1.6). the deprecation message says that ``trim(): Passing null to parametersymfony#1 ($string) of type string is deprecated``.what if we add a normalizer that returns an empty string when the entered value is `null` otherwise returns the user's intial input.  with this suggestion, the example works great
@javiereguiluz
Copy link
Member

Thanks Issam!

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

@xabbuhxabbuhAwaiting requested review from xabbuh

@OskarStarkOskarStarkAwaiting requested review from OskarStark

Assignees
No one assigned
Projects
None yet
Milestone
4.4
Development

Successfully merging this pull request may close these issues.

3 participants
@issamkhadiri1989@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp