Skip to content

Commit

Permalink
chore: Ignore events in the code coverage as they're simple DTOs
Browse files Browse the repository at this point in the history
  • Loading branch information
ollieread committed Jan 25, 2025
1 parent 491073f commit d71687c
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Events/CurrentTenantChanged.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
* @method static void dispatchUnless(bool $condition, Tenancy $tenancy, Tenant|null $previous, Tenant|null $current)
*
* @package Core
*
* @codeCoverageIgnore
*/
final readonly class CurrentTenantChanged
{
Expand Down
2 changes: 2 additions & 0 deletions src/Events/ServiceOverrideBooted.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
* @extends \Sprout\Events\ServiceOverrideEvent<OverrideClass>
*
* @package Overrides
*
* @codeCoverageIgnore
*/
final class ServiceOverrideBooted extends ServiceOverrideEvent
{
Expand Down
2 changes: 2 additions & 0 deletions src/Events/ServiceOverrideEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* @method static self dispatchUnless(bool $boolean, string $service, ServiceOverride $override)
*
* @package Overrides
*
* @codeCoverageIgnore
*/
abstract class ServiceOverrideEvent
{
Expand Down
2 changes: 2 additions & 0 deletions src/Events/ServiceOverrideRegistered.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
* @extends \Sprout\Events\ServiceOverrideEvent<OverrideClass>
*
* @package Overrides
*
* @codeCoverageIgnore
*/
final class ServiceOverrideRegistered extends ServiceOverrideEvent
{
Expand Down
2 changes: 2 additions & 0 deletions src/Events/TenantFound.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
* @method static void dispatch(Tenant $tenant, Tenancy $tenancy)
* @method static void dispatchIf(bool $condition, Tenant $tenant, Tenancy $tenancy)
* @method static void dispatchUnless(bool $condition, Tenant $tenant, Tenancy $tenancy)
*
* @codeCoverageIgnore
*/
abstract readonly class TenantFound
{
Expand Down
2 changes: 2 additions & 0 deletions src/Events/TenantIdentified.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
* @extends \Sprout\Events\TenantFound<TenantClass>
*
* @package Core
*
* @codeCoverageIgnore
*/
final readonly class TenantIdentified extends TenantFound
{
Expand Down
2 changes: 2 additions & 0 deletions src/Events/TenantLoaded.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
* @extends \Sprout\Events\TenantFound<TenantClass>
*
* @package Core
*
* @codeCoverageIgnore
*/
final readonly class TenantLoaded extends TenantFound
{
Expand Down

0 comments on commit d71687c

Please sign in to comment.