Skip to content

fix phpstan errors #209

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

Merged
merged 1 commit into from
Jul 3, 2021
Merged

fix phpstan errors #209

merged 1 commit into from
Jul 3, 2021

Conversation

dbu
Copy link
Contributor

@dbu dbu commented Jul 3, 2021

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Related tickets -
Documentation -
License MIT

What's in this PR?

Adjust some phpstan configuration and better document BatchResult class.

Why?

Fix phpstan build.

count: 1
path: src/HttpMethodsClient.php

-
message: "#^Cannot call method createStream\\(\\) on Psr\\\\Http\\\\Message\\\\StreamFactoryInterface\\|null\\.$#"
message: "#^Cannot call method isDisabled() on Http\\Client\\Common\\HttpClientPool\\HttpClientPoolItem|false\\.$#"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@@ -6,14 +6,14 @@ parameters:
- src
ignoreErrors:
-
message: "#^Strict comparison using \\!\\=\\= between null and null will always evaluate to false\\.$#"
message: "#^Cannot call method createStream\\(\\) on Psr\\\\Http\\\\Message\\\\StreamFactoryInterface\\|null\\.$#"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is git diff being weird. i delete the strict comparison thing for HttpMethodsClient and add the one for the RoundRobinClientPool

@dbu dbu merged commit fee8ade into master Jul 3, 2021
@dbu dbu deleted the fix-phpstan branch July 3, 2021 06:47
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