-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[JsonStreamer] fix invalid json output for list of self #62622
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| <?php | ||
|
|
||
| namespace Fixtures\Model; | ||
|
|
||
| namespace Symfony\Component\JsonStreamer\Tests\Fixtures\Model; | ||
|
|
||
| class DummyWithNestedDictDummies | ||
| { | ||
| /** @var array<string, DummyWithNestedDictDummies> */ | ||
| public array $dummies = []; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| <?php | ||
|
|
||
| namespace Fixtures\Model; | ||
|
|
||
| namespace Symfony\Component\JsonStreamer\Tests\Fixtures\Model; | ||
|
|
||
| class DummyWithNestedListDummies | ||
| { | ||
| /** @var DummyWithNestedListDummies[] */ | ||
| public array $dummies = []; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| <?php | ||
|
|
||
| namespace Symfony\Component\JsonStreamer\Tests\Fixtures\Model; | ||
|
|
||
| class SelfReferencingDummyDict | ||
| { | ||
| /** | ||
| * @var array<string, self> | ||
| */ | ||
| public array $items = []; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| <?php | ||
|
|
||
| namespace Symfony\Component\JsonStreamer\Tests\Fixtures\Model; | ||
|
|
||
| class SelfReferencingDummyList | ||
| { | ||
| /** | ||
| * @var self[] | ||
| */ | ||
| public array $items = []; | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.