-
-
Notifications
You must be signed in to change notification settings - Fork 487
[4.x] BroadcastingConfigBootstrapper: fix central instances persisting in tenant context #1448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
lukinovec
wants to merge
24
commits into
master
Choose a base branch
from
broadcasting-fixes
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
7d749eb
BroadcastingConfigBootstrapper: test mapping credentials
lukinovec 2ecc94d
BroadcastingConfigBootstrapper: test persistence of custom driver cre…
lukinovec fafd082
Fix typo in test
lukinovec c653c51
BroadcastingConfigBootstrapper: make tenant manager inherit central m…
lukinovec b1e91f1
BroadcastingConfigBootstrapper: make `Broadcaster::class` resolve to …
lukinovec 65beecf
BroadcastingConfigBootstrapper: clear the `Broadcast` facade's resolv…
lukinovec 0b860ea
Fix code style (php-cs-fixer)
github-actions[bot] c4f4451
Add assertions for the config of the bound manager's driver
lukinovec d939866
Fix custom creator assertions
lukinovec 28b6119
TenancyBroadcastManager: update docblocks
lukinovec 0fbe1bc
TenancyBroadcastManager: delete `Broadcaster` singleton binding
lukinovec b6c035c
Improve comments
lukinovec bbe2ff0
BroadcastingTest: update channel inheritance test
lukinovec b2add06
Delete BroadcastingTest
lukinovec 9e9bedc
Fix code style (php-cs-fixer)
github-actions[bot] 4b1cc9c
Improve comments
lukinovec fc45e09
Update BroadcastingConfigBootstrapperTest
lukinovec 6b99921
BroadcastingConfigBootstrapper: correct `$credentialsMap` array_merge…
lukinovec 29dd23d
BroadcastingConfigBootstrapperTest: add 'reverb' driver to datasets
lukinovec 4937a74
BroadcastingConfigBootstrapper and TenancyBroadcastManager: comments
lukinovec c831393
Update comment
lukinovec ef476c5
Polish comments
lukinovec f8528fc
Add 'reverb' to `TenancyBroadcastManager::$tenantBroadcasters`
lukinovec dc344b7
Merge branch 'master' into broadcasting-fixes
stancl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Nitpick | 🔵 Trivial
Remove unused
$broadcasterparameter to silence the static analysis warning.The callback intentionally replaces the broadcaster rather than wrapping it, so the parameter isn't needed.
♻️ Proposed fix
📝 Committable suggestion
🧰 Tools
🪛 PHPMD (2.15.0)
[warning] 96-96: Avoid unused parameters such as '$broadcaster'. (undefined)
(UnusedFormalParameter)
🤖 Prompt for AI Agents