From 92d14dabf21b4d2b735664682a9da1ef6f9ee52e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Pineau?= Date: Mon, 21 Oct 2024 13:53:53 +0200 Subject: [PATCH 1/2] Add support for PHP 8.4 --- CHANGELOG.md | 4 ++++ src/Ssh.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e0b11d..a141bb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to `ssh` will be documented in this file +## Unreleased + +* Add support for PHP 8.4 + ## 1.11.0 - 2024-10-18 ### What's Changed diff --git a/src/Ssh.php b/src/Ssh.php index 09e9818..225d66f 100755 --- a/src/Ssh.php +++ b/src/Ssh.php @@ -22,7 +22,7 @@ class Ssh private int $timeout = 0; - public function __construct(?string $user, string $host, int $port = null) + public function __construct(?string $user, string $host, ?int $port = null) { $this->user = $user; From ad9005e6293b511306a62ca3bda08f8ec89118fb Mon Sep 17 00:00:00 2001 From: Nielsvanpach Date: Thu, 7 Nov 2024 09:59:17 +0000 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a141bb0..b2af444 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ All notable changes to `ssh` will be documented in this file +## 1.12.0 - 2024-11-07 + +### What's Changed + +* Add support for PHP 8.4 by @lyrixx in https://github.com/spatie/ssh/pull/106 + +### New Contributors + +* @lyrixx made their first contribution in https://github.com/spatie/ssh/pull/106 + +**Full Changelog**: https://github.com/spatie/ssh/compare/1.11.0...1.12.0 + ## Unreleased * Add support for PHP 8.4