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

[Process] Deprecate using values that are not string for Process::setStdin and ProcessBuilder::setInput#10930

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
fabpot merged 1 commit intosymfony:masterfromromainneutron:stdin-deprecation
May 23, 2014

Conversation

@romainneutron
Copy link
Contributor

QA
Bug fix?no
New feature?no
BC breaks?no
Deprecations?yes
Tests pass?yes
Fixed ticketsn/a
LicenseMIT

This deprecates passing aProcess input any value that is not a strict string. This needs#10929 to be merged.
I don't know if the use oftrigger_error is correct or should be removed.

Copy link
Member

Choose a reason for hiding this comment

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

stream resources are not accepted

Copy link
Member

Choose a reason for hiding this comment

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

and I would not forbid passing another scalar but just cast it when setting it. PHP does not have strict types for scalars

@romainneutron
Copy link
ContributorAuthor

PR rebased and updated, comments addressed.

Copy link
Member

Choose a reason for hiding this comment

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

missing() at the end of the method name (same below).

@romainneutron
Copy link
ContributorAuthor

PR Updated, comments addressed

Copy link
Member

Choose a reason for hiding this comment

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

we don't trigger deprecation errors for stuff working until 3.0. We will only do it the last minor release before 3.0

@romainneutron
Copy link
ContributorAuthor

PR updated,@stof comments addressed

@fabpotfabpot merged commit9887b83 intosymfony:masterMay 23, 2014
fabpot added a commit that referenced this pull requestMay 23, 2014
…or Process::setStdin and ProcessBuilder::setInput (romainneutron)This PR was merged into the 2.4-dev branch.Discussion----------[Process] Deprecate using values that are not string for Process::setStdin and ProcessBuilder::setInput| Q             | A| ------------- | ---| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | yes| Tests pass?   | yes| Fixed tickets | n/a| License       | MITThis deprecates passing a `Process` input any value that is not a strict string. This needs#10929 to be merged.I don't know if the use of `trigger_error` is correct or should be removed.Commits-------9887b83 [Process] Deprecate using values that are not string for Process::setStdin and ProcessBuilder::setInput
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@romainneutron@fabpot@jakzal@stof

[8]ページ先頭

©2009-2025 Movatter.jp