Repository navigation
T62 reduce coupling - #63
Merged
Merged
Conversation
Assisted-by: Claude Code
Assisted-by: Claude Code
Assisted-by: Claude Code
Assisted-by: Claude Code
Assisted-by: Claude Code
Asssisted-by: Claude Code
Closed
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.
Hello!
In raising this pull request, I confirm the following:
Core::createHistory()creates the request history from thehistoryconfig, andHistory\HistoryRecorderholds its workflow.Core::getBar()returns the bar thatboot()created.RequestContextholds the client address and the AJAX and HTTPS flags for each decision, andInjector::isHtml()tells if a response is an HTML page.Security\Redactor::redactUri()applies the redaction rule to the query of a URI.tests/support/assets/DebugBar/panel-contract.json, makes the PHP and JavaScript tests use the same payload.Logger\AdapterandLogger\ExceptionAdapterhave no constructor argument. They read the active bar each time the logger writes, so you can create them before the bar boots. Replacenew Adapter(Debug::getBar())withnew Adapter().LoggerCollectortakes aSecurity\Redactor, and it redacts the log context.Core::boot()andResponseListenertake one?History\HistoryRecorderin place of the history, endpoint and cookie arguments.History\HistoryEndpoint::CONTROLLER_NAMESPACEis nowMvc\HistoryListener::CONTROLLER_NAMESPACE.historyconfig after they check for the events manager, and for the container or the router. An invalidhistory.pathdoes not throw when history cannot run.widget.iconandAbstractCollectorhas no$iconproperty, because the browser client never read them.indicator.icondoes not change.DebugBarTypesholds the wire contract and the config shapes, and it lists the panel names, so static analysis rejects an unknown panel name.Injector::isHtml()and no longer depends on the injection rules of the bar.requestpanel and request history no longer show or store a query value under a masked key in the URI.Thanks