Skip to content

[OpenSpec] responsehelper-instance-api #297

Description

@github-actions

⚠️ OpenSpec-managed issue — this content is automatically synced
from the openspec/ directory. Manual edits will be overwritten on next sync.

Artifacts

Tasks

  • 1.1 Amend openspec/specs/dashboards/spec.md REQ-DASH-040: restate the
  • 1.2 Amend REQ-DASH-041: restate for $this->responseHelper->error(); rewrite
  • 1.3 Decide and record whether serializeList() stays static (it is a pure
  • 2.1 Convert lib/Controller/ResponseHelper.php to an instance class with a
  • 2.2 Register it in lib/AppInfo/Application.php.
  • 2.3 Inject it into the 18 lib/ files that use it; convert all 224 call sites.
  • 2.4 Make LoggerInterface non-optional in error(), discharging the standing
  • 2.5 Update the 2 test files referencing ResponseHelper.
  • 3.1 Full unit suite green (baseline 1525 tests / 3877 assertions / 3 skipped).
  • 3.2 Re-measure PHPMD with the baseline deleted. Expect ~218 StaticAccess
  • 3.3 Remove the corresponding entries from phpmd.baseline.xml.
  • 3.4 Confirm no response body, status code or header changed.

Synced from openspec/changes/responsehelper-instance-api by OpenSpec workflow
App: launchpad

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    openspecManaged by OpenSpec workflowopenspec:tasksOpenSpec phase: Tasks

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions