Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .changelog/correct-production-provider-guide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
category: fixed
type: patch
---

Correct the production-verification guide to describe the single service provider,
built-in Symfony HTML and explicitly selected optional Whoops rendering. Clarify
that construction-only fixtures verify service composition without rendering HTTP
responses.
16 changes: 11 additions & 5 deletions tests/Production/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,17 @@ artificial 8.5 upper constraint. Resolve with the actual PHP runtime and Compose
using `--no-dev --no-plugins --no-scripts`. The runtime graph supplies FastForward,
Interop and the PSR interfaces. No Nyholm, application logger or other incidental
consumer dependency is needed for these construction/reporting checks. The
production autoloader also exposes JSON, Whoops and the explicit reporting
adapter, and both profile maps can be discovered without constructing optional
Whoops objects or installing callbacks. Actual HTML rendering requires the
application to install Whoops; the PHPUnit and documented recipes exercise that
composition separately.
production autoloader also exposes JSON, Symfony HTML, optional Whoops,
negotiation and explicit reporting adapters. The single
`ErrorHandlerServiceProvider` can be discovered without constructing optional
Whoops objects or installing callbacks.

Symfony ErrorHandler is a required runtime dependency and supplies the built-in
public/debug HTML renderer. Whoops is needed only when an application explicitly
selects its optional development renderer. These construction/reporting checks
do not render HTTP responses; the PHPUnit suites and
[documented HTML recipes](../../docs/http.md#public-html) exercise rendering
separately with application-supplied PSR-17 implementations.

`container.php` uses the real Interop provider and FastForward container. It
checks default aliases, cached identities, distinct explicit core scopes and
Expand Down
Loading