Skip to content

Improved configuration and error handling - #9

Merged
Shifrin merged 2 commits into
mainfrom
issue-8-improve-configuration
Jun 29, 2026
Merged

Shifrin merged 2 commits into
mainfrom
issue-8-improve-configuration

Conversation

@Shifrin

@Shifrin Shifrin commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Improved configuration and error handling:

  • Add baseUrl property and with() method to ConfigInterface/Config
  • Replace old ErrorHandler middleware/NotFoundController with ErrorHandlerInterface contract
  • Refactor Http kernel to use ErrorHandlerInterface, Environment, and Logger for error handling
  • Remove bootstrap() from BaseServiceProvider (middleware registration moved to kernel)
  • Clean up dead code: NotFoundController, ErrorHandler middleware, RouteServiceProvider
  • Update tests for all changes
  • Update copyright year to 2023 - Present across all files

- Add baseUrl property and with() method to ConfigInterface/Config
- Replace old ErrorHandler middleware/NotFoundController with ErrorHandlerInterface contract
- Refactor Http kernel to use ErrorHandlerInterface, Environment, and Logger for error handling
- Remove bootstrap() from BaseServiceProvider (middleware registration moved to kernel)
- Clean up dead code: NotFoundController, ErrorHandler middleware, RouteServiceProvider
- Update tests for all changes; remove stale CoversMethod for removed bootstrap()
- Update copyright year to 2023 - Present across all files

Signed-off-by: Mohammed Shifreen <mshifreen@gmail.com>
@Shifrin Shifrin linked an issue Jun 29, 2026 that may be closed by this pull request
…flow setup.

Signed-off-by: Mohammed Shifreen <mshifreen@gmail.com>
@Shifrin
Shifrin merged commit 537fd53 into main Jun 29, 2026
1 check passed
@Shifrin
Shifrin deleted the issue-8-improve-configuration branch June 29, 2026 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Base] Improve configuration

1 participant