schmittjoh / serializer

Library for (de-)serializing data of any complexity (supports JSON, and XML)
http://jmsyst.com/libs/serializer
MIT License
2.32k stars 585 forks source link

Handle phpstan array shapes #1449

Closed dgafka closed 1 year ago

dgafka commented 1 year ago

This PR provides possibility to serialize and deserialize phpstan array shapes.

As no matter of the structure JMS can handle arrays, instead of throwing exception when we meet phpstan array shape, we can simply serialize it as array.

Q A
Bug fix? no
New feature? yes
Doc updated no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
dgafka commented 1 year ago

@goetas @scyzoryck wdyt? :)

dgafka commented 1 year ago

@scyzoryck can you re-review?

goetas commented 1 year ago

can you please rebase?

dgafka commented 1 year ago

@goetas done :)