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

Skip to content

[Process] fix phpdoc and timeout of 0 #9466

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
Nov 22, 2013
Merged

Conversation

Tobion
Copy link
Contributor

@Tobion Tobion commented Nov 8, 2013

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

getTimeout says it returns null when it's disabled. But passing 0 or 0.0 also disabled timeouts. So it should be treated as null as well. also it says it returns integer whereas it returns float.

*/
public function getWorkingDirectory()
{
// This is for BC only
Copy link
Member

Choose a reason for hiding this comment

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

Why have you removed this comment?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because its not for bc. If it was "only for bc", then a related thing would be deprecated but there is not. So this code is part of the logic that the method exposes.

fabpot added a commit that referenced this pull request Nov 22, 2013
This PR was merged into the 2.2 branch.

Discussion
----------

[Process] fix phpdoc and timeout of 0

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

getTimeout says it returns null when it's disabled. But passing 0 or 0.0 also disabled timeouts. So it should be treated as null as well. also it says it returns integer whereas it returns float.

Commits
-------

1758010 [Process] fix phpdoc and timeout of 0
@fabpot fabpot merged commit 1758010 into symfony:2.2 Nov 22, 2013
@Tobion Tobion deleted the process-timeout branch November 22, 2013 19:03
fabpot added a commit that referenced this pull request Jan 24, 2014
This PR was merged into the 2.4 branch.

Discussion
----------

[Process] clarify idle timeout

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

Makes idle timeout in line with #9466

Commits
-------

9f07b4d [Process] clarify idle timeout
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.

2 participants