1up-lab / OneupFlysystemBundle

A Flysystem integration for your Symfony projects.
MIT License
630 stars 118 forks source link

SFTP option key "connectivity checker" does not match with key "connectivityChecker" from SftpConnectionProvider::fromArray #249

Closed vojtabiberle closed 2 years ago

vojtabiberle commented 2 years ago

Bug Report

SFTP option key "connectivity checker" does not match with key "connectivityChecker" from SftpConnectionProvider::fromArray

Summary

When I want to use own connectivity checker, I cannot use it, because in \Oneup\FlysystemBundle\DependencyInjection\Factory\Adapter\SftpFactory::addConfiguration is "connectivity checker" as scalarNode, but in factory \League\Flysystem\PhpseclibV2\SftpConnectionProvider::fromArray is expected "connectivityChecker" key in array.

How to reproduce

Just try to use your own Connectivity Checker for SFTP.

bytehead commented 2 years ago

Close in favor of #250.