Skip to content

Delete orphan Relaticle\ActivityLog\ActivityLogPlugin (root namespace) #13

@ManukMinasyan

Description

@ManukMinasyan

Summary

Two ActivityLogPlugin classes coexist with the same shape:

  • Relaticle\ActivityLog\ActivityLogPlugin (src/ActivityLogPlugin.php) — orphan, zero references in source or docs (grep -r ActivityLogPlugin confirms).
  • Relaticle\ActivityLog\Filament\ActivityLogPlugin (src/Filament/ActivityLogPlugin.php) — canonical, used by docs and intended as the public API.

Risk: users find the wrong class via IDE autocomplete and import it. The two classes also differ subtly — the root one replaces registered renderers (= $renderers) while the Filament-namespaced one merges them ([...$this->renderers, ...$renderers]).

Recommended fix

Delete src/ActivityLogPlugin.php. Verify no tests reference it (none currently do).

Tracked by docs spec

Finding A4 in the upcoming docs restructure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions