Skip to content

Commit

Permalink
Add missing timeout property
Browse files Browse the repository at this point in the history
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
  • Loading branch information
imjoehaines committed Jul 11, 2023
1 parent ec1eb42 commit d2ec689
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions src/Bugsnag/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class Bugsnag_Configuration
public $errorReportingLevel;

public $curlOptions = array();
public $timeout;

public $debug = false;

Expand Down

0 comments on commit d2ec689

Please sign in to comment.