-
Notifications
You must be signed in to change notification settings - Fork 71
Connect via unix socket instead of filesystem to be compatible with php open_basedir restrictions. #426
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
Closed
Closed
Connect via unix socket instead of filesystem to be compatible with php open_basedir restrictions. #426
Changes from 22 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
d6f84d9
Connect via unix socket instead of filesystem to be compatible with p…
jazzsequence 8e103ca
Remove extra brace & fix spacing
jazzsequence 4711c1f
Updated changelog
pwtyler c3ef25e
Updates behat test.
41434a1
Adds constructor.
404b664
Adds constructor.
e1fb0be
Reorganizes files to match standards.
10dc043
Tests different context name
55da4a6
Moves context
45e8844
Moves context
3a8287d
Updates redis checks.
d68c0ca
Updates redis checks.
d965c03
Updates redis checks.
35ee982
Updates redis checks.
0f430c6
Tests page refresh
b70187b
Tweaks page refresh
b92ad23
Wraps 1 in quotes
86243cc
Tweaks wording
d71af15
Tweaks wording
48b4395
Tweaks wording
7851076
Adjusts namespace
9491db4
Removes cleanup so manual inspection can be done
7b9425d
Adds "else" fallback
c21e535
Tweaks context name
cc4e3f8
Updates autoload and adds cleanup back
0b67615
Updates autoload and adds cleanup back
651f371
Updates autoload and adds cleanup back
40ae2f1
Updates autoload
5ed5fa0
Updates autoload
630bd91
Updates autoload
b218b79
Fixes spacing
5cdf6fc
Fixes spacing
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
// features/bootstrap/WPRedisFeatureContext.php | ||
|
||
namespace wpredis\behat\features\bootstrap; | ||
|
||
use Behat\Behat\Context\Context; | ||
|
||
class FeatureContext implements Context | ||
{ | ||
|
||
/** | ||
* Initializes context. | ||
* | ||
* Every scenario gets its own context instance. | ||
* You can also pass arbitrary arguments to the | ||
* context constructor through behat.yml. | ||
*/ | ||
public function __construct() | ||
{ | ||
} | ||
|
||
/** | ||
* Waits a certain number of seconds. | ||
* | ||
* @param int $seconds | ||
* How long to wait. | ||
* | ||
* @When I wait :seconds second(s) | ||
*/ | ||
public function wait($seconds) | ||
{ | ||
sleep($seconds); | ||
} | ||
|
||
} |
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.
Uh oh!
There was an error while loading. Please reload this page.