Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

romainneutron
Copy link
Contributor

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets n/a
License MIT

@romainneutron romainneutron changed the title [Process] Add missing docblocks, remove variable declarations [2.3][Process] Add missing docblocks, remove variable declarations Apr 21, 2014
@pborreli
Copy link
Contributor

👍

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is right for the default values of the ProcessBuilder, not for the Process
Docblocks are still missing in version 2.4

Merging in 2.4 should be easy

@Tobion
Copy link
Contributor

Tobion commented Apr 21, 2014

See #9487

Copy link
Member

Choose a reason for hiding this comment

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

an environment variable is a string, not a mixed value

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We accept array env vars since #8227

Copy link
Member

Choose a reason for hiding this comment

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

@romainneutron we just avoid an error by ignoring them, because of the way the inherited environment works. But it does not make any sense to pass an array here. It will still not be part of the environment (it will just erase the previous value set for the same env var, which can be done in a cleaner way with null)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you're right I'll update this

@romainneutron
Copy link
Contributor Author

Updated

@fabpot fabpot merged commit ff77f24 into symfony:2.3 Apr 23, 2014
fabpot added a commit that referenced this pull request Apr 23, 2014
…clarations (romainneutron)

This PR was merged into the 2.3 branch.

Discussion
----------

[2.3][Process] Add missing docblocks, remove variable declarations

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT

Commits
-------

ff77f24 [Process] Add missing docblocks, remove variable declarations
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.

5 participants