schmittjoh / JMSSerializerBundle

Easily serialize, and deserialize data of any complexity (supports XML, JSON, YAML)
http://jmsyst.com/bundles/JMSSerializerBundle
MIT License
1.8k stars 312 forks source link

Deprecation in : TraceableMetadataFactory #907

Closed kiropowered closed 1 year ago

kiropowered commented 2 years ago

Hello,

It seems like there is some deprecations triggered :

User Deprecated: Method "Metadata\MetadataFactoryInterface::getMetadataForClass()" might add "ClassHierarchyMetadata|MergeableClassMetadata|null" as a native return type declaration in the future. Do the same in implementation "JMS\SerializerBundle\Debug\TraceableMetadataFactory" now to avoid errors or add an explicit @return annotation to suppress this message. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Method \"Metadata\\MetadataFactoryInterface::getMetadataForClass()\" might add \"ClassHierarchyMetadata|MergeableClassMetadata|null\" as a native return type declaration in the future. Do the same in implementation \"JMS\\SerializerBundle\\Debug\\TraceableMetadataFactory\" now to avoid errors or add an explicit @return annotation to suppress this message

scyzoryck commented 1 year ago

@asuri0n - is it solved with the newly released fix?

asuri0n commented 1 year ago

yes