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 tests #228

Merged
merged 2 commits into from
May 17, 2023
Merged

fix tests #228

merged 2 commits into from
May 17, 2023

Conversation

dbu
Copy link
Contributor

@dbu dbu commented May 17, 2023

they broke in #226 because we actually relied on php-http/message-factories for tests and it was installed through indirect dependency but no longer...

@GrahamCampbell
Copy link
Contributor

Hmmmm, these changes look correct, but incomplete. Not sure why yet...

@dbu
Copy link
Contributor Author

dbu commented May 17, 2023

i gave up with phpspec and converted the test to phpunit. much less clutter imho :)

@dbu dbu merged commit 676f98f into 2.x May 17, 2023
@dbu dbu deleted the fix-tests branch May 17, 2023 08:11
@@ -31,6 +31,27 @@ parameters:
count: 1
path: src/EmulatedHttpClient.php

# we still support the obsolete RequestFactory for BC but do not require the package anymore
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is something with stubs one can do in phpstan but did not get it to work.

we will get rid of all this when we do a new major version anyways, so did not want to spend more time on it.

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

2 participants