Docs review: fix outdated 4.0 examples and clean up links#862
Merged
Conversation
- Add the orphaned Dynamic Consistency Boundary page to the navigation - Rename index.md to introduction.md per docs convention - message.md: replace removed AggregateHeader with StreamNameHeader/PlayheadHeader/RecordedOnHeader and refresh the built-in headers list - store.md: fix removed StreamStore/Stream/criteria classes (StreamCriterion, Store, Message\Stream, Criteria-based remove) - repository.md: point to InstantRetryCommandBus instead of the removed RetryOutdatedAggregateCommandBus - getting-started.md: fix undefined $hotelProjection variable and outdated bundle URL - Replace generic [here] link anchors, fix forward references and grammar - testing.md: add install command for the separate phpunit package - README/composer.json: switch to patchlevel.dev canonical URLs
DanielBadura
approved these changes
Jun 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I went through the docs and fixed a number of code samples that still referenced classes and signatures from before 4.0. They parse fine, so it's easy to miss, but they no longer match the current
src/.The notable ones:
message.mdstill documented the removedAggregateHeader; it now uses the split-up headers (StreamNameHeader,PlayheadHeader,RecordedOnHeader).store.mdreferenced classes that no longer exist (StreamStore, the aggregate-name/id criteria,Store\Stream) and the old string-basedremove().repository.mdpointed at the removedRetryOutdatedAggregateCommandBus.getting-started.mdhad an undefined$hotelProjectionand an outdated bundle URL.Besides that some smaller cleanup: added the Dynamic Consistency Boundary page to the nav (it existed but wasn't linked anywhere), renamed
index.mdtointroduction.md, replaced a few generic "here" links, and moved the README and composer.json over to the patchlevel.dev URLs.The architecture test change (CommandBus may depend on Identifier) was already in my working tree and is included here as well.
Checked every doc import against
src/and ranmake docs-php-lint, all clean.