Created attachment 216085 [details] version bumped up update version from 1.1.2 to 1.2, removed the patch since there is not needed, more information here: https://pecl.php.net/package-changelog.php?package=ssh2&release=1.2 I made a sample script ran it and it works fine for PHP 7.4, poudriere passed for 7.2 as well.
Created attachment 216087 [details] version bumped up
A commit references this bug: Author: dbaio Date: Wed Jul 1 23:02:32 UTC 2020 New revision: 541002 URL: https://svnweb.freebsd.org/changeset/ports/541002 Log: security/pecl-ssh2: Update to 1.2 Changelog: https://pecl.php.net/package-info.php?package=ssh2&version=1.2 PR: 247675 Submitted by: Miguel Gocobachi <miguel@gocobachi.dev> Changes: head/security/pecl-ssh2/Makefile head/security/pecl-ssh2/distinfo head/security/pecl-ssh2/files/
Committed, thank you Miguel!