From d2ec68916461f914a99f0e63bc10419f2ff23b0c Mon Sep 17 00:00:00 2001 From: Joe Haines Date: Tue, 11 Jul 2023 11:55:52 +0100 Subject: [PATCH] Add missing timeout property PHP 8.2 deprecated adding dynamic properties to classes The timeout property didn't need to be dynamic, it just wasn't added as a real property --- CHANGELOG.md | 7 +++++++ src/Bugsnag/Configuration.php | 1 + 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 374651b8..5d6ef2ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ Changelog ========= +## TBD + +### Bug Fixes + +* Fix PHP 8.2 deprecation notice by adding missing `timeout` property to `Bugsnag_Configuration` + [#664](https://github.com/bugsnag/bugsnag-php/pull/664) + ## 2.10.1 (2020-11-17) ### Bug Fixes diff --git a/src/Bugsnag/Configuration.php b/src/Bugsnag/Configuration.php index cc5b5177..3166afde 100644 --- a/src/Bugsnag/Configuration.php +++ b/src/Bugsnag/Configuration.php @@ -40,6 +40,7 @@ class Bugsnag_Configuration public $errorReportingLevel; public $curlOptions = array(); + public $timeout; public $debug = false;