File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
66
77## [ Unreleased]
8+ ### Added
9+ - Call ` shouldReport() ` of parent ([ #97 ] ( https://github.com/honeybadger-io/honeybadger-php/pull/97 ) )
10+ - Add ` capture_deprecations ` config flag ([ #97 ] ( https://github.com/honeybadger-io/honeybadger-php/pull/97 ) )
811
912## [ 3.13.1] - 2022-02-16
1013### Added
Original file line number Diff line number Diff line change 8888 'verify ' => env ('HONEYBADGER_VERIFY_SSL ' , true ),
8989 ],
9090
91+ /**
92+ * Enable reporting deprecation warnings.
93+ */
94+ 'capture_deprecations ' => false ,
95+
9196 /**
9297 * Exception classes that should not be reported to Honeybadger.
9398 */
Original file line number Diff line number Diff line change @@ -70,9 +70,7 @@ protected function shouldReport(Throwable $throwable): bool
7070 return true ;
7171 }
7272
73- return ! $ this ->excludedException ($ throwable )
74- && ! empty ($ this ->config ['api_key ' ])
75- && $ this ->config ['report_data ' ];
73+ return parent ::shouldReport ($ throwable );
7674 }
7775
7876 protected function setRouteActionAndUserContext (Request $ request ): void
You can’t perform that action at this time.
0 commit comments