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

Added facades for hosts functions #49

Merged
merged 2 commits into from
Jul 19, 2018
Merged

Added facades for hosts functions #49

merged 2 commits into from
Jul 19, 2018

Conversation

sergeyklay
Copy link
Collaborator

@sergeyklay sergeyklay commented Jul 18, 2018

Added facades for hosts functions so that they can be used/mock-ed in tests or be overridden in child classes.

In addition:

  • Increased code coverage
  • Added phpunit.xml to the .gitignore to allow users override configuration (mostly for add coverage reporters). PHPUnit works fine with the phpunit.xml.dist file out of box.
  • Fixed Composer's autoload section
  • Amended PHPUnit's config so that
    • PHPUnit will not use interfaces to calculate code coverage
    • PHPUnit will configure most common PHP options

Refs: #3

@sergeyklay
Copy link
Collaborator Author

@jonahgeorge Could you please take a look

@sergeyklay
Copy link
Collaborator Author

P.S. I enabled stdout coverage reporter at Travis CI

travis-ci

@jonahgeorge jonahgeorge merged commit bf572e4 into jonahgeorge:master Jul 19, 2018
@jonahgeorge
Copy link
Owner

Thank you!

@sergeyklay sergeyklay deleted the feature/add-facades-for-host-functions branch July 19, 2018 04:53
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.

2 participants