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

Tideways support #77

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Tideways support #77

wants to merge 15 commits into from

Conversation

krageon
Copy link

@krageon krageon commented Jul 5, 2017

  • Adds support for tideways profiler
  • Adds factory for ProfilerAdapter
  • Adds/modifies a bunch of tests to work with the new setup
  • Updated PHPUnit in composer.lock to 4.8.28, as otherwise the error messages can be weird sometimes.

The tests pass on my machine except for the mongodb stuff, which is because I don't have the libraries. The error is thus: Error: Class 'MongoDate' not found

@krageon
Copy link
Author

krageon commented Jul 5, 2017

Turns out this whole MongoDB persistence layer needs porting from mongo to mongodb. I've upped the minimum required version to 5.4 in composer, and I'm currently in the process of actually porting it... I'm going to need it anyway to do what I want to do, so it's no problem.

…of it's classes are now final and the old inheritance workaround therefore does not work. Put used functions in MongoClientInterface
…nd a whole load of TODO's where I ported the original functionality and saw spots with potential pain points
…rcane little chunks of logic into separate functions that accept a ProfileInterface and made it use MongoClientInterface's insert function
@krageon
Copy link
Author

krageon commented Jul 6, 2017

I actually do not understand what the issue is with Scrutinizer - @dennisdegreef do you have any idea how I can see what the problem is?

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

Successfully merging this pull request may close these issues.

None yet

1 participant