Skip to content
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

DateTime parameters are not dumped since mockery upgrade #64

Open
rvanlaak opened this issue Sep 16, 2014 · 2 comments
Open

DateTime parameters are not dumped since mockery upgrade #64

rvanlaak opened this issue Sep 16, 2014 · 2 comments

Comments

@rvanlaak
Copy link

After upgrading Ladybug from v1.0.8 to v1.0.11 the parameters of a \DateTime() object are not dumped anymore. Reverting composer.lock to the Ladybug version from "2013-10-15 09:36:24" does show the parameters ( date, timezone_type, timezone) again.

Gist of the composer.lock can be found here https://gist.github.com/Rvanlaak/d0c4c24cd8ad18e4b2bd

@raulfraile
Copy link
Owner

The \DateTime class is quite special when dealing through ReflectionClass: http://3v4l.org/FhjL5

I guess the best option would be to add an inspector for \DateTime objects in the raulfraile/ladybug-plugin-extra repository

@rvanlaak
Copy link
Author

So how is it possible that v1.0.9 still does dump it, but the latest version doesn't? It isn't php-version specific right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants