Skip to content

fix(di): use phpseclib3 instead of phpseclib#414

Merged
NoResponseMate merged 1 commit intoSylius:1.7from
kevin-blackbird:hotfix/v1.7.6-use-phpseclib3
Dec 19, 2025
Merged

fix(di): use phpseclib3 instead of phpseclib#414
NoResponseMate merged 1 commit intoSylius:1.7from
kevin-blackbird:hotfix/v1.7.6-use-phpseclib3

Conversation

@kevin-blackbird
Copy link
Contributor

Hello,

On the version 1.7.6 for Sylius 1 there is a little error on DI for service sylius.paypal.client.sftp, the class is phpseclib\Net\SFTP but the Sylius\PayPalPlugin\Downloader\SftpPayoutsReportDownloader use phpseclib3\Net\SFTP

This cause the error on report download :

Attempted to load class "SFTP" from namespace "phpseclib\Net".
Did you forget a "use" statement for "phpseclib3\Net\SFTP"? 

Kind regards,
Kévin

@NoResponseMate NoResponseMate merged commit 6d46a1c into Sylius:1.7 Dec 19, 2025
6 checks passed
@NoResponseMate
Copy link
Contributor

Thanks for the fix Kevin 👋

Rafikooo added a commit that referenced this pull request Dec 19, 2025
| Q               | A
| --------------- | -----
| Branch?         | 1.7
| Bug fix?        | kinda
| New feature?    | no
| Related tickets | related #414

Should catch these kinds of issues early.
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