Skip to content
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

[9.x] Added new env options for v3 sftp adaptor #7757

Merged
merged 2 commits into from
Mar 3, 2022
Merged

[9.x] Added new env options for v3 sftp adaptor #7757

merged 2 commits into from
Mar 3, 2022

Conversation

dunhamjared
Copy link
Contributor

Added new possible values for the SFTP Driver Configuration example.

The new optional values were added to match the order of the arguments for: League\Flysystem\PhpseclibV3\SftpConnectionProvider.

return new SftpConnectionProvider(
    $options['host'],
    $options['username'],
    $options['password'] ?? null,
    $options['privateKey'] ?? null,
    $options['passphrase'] ?? null,
    $options['port'] ?? 22,
    $options['useAgent'] ?? false,
    $options['timeout'] ?? 10,
    $options['maxTries'] ?? 4,
    $options['hostFingerprint'] ?? null,
    $options['connectivityChecker'] ?? null
);

@taylorotwell taylorotwell merged commit 5e1d879 into laravel:9.x Mar 3, 2022
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