Closed vitormv closed 7 years ago
Something weird is going on with Travis, but local test confirms coverage at 100%. And this looks fine. Thanks.
See https://github.com/kleijnweb/swagger-bundle/issues/93, coveralls is reporting 100% again. GitHub badge will take some time.
When deserializing values, this class was applying a default datetime format, instead of using the one that was passed to the constructor of this class. Swagger API for example, allows to have extremely precise DateTime that include
DateTime::RFC3339
, but also allows for adding microseconds.When deserializing such values, this class would lose that precision, as it was not taking into account the custom format.