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

Fix code smells #94

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

Conversation

pondermatic
Copy link

Fix issues that are considered code smells:

  • method calls with mismatched number of parameters
  • inconsistent return points in methods with missing return statements (explicity return null)

This allows the tests to be run with PHPUnit 4.8.*, 5.4.* and 6.*.
'@stable' causes testing of PHP 7.0 to use PHPUnit 6.4, which breaks compatibility with PHPUnit 4.8 and 5.7.
If the HTTP header context option is an array of headers, HHVM sends an 'Array to string conversion' notice.
This reverts commit 83327a3, reversing
changes made to 4db0107.
@pondermatic
Copy link
Author

pondermatic commented Nov 19, 2017

#96 should be merged first in order to pass PHP 7 and HHVM tests.

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.

1 participant