This repository was archived by the owner on Jan 9, 2025. It is now read-only.
Add support for zombie options#183
Merged
aik099 merged 7 commits intominkphp:masterfrom Jul 18, 2017
Merged
Conversation
stof
suggested changes
Jun 23, 2017
| * @throws \LogicException When server is already running. | ||
| */ | ||
| public function setOptions($options) | ||
| { |
|
|
||
| /** | ||
| * @var array | ||
| */ |
Member
There was a problem hiding this comment.
please use private visibility for the new property (as it has both a getter and a setter which are public, there is no benefit making this accessible through inheritance, and protected stuff makes it harder to handle backward compatibility)
Contributor
Author
There was a problem hiding this comment.
@stof I tried to follow what's already there and all the other properties are protected while having setters and getters.
Member
There was a problem hiding this comment.
@berliner , please make this change. I guess that's last thing before this PR is merged.
Contributor
Author
There was a problem hiding this comment.
@aik099 Done, though I still feel that this doesn't belong into this PR.
aik099
approved these changes
Jun 24, 2017
Member
|
Merging, thanks @berliner . |
This was referenced Jul 18, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a follow up of #154.
This PR allows to specify zombie options as an array argument to the server constructor.
I have applied more or less the same logic as for the threshold argument.
Tests have been updated/added too.
I didn't update the README, but instead would issue a PR against the docs repo once this PR here has been approved.
The associated PR for Behat/MinkExtension is Behat/MinkExtension#284