Skip to content

Prevent fatal errors in app() helper on PHP 8.5#185

Merged
techmahedy merged 1 commit intodoppar:3.xfrom
techmahedy:techmahedy-3.x
Feb 11, 2026
Merged

Prevent fatal errors in app() helper on PHP 8.5#185
techmahedy merged 1 commit intodoppar:3.xfrom
techmahedy:techmahedy-3.x

Conversation

@techmahedy
Copy link
Member

This PR updates the app() helper and related helper functions to handle unbound container services gracefully. On PHP 8.5, calling app('request') or similar services during post-create project scripts was causing fatal errors:

Target [request] is not bound in container and is not a class

Without this fix, Doppar installations on PHP 8.5 fail during setup due to unbound container services. This addresses those fatal errors while maintaining proper container resolution behavior.

@techmahedy techmahedy added the bug Something isn't working label Feb 11, 2026
@techmahedy techmahedy merged commit 76642be into doppar:3.x Feb 11, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant