Skip to content

Commit

Permalink
release: v7.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Jun 29, 2023
1 parent 71c48f4 commit d89aa7f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [v7.7.0 (2023-06-29)](https://github.com/nunomaduro/collision/compare/v7.6.0...v7.7.0)
### Added
- reportable support to exception handler in Laravel
- renderable support to exception handler in Laravel

## [v7.6.0 (2023-06-15)](https://github.com/nunomaduro/collision/compare/v7.5.2...v7.6.0)
### Added
- Usage with PHPUnit 10.2.2
Expand Down
8 changes: 4 additions & 4 deletions src/Adapters/Laravel/ExceptionHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,22 +88,22 @@ public function shouldReport(Throwable $e)
/**
* Register a renderable callback.
*
* @param callable $renderUsing
* @param callable $reportUsing
* @return $this
*/
public function reportable(callable $reportUsing)
{
$this->appExceptionHandler->reportable($reportUsing);
$this->appExceptionHandler->reportable($reportUsing); // @phpstan-ignore-line
}

/**
* Register a reportable callback.
*
* @param callable $reportUsing
* @param callable $renderUsing
* @return \Illuminate\Foundation\Exceptions\ReportableHandler
*/
public function renderable(callable $renderUsing)
{
$this->appExceptionHandler->renderable($renderUsing);
$this->appExceptionHandler->renderable($renderUsing); // @phpstan-ignore-line
}
}

0 comments on commit d89aa7f

Please sign in to comment.