Commit 1df3a3d
committed
minor symfony#61323 [JsonStreamer] fix expected stream to native value transformers (xabbuh)
This PR was merged into the 7.3 branch.
Discussion
----------
[JsonStreamer] fix expected stream to native value transformers
| Q | A
| ------------- | ---
| Branch? | 7.3
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues |
| License | MIT
This was probably a copy-and-paste mistake from the corresponding write test. With PHPUnit < 12.0 this isn't an issue as closure are not considered when testing for equality. This changes with PHPUnit 12 where `sebastian/comparator` 7 is used which also compares closures.
Commits
-------
4736edb fix expected stream to native value transformersFile tree
1 file changed
+2
-2
lines changed- src/Symfony/Component/JsonStreamer/Tests/Mapping/Read
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments