Search by

mjanser / dead-code-detector-patchlevel-event-sourcing

mjanser

PHPStan extension teaching shipmonk/dead-code-detector about patchlevel/event-sourcing

Package info

codeberg.org/mjanser/dead-code-detector-patchlevel-event-sourcing

Homepage

Issues

pkg:composer/mjanser/dead-code-detector-patchlevel-event-sourcing

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

1.0.0 2026-09-25 09:05 UTC

This package is auto-updated.

Last update: 2026-09-25 07:39:52 UTC


README

Latest Version on Packagist Total Downloads

A usage provider for shipmonk/dead-code-detector, covering patchlvel/event-sourcing.

This is a PHPStan extension.

It marks the following cases as used:

  • #[Apply] attributes
  • #[Handle], #[Answer], #[Subscribe] attributes
  • Subscribers — #[Subscriber] + #[Setup], #[Teardown], #[Cleanup], #[OnFailed] attributes

Installation

composer require --dev mjanser/dead-code-detector-patchlevel-event-sourcing

With phpstan/extension-installer the extension registers itself. Without it, add one line:

includes:
    - vendor/shipmonk/dead-code-detector/rules.neon
    - vendor/mjanser/dead-code-detector-patchlevel-event-sourcing/extension.neon

Testing

composer check

License

The MIT License (MIT). Please see License File for more information.