Skip to content

Clean up remaining stop() usage and narrow StopExecutionException #474

Description

@armanist

Summary

After web and console adapters are migrated, clean up the remaining shared control-flow primitives.

Goals

  • remove or narrow remaining shared stop() usage
  • remove or narrow StopExecutionException
  • leave only clearly justified, narrow-purpose behavior if anything remains

In scope

  • src/App/Exceptions/StopExecutionException.php
  • src/App/Helpers/app.php
  • any shared app helper, boot stage, or internal code still using stop()

Decision boundary

At this stage:

  • if stop() still exists, it must have a narrow, explicit purpose
  • if StopExecutionException still exists, it must no longer be the ordinary flow primitive for web or console

Acceptance criteria

  • no leftover accidental stop() usage in migrated flows
  • StopExecutionException is deleted or clearly narrowed
  • shared app-layer control flow is consistent

Validation

  • targeted search for remaining stop() usage
  • full test suite
  • static analysis

Activity

  1. added this to the 3.0.0 milestone on Apr 28, 2026
  2. self-assigned this
    on Apr 29, 2026
  3. added a commit that references this issue on Apr 29, 2026
  4. added 2 commits that reference this issue on Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions