-
-
Notifications
You must be signed in to change notification settings - Fork 19
refactor: add note about authentication password #14
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
base: master
Are you sure you want to change the base?
Conversation
Hi @dunglas ! So the code become: $tc = new TorControl\TorControl(
array(
'hostname' => '127.0.0.1',
'port' => 9051,
'password' => 'password',
// the original password not the hashed one
'authmethod' => 1,
)
); Sorry! |
This instruction has been called twice for because it always called while the `object destruction` (https://github.com/dunglas/php-torcontrol/blob/master/src/TorControl.php#L136).
|
||
// Echo the server reply code and message | ||
echo $res[0]['code'].': '.$res[0]['message']; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this change?
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- hhvm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it's necessary to support HHVM. However we should run tests with PHP 7.1 and 7.2.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not touch those files.
Hi @dunglas !
#13 DONE.